You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Quantum execution targets with QPRGen1 runtime capabilities can only inspect measurement results (via equality comparison) within the conditional expression of an if-statement. The body of any if-statement that depends on a measurement result (or any subsequent bodies in an if...elif...else chain) cannot contain return statements or set statements for any variable declared outside the body.
The compiler should verify this and give errors if the program is not compatible with a QPRGen1 target.