Skip to content
ExperimentsExperiment 4 Β· Quantum basics

Measurement

Collapse a quantum state thousands of times and watch statistics emerge.

  1. 1. Learn
  2. 2. Watch
  3. 3. Interact
  4. 4. Predict
  5. 5. Run
  6. 6. Observe
  7. 7. Record
  8. 8. Answer
  9. 9. Research
β‘  What is the problem?

What do we actually get when we measure a qubit?

β‘‘ How does a classical computer approach it?

Reading a bit gives its value and leaves it unchanged.

β‘’ How does the quantum approach differ?

Measurement gives one classical outcome at random (Born rule) and the state collapses to that outcome.

β‘£ What is happening mathematically?
P(x) = |⟨x|ψ⟩|Β². Relative frequencies converge to P(x) as shots β†’ ∞ (law of large numbers); error ~ 1/√shots.
β‘€ What does the simulation show?
State β†’ measurement β†’ classical result, a live histogram, and the running frequency approaching the true probability.
β‘₯ What did we learn?
One measurement reveals very little; statistics over many runs reveal the probabilities.
⑦ What can you experiment with?
Set P(1)=30%. How many measurements until the frequency is within 2% of 30%?
πŸ““ Record: my lab notebook