A classical bit has two possible values: and . A qubit has two basic states too — we call them and , pronounced “ket zero” and “ket one.” Those funny brackets are just notation. The important part is what’s inside.
If the qubit’s only tricks were and , it would be a regular bit. What makes it different is that a qubit can be in a combination of both at once:
Here and are complex numbers called amplitudes. They say how much of and how much of are in the mix. The state (pronounced “psi”) is the qubit’s full description.
There’s one rule: the amplitudes have to be sized so that . That’s called the normalization condition. We’ll see why in the measurement lesson.
Seeing a qubit
Here’s a picture. The Bloch sphere represents every possible state of a single qubit as a point on its surface. The arrow is the current state. is the north pole; is the south pole. Everything in between is a superposition.
(You can click and drag to rotate the camera.)
The state shown above has roughly equal parts and , tilted a bit toward one side of the equator. If you measured it right now, you’d get or — we’ll see exactly how the probabilities work out in the next two lessons.
The two ways to write a state
In the formula above, we wrote the state as a weighted sum: . That’s called Dirac notation, and it’s the way physicists prefer to think.
You can also write it as a column vector:
These are the same thing, said two different ways. The column vector is what you’d feed into code; the Dirac form is what you’d write on a whiteboard. You’ll see both on this site — toggle between them in the display below:
This particular state is — equal parts of both. It’s special enough to have its own name: (pronounced “ket plus”). It’s the quantum version of perfect ignorance about a bit, but with a twist we’ll see in Lesson 4.
What’s next
We’ve introduced the qubit but we’ve only shown it to you. In the next lesson, you’ll get to move it around: drag the sliders to explore every possible single-qubit state on the Bloch sphere, and see the amplitudes change in real time.