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

Address remaining mismatch with openqasm3 AST type hints #49

Open
PhilReinhold opened this issue Jun 20, 2023 · 0 comments
Open

Address remaining mismatch with openqasm3 AST type hints #49

PhilReinhold opened this issue Jun 20, 2023 · 0 comments

Comments

@PhilReinhold
Copy link
Collaborator

#48 Surfaced 2 remaining issues where the AST we produce is not consistent with the openqasm3 AST type hints.

  1. Pragmas are not statements, I think to keep them from being added anywhere other than at the top level. I would guess they should be added to the set of valid types in a Program.statements field.
  2. Box statements only allow QuantumStatement which does not include e.g. play openpulse function calls.
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

No branches or pull requests

1 participant