pub fn U1Gate() -> UnitaryExpressionExpand description
The single-qubit U1 gate (phase gate up to global phase).
$$ U1(\lambda) = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\lambda} \end{pmatrix} $$
pub fn U1Gate() -> UnitaryExpressionThe single-qubit U1 gate (phase gate up to global phase).
$$ U1(\lambda) = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\lambda} \end{pmatrix} $$