pub fn RZGate() -> UnitaryExpressionExpand description
The single-qubit RZ gate (rotation around the Z-axis).
$$ RZ(\theta) = \begin{pmatrix} e^{-i\theta/2} & 0 \\ 0 & e^{i\theta/2} \end{pmatrix} $$
pub fn RZGate() -> UnitaryExpressionThe single-qubit RZ gate (rotation around the Z-axis).
$$ RZ(\theta) = \begin{pmatrix} e^{-i\theta/2} & 0 \\ 0 & e^{i\theta/2} \end{pmatrix} $$