new_primitive_control

qctrlopencontrols.new_primitive_control(rabi_rotation, maximum_rabi_rate, azimuthal_angle=0.0, name=None)[source]

Creates a primitive (square) driven control.

Parameters:
  • rabi_rotation (float) – The total Rabi rotation \(\theta\) to be performed by the driven control.

  • maximum_rabi_rate (float) – The maximum Rabi frequency \(\Omega_{\rm max}\) for the driven control.

  • azimuthal_angle (float, optional) – The azimuthal angle \(\phi\) for the rotation. Defaults to 0.

  • name (str, optional) – An optional string to name the control. Defaults to None.

Returns:

The driven control \(\{(\delta t_n, \Omega_n, \phi_n, \Delta_n)\}\).

Return type:

DrivenControl

Notes

A primitive driven control consists of a single control segment:

\(\delta t_n\)

\(\Omega_n\)

\(\phi_n\)

\(\Delta_n\)

\(\theta/\Omega_{\rm max}\)

\(\Omega_{\rm max}\)

\(\phi\)

\(0\)