new_periodic_sequence
qctrlopencontrols.new_periodic_sequence(duration, offset_count, pre_post_rotation=False, name=None)
Creates the periodic 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 periodic sequence.
Return type
Notes
The periodic sequence 1 is parameterized by duration τ and number of offsets n. The sequence consists of Xπ operations at offsets given by
ti=n+1τ,where i=1,⋯,n.
References
[1] L. Viola and E. Knill, Physical Review Letters 90, 037901 (2003).