# Z¶

pyquil.gates.Z(qubit)[source]

Produces the Z gate:

Z = [[1,  0],
[0, -1]]


This gate is a single qubit Z-gate.

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