-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(phirgen): add support for Sleep/Idle mop #141
Conversation
@@ -0,0 +1,17 @@ | |||
OPENQASM 2.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good minimal test. I'd like to see an additional program use multiple sleeps on different qubits just as an extra sanity check in the test suite.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, added!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Overall. Added one comment about possibly adding an additional test case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c819880
handle all op.data cases as suggested by Alec
Description
Add support for QASM's
sleep
operation that gets converted by pytket into a barrier withop.data
carrying the sleep information. We convert it into the existing PHIR"Idle"
"mop"
.Also update several dependencies.
Type of change
Checklist: