# new_primitive_control

Source: https://docs.q-ctrl.com/references/qctrl-open-controls/qctrlopencontrols/new_primitive_control

```python
qctrlopencontrols.new_primitive_control(rabi_rotation, maximum_rabi_rate, azimuthal_angle=0.0, name=None)
```

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_{\mathrm 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](https://docs.q-ctrl.com/references/qctrl-open-controls/qctrlopencontrols/DrivenControl.md#qctrlopencontrols.DrivenControl)

## Notes

A primitive driven control consists of a single control segment:

|||||
|-------------------------------|------------------------|-------------|---------------|
| $\\delta t_n$                 | $\\Omega_n$            | $\\phi_n$   | $\\Delta_n$   |
| $\theta/\Omega_{\mathrm max}$ | $\Omega_{\mathrm max}$ | $\phi$      | $0$           |
