rz¶ guppylang.std.quantum.rz(q: qubit, angle: angle) → None[source]¶ Rz gate. \[\begin{split}\mathrm{Rz}(\theta)= \exp(\frac{- i \theta}{2} Z)= \begin{pmatrix} e^{-\frac{1}{2}i \theta} & 0 \\ 0 & e^{\frac{1}{2}i \theta} \end{pmatrix}\end{split}\]