Skip to main content

RYGate

Function RYGate 

Source
pub fn RYGate() -> UnitaryExpression
Expand description

The single-qubit RY gate (rotation around the Y-axis).

$$ RY(\theta) = \begin{pmatrix} \cos(\theta/2) & -\sin(\theta/2) \\ \sin(\theta/2) & \cos(\theta/2) \end{pmatrix} $$