Add GaussianSquareDrag symbolic pulse shape#9329
Conversation
This pulse shape is similar to the GaussianSquare pulse with Drag components in the rise and fall of the pulse.
|
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:
|
|
Based on #9092, it seems like we need to make sure that this PR is released before allowing IBM backends to report a |
Pull Request Test Coverage Report for Build 3857407140
💛 - Coveralls |
taalexander
left a comment
There was a problem hiding this comment.
This seems reasonable to me. I have not manually validated the equation documentation but the symbolic equations look good and the testing strategy seems like a robust comparison.
nkanazawa1989
left a comment
There was a problem hiding this comment.
Thanks Will. This looks almost good to me. Just a nitpick.
|
@nkanazawa1989 I don't mind which between this or #9314 goes first order-wise, but I think we might not have reached a final resolution on what to do about #9314 yet? I would like to get this PR merged in time for the next release, so we can have the backends start supporting this pulse shape. By the way, did you have a feeling for how soon we should have the backends start reporting |
|
Fair enough. I'll add this to auto-merge queue. I don't have any idea about deployment timeline, but I expect we start from upgrading the Qiskit to add new parametric form to the CmdDef. |
|
This will bounce off the branch-protection rules until Thomas (@taalexander) removes his "changes requested" review. |
I have updated the backend IBM code so that it can report |
|
I see you question. I think this problem is really difficult to address without using symbolic pulse. What we could do is to write try-except block to avoid un-supported pulse shape to be loaded or raise more friendly error. I think backend should be able to report new pulse after the terra release otherwise we will never get a chance to start reporting. |
* Add GaussianSquareDrag symbolic pulse shape This pulse shape is similar to the GaussianSquare pulse with Drag components in the rise and fall of the pulse. * Clarify description of pulse Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Add GaussianSquareDrag symbolic pulse shape This pulse shape is similar to the GaussianSquare pulse with Drag components in the rise and fall of the pulse. * Clarify description of pulse Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Summary
Add GaussianSquareDrag symbolic pulse shape
Details and comments
Add new
qiskit.pulse.GaussianSquareDragpulse shape. This pulseshape is similar to
qiskit.pulse.GaussianSquarebut uses theqiskit.pulse.Dragshape during its rise and fall. The correctionfrom the DRAG pulse shape can suppress part of the frequency spectrum of
the rise and fall of the pulse which can help avoid exciting spectator
qubits when they are close in frequency to the drive frequency of the
pulse.
GaussianSquareDragis sometimes used on IBM backends and its absence from qiskit requires those backends to report calibrations using the pulse withWaveforms instead ofSymbolicPulsewhich obscures the parameters and is less efficient to transfer.Depending on the timing, either this PR or #9314 will need to be updated to account for the other one as
GaussianSquareDragshould also be aScalableSymbolicPulse.