qml.devices.autograd_ops.IsingZZ

IsingZZ(phi)[source]

Ising ZZ coupling gate

\[\begin{split}ZZ(\phi) = \begin{bmatrix} e^{-i \phi / 2} & 0 & 0 & 0 \\ 0 & e^{i \phi / 2} & 0 & 0 \\ 0 & 0 & e^{i \phi / 2} & 0 \\ 0 & 0 & 0 & e^{-i \phi / 2} \end{bmatrix}.\end{split}\]
Parameters

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

Returns

unitary 4x4 rotation matrix

Return type

array[complex]