YY gate is a parametric two-qubit gate implementing correlated Y rotations on both qubits.
Matrix:
$$\text{YY}(\theta) = e^{-i\theta Y_1 Y_2 / 2} = \begin{pmatrix} \cos(\theta/2) & 0 & 0 & i\sin(\theta/2) \\ 0 & \cos(\theta/2) & -i\sin(\theta/2) & 0 \\ 0 & -i\sin(\theta/2) & \cos(\theta/2) & 0 \\ i\sin(\theta/2) & 0 & 0 & \cos(\theta/2) \end{pmatrix}$$
Action: entangling two-qubit rotation around YY axis.
Arises from: