What you are looking at
The top half is one qubit: an arrow on the Bloch sphere that you turn with two angles or with gates, then measure, one copy at a time or ten thousand. The bottom half is a Bell test: an entangled pair goes to Alice and Bob, each turns a detector to an angle, and the CHSH value S counts how well their outcomes agree. The entangled pair plays beside the best local hidden-variable rule on the same game, so you can watch one pass 2 and the other stay at it.
Controls
On this device:
Other devices
Glossary
- Qubit
- The quantum version of a bit. Its state is α|0⟩ + β|1⟩, a mix of the two values that is only settled when you measure it.
- Why it matters Every quantum computer is built from qubits like this one.
- |0⟩ and |1⟩
- The two basic states of a qubit, like 0 and 1 of an ordinary bit. On the sphere |0⟩ is the top and |1⟩ the bottom.
- Amplitudes α and β
- The two numbers, possibly complex, that say how much of |0⟩ and of |1⟩ the state holds. |α|² + |β|² = 1, and |α|² is the chance of +1 when you measure along z.
- Why it matters A complex amplitude carries a phase, which no single measurement along z can see but a gate can turn into a difference.
- Bloch sphere
- A ball on which every state of one qubit is an arrow from the centre to the surface. Opposite points are opposite outcomes of one measurement.
- Why it matters It turns two complex amplitudes into one picture you can rotate.
- Polar angle θ
- How far the arrow tips down from the top, from 0° (|0⟩) to 180° (|1⟩). At 90° it lies on the equator, an equal mix of |0⟩ and |1⟩.
- Azimuth φ
- How far the arrow is turned round the vertical axis, from −180° to 180°. At 0° it points along x, at 90° along y. It is the phase between α and β.
- Bloch vector (x, y, z)
- The arrow's three coordinates, a vector of length 1. Each one is the average outcome you would get measuring many copies along that axis.
- Why it matters z = 1 means +1 every time along z; z = 0 means half and half.
- Gate
- An operation that turns the arrow about an axis by a fixed angle. It changes the state without measuring it, so nothing is lost.
- H (Hadamard)
- A half turn about the axis halfway between x and z. It swaps |0⟩ and |+⟩, so H on |0⟩ lands on the equator.
- Why it matters It is the usual way to put a qubit into an equal mix of |0⟩ and |1⟩.
- X, Y and Z
- Half turns about the x, y and z axes. X swaps |0⟩ and |1⟩, the quantum NOT. Z flips the sign of |1⟩, which a measurement along z cannot see.
- S and T
- Smaller turns about z: S a quarter turn, T an eighth. S takes |+⟩ to |+i⟩. Both leave the chances along z as they were.
- Measurement axis
- The direction you measure along: x, y or z. The answer is +1 or −1; along z they mean |0⟩ and |1⟩, along x |+⟩ and |−⟩, along y |+i⟩ and |−i⟩.
- Fresh copies
- Qubits prepared the same way and each measured once. The histogram counts how many gave +1 and how many −1; the same copies give the same outcomes on every visit.
- Born rule
- The chance of +1 along an axis n is |⟨+n|ψ⟩|², set by the angle between the arrow and the axis. The tick on each bar marks it, and the measured share settles on it as copies add up.
- Why it matters Quantum mechanics predicts chances, not single outcomes, and this is how.
- Collapse
- Measuring this qubit gives +1 or −1 with the Born rule's chances and moves the arrow onto that end of the axis. Measure again along the same axis and you get the same answer every time.
- Entangled pair Φ⁺
- Two qubits in the state (|00⟩ + |11⟩)/√2: neither has an answer of its own, but measured along the same direction they always agree. Alice's outcomes alone stay 50/50 whatever Bob does.
- Why it matters The agreement shows only when the two lists are put side by side, so it cannot carry a message.
- Settings and rounds
- Each round a referee hands Alice and Bob a random setting, 0 or 1. They win when their outcomes agree, except when both settings are 1: then they must differ. Rounds counts the pairs sent so far.
- Detector angles a, a′, b, b′
- The direction each detector turns to in the x–z plane: a for Alice's setting 0, a′ for her setting 1, b and b′ for Bob's. 0° points along z, 90° along x.
- Why it matters The angles, not the pair, decide how far the score can go.
- Correlation E
- For one pair of settings, how often the outcomes agree minus how often they differ, as a share of those rounds. It runs from 1 (always agree) to −1 (always differ); for Φ⁺ it is cos(a − b).
- CHSH value S
- S = E(a, b) + E(a, b′) + E(a′, b) − E(a′, b′), one number from the four correlations. S measured comes from the rounds sent; S expected is what the theory gives for these angles.
- S ± σ
- The measured S with one standard deviation σ, the spread that chance alone gives with this many rounds. Four times the rounds halves σ.
- Win rate
- The share of rounds won. It follows S: win rate = 1/2 + S/8, so S = 2 is 75% and S = 2√2 about 85%.
- Classical limit 2
- No local hidden-variable rule can make S larger than 2, so none wins more than 75% of rounds. Every fixed strategy scores exactly 2 or −2.
- Why it matters Going past 2 rules out every explanation in which each particle carries its answers with it.
- Quantum bound 2√2
- The most S any quantum state can reach, 2√2 ≈ 2.83. The entangled pair reaches it exactly at Tsirelson's angles.
- Tsirelson's angles
- a = 0°, a′ = 90°, b = 45°, b′ = −45°: each pair of settings 45° apart, except a′ and b′, which are 135° apart. They give the entangled pair S = 2√2. All aligned puts every detector at 0°, where both sources give S = 2.
- Local hidden-variable rule
- Each pair leaves with a hidden direction, and each detector answers +1 if it points within 90° of it, on its own. Its correlation is 1 − 2d/π for detectors d apart, and it reaches exactly 2 at Tsirelson's angles.
- Why it matters It is the best a local rule can do, so it is the fair rival.
- Beats 2 by nσ
- Shown when |S| sits more than 3σ above 2; a smaller excess counts as within the classical limit. Until σ falls under 0.5 the panel asks you to send more pairs.
- Why it matters A local run can land a little above 2 by chance, so only a clear margin counts.
All help and questions