qml.devices.autograd_ops.IsingXX

IsingXX(phi)[source]

Ising XX coupling gate

\[\begin{split}XX(\phi) = \begin{bmatrix} \cos(\phi / 2) & 0 & 0 & -i \sin(\phi / 2) \\ 0 & \cos(\phi / 2) & -i \sin(\phi / 2) & 0 \\ 0 & -i \sin(\phi / 2) & \cos(\phi / 2) & 0 \\ -i \sin(\phi / 2) & 0 & 0 & \cos(\phi / 2) \end{bmatrix}.\end{split}\]
Parameters

phi (float) – rotation angle \(\phi\)

Returns

unitary 4x4 rotation matrix

Return type

array[complex]