
Photo: IBM Research, 2021, via Wikimedia Commons (CC BY 2.0)
The machine that people photograph when they say "quantum computer" is mostly a refrigerator. Gold-plated stages hang in a vacuum, wired like a chandelier, to keep a small chip colder than interstellar space. The computation happens on that chip, in circuits that have to be treated as quantum objects: not switches that are on or off, but electrical oscillators that can sit in combinations of states, pick up fragile correlations with their neighbors, and lose those correlations if a stray photon or a vibration in the metal knocks them out of line.
A quantum computer stores information in qubits, two-level quantum systems whose state can be a combination of 0 and 1. Those combinations, called superpositions, are useful because their amplitudes can interfere, reinforcing some answers and canceling others. Entanglement is a stronger correlation, in which two or more qubits have to be described as one system. Computation is a sequence of reversible gates, such as the Hadamard and the controlled-NOT, then a measurement that yields ordinary bits. Decoherence, the leaking of quantum information into the environment, sets a clock; error-correcting codes try to outrun it by spreading one logical qubit across many physical ones. Superconducting circuits, trapped ions and photons make different tradeoffs among speed, coherence, connectivity and temperature. Quantum algorithms can factor integers and search unstructured lists with proven speedups, and they are suited to simulating other quantum systems. They are not a faster replacement for every classical program, and today’s noisy devices are still far from the size needed to factor a 2048-bit RSA key.
A bit is 0 or 1. A qubit is a direction
A classical bit is a switch. It is 0 or it is 1, and the computer is built so that every intermediate voltage is snapped back to one of those two values. A qubit is a two-level quantum system. David DiVincenzo, in a 2000 review of what a physical quantum computer would need, defined it as something like the two spin states of a spin-1/2 particle, the ground and excited states of an atom, or the polarization of a single photon. The mathematics is the same in each case. The state can be written as a pair of complex amplitudes, one for 0 and one for 1, whose squared magnitudes are the probabilities of those two outcomes and always add up to 1.
A helpful picture is the Bloch sphere. The 0 state sits at the north pole and the 1 state at the south pole. Every other point on the sphere is an allowed qubit state: a combination of 0 and 1, with a relative phase that the sphere’s longitude keeps track of.
Measurement ends that freedom. If you measure the qubit in the usual 0-or-1 basis, you get a single classical bit, with probabilities set by those amplitudes, and the qubit is left in the corresponding pole. That is why the slogan "a qubit is 0 and 1 at the same time" is misleading. The device is not storing two classical answers that you can both collect. It is storing a direction.
Superposition is about interference, not magic parallelism
The reason to put a qubit in a combination of 0 and 1 is not that the machine then "tries both answers at once" in a way you can simply read off. It is that later operations can send the two amplitudes along different paths and bring them back together, so that they add in some places and cancel in others. That is interference, the same phenomenon that makes a light wave through two slits produce bright and dark bands. A quantum algorithm is a carefully arranged interference pattern: paths toward a wrong answer are steered toward cancellation, and the path toward a right answer is steered toward reinforcement. Then you measure.
With more than one qubit the space of possible combinations grows very quickly. One qubit is described by two amplitudes; n qubits need 2 to the n. John Preskill has pointed out that a complete description of the correlations among just a few hundred qubits may require more bits than there are atoms in the visible universe. That is why a large entangled quantum system is hard to simulate on a classical computer, and it is not, by itself, a proof that a quantum computer can solve every hard problem. The amplitudes are not a memory full of classical answers. Most of them you will never read. Only the interference you can arrange, and the bits you finally measure, count as a computation.
Entanglement is a correlation with no classical picture
Two qubits can be independent: each has its own direction, and the pair is just the product of the two states. They can also be entangled. The textbook example is a pair whose only two possibilities, once you measure, are "both 0" or "both 1," each with probability one-half. Neither qubit has a definite state of its own. If you describe the first qubit alone, you can say only that a measurement will look random. That randomness is not ignorance about a hidden 0 or 1 in each device; it is a property of the joint state.
If you measure the first qubit and get 0, a measurement of the second qubit will also give 0; if the first gives 1, the second gives 1. The correlation is perfect, and it appears no matter how far apart the two measurements are. That fact has been confirmed in decades of Bell-test experiments, and it is easy to over-read. Entanglement does not let you send a message faster than light: until the first result is announced by ordinary means, the second observer sees only a random bit. What entanglement provides, inside a computer, is a correlation that no arrangement of separate classical bits can imitate, and that many algorithms and error-correcting codes rely on.
Gates: how you actually compute
A gate is a controlled change of the qubits’ state. In the standard circuit model, every gate is reversible and preserves the total probability: in the jargon, it is a unitary operation. You cannot simply erase a qubit mid-circuit the way you overwrite a classical register, because that would throw away amplitudes you may still need for interference. The computation is a sequence of such gates, then a measurement.
Two gates appear in almost every textbook circuit. The Hadamard gate takes a qubit at the 0 pole and lays it on the equator, in an equal combination of 0 and 1. Applied to n qubits that all start at 0, a layer of Hadamards prepares an equal combination of all 2-to-the-n possible bit strings, the usual starting point for later interference. The controlled-NOT, or CNOT, flips a target qubit if and only if a control qubit is 1; applied to a control in a superposition, it is a standard way to create the entangled pair described above. Together with a small set of single-qubit rotations, Hadamard and CNOT are enough to approximate any operation on any number of qubits. That is what DiVincenzo meant by a "universal" set of quantum gates, one of his five requirements for a physical computer. The others are a scalable collection of well characterized qubits, a way to initialize them, decoherence times much longer than a gate, and a measurement aimed at a chosen qubit.
Nature isn’t classical, dammit, and if you want to make a simulation of nature, you’d better make it quantum mechanical, and by golly it’s a wonderful problem, because it doesn’t look so easy.
Richard P. Feynman, “Simulating Physics with Computers,” International Journal of Theoretical Physics, 1982
That line is from Richard Feynman’s 1981 talk "Simulating Physics with Computers," published the next year. He was not promising a machine that would outrun classical computers at every task. He was pointing at a narrower problem: a classical computer that tries to follow a many-particle quantum system has to keep track of amplitudes that grow exponentially with the size of the system, and he wanted a computer whose parts obeyed the same rules as the system being simulated. That argument is still the cleanest reason to build quantum hardware, even after the later discovery of algorithms for factoring and search.
Decoherence: the environment is always measuring
The same amplitudes that make interference possible are easy to scramble. Any unnoticed interaction with the outside world — a photon that leaks out of a resonator, a fluctuating charge in a nearby defect, a magnetic field that wanders — can become, in effect, a measurement that the programmer did not ask for. The qubit’s direction diffuses, the relative phases that carry the computation wander, and the interference pattern washes out. That process is decoherence.
Engineers quote it as a pair of times. T1, the relaxation time, is how long a qubit typically waits before falling from 1 back to 0, dumping its energy into the environment. T2, the dephasing time, is how long the relative phase between 0 and 1 remains useful; it is never more than about twice T1 and is often shorter. A 2019 review of superconducting qubits by Philip Krantz and colleagues reported coherence times that had reached above 100 microseconds. Those numbers sound generous until they are compared with a useful circuit: each gate consumes some of that budget, and a calculation that needs thousands of gates in sequence can exhaust it.
The hardware is built to stretch the ratio of coherence time to gate time, which is exactly DiVincenzo’s third requirement. Superconducting qubits are cooled until thermal energy is far below the energy that separates 0 from 1. The same review puts a typical transition frequency at about 5 gigahertz and a typical operating temperature at about 20 millikelvin, in a dilution refrigerator. At that temperature the chance that the environment will spontaneously excite a relaxed qubit is exponentially small, but the qubit is still coupled to noisy control lines, residual photons and defects in the materials. Trapped ions, as we will see, often live with much longer coherence and slower gates. In every platform, decoherence is the clock the programmer is racing.
Error correction: many noisy qubits, one sturdier one
If you cannot make a physical qubit quiet enough, you can spread one logical qubit across many physical ones, so that a slip on a single device can be detected and undone without reading the stored information out as a classical bit. Quantum error correction is harder than the classical version because you cannot copy an unknown qubit, and a careless measurement would collapse the superposition you are trying to protect. The code has to extract only a syndrome — a clue about what error occurred — and leave the logical amplitudes untouched.
In 1995 Peter Shor published a scheme for reducing decoherence in quantum computer memory. Andrew Steane, writing the same year, put the result in one sentence: Shor had proved that 9 qubits can be used to protect a single bit of quantum information against single errors. The Shor code interleaves a small repetition code that catches bit flips with another that catches phase flips, the two errors that together generate the mistakes a qubit can suffer.
A code more often discussed as a blueprint for a large machine is the surface code, which lays physical qubits on a two-dimensional grid and has them interact only with their neighbors. In a 2012 review, Austin Fowler and colleagues noted that fully planar, nearest-neighbor implementations had been shown to tolerate a per-operation error rate of 0.75 percent, and that surface-code thresholds as high as about 1 percent are far less demanding than those of some rival codes in the same layout, which can sit near 2 in 100,000. The price, they wrote, is "large numbers of physical qubits" for each logical one. A later experiment by Google Quantum AI found that a distance-5 surface-code qubit modestly outperformed an ensemble of smaller distance-3 qubits, with a logical error per cycle of 2.914 percent plus or minus 0.016 percent compared with 3.028 percent plus or minus 0.023 percent — the first time, the team reported, that error correction had begun to improve as the code grew. Researchers have since been exploring more flexible ways to arrange those codes.
The overhead is why a chip with dozens or even thousands of physical qubits is not yet a computer that can run Shor’s algorithm on a cryptographically interesting number. Under a stated set of assumptions — a planar grid of superconducting qubits, a physical gate error rate of 0.001, a surface-code cycle of 1 microsecond and a 10-microsecond reaction time — Craig Gidney and Martin Ekerå estimated that factoring a 2048-bit RSA integer would take about 20 million noisy qubits and about eight hours. Different assumptions would change the total, but error-corrected factoring remains a machine many orders of magnitude larger and quieter than anything that exists.
Three ways to build a qubit
No single physical system has won. The ones built in the largest numbers are superconducting circuits, trapped ions and photons. Each satisfies DiVincenzo’s list in a different way, and each fails it in a different way.
Superconducting circuits
A superconducting qubit is a tiny electrical circuit, fabricated with the same kind of lithography used for ordinary chips, in which current can flow without resistance. The element that makes the circuit a qubit rather than an ordinary oscillator is the Josephson junction: a thin insulating barrier that two superconductors can still send a current of Cooper pairs through, and that makes the energy levels unevenly spaced. Only the lowest two levels are used as 0 and 1; that uneven spacing, or anharmonicity, lets a control pulse address the transition without also driving the qubit up into level 2. The design that dominates many laboratories is the transmon, introduced by Jens Koch and colleagues in 2007, which shunts the junction with a large capacitor to reduce sensitivity to stray electric charge. Krantz’s review puts a typical transmon anharmonicity in the range of 100 to 300 megahertz.

Photo: Raymond Simmonds / NIST, 2005, via Wikimedia Commons (public domain)
Because the transition sits near 5 gigahertz, the chip is operated at about 20 millikelvin, hung at the bottom of a dilution refrigerator and wired to room-temperature electronics by a carefully attenuated tree of microwave cables. Single-qubit gates are microwave pulses a few tens of nanoseconds long. Two-qubit gates, in the examples collected in that 2019 review, run from about 30 nanoseconds to a few hundred. The payoff is speed and a fabrication path that looks, at least in outline, like the semiconductor industry. The cost is the refrigerator, the short coherence window, and a wiring problem that grows with every added qubit.

Photo: Lars Ploughman, 2018, via Wikimedia Commons (CC BY-SA 2.0)
In 2019 a Google team led a 53-qubit superconducting processor named Sycamore through a sampling task chosen to be hard for a classical computer. The chip had a 54-qubit grid with one qubit left unused. The processor took about 200 seconds to sample one instance of a quantum circuit a million times, and the team’s benchmarks indicated that a state-of-the-art supercomputer would need about 10,000 years for the equivalent task. That classical estimate was promptly challenged: a group at IBM argued that, with different use of the Summit supercomputer at Oak Ridge, the same circuits could be simulated "in a matter of days." The fair reading is not that a permanent chasm had opened, but that a programmable 53-qubit chip could be controlled well enough to produce a statistically checkable output in a space of about 10 to the 16 amplitudes.
Trapped ions
An ion-trap quantum computer stores each qubit in two internal energy levels of a single ionized atom, held in vacuum by electric fields. In 1995, the same year as Shor’s error-correcting code, J. I. Cirac and Peter Zoller showed how a string of cold ions in a linear trap, addressed by laser beams, could implement gates between any pair. The ions talk to each other through their shared motion, as if the string were a quantum bus. State preparation and readout can use the same optical transitions that laser-cool the ions: a bright fluorescence means one state, darkness means the other.

Photo: Y. Colombe / NIST, 2011, via Wikimedia Commons (public domain)
The practical numbers are in many ways the complement of the superconducting ones. A 2019 review by Colin Bruzewicz and colleagues reported two-qubit gate times typically between 1 and 100 microseconds — thousands of times slower than a typical superconducting two-qubit gate, which they put in the tens of nanoseconds — but qubit coherence times as high as 50 seconds, and, in some hyperfine-qubit experiments, minutes. Single-qubit gates had been performed with fidelities as high as 99.9999 percent, and two-qubit gates on hyperfine qubits as high as 99.9 percent. Readout can exceed 99.99 percent fidelity in less than 200 microseconds. The hard problems are different: controlling the motion of a long chain, delivering independently aimed lasers, and connecting separate traps without ruining that coherence.
Photonic qubits
A photon can carry a qubit in its polarization, or in which of two paths it takes, or in another pair of optical modes. Photons interact only weakly with the air and with each other, so they do not need a dilution refrigerator, and they are natural messengers between distant processors. The same reluctance to interact is the difficulty. A two-qubit gate that is both reliable and deterministic is hard to arrange, because two photons that meet in an ordinary piece of glass will usually pass through one another.
In 2001, Emanuel Knill, Raymond Laflamme and Gerard Milburn showed that single-photon sources, passive linear optics (beam splitters and phase shifters) and photodetectors are nevertheless sufficient, in principle, for reliable quantum algorithms, provided the detectors can switch later optical elements. The scheme uses measurement and extra photons to build the missing interactions, at the cost of overhead in devices and in failed attempts that have to be retried. That is still the backbone of linear-optical quantum computing. The errors that matter most are not a transmon’s T1 and T2; they are photon loss, imperfect sources that sometimes emit two photons or none, and detectors that miss a click. Photonic experiments have also been used for boson sampling, a narrower task believed to be hard for classical computers and, like the Sycamore experiment, better read as a test of control than as a general-purpose computer.
What they can do, and what they cannot
The strongest proven speedups are still the ones found in the mid-1990s. Shor’s 1994 algorithm factors integers and computes discrete logarithms in a time that grows only polynomially with the number of digits, a scaling no known classical algorithm matches, and the reason a large, quiet quantum computer would threaten public-key systems built on those problems. Grover’s 1996 algorithm finds a marked item in an unsorted list of N entries in on the order of the square root of N steps, compared with about N/2 looks on average classically, and is known to be close to the best a quantum computer can do at that task. A quadratic speedup is real, but it is not the exponential leap that popular descriptions sometimes imply.
Between those two results sits Feynman’s original pitch: a quantum computer is not guaranteed to make every molecular or many-body simulation easy, but it is the only kind of machine whose memory grows the way the underlying physics grows. That is a different advantage from "faster at everything."
As an Amazon Associate, Aglena earns from qualifying purchases.
A quantum computer will not copy an unknown qubit, so it will not give you a backup of a quantum state. A measurement still yields ordinary bits; if you measure too early, you destroy the interference you were about to use. Most classical software — a spreadsheet, a web page, a neural network trained on graphics processors that now train large AI models — has no known quantum shortcut that would matter. The devices that exist today, in John Preskill’s phrase, are noisy intermediate-scale quantum, or NISQ, machines: on the order of 50 to 100 qubits, with gates that are impressive by laboratory standards and still too noisy for long circuits. "The 100-qubit quantum computer," he wrote in 2018, "will not change the world right away." Without error correction that holds a logical qubit steady, extra physical qubits are not the same as extra computing power.
What this adds up to
A quantum computer is a device for arranging interference among amplitudes, and then reading a few of those amplitudes out as bits. Qubits, superposition and entanglement are the raw materials; gates are the tools; decoherence is why the tools have to work quickly and gently; error correction is the only known way to keep a calculation alive longer than a single physical qubit can. Superconducting chips, trapped ions and photonic circuits are still short of the size and silence that the headline algorithms require.
The useful attitude is the one Feynman already had: the quantum world is not a faster classical computer in disguise, and if you want to compute the way it behaves, you will have to build something that behaves the same way. The rest is engineering — difficult, measurable and incomplete.
Further reading

Quantum Computing for Everyone
Chris Bernhardt’s short MIT Press introduction to qubits, gates and algorithms, written for readers who want the ideas without a full physics degree.

Quantum Computation and Quantum Information: 10th Anniversary Edition
Michael Nielsen and Isaac Chuang’s standard graduate textbook: the circuit model, algorithms, error correction and the physical requirements for a quantum computer.

Dancing with Qubits: From qubits to algorithms, embark on the quantum computing journey shaping our future
Robert Sutor’s second-edition walk from complex numbers and qubits up through circuits and the algorithms that make the hardware worth building.

Programming Quantum Computers: Essential Algorithms and Code Samples
Eric R. Johnston, Nic Harrigan and Mercedes Gimeno-Segovia show how to write circuits for the same gates and algorithms discussed in this article.

Quantum Computing: A Gentle Introduction
Eleanor Rieffel and Wolfgang Polak’s careful introduction to the mathematics of qubits, entanglement, and the limits of what a quantum algorithm can speed up.
