Quantum
Module 2 · The Qubit · Lesson 1

Meet the qubit

Not a bit. Not a coin. A new kind of thing — with a shape you can see.

8 min read · Lesson 4 of 32

A classical bit has two possible values: 00 and 11. A qubit has two basic states too — we call them 0|0\rangle and 1|1\rangle, 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 0|0\rangle and 1|1\rangle, it would be a regular bit. What makes it different is that a qubit can be in a combination of both at once:

ψ=α0+β1|\psi\rangle = \alpha \, |0\rangle + \beta \, |1\rangle

Here α\alpha and β\beta are complex numbers called amplitudes. They say how much of 0|0\rangle and how much of 1|1\rangle are in the mix. The state ψ|\psi\rangle (pronounced “psi”) is the qubit’s full description.

There’s one rule: the amplitudes have to be sized so that α2+β2=1|\alpha|^2 + |\beta|^2 = 1. 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. 0|0\rangle is the north pole; 1|1\rangle 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 0|0\rangle and 1|1\rangle, tilted a bit toward one side of the equator. If you measured it right now, you’d get 0|0\rangle or 1|1\rangle — 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: α0+β1\alpha |0\rangle + \beta |1\rangle. That’s called Dirac notation, and it’s the way physicists prefer to think.

You can also write it as a column vector:

ψ=(αβ)|\psi\rangle = \begin{pmatrix} \alpha \\ \beta \end{pmatrix}

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 120+121\frac{1}{\sqrt{2}}|0\rangle + \frac{1}{\sqrt{2}}|1\rangle — equal parts of both. It’s special enough to have its own name: +|+\rangle (pronounced “ket plus”). It’s the quantum version of perfect ignorance about a bit, but with a twist we’ll see in Lesson 4.

Quick check
What's the normalization condition for a qubit state α|0⟩ + β|1⟩?
Quick check
If α = 1 and β = 0, what state is the qubit in?

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.