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

cQASM parser accepts multiple qubit specification for directives it shouldn't #29

Open
HerManNav opened this issue Apr 18, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HerManNav
Copy link

We should differenciate between bits and qubits for

(1) one-qubit-gates and controlled gates and
(2) for the rest of directives,

since only for the first case we can have multiple qubit specification. For the rest of directives the parser should fail!

@HerManNav HerManNav added the bug Something isn't working label Apr 18, 2023
@HerManNav HerManNav self-assigned this Apr 18, 2023
@mofeing mofeing changed the title The cQASM parser accepts multiple qubit specification for directives it shouldn't cQASM parser accepts multiple qubit specification for directives it shouldn't May 11, 2023
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

No branches or pull requests

1 participant