Skip to content

Commit

Permalink
* Improved class docstring of RZXCalibrationBuilder.
Browse files Browse the repository at this point in the history
  • Loading branch information
eggerdj committed Feb 4, 2021
1 parent d69dce8 commit c589104
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion qiskit/transpiler/passes/scheduling/calibration_creators.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,14 @@ def run(self, dag):
class RZXCalibrationBuilder(CalibrationCreator):
"""
Creates calibrations for RZXGate(theta) by stretching and compressing
Gaussian square pulses.
Gaussian square pulses in the CX gate. This is done by retrieving (for a given pair of
qubits) the CX schedule in the instruction schedule map of the backend defaults.
The CX schdule must be an echoed cross-resonance gate optionally with rotary tones.
The cross-resonance drive tones and rotary pulses must be Gaussian square pulses.
The width of the Gaussian square pulse is adjusted so as to match the desired rotation angle.
If the rotation angle is small such that the width disapears then the amplitude of the
zero width Gaussian square pulse (i.e. a Gaussian) is reduced to reach the target rotation
angle.
"""

def __init__(self, backend: basebackend):
Expand Down

0 comments on commit c589104

Please sign in to comment.