new_spin_echo_sequence
- qctrlopencontrols.new_spin_echo_sequence(duration, pre_post_rotation=False, name=None)[source]
Creates the spin echo sequence.
- Parameters
duration (float) – Total duration of the sequence \(\tau\) (in seconds).
pre_post_rotation (bool, optional) – If
True
, a \(X_{\pi/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 spin echo sequence.
- Return type
Notes
The spin echo sequence 1 is parameterized by duration \(\tau\). There is a single \(X_{\pi}\) unitary operation at \(t_1 = \frac{\tau}{2}\).
References