Skip to main content

RYYGate

Function RYYGate 

Source
pub fn RYYGate() -> UnitaryExpression
Expand description

The two-qubit RYY gate (Ising YY coupling).

$$ RYY(\theta) = e^{-i\theta/2 , Y \otimes Y} = \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} $$