Level 1, Curious

Ket

The ket labelled 0 is certain to read 0, and the ket labelled 1 is certain to read 1. The ket labelled with a plus is the |+⟩ state, and the ket labelled with a minus is the |−⟩ state.

A ket is Dirac’s notation for a quantum state, written as a vertical bar, a label, and a right-hand angle bracket. The ket labelled 0 is the state certain to read 0, and the ket labelled 1 is the state certain to read 1.

The same brackets take a plus or a minus as the label, and both still fit on the label of a floppy disk. The |+⟩ state has equal amplitudes with the same sign, and the |−⟩ state has equal amplitudes with opposite signs.

An example

A ket stands for a whole list of amplitudes. |0⟩ is short for 1 beside 0 and 0 beside 1. |1⟩ is short for 0 beside 0 and 1 beside 1.

Any qubit state can be written with those two. The line 0.28|0⟩ + 0.96|1⟩ describes a qubit with 0.28 for 0 and 0.96 for 1. Its chances are 0.0784 and 0.9216, which add to 1.

The other labels work the same way. |+⟩ is short for 0.71|0⟩ + 0.71|1⟩, and |−⟩ is short for 0.71|0⟩ − 0.71|1⟩. Some books give a general state a Greek letter, as in |ψ⟩, said “psi”. That is a name, like calling a cat Tiddles.

Two qubits take a label with two digits, first wire then second. |10⟩ means the first wire reads 1 and the second reads 0. So 0.6|01⟩ + 0.8|10⟩ is a pair that reads 01 with chance 0.36 and 10 with chance 0.64, and never 00 or 11.

Dirac built the name from the word bracket. The mirror image, ⟨0|, is a bra, and a bra beside a ket makes a bracket. Physicists still find this funny.

What it is not

A ket is not a number, and the label is not a value. In arithmetic 0 + 1 = 1. With kets, |0⟩ + |1⟩ is not |1⟩. Divide it by 1.41 and you get |+⟩.

|0⟩ is not zero, either. It is a state certain to read 0, with a size of 1. A list with every amplitude at zero is not a state at all, since its squares add to 0, not 1.

And |10⟩ is not ten. It names a reading, first wire 1 and second wire 0. The digits are read off a detector, one per wire. Some books read the row as a binary number, so |10⟩ is two, but never ten.

A ket writes down a state, and the numbers in front are amplitudes. The labels 0 and 1 make the computational basis, and the plus and minus labels are the |+⟩ state and the |−⟩ state. Which Outcome gives you kets and asks for the odds.

Longer explanation: How to learn quantum computing

All the words