new_cpmg_sequence
qctrlopencontrols.new_cpmg_sequence(duration, offset_count, pre_post_rotation=False, name=None)
Creates the Carr-Purcell-Meiboom-Gill 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-Meiboom-Gill sequence.
Return type
SEE ALSO
Notes
The Carr-Purcell-Meiboom-Gill sequence 1 has the same timing and number of offsets as the Carr-Purcell sequence. However, the intermediate π rotations are applied along the Y axis. That is, it consists of Yπ operations applied at times
ti=nτ(i−21),where i=1,⋯,n.
References
[1] S. Meiboom and D. Gill, Review of Scientific Instruments 29:8, 688 (1958).