DynamicDecouplingSequence
class qctrlopencontrols.DynamicDecouplingSequence(duration, offsets, rabi_rotations, azimuthal_angles, detuning_rotations, name=None)
Creates a dynamic decoupling sequence.
Parameters
- duration (float) – The total time in seconds for the sequence .
- offsets (np.ndarray) – The times offsets in seconds for the center of pulses.
- rabi_rotations (np.ndarray) – The Rabi rotation at each time offset .
- azimuthal_angles (np.ndarray) – The azimuthal angle at each time offset .
- detuning_rotations (np.ndarray) – The detuning rotation at each time offset .
- name (str , optional) – Name of the sequence. Defaults to None.
Notes
Dynamical decoupling sequence (DDS) is canonically defined as a series of -instantaneous unitary operations, often -pulses, executed at time offsets over the time interval with a total duration . The -th operation applied at time can be parameterized as
Note that in practice all DDSs typically have a operation at the start and end of the sequence. This is because it is assumed that the qubit is initially in the state and a superposition needs to be created and removed to make the qubit sensitive to dephasing.
Methods
export | Returns a dictionary for plotting using the Q-CTRL Visualizer package. |
export_to_file | Prepares and saves the dynamical decoupling sequence in a file. |