Skip to content
Quantum

beginner · Interactive lab

Superposition and Measurement

A qubit in superposition is not a coin already showing a face under the lid. The difference is measurable: ask it a different question and the coin gives noise where the qubit gives certainty.

By the end: Tell superposition apart from ignorance: a prepared |+⟩ and a coin in a box differ in a way you can measure.

Your challenge

Start here. This lab opens with every claim marked true, which is the wrong starting point and the usual state of a room after a quantum talk. Two of them are the coin's description, two are false of both, and exactly one cannot be settled by anything running in a browser. Marking them all unsettleable is the other wrong answer, and it is graded as one. Read the experiment on each row and judge it.

See it happen

Two systems, two questions

Bench: undecided
Slowed down so you can follow
PREPARATION|+⟩and a coin in a boxTHE BENCHMEASUREMENTZ BASISanswers 0 and 1TALLYTHE QUBITTHE COIN
Preparation puts a system on the bench — a qubit in a chosen state, or a coin in a box. Measurement asks it one question, in the Z basis or the X basis, and the answer is added to the tally. Nothing else happens in between.
  1. Preparation → The bench
  2. The bench → Measurement: one question
  3. Measurement → Tally
STEP 1 / 6

A qubit and a coin, side by side

Preparation puts two things on the bench: a qubit in the state |+⟩ and a fair coin in a closed box. Measurement can ask either of them one question at a time. Watch the Tally.

Configure

Your verdict on each claim

Judge each claim about the qubit prepared in |+⟩. Each row carries the experiment that bears on it, run on a fixed seed — read the numbers before you decide.

Is this claim true of the qubit?
True of the qubit
· The experiment on this row supports it.
True of the coin, not the qubit
· It describes a system that is already 0 or 1.
False of both
· Neither system does this.
This bench cannot say
· It is a claim about real hardware. True of one claim here, and only one.
  1. C-901 — In the Z basis it behaves like a fair coin

    The Z basis is the usual one, whose answers are called 0 and 1. "Like a fair coin" means about half each way over many trials, not exactly half in any one run.

    Experiment
    Prepare |+⟩, measure in the Z basis · 200 trials, and the same for a coin in a box
    The qubit
    111 × 0, 89 × 1 — 56% 0, against 50% predicted
    The coin
    95 × 0, 105 × 1 — 48% 0, against 50% predicted
  2. C-902 — In the X basis it behaves like a fair coin

    The same two systems, the same number of trials, one different question.

    Experiment
    Prepare |+⟩, measure in the X basis · 200 trials, and the same for a coin in a box
    The qubit
    200 × +, 0 × − — 100% +, against 100% predicted
    The coin
    107 × +, 93 × − — 54% +, against 50% predicted
  3. C-903 — It is already 0 or 1, and measuring only reveals which

    This is the picture almost everyone starts with. The row below is the experiment that tests it.

    Experiment
    Prepare |+⟩, measure in the X basis · 200 trials, and the same for a coin in a box
    The qubit
    200 × +, 0 × − — 100% +, against 100% predicted
    The coin
    102 × +, 98 × − — 51% +, against 50% predicted
  4. C-904 — Ask the same copy twice and the answer holds

    Measurement asks the Z question, then asks the very same copy again.

    Experiment
    Prepare |+⟩, measure in Z, then measure the same copy again in Z · 200 trials
    First answers
    99 × 0, 101 × 1
    Second answers
    200 of 200 matched the first
  5. C-905 — One copy can give you both its Z answer and its X answer

    Measurement asks Z first, then X, of a single prepared copy — and, as a control, asks X of fresh copies that were left alone.

    Experiment
    Prepare |+⟩, measure in Z first, then ask the same copy in X · 200 trials
    X after the Z question
    105 × +, 95 × − — 53% +
    X with no Z question first
    200 × +, 0 × − — 100% +
  6. C-906 — One qubit hands back two classical bits per readout

    A readout is one measurement of one prepared copy: whatever comes back, comes back once.

    Experiment
    Prepare |+⟩ and read it out in the Z basis · 200 trials
    What comes back
    one symbol per trial: 98 × 0, 102 × 1
    Classical bits per trial
    1
  7. C-907 — On real hardware this state survives a million operations

    A claim of the kind made in vendor decks and funding papers.

    Experiment
    None. This bench computes outcome statistics; it is not a device.

Two of these describe the coin rather than the qubit; two are false of both. Exactly one is about real hardware, and nothing here can settle that one — the other six carry the experiment that settles them.

Learn more

Why this pattern exists

Three words first, because the rest of the lesson leans on them. A **qubit** is what a quantum computer stores instead of a bit; like a bit, reading one gives you a single symbol back. A **basis** is the question you point the measuring device at — this bench offers two of them, and they have different answers, which is the whole lesson. And **|+⟩** is just a name for one particular preparation of a qubit; say it as "plus", and take it as a label rather than as mathematics. Now the picture to unlearn. Put a fair coin in a box and shake it: it is already heads or tails, and the lid only tells you which. Prepare a qubit in |+⟩ and ask the Z question — the basis whose answers are called 0 and 1 — and it does behave like that coin: about half 0 and half 1, however long you run it. Now ask a different question. Ask in the X basis, whose answers are + and −, and the qubit says + every single time, while the coin still gives you half and half. Two systems that are identical under one question and completely different under another are not the same system. That is what superposition means here, and this bench can show it trial by trial. One habit before you start: these are counts from a finite number of trials. Two hundred tosses of a fair coin do not land on exactly one hundred, and neither do these. Read a tally as "about half" or "every single time", and compare it against what the model predicts — which every row tells you.

A bench with two things on it: a qubit prepared in |+⟩ and a fair coin in a closed box. A measuring device can be pointed at either of them and set to either question — the Z basis, whose answers are 0 and 1, or the X basis, whose answers are + and −. That choice of question is what "basis" means. Every graded experiment runs on a fixed seed, so the numbers never move, and each row says what the model predicts beside what the trials actually gave.

  • Tell superposition apart from ignorance: a prepared |+⟩ and a coin in a box differ in a way you can measure.
  • Read an outcome distribution as evidence, and say what a single measurement can and cannot tell you.
  • Say what a browser simulation of outcome statistics does not settle, and refuse claims that need real hardware.

The rule this lesson applies: A measurement has a basis: the question you decided to ask, chosen before the answer exists. |+⟩ has a definite answer to the X question and no answer at all to the Z question, and a coin in a box has a definite answer to the Z question and none to X. Neither system has answers to both, which is why one copy cannot hand you both — measuring in Z leaves the copy in |0⟩ or |1⟩, and the X certainty that was there is gone. Once measured, a qubit stays measured: ask the same question again and the same answer comes back, which is why nothing here is mystical, only unfamiliar. What a qubit does not do is carry more classical information per readout: one measurement hands back one symbol, and one qubit yields at most one classical bit that way. This page computes the statistics the standard model predicts and draws them; it models no noise, no decoherence and no hardware. Anything that depends on how long a real device holds a state is outside what it can settle, and this lesson grades that distinction rather than leaving it to a disclaimer. It grades the opposite mistake too. "This bench cannot say" is the right answer exactly once here, and reaching for it on a claim whose experiment is sitting on the row is not caution — it is refusing evidence you were given, and it is graded as the same kind of error as overclaiming.