How it works
How do quantum computers work?
Follow one quantum calculation from start to finish: preparing qubits, running gates, measuring, and the hardware that makes it all possible.
On this page
In 30 seconds
- A quantum computer runs a circuit: it resets its qubits, applies a sequence of gates that rotate and entangle them, then measures each one.
- Gates are physical pulses: microwaves for superconducting chips, lasers for ions and atoms. A classical computer generates and times every pulse.
- Each run gives one random-looking string of 0s and 1s. Running the circuit thousands of times reveals the answer in the statistics.
- Everything is a race against noise: qubits lose their state quickly, so the hardware is isolated, often cooled colder than outer space, and protected by error correction.
One calculation, start to finish
Every quantum computation, from a classroom demo to Google’s record experiments, follows the same four steps.
01
Prepare
Reset every qubit to 0.
02
Apply gates
Pulses of microwaves or lasers rotate and entangle qubits.
03
Measure
Each qubit collapses to a 0 or a 1.
04
Repeat
Run thousands of shots and read the statistics.
1. Prepare the qubits
The machine resets every qubit to a known starting state, usually 0. On superconducting chips this is done with microwave pulses; IBM’s Nighthawk r2 can reset qubits at a 100 kHz rate, so it can start fresh runs very quickly.
2. Apply gates
Gates are the quantum version of logic operations. A single-qubit gate rotates one qubit, for example the Hadamard (H) gate puts it into an even superposition. A two-qubit gate like CNOT links two qubits, creating entanglement.
Physically, each gate is a precisely shaped pulse: microwaves a few tens of nanoseconds long for superconducting qubits, laser pulses for trapped ions and neutral atoms. A sequence of gates is called a quantum circuit.
3. Measure
At the end, each qubit is read out and collapses to a 0 or a 1. One run of the circuit gives one bitstring, such as 011.
4. Repeat, then read the statistics
Because measurement is probabilistic, a single run tells you little. The machine repeats the circuit thousands of times (each run is a shot) and the answer shows up as the most common outcomes.
What’s inside the machine
The famous “golden chandelier” photos show superconducting quantum computers. Here’s what each layer does:
| Layer | What it does | Temperature |
|---|---|---|
| Classical computer | Compiles your program into gates, schedules pulses, decodes errors, analyses results | Room temperature |
| Control electronics | Generate and read microwave pulses with nanosecond timing | Room temperature |
| Dilution refrigerator | The “chandelier”: stages of cooling, wiring and filters that block heat and noise | Steps down from ~4 K to ~0.01 K |
| Quantum processor (QPU) | The chip with qubits and couplers | Around 10 to 15 millikelvin |
IBM reported in November 2026 that it cooled two linked cryogenic modules below 15 millikelvin, about 180 times colder than deep space.
Not every quantum computer needs a fridge like this. Trapped-ion and neutral-atom machines hold individual atoms in ultra-high vacuum and control them with lasers; the atoms are laser-cooled, but the system isn’t a giant refrigerator. Photonic approaches use particles of light.
Fast, needs a fridge
Superconducting
IBM, Google and Rigetti. Gates take tens of nanoseconds. Chips are made with semiconductor-style fabrication.
Most accurate
Trapped ion
Quantinuum and IonQ. Any qubit can talk to any other. Quantinuum’s Helios reports 99.921% two-qubit fidelity.
Scaling fast
Neutral atom
QuEra, Atom Computing, Pasqal. Thousands of atoms in laser grids that can be rearranged mid-computation.
Long-term bets
Photonic & topological
PsiQuantum and Xanadu use light; Microsoft pursues topological qubits, which are still being validated.
The enemy: noise
Qubits are extraordinarily sensitive. A stray photon, a vibration or a tiny magnetic fluctuation can nudge a qubit and corrupt the calculation. This loss of quantum behaviour is called decoherence.
Google’s Willow chip, for example, has qubits that hold their state for close to 100 microseconds. That sounds short, but at tens of nanoseconds per gate it leaves room for thousands of operations, if the errors stay small.
The long-term fix is quantum error correction: combining many physical qubits into one more reliable logical qubit and constantly checking for errors without disturbing the data. In 2024 Google showed that growing its error-correcting code from a 3×3 to a 5×5 to a 7×7 grid cut the logical error rate in half each time. Read more in our quantum error correction guide.
Quantum and classical, working together
Quantum computers never work alone. A classical computer prepares the problem, sends the circuit, decodes error-correction data in real time and post-processes the results. Many of today’s most promising methods are hybrid, passing results back and forth between quantum and classical processors in a loop.
IBM calls this approach quantum-centric supercomputing: quantum processors as accelerators inside larger classical systems, much like GPUs today. For what that means in practice, see quantum vs classical computing.
FAQ
How does a quantum computer work in simple terms?
It puts qubits into superpositions, links them with entanglement, and uses carefully timed operations so that wrong answers cancel out through interference. Measuring the qubits at the end gives the answer with high probability.
What is inside a quantum computer?
For superconducting machines: a quantum chip at the bottom of a dilution refrigerator, layers of wiring and filters, room-temperature control electronics that generate microwave pulses, and a classical computer that compiles programs and processes results.
Why do you have to run a quantum program many times?
Measurement gives a single random outcome drawn from the qubits' probabilities. Repeating the circuit, often thousands of times (called shots), builds up the probability distribution that contains the answer.
Do quantum computers use code?
Yes. Developers write programs with software kits like IBM's Qiskit, Google's Cirq or NVIDIA's CUDA-Q, usually in Python. The software compiles the program into gates the hardware can run.
How fast is a quantum computer?
Individual operations are slow compared with a classical chip: tens of nanoseconds for superconducting qubits and microseconds or longer for trapped ions. Quantum computers win only when an algorithm needs dramatically fewer steps.
Newsletter
Quantum, minus the hype. Once a week.
The week's real quantum news in plain English, with why it matters and links to the sources. Free, no spam, unsubscribe any time.
Sources
We cite primary sources first: papers, standards bodies and the research teams themselves.
- 01What is quantum computing? · IBM
- 02Meet Willow, our state-of-the-art quantum chip · Google Quantum AI, Dec 2024
- 03Quantum error correction below the surface code threshold · Nature, Dec 2024
- 04The year of advantage, and what comes next · IBM Quantum blog, Nov 2026
- 05Quantinuum announces commercial launch of Helios · Quantinuum, Nov 2025
How we checked this page. Written and fact-checked by the quantum365 editorial team against the primary sources above. Company results are labelled as claims. Last reviewed December 4, 2026.
Spotted an error or an outdated fact? Read our editorial policy to see how we correct pages.
Related
The basics
What is a qubit?
A qubit is the quantum version of a bit. See how it differs from a bit, why it's so fragile, and play with an interactive qubit visualizer.
Read guideThe basics
Quantum superposition and entanglement, explained
Superposition, entanglement and interference are the three ideas behind quantum computing. Here's what each really means, and the myths to ignore.
Read guideHow it works
Quantum error correction, explained
Why quantum computers make errors, how error correction turns many noisy qubits into one reliable logical qubit, and who has crossed the threshold.
Read guideThe basics
Quantum computing vs classical computing
Quantum computers aren't faster at everything. Compare quantum and classical computing side by side and see exactly where each one wins.
Read guideState of play
Quantum computing companies: who builds what
The top quantum computing companies compared: IBM, Google, Quantinuum, IonQ, QuEra, PsiQuantum and more, by qubit type, best result and roadmap.
Read guide