new_primitive_control¶
-
qctrlopencontrols.
new_primitive_control
(rabi_rotation: float, maximum_rabi_rate: float, azimuthal_angle: float = 0.0, name: Optional[str] = None) → qctrlopencontrols.driven_controls.driven_control.DrivenControl[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
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\)