Free~20 min · AP Physics 2

Quantum Coin Toss

Explore quantum superposition and measurement

Key equation|\psi\rangle = \cos(\theta/2)|0\rangle + \sin(\theta/2)|1\rangle

A quantum system can exist in a superposition of states, unlike a classical coin which is definitively heads or tails while in flight. The quantum state encodes probabilities: measuring 'collapses' the superposition to a definite outcome. This is not classical ignorance — the system genuinely has no definite value before measurement. The Bloch sphere represents all possible qubit states as points on a unit sphere.

ProPremium experiment

Unlock Quantum Coin Toss

Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.

Start 7-day free trial$4.99 / month · cancel anytime
No credit card for trial Cancel in one click Student discount available

What is Quantum Coin Toss?

Schrödinger's cat is the famous teaching trick: a cat in a box that's somehow both alive and dead until you peek. Behind the metaphor is a concrete fact about quantum systems — they can occupy multiple states simultaneously, with definite probabilities for each, until something interacts with them. This simulation gives you a controllable version of that strangeness: a quantum coin whose 'heads' and 'tails' probabilities you set with a dial called the superposition angle θ. At θ=0° the coin is definitely heads, at θ=180° definitely tails, at θ=90° an equal superposition — not a classical mixture — with no defined value until you measure. Toss it once and watch the wavefunction collapse. Toss it a thousand times and watch P(0) = cos²(θ/2) emerge. The Bloch sphere gives you the geometric picture used in quantum information: every qubit state is a point on a unit sphere.

Parameters explained

Superposition Angle(°)
The angle θ on the Bloch sphere that controls the qubit state |ψ⟩ = cos(θ/2)|0⟩ + sin(θ/2)|1⟩. This sets the probability of measuring 0 versus 1: P(0) = cos²(θ/2), P(1) = sin²(θ/2). At θ=0° you get P(0)=1 (always heads). At θ=180° you get P(1)=1 (always tails). At θ=90° both probabilities are 0.5 — the maximally indeterminate equal superposition. Sweeping θ across the slider continuously biases the coin between certain heads and certain tails, with everything in between being a real quantum superposition.
Number of Tosses
How many measurements you make on independent copies of the same prepared state. Each toss collapses the superposition to a definite 0 or 1 according to the probabilities. With few tosses (say 10) you'll see big statistical noise — at θ=90° you might get 7 heads and 3 tails just by chance. With 1000 tosses the law of large numbers takes over and the observed frequencies converge tightly to the predicted probabilities. This is exactly how quantum experimentalists verify a state: prepare the same state thousands of times and measure the histogram.

Common misconceptions

  • MisconceptionA particle in superposition is literally everywhere at once or in two places at the same time.

    CorrectWhat's actually 'there' is the wavefunction, which assigns a complex probability amplitude to each possible outcome. The particle isn't a duplicate sitting in two places. When you measure, the wavefunction collapses to one outcome with probability |amplitude|². So calling the cat 'simultaneously alive and dead' is a metaphor — what's true is that the alive-amplitude and the dead-amplitude both have nonzero values until measurement collapses to one of them.

  • MisconceptionQuantum superposition is just classical probability — we don't know the answer until we look, like a covered die.

    CorrectIt's deeper than that. A covered die already has a value; we just don't know it. A qubit at θ=90° genuinely has no defined value until measurement — and that's testable. Bell-inequality experiments show that quantum systems violate the predictions local hidden-variable models would make. So 'we just haven't checked yet' is wrong; the absence of a defined value is a real, physical fact about quantum systems.

  • MisconceptionAfter measurement, the particle returns to its original superposition state.

    CorrectMeasurement collapse is one-way. Once you measure and get heads, the qubit is in the |0⟩ state — measure it again and you'll get heads with probability 1. To get a fresh superposition you have to actively *re-prepare* the state. In a real quantum computer this means applying a gate (a unitary rotation) to rebuild the superposition from the collapsed state. Measurement and gate operations are different physical actions.

  • MisconceptionQuantum probability is just like flipping a fair coin.

    CorrectCoin probability is classical: a fair coin has a definite (but unknown to you) outcome at every moment. Quantum probability is computed from amplitudes that can interfere — two paths to the same outcome can add constructively (boosting probability) or destructively (canceling probability). That interference is the whole point of quantum computing speedups. A classical fair coin can never interfere with itself; a quantum coin can.

How teachers use this lab

  1. Frequencies-converge demo: at θ=90° run 10, 100, and 1000 tosses. Students record the heads fraction and see it tighten around 0.5 as N grows. Connect this to the law of large numbers and to how real quantum experiments verify state preparation.
  2. Probability formula check: students compute P(0) = cos²(θ/2) for θ = 30°, 60°, 90°, 120°, 150° before running. Then they verify by tossing 1000 times. Easy way to make the formula concrete.
  3. Bell vs. classical thought experiment: discuss why a covered die isn't a quantum superposition. Bring in the Bell inequality argument at a conceptual level — quantum probability isn't just ignorance, it's something stronger.
  4. Bloch sphere geometry: have students rotate the Bloch sphere and find the points corresponding to |0⟩, |1⟩, |+⟩ = (|0⟩+|1⟩)/√2, and |−⟩ = (|0⟩−|1⟩)/√2. This sets up the geometry every quantum computing course assumes.
  5. Wavefunction collapse discussion: pause the simulation right after a measurement and ask 'what's the probability of getting heads if we measure again right now?' Students should answer 1 (or 0). Use this to introduce why repeated identical measurements give identical outcomes.

Frequently asked questions

Why does P(0) = cos²(θ/2) instead of just θ/180?

Because quantum probabilities come from squaring amplitudes, not from linear angles. The state vector lives on the Bloch sphere with the half-angle convention: |ψ⟩ = cos(θ/2)|0⟩ + sin(θ/2)|1⟩. The amplitude for 0 is cos(θ/2), and the *probability* is its square. The half-angle is what makes θ=180° (antipode of |0⟩) come out as |1⟩ rather than the same as |0⟩. It's a feature of how spin-1/2 systems and qubits map to 3D rotation geometry.

What does it mean for a quantum coin to be in superposition while in flight?

Mathematically, the state is a definite complex linear combination of |0⟩ and |1⟩. Physically, no single experiment can verify 'it was in a superposition' on one toss — you only see one outcome per measurement. But by preparing the same state many times and measuring statistics, or by interferometric experiments where the two amplitudes interfere with each other, you can confirm that the state really was a superposition rather than a hidden coin. That's how quantum optics labs verify qubit states every day.

Why does measuring 'collapse' the wavefunction?

Measurement couples the quantum system to a macroscopic device with vastly more degrees of freedom (an apparatus, an observer's brain, the environment). That coupling rapidly entangles the qubit with the environment in such a way that you can no longer access interference between the |0⟩ and |1⟩ branches. From your perspective the state appears to jump to one outcome with the predicted probability. Different interpretations (Copenhagen, many-worlds, decoherence) disagree on the metaphysics, but they all agree on the predictions.

Can I use this to send information faster than light?

No. Even when two qubits are entangled and one is measured, the outcome is random — Alice can't choose what Bob sees by manipulating her qubit, only that their results will correlate when compared later. This is the no-communication theorem. Entanglement is real and useful for quantum cryptography and certain computing speedups, but it can't be used to send faster-than-light signals. AP-level discussion can stop at 'random outcomes mean no information transfer.'

How does this connect to AP Physics 2 MOD-4.A?

MOD-4.A covers the basics of quantum behavior: superposition, measurement, and probabilistic outcomes. The quantum coin is the cleanest possible illustration of all three. Students see that a system can occupy a non-classical superposition of two states, that measurement produces one definite result, and that the predicted probabilities match the observed frequencies after many tosses. That trio is exactly what AP Physics 2 expects students to articulate qualitatively.