DDGateSequence#
Module: iqm.station_control.interface.models.circuit
- class DDGateSequence(ratio, gate_pattern, alignment)#
Bases:
NamedTupleDefines a decoupling gate sequence for a single qubit.
Gate pattern can be defined in two ways. It can be a string containing “X” and “Y” characters, encoding a PRX gate sequence. For example, “YXYX” corresponds to the XY4 sequence, “XYXYYXYX” to the EDD sequence, etc. If more flexibility is needed, a gate pattern can be defined as a sequence of PRX gate argument tuples (that contain a rotation angle and a phase angle). For example, sequence “YX” could be written as
[(math.pi, math.pi / 2), (math.pi, 0)].Create new instance of DDGateSequence(ratio, gate_pattern, alignment)
Attributes
Temporal alignment of the DD sequence within the idle window.
Gate pattern as a string shorthand (e.g.
"XYXY") or an explicit PRX arg list.Minimal idle duration (in PRX gate durations) in which this sequence can be applied.
Methods
Inheritance
