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 .
- pre_post_rotation (bool , optional) – If
True
, a 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 . The sequence consists of operations at offsets given by
where .
References
[1] L. Viola and E. Knill, Physical Review Letters 90, 037901 (2003).