A switch, then a wave
A classical bit is like a switch with two positions. A computer reads it as 0 or 1. A quantum bit, or qubit, also yields 0 or 1 when you read it in its usual way. Before that readout, you can prepare it in a superposition, a state with an amplitude associated with each possible result. An amplitude has a size and a phase, much like the strength and timing of a wave. Its squared size gives the probability of that result when you measure.
The phase gives the computer something useful to work with. Two states can have exactly the same odds of returning 0 or 1 and still behave differently when you apply another operation. The analogy to sound is the adding and canceling of waves. In a quantum circuit it is the amplitudes for possible results that add and cancel. A gate is a controlled operation that changes those amplitudes. Hardware may implement one with a carefully timed pulse. NIST’s quantum computing explainer.
One experiment that makes it click
Prepare a qubit in 0 and apply a gate called a Hadamard. Read the qubit now and you get 0 on about half the runs and 1 on the other half. Start fresh for each run. Now try two versions of that experiment on an ideal machine.
- Recombine straight away. Apply a second Hadamard before measuring. The amplitudes add for 0 and cancel for 1. You get 0 every time.
- Flip one phase before recombining. Between the two Hadamards, reverse the sign of the amplitude associated with 1. The halfway readout would still have been 50–50. The final Hadamard now makes the amplitudes add for 1 and cancel for 0. You get 1 every time.
Each run ends with one bit of output. You only see the halfway odds by stopping and measuring in separate runs. The experiment shows how a difference invisible in one readout can decide the result after another gate. That is what makes interference useful for computing. IBM’s explanation of gates, phase and measurement.
What happens with two qubits?
A pair of qubits can be entangled, meaning their joint state cannot be written as two separate qubit states. In a simple example, each qubit reads 0 or 1 at random when measured on its own. Read both in the usual way and the pair comes out 00 or 11, with equal probability. Two people who share a coin-flip result could get that pattern. The specifically quantum part appears when you change how the qubits are measured. Across different settings, entangled states can show correlations that shared coin flips cannot reproduce. The results still cannot carry a message faster than light. IBM’s explanation of multi-qubit states.
Where it may help
A quantum algorithm has to arrange interference so the results you can actually read reveal something useful. That takes a problem with the right structure. One promising example is simulating how molecules behave. Some molecular calculations are difficult for classical computers precisely because electrons follow quantum rules. Researchers are investigating whether quantum hardware can help calculate those interactions at a useful scale. Ordinary databases, spreadsheets and payroll systems have excellent classical tools already. U.S. Department of Energy research priorities.
Laboratory qubits are sensitive to noise. Tiny disturbances can spoil the phase relationships the computation depends on. One approach is to encode a more reliable logical qubit across several physical qubits so the machine can detect certain errors without reading the encoded answer. When someone quotes a qubit count, ask how many are logical, how many operations they can sustain and what a whole run costs compared with the best classical method. NIST’s explanation of logical qubits.