-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Collect classical registers using a set (#10496) #10505
Conversation
This adds a test case that adds multiple conditions on the same register. The test case is fixed by using a set to collect the classical registers in collapse_to_operation.
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the the following people are requested to review this:
|
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.
This LGTM, thanks for the fast fix.
Oh actually before I can merge this can you sign the CLA. The CLA bot comment has a link to the details on this: #10505 (comment) |
@mtreinish Thanks for the approval. I am working on getting the CLA signed, it needs to be review by our IP group as I think we need to sign the corporate one, fingers crossed it doesn't take too long. |
Pull Request Test Coverage Report for Build 5671878806
💛 - Coveralls |
Is there any update on this? We're preparing a 0.25.1 release soon and it would be great to include this fix as part of that. |
@mtreinish We are still waiting on IBM to respond to our email about signing the corporate CLA 😦 |
hi @cjh1, Sep 29 we sent you the CCLA to sign. Let me know if you did not get it. |
Thanks @1ucian0, will follow up on my end. |
The Corporate CLA was signed. Our process also requieres that you sign the CLA in addition. After that, we are ready to merge. |
Done |
No longer on hold because the CCLA is now signed 🎉 |
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 so much for working through the CCLA process. We're streamlining our side of this as well, to help reduce friction in the future.
I've just pushed up a release note for the bugfix, but the code already looked great thanks.
* Collect classical registers using a set (#10496) This adds a test case that adds multiple conditions on the same register. The test case is fixed by using a set to collect the classical registers in collapse_to_operation. * Add release note --------- Co-authored-by: Jake Lishman <[email protected]> (cherry picked from commit b47c28b)
* Collect classical registers using a set (#10496) This adds a test case that adds multiple conditions on the same register. The test case is fixed by using a set to collect the classical registers in collapse_to_operation. * Add release note --------- Co-authored-by: Jake Lishman <[email protected]> (cherry picked from commit b47c28b) Co-authored-by: Chris Harris <[email protected]>
Summary
Fixes issues with collapsing circuits with multiple conditions on the same registers.
Details and comments
This adds a test case that adds multiple conditions on the same register. The test case is fixed by using a set to collect the classical registers in collapse_to_operation.
fixes: #10496