-
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
Add support for CopyBits
op
#67
Conversation
The test breakage seems unrelated to this set of changes, @Asa-Kosto-QTM is looking into that. |
70ee961
pytket/phir/phirgen_parallel.py
Outdated
# sort to ensure deterministic order of qbuits/cbits in output | ||
# lowest -> highest | ||
fmt_measure["args"].sort() | ||
fmt_measure["returns"].sort() |
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.
@Asa-Kosto-QTM is this always going to be correct?
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.
I am confident that it will. The args/bits are always in this format ['q' or 'c', number] and it sorts by the number. As long as that format doesn't change it should work
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, removing this commit from this PR just to keep things separated.
I will wait to merge this until the tests are fixed in another PR. |
Fixes #61