-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Avoid direct-CXs in RZX calibration pass #8276
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
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:
|
cae4533
to
d88b08b
Compare
Pull Request Test Coverage Report for Build 2611047339
💛 - Coveralls |
…ror is replaced with User warning not to crash pass manager execution.
…ce mode for schedule construction to avoid redundant deep copy. Deprecate unused argument.
…pile pass modules, single file contains a single (or similar) pass. RZX builder passes are moved to rzx_builder, Pulse gate pass is moved to pulse_gate and base class is moved to base_builder
d88b08b
to
60d85d3
Compare
@taalexander I split commit into multiple pieces.
|
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, just some minor comments.
releasenotes/notes/upgrade_rzx_builder_skip_direct_cx-d0beff9b2b86ab8d.yaml
Outdated
Show resolved
Hide resolved
releasenotes/notes/upgrade_rzx_builder_skip_direct_cx-d0beff9b2b86ab8d.yaml
Outdated
Show resolved
Hide resolved
…ration type enum is added for user-friendly error message. Co-authored-by: Thomas Alexander <talexander@ibm.com>
Summary
RZX calibration pass is implemented for CX with echoed cross resonance sequence. Recent IBM backends started to support another realization of CX with so called direct-CX. Generation of fractional gate for this calibration is not straightforward because dynamics on the target qubit is much more complicated.
In this PR, passes are updated to avoid termination by errors. This is temporary solution, just not to crash the transpiler. We need some additional research for the technique to stretch the direct-CX pulses. It is expected that these passes are upgraded again with support for direct-CXs.
Details and comments
In addition to error-avoid mechanism, some cleanup has done in this PR. The logic for error avoidance is very simple. I newly introduced
CalibrationNotAvailable
exception, which is raised when the pass encounters the direct-CX. This is caught by the base classCalibrationBuilder
to ignore invalid calibrations.