Skip to main content

U1Gate

Function U1Gate 

Source
pub fn U1Gate() -> UnitaryExpression
Expand description

The single-qubit U1 gate (phase gate up to global phase).

$$ U1(\lambda) = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\lambda} \end{pmatrix} $$