← Atlas

Basic circuits · Superposition state

Hadamard-basis states |+⟩ and |−⟩

The Hadamard-basis (X-basis) states |+⟩ and |−⟩: the eigenstates of the Pauli-X operator, produced from |0⟩/|1⟩ by a single Hadamard gate.

Exact & formalUpdated

View frozen graph

q[0] (|+⟩)q[1] (|−⟩)Step 1 of 3 · H · on q[0] (|+⟩)HStep 2 of 3 · X · on q[1] (|−⟩)XStep 3 of 3 · H · on q[1] (|−⟩)H

3 steps across 2 wires. Hover a step, or press play to go through them in order.

Expected outcomes

  • q[0] (|+⟩) Z-basis outcome50%
  • q[1] (|−⟩) Z-basis outcome50%
  • Steps3
  • Wires2
  • Qubits1
  • Depth1 gate (H, or X+H)
  • EigenvalueX = ±1
  • Papers1

The Hadamard-basis states are

∣+⟩=∣0⟩+∣1⟩2,∣−⟩=∣0⟩−∣1⟩2.|+\rangle = \frac{|0\rangle+|1\rangle}{\sqrt2}, \qquad |-\rangle = \frac{|0\rangle-|1\rangle}{\sqrt2}.

Eigenstates of XX. Direct matrix multiplication gives X∣+⟩=∣+⟩X|+\rangle = |+\rangle and X∣−⟩=−∣−⟩X|-\rangle = -|-\rangle, so {∣+⟩,∣−⟩}\{|+\rangle,|-\rangle\} is the eigenbasis of the Pauli-XX operator, exactly as {∣0⟩,∣1⟩}\{|0\rangle,|1\rangle\} is the eigenbasis of ZZ. Because HXH=ZHXH=Z and HZH=XHZH=X (HH conjugation swaps the two Pauli operators), the Hadamard gate is precisely the change-of-basis unitary between the ZZ and XX eigenbases: ∣+⟩=H∣0⟩|+\rangle=H|0\rangle, ∣−⟩=H∣1⟩|-\rangle=H|1\rangle.

Mutual unbiasedness. ∣⟨0∣+⟩∣2=∣⟨0∣−⟩∣2=∣⟨1∣+⟩∣2=∣⟨1∣−⟩∣2=1/2|\langle 0|+\rangle|^2 = |\langle 0|-\rangle|^2 = |\langle1|+\rangle|^2=|\langle1|-\rangle|^2 = 1/2: every computational-basis state has equal overlap with every Hadamard-basis state. This is the defining property of mutually unbiased bases — measuring a ZZ-eigenstate in the XX basis (or vice versa) yields a uniformly random outcome, which is exactly the security mechanism behind the BB84 quantum key distribution protocol's second basis choice.

Phase kickback. Preparing an ancilla in ∣−⟩|-\rangle before a controlled-UfU_f oracle is the standard trick that converts a classical bit-flip oracle ∣x⟩∣y⟩↦∣x⟩∣y⊕f(x)⟩|x\rangle|y\rangle \mapsto |x\rangle|y\oplus f(x)\rangle into a phase oracle ∣x⟩∣−⟩↦(−1)f(x)∣x⟩∣−⟩|x\rangle|-\rangle \mapsto (-1)^{f(x)}|x\rangle|-\rangle, because ∣−⟩|-\rangle is an eigenstate of the flip with eigenvalue −1-1. This is the mechanism used by Deutsch–Jozsa, Bernstein–Vazirani, Simon's algorithm, and Grover's diffusion oracle.

Stabilizer view. ∣+⟩|+\rangle is stabilized by XX (the unique +1+1 eigenstate) and ∣−⟩|-\rangle by −X-X; both are single-qubit stabilizer states, sitting alongside ∣0⟩,∣1⟩,∣+i⟩,∣−i⟩|0\rangle,|1\rangle,|+i\rangle,|-i\rangle as the six single-qubit states reachable by Clifford operations from ∣0⟩|0\rangle — the vertices of the stabilizer octahedron on the Bloch sphere, in contrast to the off-axis magic states elsewhere in this catalog.

References

Exact & formal
  • Direct mathematics
  • Verified by construction
  • Textbook / standard citation
Method
The prepared amplitudes (1/√2, ±1/√2) were compared exactly against the |+⟩, |−⟩ definitions, and each state was checked to be an exact eigenstate of X (eigenvalue +1 for |+⟩, −1 for |−⟩) by direct matrix multiplication.
Result
Pass · H|0⟩ and X;H|0⟩ reproduce |+⟩ and |−⟩ exactly, and X|+⟩=|+⟩, X|−⟩=−|−⟩ hold with no residual off-axis component.
Quantum Computation and Quantum Information: 10th Anniversary Edition ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
hadamard basisx-basismutually unbiased basesphase kickback

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