new_quadratic_sequence
qctrlopencontrols.new_quadratic_sequence(duration, inner_offset_count, outer_offset_count, pre_post_rotation=False, name=None)
Creates the quadratic sequence.
Parameters
- duration (float) – The total duration of the sequence (in seconds).
- inner_offset_count (int) – Number of inner pulses .
- outer_offset_count (int) – Number of outer pulses .
- pre_post_rotation (bool , optional) – If
True
, a rotation is added at the start and end of the sequence. Defaults toFalse
. - name (string , optional) – Name of the sequence. Defaults to
None
.
Returns
The quadratic sequence.
Return type
SEE ALSO
Notes
The quadratic sequence 1 is parameterized by duration , number of inner offsets , and number of outer offsets . The outer sequence consists of pulses of type , which partition the time-domain into sub-intervals on which inner sequences consisting of pulses of type are nested. The total number of offsets is .
The pulse times for outer sequence are defined according to the Uhrig sequence for . The -th pulse, therefore has timing offset defined by
where . On each sub-interval defined by the outer sequence, an inner sequence is implemented. The pulse times for the inner sequences are also defined according to the Uhrig sequence. The -th pulse of the -th inner sequence has timing offset defined by
where and .
References
[1] J. R. West, B. H. Fong, and D. A. Lidar, Physical Review Letters 104, 130501 (2010).