z-gate
Z gate
Table of Contents
Z gate
Z gate (or Pauli-Z gate, or phase flip gate) is a single-qubit gate that applies a phase flip to the state while leaving unchanged. It is the third Pauli gate and a special case of the phase gate with .
The gate leaves the computational basis states and as eigenstates, and swaps the Hadamard basis states:
The phase flip does not change measurement outcomes in the computational basis — — but it changes interference patterns, making it observable in rotated bases. On the Bloch sphere, corresponds to a rotation about the -axis. The and gates are the square root and fourth root of respectively: and .
List of code implementations
z-gate.md · Last modified:
