Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly type GateOperand #51

Closed
jlapeyre opened this issue Jan 19, 2024 · 0 comments · Fixed by #52
Closed

Correctly type GateOperand #51

jlapeyre opened this issue Jan 19, 2024 · 0 comments · Fixed by #52
Labels
bug Something isn't working

Comments

@jlapeyre
Copy link
Collaborator

See for example, this comment #42 (comment)

@jlapeyre jlapeyre added the bug Something isn't working label Jan 19, 2024
jlapeyre added a commit that referenced this issue Jan 19, 2024
That is measuring a qubit or hardware qubit results in a bit.
Measuring a qubit register results in a bit register of the same length.

Closes #51
jlapeyre added a commit that referenced this issue Jan 19, 2024
* Set type of measurement expression correctly
That is measuring a qubit or hardware qubit results in a bit.
Measuring a qubit register results in a bit register of the same length.

* Log semantic error for incorrectly typed args to `measure`.

Closes #51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant