See it

Visuals for the hard ideas

The concepts people find hardest, each as a picture you can move. Every visual says what to notice; try to predict what will happen before you press anything.

The Bloch sphere in 3D

Every qubit state (ignoring global phase) is a point on this sphere: north pole |0⟩, south pole |1⟩, equator the equal superpositions, and the angle around the equator is the relative phase. Gates turn the sphere; measurements read off a shadow.

Visual · the Bloch sphere in 3D

Drag the sphere to look around it (or use the arrow keys when it's focused). Press a gate and watch the arrow rotate about the gate's axis: every single-qubit gate is a rotation. Then choose a measurement: the probability is how far the arrow's shadow reaches along that axis.

Apply a gate (watch the rotation)
Start from
Measure along

Rule: P(first outcome) = (1 + shadow)/2, where the shadow is the arrow's component along the axis (from −1 to +1). Opposite points on the sphere are orthogonal states.

Probability from single clicks

Visual · probability emerges from single random clicks

One measurement gives one random result, never a probability. Press Play and watch results land one at a time: the bars wobble a lot at first, then settle on |α|² and |β|². This is why real quantum computers run every circuit thousands of times ("shots").

Interference as arrows

Why can two Hadamards give you back exactly |0⟩ when one gives a coin flip? Because amplitudes add like arrows, and arrows can cancel. Probabilities can't.

Visual · amplitudes as arrows (interference)

Each amplitude is an arrow: its length is the size (probability = length²) and its direction is the phase. Press H and look at the working panel: each new arrow is made by adding or subtracting the old ones, tip to tail. When arrows point opposite ways they cancel; that is interference.

Apply

Try: H, H (back to |0⟩: the |1⟩ arrows cancel). Then: H, Z, H (ends on |1⟩). Then H, S, H: neither cancels completely.

Working for the last gate

What entanglement does to each qubit

"Entangled" means the pair has a definite state but each qubit on its own doesn't. On the Bloch sphere, that shows up as the qubit's arrow shrinking inside the sphere.

Visual · what entanglement does to each qubit

The state is cos t |00⟩ + eiφ sin t |11⟩, drawn as a grid (rows = qubit A, columns = qubit B; dot area = probability, colour = phase). Slide t from 0 to 45°. Watch qubit A's own Bloch arrow (right): it shrinks into the middle of the sphere. A maximally entangled qubit has no state of its own: on its own it's a 50/50 coin.

BB84 and the eavesdropper

Visual · BB84, photon by photon

Alice sends random bits in random bases (+ = 0/1, × = +/−). Bob measures in random bases. Afterwards they compare bases only and keep the matching ones. Switch Eve on: she can't copy the photons (no-cloning), so she has to measure and resend, and about a quarter of the kept bits turn wrong.

Why Bell correlations are too strong

Visual · why quantum correlations are "too strong"

For the singlet, Alice and Bob's results are correlated by E(θ) = −cos θ, where θ is the angle between their detectors. A natural hidden-variable model (each pair carries a random hidden direction) gives a straight line instead. The two agree at 0°, 90° and 180°, but in between the quantum curve bends further. CHSH uses the angles where the gap is biggest (45° and 135°), and that gap is what pushes |S| past 2.

Teleportation, step by step

Explore · teleportation, one step at a time

q0 holds Alice's unknown state |ψ⟩ = α|0⟩ + β|1⟩. q1 is Alice's half of the shared pair, q2 is Bob's half. Step through and watch where α and β go.

q0 |ψ⟩q1 |0⟩q2 |0⟩BobHHM m₁M m₂Xm₂Zm₁shared pair made

Full 3-qubit state |q0 q1 q2⟩