-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fix alignment checks of stretch
variables
#14330
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
Conversation
We treat `stretch` as meaning that a lower-level compiler will be rescheduling to resolve the stretch, so we don't need to worry about the alignment ourselves.
One or more of the following people are relevant to this code:
|
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.
Looks great, thanks for the fix!
Circuits containing delays with stretches (see :meth:`.QuantumCircuit.add_stretch`) can now | ||
successfully compile using the preset pass-managers (:func:`.transpile` and | ||
:func:`.generate_preset_pass_manager`) when targetting a backend that has alignment constraints, | ||
for example IBM Quantum Eagle devices like ``ibm_washington``. |
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.
Oh whoops, I meant ibm_sherbrooke
- I think Washington got retired a few months ago?
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.
ibm_washington
was retired in June 2023: https://docs.quantum.ibm.com/guides/retired-qpus
releasenotes/notes/stretch-duration-alignments-cd8395bcc8f6cdd0.yaml
Outdated
Show resolved
Hide resolved
Pull Request Test Coverage Report for Build 14911618568Details
💛 - Coveralls |
* Fix alignment checks of `stretch` variables We treat `stretch` as meaning that a lower-level compiler will be rescheduling to resolve the stretch, so we don't need to worry about the alignment ourselves. * Use non-retired backend as an example (cherry picked from commit bf828a7)
* Fix alignment checks of `stretch` variables (#14330) * Fix alignment checks of `stretch` variables We treat `stretch` as meaning that a lower-level compiler will be rescheduling to resolve the stretch, so we don't need to worry about the alignment ourselves. * Use non-retired backend as an example (cherry picked from commit bf828a7) * Fix method name for 2.0. --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> Co-authored-by: Kevin Hartman <kevin@hart.mn>
* Fix alignment checks of `stretch` variables We treat `stretch` as meaning that a lower-level compiler will be rescheduling to resolve the stretch, so we don't need to worry about the alignment ourselves. * Use non-retired backend as an example
We treat
stretch
as meaning that a lower-level compiler will be rescheduling to resolve the stretch, so we don't need to worry about the alignment ourselves.Summary
Details and comments
Fix #14264