pub fn U2Gate() -> UnitaryExpressionExpand description
The single-qubit U2 gate.
$$ U2(\phi, \lambda) = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 & -e^{i\lambda} \\ e^{i\phi} & e^{i(\phi+\lambda)} \end{pmatrix} $$
pub fn U2Gate() -> UnitaryExpressionThe single-qubit U2 gate.
$$ U2(\phi, \lambda) = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 & -e^{i\lambda} \\ e^{i\phi} & e^{i(\phi+\lambda)} \end{pmatrix} $$