Skip to content
Seeking Psi

Start here

What is Quantum Computing?

What a qubit really is, why "it tries every answer at once" is wrong, where the speed-ups actually come from, what quantum computers should be good (and bad) at, and why noise is the whole game. With pictures you can play with.

A quantum computer is a machine that computes with the arrows from quantum physics. If you haven’t read that page, the one idea you need from it is this: in the quantum world, every way something can happen gets an arrow (an amplitude), arrows for indistinguishable ways add up and can cancel, and the chance of an outcome is the squared length of its final arrow.

A quantum computer is a device for setting up arrows on purpose, so that when they add up, the answer you want has a long arrow and the answers you don’t want cancel out. That sentence is most of the story. The rest of this page unpacks it.

An ordinary computer stores information in bits. A bit is a switch: 0 or 1, off or on. Everything your laptop does, from spreadsheets to video, is long strings of these switches being flipped according to simple rules.

A qubit is a quantum two-option system. It could be the spin of an electron (up or down), two energy levels of an atom, two energy levels of a tiny superconducting circuit, or the path of a photon. When you measure it, you always get one of two answers, which we call 0 and 1. So far, a bit.

The difference is what it can be before you measure. A qubit’s state is described by two arrows: one for “0” and one for “1”. The chance of reading 0 is the squared length of the first arrow; the chance of reading 1 is the squared length of the second. Those two chances always add up to 100%.

If we keep the arrows to plain positive and negative numbers (no sideways angles, for now), the state of a qubit becomes a single arrow on a circle. Pointing right is 0. Pointing up is 1. In between is a superposition, and the shadows of the arrow on the two axes are the two amplitudes.

Try it: the qubit starts out after one H gate, pointing halfway between 0 and 1: a 50/50 chance. Press H again and it swings straight back to 0, every time. Now try Reset, then H, Z, H: the sign flip in the middle turns the result into a certain 1. Measure snaps the arrow onto 0 or 1 at random, with the odds shown by the bars. (This circle shows real amplitudes only; a full qubit lives on a sphere.)

Two things to notice in the picture. First, an arrow pointing halfway gives 0 or 1 with equal odds when you measure it. You don’t get “half”. You get a whole 0 or a whole 1, at random, and afterwards the qubit is whatever you read. Second, the arrow can point down or left, giving negative amplitudes. The chances don’t care about the sign, since squaring removes it. But signs matter enormously when arrows are added, and that’s where the action is.

A program for a quantum computer is a sequence of gates. A gate is an operation on one or a few qubits, and for a single qubit it does something very simple: it turns or flips the arrow, without changing its length.

  • X swaps the 0 and 1 parts. It’s the quantum version of NOT.
  • Z flips the sign of the 1 part. Measured straight away, this changes nothing at all, which makes it look useless. It is not useless.
  • H (the Hadamard gate) mixes them. It takes 0 to the halfway arrow, and the halfway arrow back to 0.

Try this in the picture: start from 0, apply H, then H again. You get 0 back, every single time. Now think about what that means. After one H, measuring would give a coin flip. After two, it is certain. If the qubit had secretly been 0 or 1 in between, like a coin that had already landed, the second H couldn’t possibly sort it back out.

What happens instead is arithmetic with arrows. The second H sends the “0 part” to a mix of 0 and 1, and the “1 part” to a mix of 0 and minus 1. The two contributions to 1 cancel. The two contributions to 0 add. That’s interference, the same thing that makes dark stripes in the double-slit experiment, now happening inside a circuit.

And the Z gate in the middle? H, Z, H gives a certain 1. A sign flip that you could never detect by measuring directly has completely changed the outcome, because it changed which arrows cancel. Quantum algorithms are built out of exactly this kind of trick.

One qubit needs two arrows. Two qubits need four: one each for 00, 01, 10 and 11. Three need eight. Every qubit you add doubles the number of arrows. Fifty qubits need about a million billion; three hundred need more arrows than there are atoms in the observable universe.

This is why big quantum computers are so hard to imitate on ordinary ones. To simulate one faithfully you have to keep track of every arrow, and the list grows out of control fast.

Some of those many-qubit states can’t be split into separate descriptions of each qubit. Take two qubits in the state “00 and 11, with equal arrows, and nothing for 01 or 10”. Measure them and you get 00 half the time and 11 the other half, never a mismatch, yet neither qubit has a value of its own beforehand. That’s entanglement, the same phenomenon that beats every hidden-instructions story in Bell’s experiment. In a quantum computer it is created on demand with two-qubit gates, and it is what lets the arrows of many qubits be coordinated as one big pattern.

The biggest myth: “it tries every answer at once”

Section titled “The biggest myth: “it tries every answer at once””

You will read, over and over, that a quantum computer is fast because it puts its qubits in a superposition of every possible input and then “tries them all in parallel”. This is wrong, and it’s worth seeing exactly why.

Yes, you can put 50 qubits into an equal superposition of all million-billion possible inputs, and yes, a single run of a circuit then acts on all of those arrows. But at the end you have to measure, and a measurement gives you one result, picked at random with odds set by the arrows. If you just compute “every answer” and look, you get one random answer. You could have done that with a coin.

The real trick is subtler. A good quantum algorithm is a carefully designed pattern of interference. It arranges for the arrows of wrong answers to point in different directions and cancel each other out, while the arrows of the right answer all line up and add. Then, when you measure, the right answer is very likely to come out. That’s the only place a speed-up can come from, and it only works for problems with the right kind of structure. For most problems, nobody knows how to do it, and probably it can’t be done.

Here is the cleanest example. Suppose you have 16 boxes and one of them holds a prize. You have a test (an oracle) that can recognise the prize when it sees it. Classically you would open boxes one by one: 8 tries on average. Lov Grover found a quantum method in 1996 that needs only about the square root of the number of boxes.

Start with all 16 arrows equal. The oracle flips the sign of the prize’s arrow, nothing more. That alone changes no probabilities. Then a second step, called diffusion, flips every arrow about the average. Because the prize’s arrow is now far below the average, it lands far above it. Repeat.

Try it: press Oracle, then Diffuse, and repeat. The oracle only flips the sign of the right answer's arrow, which on its own changes no probabilities at all. The diffuse step then flips every bar about the average (the dashed line), and the flipped one shoots up. After three rounds the right answer comes out about 96% of the time. Keep going and it gets worse again: the trick is a rotation, not a search.

After three rounds, the prize comes out about 96% of the time. With a million boxes, you’d need about 800 rounds instead of half a million guesses. That’s a real speed-up, but only a square-root one. Notice too that overshooting makes it worse. Grover’s algorithm is really a slow rotation of one big arrow towards the answer, and you have to stop at the right moment.

What quantum computers should be good at (and what they won’t be)

Section titled “What quantum computers should be good at (and what they won’t be)”

Here is the honest list, roughly from most to least confident.

Simulating nature. Molecules and materials are themselves quantum systems with exponentially many arrows. This was Feynman’s original reason for proposing quantum computers, in 1981: use a quantum machine to imitate quantum nature. Designing catalysts, batteries, drugs and new materials all involve problems where the best classical methods hit a wall. This is the application most experts expect to matter first, though it still needs large, reliable machines.

Breaking some of today’s encryption. In 1994 Peter Shor showed that a quantum computer could factor large numbers and solve related problems exponentially faster than any known classical method. Much of the public-key cryptography that protects the internet (RSA and elliptic-curve schemes) relies on those problems being hard. Doing this needs a large error-corrected machine, far beyond today’s. But because encrypted data can be recorded now and decrypted later, governments and companies are already moving to new “post-quantum” encryption that quantum computers aren’t known to break.

Search and optimisation. Grover’s square-root speed-up is real, but modest, and it gets eaten up by the overhead of running a quantum computer. Claims that quantum computers will transform logistics, finance or machine learning are, so far, unproven. There are interesting ideas and active research, but no convincing demonstration of a practical advantage. Be sceptical of anyone who says otherwise.

Not good at: almost everything else. Quantum computers won’t run your web browser, stream video or speed up spreadsheets. Reading lots of data in and out is slow, and for ordinary tasks a classical chip is cheaper, faster and far more reliable. They are best thought of as special-purpose co-processors for a few hard problems.

Everything above assumes the arrows do exactly what we tell them. Real qubits don’t. Each gate is a little off, and the outside world keeps nudging the qubits, leaking information about them out into the surroundings. (Remember decoherence? It’s the reason big things don’t interfere, and a quantum computer is a big thing trying very hard to be a small one.)

Small errors might seem harmless. They are not, because they pile up. The picture below runs the same program forty times. Every gate should leave the arrow pointing at 0, but each one is off by a random sliver of an angle.

2.0°

Try it: hundreds of runs of the same program (forty are drawn). Every gate should leave the arrow pointing at 0, but each one is off by a tiny random angle. The errors don't cancel; they wander, and after enough gates the answer is a coin flip. Halve the error per gate and you can run about four times as many gates before the same damage. Useful algorithms need millions of gates or more, which is why error correction is not optional.

Today’s best qubits get roughly one operation in a thousand wrong, give or take, depending on the hardware. Useful versions of Shor’s algorithm or of chemistry simulations need billions of operations. Better hardware helps, but no plausible improvement closes a gap that large on its own.

The way out is quantum error correction: spread the information of one reliable “logical” qubit across many physical qubits, and keep checking for errors without ever looking at the information itself. This sounds impossible (measuring a qubit disturbs it, and you can’t copy one) and it is one of the cleverest ideas in the field that it works at all. It costs a lot: many physical qubits for every logical one. But it can, in principle, make errors as rare as you like, provided the physical error rate is below a certain threshold. Our introduction to quantum error correction explains how.

Quantum computers exist and work. Several kinds are being built: superconducting circuits cooled to near absolute zero, individual ions held in electric fields, neutral atoms held by lasers, photons, and more exotic designs. Each has strengths and weaknesses, and it is not yet clear which will win, or whether different kinds will suit different jobs.

Today’s machines have from tens to a few thousand physical qubits, and they are noisy. They have done calculations that are very hard to reproduce on classical supercomputers, but those were chosen to show off the hardware, not to solve problems anyone needed solved. The field’s main goal right now is making error correction work well and at scale, and real progress on that has arrived in recent years: logical qubits that get better, not worse, as more physical qubits are added.

A machine that can run Shor’s algorithm on real encryption, or simulate a molecule that matters to industry beyond what classical computers can, is still some years away. How many years is genuinely uncertain, and you should treat confident predictions in either direction with care. Our News section follows the milestones as they happen, with the caveats included.

  • A qubit is described by two arrows (amplitudes); measuring gives 0 or 1 with odds equal to their squared lengths.
  • Gates turn the arrows. Sequences of gates make arrows add or cancel: interference.
  • Many qubits need exponentially many arrows, which is why they are hard to simulate, and entanglement links them.
  • Quantum computers do not try every answer at once. They choreograph interference so wrong answers cancel.
  • That only helps for problems with the right structure: simulating molecules and materials, breaking certain encryption, and modest speed-ups for search.
  • Noise is the main obstacle, and error correction is the way through.

Seeking Psi

Quantum physics and quantum computing, explained from the ground up.

© 2026 Seeking Psi · Educational content, not investment advice.