# H¶

pyquil.gates.H(qubit)[source]

Produces the Hadamard gate:

H = (1 / sqrt(2)) * [[1,  1],
[1, -1]]


Produces the H instruction. This gate is a single qubit Hadamard gate.

Parameters: qubit – The qubit apply the gate to. A Gate object.