x

guppylang.std.quantum.x(q: qubit) None[source]

X gate.

\[\begin{split}\mathrm{X}= \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}\end{split}\]