new_ramsey_sequence¶

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

Creates the Ramsey 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 to False.

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

Returns

The Ramsey sequence.

Return type

DynamicDecouplingSequence

Notes

Technically, the Ramsey sequence 1 does not decouple the system from the environment. Nevertheless, it is a useful sequence for characterization and testing protocols and hence it is included. The sequence is parameterized by the duration $$\tau$$ and contains no offsets in between the start and the end time of the sequence.

References

1

N. F. Ramsey, Physical Review 78, 695 (1950).