Dynamical Decoupling pass with pulse alignment#7760
Merged
mergify[bot] merged 12 commits intoMar 22, 2022
Conversation
Now DD pass is a subclass of padding pass. DD pass takes pulse alignment constraints to execute circuit on recent RTA systems. There are small changes to the base padding pass to host this pass as a subclass. .pad method is now called with (t0, t1) instead of interval. In addition, pre_runhook method is added which is called before running the padding protocol.
Pull Request Test Coverage Report for Build 2022583134
💛 - Coveralls |
2 tasks
ajavadia
reviewed
Mar 10, 2022
f48c779 to
1d1e2a5
Compare
b271472 to
763fa33
Compare
itoko
reviewed
Mar 11, 2022
ajavadia
reviewed
Mar 11, 2022
8235ed4 to
7c27a85
Compare
ajavadia
reviewed
Mar 14, 2022
Co-authored-by: Ali Javadi-Abhari <ajavadia@users.noreply.github.com>
5ae747d to
997049f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In recent IBM Quantum systems all pulses should start at the multiple value of 16 dt which is called pulse alignment constraint. This PR adds alignment constraint to the DD pass so that circuit with the DD sequence can be played on the actual hardware. The pass is initialized with
pulse_alignmentwhich defaults to 1, but you can give the value imposed by the backend. You can find this value inbackend.configuration().timing_constraints.Details and comments
There are several internal changes.
BasePaddingpass. This means DD is a drop-in-replacement ofPadDelaypass._padmethod is called with t0 and t1 instead of interval. This is for future extendability for the conditioning.transpiler.passes.