# new_wamf1_control

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

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

Creates a first-order Walsh amplitude-modulated filter (WAMF1) driven control.

WAMF1 driven controls are robust to low-frequency dephasing noise.

### Parameters
* **rabi_rotation** (*float*) – The total Rabi rotation $\theta$ to be performed by the driven control. Must be either
  $\pi/4$, $\pi/2$, or $\pi$.
* **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 WAMF1 <sup>[1](#id2)</sup> driven control consists of four control segments:

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

where $\theta_\pm = \theta+2\pi k_\theta\pm \delta_\theta$, and the integer
$k_\theta$ and offset $\delta_\theta$ are optimized numerically in order to maximize
the suppression of dephasing noise. Note that the optimal values depend only on the rotation
angle $\theta$.

This implementation supports $\theta\in\{\pi/4,\pi/2,\pi\}$.

## References

* <a id='id2'>**[1]**</a> [H. Ball and M. J. Biercuk, EPJ Quantum Technology 2, 11 (2015).](https://doi.org/10.1140/epjqt/s40507-015-0022-4)
