Classical computing versus quantum computing
Start with a familiar bit, then see what changes when information becomes quantum.
- Distinguish a classical bit from a pure qubit.
- Explain why quantum computing is not a faster replacement for every program.
- Identify preparation, transformation and measurement in a simple workflow.
A classical bit has one of two values: 0 or 1. A pure qubit is described by two complex amplitudes. Those amplitudes let us predict measurement outcomes and, through their relative phase, how later operations will interfere.
What changes?
Section titled “What changes?”Write a qubit as
You do not need to know complex numbers yet. For now, read this as: “a state is built from two amplitudes, and the probabilities must add to one.” Measuring in the computational, or Z, basis gives one bit: 0 with probability , or 1 with probability .
A qubit does not give you two independently readable classical values. The state is richer than the outcome of one measurement.
A first experiment
Section titled “A first experiment”The sphere below represents a single pure qubit. Its north pole is and south pole is . Start at the north pole, apply H, then run repeated measurements. Every shot prepares the same state again.
Qubit explorer
A pure qubit is a normalised pair of complex amplitudes. The sphere shows the state; the bars show measurement probabilities in the Z basis.
Make a prediction first
Move the state to the equator. What will happen to the Z-basis probabilities when you change only the phase?
Exact ideal-model predictions · run a measurement experiment to compare.
Take it further
Create a state with a 75% probability of measuring 1. Can you find two different phases with the same probabilities?
Prediction: Move the state to the equator. What will happen to the Z-basis probabilities when you change only the phase? Challenge: Create a state with a 75% probability of measuring 1. Can you find two different phases with the same probabilities?
A different workflow
Section titled “A different workflow”- Prepare the input state.
- Transform it using gates.
- Measure to obtain classical outcomes.
- Analyse repeated outcomes and compare them with a prediction.
Classical computers still handle the surrounding application: data, user interfaces, networking and analysis. Quantum methods may help with particular structured problems. A large search space by itself does not prove that a quantum approach will be practically faster.
What do you get from one Z-basis measurement of a qubit?
Connect it to the source
Section titled “Connect it to the source”This lesson develops sections 2–4 of the author’s original introduction. Continue to quantum information or take the gentle route to qubits.
Reference: IBM Quantum — Basics of quantum information.
Ready for the next step?
Your progress stays in this browser.