qml.devices.autograd_ops.IsingYY

IsingYY(phi)[source]

Ising YY coupling gate.

\[\begin{split}YY(\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]