Launch the interactive walkthrough to discover each component, including the 3D Q-Sphere Lab & Python in Colab.
Understand the measurement problem: how continuous probability amplitudes collapse into discrete classical reality via the Born Rule.
Grasp complex quantum concepts visually with zero prior physics or math knowledge!
Shimmering Superposition
Reflects all colors and possibilities simultaneously.
POP! Irreversible Collapse
Born Rule: Rainbow disappears, leaving one plain water drop.
Rotate filter angle θ to see Malus' Law transmission odds P = cos²(θ).
Interactive 3D state vector exploration, unitary transformation gates, and Born rule collapse for Topic 5.10
| Symbol / Term | Meaning | Beginner Interpretation |
|---|---|---|
| Classical measurement outcome | Specific bitstring result observed by detectors (e.g. "00", "01", "10", "11") | |
| State probability amplitude | Complex number coefficient sitting in front of basis state | |
| Modulus squared of amplitude | The real-world percentage probability of observing outcome s | |
| Axiom of total probability | Certainty that one of the possible basis states must physically occur |
Measuring a 2-qubit register in state |ψ⟩ = 0.5|00⟩ + 0.5i|01⟩ - 0.5|10⟩ + 0.5|11⟩:
Result: Each 2-bit outcome has an equal 25% chance of being observed when measured by detectors.
Quantum circuit evolves pure state |psi> via unitary gates.
Resonator frequency shifts based on whether qubit collapsed to |0> or |1>.
Circuit is re-executed 1,024 times ("shots") to construct an empirical probability histogram.
Problem: Classical pseudorandom algorithms can be predicted if seed is known.
Solution: Measuring a qubit in state |+> produces genuine, certified non-deterministic quantum randomness generated by nature.
Interactive activity component
Prove quantum wave function collapse: perform two sequential measurements on the same qubit to show the second measurement always agrees with the first.
For Google Colab or Jupyter notebooks, run this shell command to install the required dependencies:
!pip install qiskit qiskit-aer1 from qiskit import QuantumCircuit 2 from qiskit_aer import AerSimulator
from qiskit import QuantumCircuit → Circuit module
from qiskit_aer import AerSimulator → Aer simulator
1 # Construct circuit: H gate, 1st Measurement into c0, then 2nd Measurement into c1 2 qc = QuantumCircuit(1, 2) 3 qc.h(0) # Create superposition 4 qc.measure(0, 0) # First measurement into bit 0 5 qc.measure(0, 1) # Second measurement of SAME qubit into bit 1 6 print('Sequential Measurement Circuit Diagram:') 7 print(qc.draw('text')) 8 9 # Run 1,000 shots 10 sim = AerSimulator() 11 counts = sim.run(qc, shots=1000).result().get_counts() 12 print('\nOutcome bitstrings [c1, c0]:') 13 for bits, count in counts.items(): 14 print(f' {bits} : {count} shots') 15 print('\nNotice: We ONLY see \'00\' and \'11\', NEVER \'01\' or \'10\'!') 16 print('This proves the first measurement collapsed the state; subsequent measurements are 100% deterministic.')
# Construct circuit: H gate, 1st Measurement into c0, then 2nd Measurement into c1
Circuit setup
qc = QuantumCircuit(1, 2)
1 qubit and 2 classical bits
qc.h(0) # Create superposition
Put in superposition
qc.measure(0, 0) # First measurement into bit 0
First collapse
qc.measure(0, 1) # Second measurement of SAME qubit into bit 1
Second measurement
print('Sequential Measurement Circuit Diagram:')
Header
print(qc.draw('text'))
Display circuit
# Run 1,000 shots
Run simulation
sim = AerSimulator()
Initialize Aer
counts = sim.run(qc, shots=1000).result().get_counts()
Simulate shots
print('\nOutcome bitstrings [c1, c0]:')
Print header
for bits, count in counts.items():
Iterate bit combinations
print(f' {bits} : {count} shots')
Display counts
print('\nNotice: We ONLY see \'00\' and \'11\', NEVER \'01\' or \'10\'!')
Key insight
print('This proves the first measurement collapsed the state; subsequent measurements are 100% deterministic.')
Explanation
Click "Copy for Colab", open Google Colab, paste into a single cell, and run.
1 # ========================================================= 2 # Demonstrating Quantum Measurement Collapse in Qiskit 3 # Prepared for Google Colab (Run with Shift + Enter) 4 # ========================================================= 5 6 # Step 1: Install required packages 7 !pip install qiskit qiskit-aer 8 9 # Step 2: Import libraries 10 from qiskit import QuantumCircuit 11 from qiskit_aer import AerSimulator 12 13 # Step 3: Run Demonstration 14 # Construct circuit: H gate, 1st Measurement into c0, then 2nd Measurement into c1 15 qc = QuantumCircuit(1, 2) 16 qc.h(0) # Create superposition 17 qc.measure(0, 0) # First measurement into bit 0 18 qc.measure(0, 1) # Second measurement of SAME qubit into bit 1 19 print('Sequential Measurement Circuit Diagram:') 20 print(qc.draw('text')) 21 22 # Run 1,000 shots 23 sim = AerSimulator() 24 counts = sim.run(qc, shots=1000).result().get_counts() 25 print('\nOutcome bitstrings [c1, c0]:') 26 for bits, count in counts.items(): 27 print(f' {bits} : {count} shots') 28 print('\nNotice: We ONLY see \'00\' and \'11\', NEVER \'01\' or \'10\'!') 29 print('This proves the first measurement collapsed the state; subsequent measurements are 100% deterministic.')
Apply Hadamard to place the qubit into (|0> + |1>)/sqrt(2).
Collapses the wave function randomly to 0 or 1.
Confirms that once collapsed, the qubit remains in that state with 100% fidelity.
Circuit with H gate and two consecutive measurements on wire 0.
Outcomes: {'00': ~500, '11': ~500} (0% for '01' or '10')Quantum measurement is a non-unitary projection. Once observed, the superposition is irreversibly destroyed and the system is projected into the measured eigenstate.
Hadamard gates, quantum measurement, histogram analysis, and probability collapse.
Test your understanding with these questions. Remember, this is for learning, not examination!