Bits and qubits
An ordinary computer stores information as bits, and each bit is either 0 or 1. A quantum computer stores it in qubits. A qubit's state is described by two numbers called amplitudes, one for 0 and one for 1, and the chance of each result is the square of the size of its amplitude.
When you measure a qubit you always get a single 0 or a single 1. Describing the state before the measurement takes more than a bit, but a measurement gives back only one bit. The Bloch sphere on our home page shows one qubit's state, and you can drag it to change the amplitudes.
Superposition, interference and entanglement
Three ideas from quantum physics do the work.
- Superposition means a qubit can have a state that is a combination of 0 and 1, described by its amplitudes. A measurement does not show the combination. It returns one result, with the probabilities the amplitudes set.
- Interference means amplitudes can add up or cancel, as waves do. Quantum algorithms are built so that the paths leading to wrong answers cancel and the paths leading to the right answer reinforce.
- Entanglement links qubits so that their joint state cannot be described one qubit at a time. In 1964 John Bell showed that certain entangled correlations cannot be explained by hidden local instructions, and experiments, including loophole-free ones since 2015, have sided with quantum physics.
Here is interference in the smallest case. A gate called the Hadamard turns a qubit that starts at 0 into an even mix, so a measurement gives 0 or 1 with equal chance. Apply the same gate a second time and the qubit comes back to 0 every time, because the two routes to 1 cancel exactly.
Why it does not try every answer at once
Describing n qubits takes 2 to the power n amplitudes, which grows very quickly. For 300 qubits that is about 2 times 10 to the power 90, far more than the roughly 10 to the power 80 atoms usually estimated for the observable universe. That size is why ordinary computers struggle to simulate large quantum machines in general.
It does not mean the machine tries every answer and picks the best. A measurement still returns only n bits. The skill in designing a quantum algorithm is to use interference so those n bits are likely to be the answer you want, and that has been done for only a few kinds of problem.
What it is good for
Richard Feynman proposed in 1981 that a computer built from quantum parts could simulate nature, which an ordinary computer finds very hard. David Deutsch defined the universal quantum computer in 1985. Since then researchers have found a small set of problems where a quantum method should beat the best known classical one.
What quantum computers may help with | Problem | Quantum method | Expected gain | Status |
| Simulating molecules and materials | Quantum simulation (Feynman, 1981) | Potentially very large | Active research. Several companies have claimed an advantage on simulation tasks, but none is yet independently confirmed as both useful and beyond the best classical methods |
| Factoring and discrete logarithms | Shor's algorithm (1994) | Far faster than known classical methods | Needs a large error-corrected machine, so it is not yet possible |
| Searching unsorted data | Grover's algorithm (1996) | A square-root speed-up, which is modest | Proven in theory, and hard to exploit in practice |
| Optimisation and machine learning | Various methods | Unproven | Claims exist, and advantage has not been established |
Quantum computers do not speed up everything. They are poor at ordinary software, at storing files and at most data processing, which is why they are expected to work alongside normal computers.
How the machines are built
Qubits can be made from several physical systems, and nobody yet knows which will win. Superconducting circuits are used by Google and IBM. Trapped ions are used by Quantinuum, and neutral atoms held by laser beams are used by QuEra and Atom Computing. Other approaches use photons or the spins of electrons in silicon.
A separate type, the quantum annealer, searches for the lowest-energy answer to an optimisation problem. D-Wave sells these, and they are not general-purpose quantum computers. Our sister site Entangled Future profiles the companies.
The problem of noise
Qubits are fragile. Heat, stray fields and imperfect control disturb them, and they make errors far more often than the components of an ordinary chip. Today's machines are what John Preskill called noisy intermediate-scale quantum devices in 2018, usually shortened to NISQ.
The remedy is error correction, which spreads one reliable qubit, called a logical qubit, across many physical ones. In December 2024 Google reported that making its error-correcting code larger roughly halved the logical error rate at each step, from distance 3 to 5 to 7, which is the behaviour error correction needs. That was a memory experiment that stored a qubit, and it did not compute with it. The strict record for logical qubits, with every error corrected and no runs discarded, is 8, and the fault tolerance tracker follows the steps beyond it.
Where things stand
In 2019 Google reported that its 53-qubit Sycamore chip finished a random circuit sampling task, which has no practical use, in about 200 seconds. Google estimated it would take a classical supercomputer 10,000 years. IBM argued the task could be done classically in days, and later classical methods narrowed the gap further. The episode is a reminder to ask which task a claim of advantage covers, and what the best classical result is.
The first quantum computers that run long calculations reliably are expected, on company plans, around 2029. Those are plans and not results, and roadmaps often slip. See the full timeline for how the field got here.
Three common misconceptions
- A quantum computer does not try every answer at once, as explained above.
- A qubit is not simply 0 and 1 together. Its state is a set of amplitudes that gives one result when measured.
- More qubits does not simply mean more power. What matters is how many are reliable, so ask whether a number means physical or logical qubits.