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 Zπ pulses n1.
- outer_offset_count (int) – Number of outer Xπ pulses n2.
- pre_post_rotation (bool , optional) – If
True
, a Xπ/2 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 n1, and number of outer offsets n2. The outer sequence consists of n2 pulses of type Xπ, which partition the time-domain into n2+1 sub-intervals on which inner sequences consisting of n1 pulses of type Zπ are nested. The total number of offsets is n=n1+n2(n1+1).
The pulse times for outer sequence (Xπ1,⋯,Xπn2) are defined according to the Uhrig sequence for t∈[0,τ]. The j-th Xπ pulse, therefore has timing offset defined by
txj=τsin2[2(n2+1)jπ],where j=1,⋯,n2. On each sub-interval defined by the outer sequence, an inner sequence (Zπ1,⋯,Zπn1) is implemented. The pulse times for the inner sequences are also defined according to the Uhrig sequence. The k-th pulse of the j-th inner sequence has timing offset defined by
tz(k,j)=(txj−txj−1)sin2[2(n1+1)kπ]+txj−1,where k=1,⋯,n1 and j=1,⋯,n2+1.
References
[1] J. R. West, B. H. Fong, and D. A. Lidar, Physical Review Letters 104, 130501 (2010).