new_carr_purcell_sequence
qctrlopencontrols.new_carr_purcell_sequence(duration, offset_count, pre_post_rotation=False, name=None)
Creates the Carr-Purcell sequence.
Parameters
- duration (float) – Total duration of the sequence τ (in seconds).
- offset_count (int) – Number of offsets n.
- 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 Carr-Purcell sequence.
Return type
SEE ALSO
Notes
The Carr-Purcell sequence 1 is parameterized by the number of offsets n and duration τ. The sequence is made up of a set of Xπ operations applied at
ti=nτ(i−21),where i=1,⋯,n.
References
[1] H. Y. Carr and E. M. Purcell, Physical Review 94, 630 (1954).