Superposition means the state includes multiple possibilities with amplitudes. Measurement picks one outcome according to those amplitudes.
This is the bridge from quantum description to classical data. Quantum algorithms work only because they shape amplitudes before the final measurement turns them into a single classical result.
Follow this lesson into the surrounding principles, theorems, tools, and modules.
Superposition is a way of describing possibility before measurement. A qubit in superposition is not in both states at once in any everyday sense. It is in a state where the amplitudes for 0 and 1 are both nonzero. When you measure, you get one definite result -- 0 or 1 -- with probabilities determined by the amplitudes. After measurement, the state updates to match what you observed.
Apply the Hadamard gate (H) to . The result is , an equal superposition. Run many measurements on identically prepared qubits and you get roughly half 0 and half 1. But each individual measurement gives just one result.
If a qubit is in the state , then measuring in the standard basis returns 0 with probability ||² and 1 with probability ||². This rule is called the Born rule. After measurement, the state becomes or — whichever was observed. This is irreversible: the pre-measurement superposition is gone.
Open the simulator and see this concept in action. Watch how the state changes and compare it to what you just learned.
Answer one question, collect XP immediately, and keep Luxo moving.