new_periodic_sequence

qctrlopencontrols.new_periodic_sequence(duration, offset_count, pre_post_rotation=False, name=None)[source]

Creates the periodic sequence.

Parameters:
  • duration (float) – Total duration of the sequence \(\tau\) (in seconds).

  • offset_count (int) – Number of offsets \(n\).

  • pre_post_rotation (bool, optional) – If True, a \(X_{\pi/2}\) rotation is added at the start and end of the sequence. Defaults to False.

  • name (string, optional) – Name of the sequence. Defaults to None.

Returns:

The periodic sequence.

Return type:

DynamicDecouplingSequence

Notes

The periodic sequence [1] is parameterized by duration \(\tau\) and number of offsets \(n\). The sequence consists of \(X_{\pi}\) operations at offsets given by

\[t_i = \frac{\tau}{n + 1} \;,\]

where \(i = 1, \cdots, n\).

References