Skip to content

Support for if-statements - #17

Open
thierry-martinez wants to merge 3 commits into
TeamGraphix:mainfrom
thierry-martinez:new-circuit-api
Open

Support for if-statements#17
thierry-martinez wants to merge 3 commits into
TeamGraphix:mainfrom
thierry-martinez:new-circuit-api

Conversation

@thierry-martinez

Copy link
Copy Markdown
Collaborator

This PR needs #16 to be merged first.

The additional commit 2024d5e adds support for if-statements, which are parsed using
CONDINSTR introduced in TeamGraphix/graphix#587.

This commit adds support for measurements.

Measurements of the form `bit = measure qubit;`, or the old syntax
`measure qubit -> bit`, are supported.
This commit adds support for `if`-statements, which are parsed using
`CONDINSTR` introduced in TeamGraphix/graphix#587.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant