Sign in
← Atlas
Exact & formalGatesPauli operator

Pauli-Z gate

A phase-flip gate whose behavior is invisible to a basis measurement until interference is introduced.

pauliphase flipsingle qubit

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.

Pauli-Z is the smallest useful record for explaining why phase is operational even when probabilities look unchanged.

Circuit & simulation
Basis probabilities preserved100%
What this takes and returns
Takes1 qubitWhat joins here

Takes a 1-qubit register and states no assumption about what is on it. That is the whole condition: anything returning 1 qubits can feed it.

15 entries meet this end. Named below.

Returns1 qubitWhat joins here

Returns a 1-qubit register a next stage can take. This is the end that joins.

13 entries meet this end. Named below.

A unitary. The same register goes in and comes out, and this entry states no assumption about what is on it — which is what lets anything of the same width feed it. See all 29 →

How it works

Pauli-ZZ is the phase-flip operator Z=(1001)Z=\begin{pmatrix}1&0\\0&-1\end{pmatrix}. On the computational basis, Z0=0Z|0\rangle=|0\rangle and Z1=1Z|1\rangle=-|1\rangle, exactly the identity checked here by comparing the matrix action against both basis states directly. Because a measurement in the computational basis cannot distinguish 1|1\rangle from 1-|1\rangle (both give outcome "1" with probability 1), ZZ is invisible on a bare basis state; its effect only shows up once the qubit is in a superposition, where the flipped sign changes how later amplitudes interfere — the point the entry's own explanation makes. ZZ is Hermitian and unitary with Z2=IZ^2=I, so it is its own inverse, and it is a π\pi rotation of the Bloch sphere about the zz-axis. ZZ underlies the phase-kickback trick used in Deutsch–Jozsa-style oracles and phase-flip error models in stabilizer codes.

Implementation
Native
pauli-z.qasm
OPENQASM 3.0;
include "stdgates.inc";
qubit q;
z q;
Quantum vs classical

Classical baseline

Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.

Quantum claim

The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.

How to compare

Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.

Declared gaps

Nobody has reviewed this record for gaps yet.

Literature & references
Quantum Computation and Quantum Information: 10th Anniversary Edition2010 · Michael A. Nielsen and Isaac L. Chuang

Standard graduate textbook covering the single- and two-qubit gate definitions, matrix identities, and circuit primitives this record states.

doi.org/10.1017/cbo9780511976667