h

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

Hadamard gate command

\[\begin{split}\mathrm{H}= \frac{1}{\sqrt{2}} \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}\end{split}\]