The six key states

Six states sit where the axes meet the sphere. They come up everywhere in quantum computing, and most gates are easiest to understand by where they send these six.

Two are the poles, ∣0⟩|{0}\rangle and ∣1⟩|{1}\rangle. The other four are on the equator: equal superpositions of ∣0⟩|{0}\rangle and ∣1⟩|{1}\rangle, with 50/50 odds of measuring either, that differ only in their phase.

A Bloch sphere with a dot at each of the six points where the axes meet it: |0⟩ at the top, |1⟩ at the bottom, and |+⟩, |−⟩, |+i⟩, |−i⟩ around the equator.|0⟩|1⟩|+⟩|−⟩|+i⟩|−i⟩
The six key states sit where the x, y and z axes meet the sphere.

The six states

StateAs a ket(x, y, z)P(0)Where
∣0⟩|{0}\rangle∣0⟩|0\rangle(0, 0, 1)100%top
∣1⟩|{1}\rangle∣1⟩|1\rangle(0, 0, −1)0%bottom
∣+⟩|{+}\rangle12∣0⟩+12∣1⟩\tfrac{1}{\sqrt{2}}|0\rangle + \tfrac{1}{\sqrt{2}}|1\rangle(1, 0, 0)50%front, toward you
∣−⟩|{-}\rangle12∣0⟩−12∣1⟩\tfrac{1}{\sqrt{2}}|0\rangle - \tfrac{1}{\sqrt{2}}|1\rangle(−1, 0, 0)50%back
∣+i⟩|{+i}\rangle12∣0⟩+12 i∣1⟩\tfrac{1}{\sqrt{2}}|0\rangle + \tfrac{1}{\sqrt{2}}\,i|1\rangle(0, 1, 0)50%right
∣−i⟩|{-i}\rangle12∣0⟩−12 i∣1⟩\tfrac{1}{\sqrt{2}}|0\rangle - \tfrac{1}{\sqrt{2}}\,i|1\rangle(0, −1, 0)50%left

"Where" is in the app's starting view; drag the sphere and it turns with you. Some books write ∣+i⟩|{+i}\rangle and ∣−i⟩|{-i}\rangle as ∣i⟩|{i}\rangle and ∣−i⟩|{-i}\rangle, or as ∣↻⟩|{\circlearrowright}\rangle and ∣↺⟩|{\circlearrowleft}\rangle.

Opposite pairs are bases

Each pair of opposite states is a basis: two states that are completely distinguishable, so that a measurement can ask "which of the two?".

  • Z basis: ∣0⟩|{0}\rangle and ∣1⟩|{1}\rangle, along the z axis. This is the "computational basis", the one ordinary measurements use.
  • X basis: ∣+⟩|{+}\rangle and ∣−⟩|{-}\rangle, along x.
  • Y basis: ∣+i⟩|{+i}\rangle and ∣−i⟩|{-i}\rangle, along y.

The three axes are at right angles, and that has a striking consequence: a state that is certain in one basis is completely random in the other two. ∣0⟩|{0}\rangle always measures as 0, but asked "∣+⟩|{+}\rangle or ∣−⟩|{-}\rangle?" it answers each half the time.

Try it

In the app, Set state ▸ Presets puts the selected qubit on any of the six. Next: measuring a qubit.