Skip to content
Superposition explained simply

Superposition explained simply

Superposition means that before measurement a qubit carries several possibilities at once, each with its own weight, the amplitude. When measured, it settles on one result. Because amplitudes can reinforce or cancel each other like waves, superposition is more than hidden randomness.

What is a superposition?

An ordinary bit is always 0 or 1. A qubit can also be in a state in between. It is written as a mix of 0 and 1, each with an amplitude. How likely a measurement result is follows from the squared magnitude of the amplitude.

In a quantum computer, the H step creates an even superposition: a measurement then gives 0 in half of the cases and 1 in the other half. After the measurement the superposition is gone.

Coin showing heads as a picture of a qubit in superpositionTry it: the coin in the air

Why superposition is not a coin toss

With a tossed coin, the result is actually already fixed; we just do not know it yet. With a qubit in superposition it is different, and this can be shown.

Apply H twice in a row without measuring in between, and the result is always 0. With two real coin tosses the result would be random again. With the qubit, the parts for 1 cancel each other out, like two waves whose crest and trough meet. This is called interference.

Try it: the wave trick

Does a quantum computer calculate everything at once?

With n qubits, a quantum computer can form a superposition of 2 to the power of n possibilities. With 20 qubits that is over a million. This is where the phrase comes from that a quantum computer calculates “all possibilities at once”.

That is only half the truth. A measurement always gives just one single result. A useful quantum program therefore has to steer the superposition so that wrong answers cancel and the right one is reinforced. That is exactly what Grover’s algorithm does in a search, for example.

Read on: Grover’s algorithm

Schrödinger’s cat and why superposition is so fragile

In 1935 Erwin Schrödinger described a thought experiment with a cat whose fate is linked to a quantum event. He wanted to show how strange it would be to apply superposition to everyday things.

In fact, we do not see superposition in everyday life because any contact with the environment destroys it. This is called decoherence. Qubits also lose their superposition through heat or disturbances. That is why many quantum computers are strongly cooled and well shielded.

Frequently asked questions about superposition

What is superposition, explained simply?

Superposition means that before measurement a qubit carries several possibilities at once, each with its own weight. The measurement then gives a single result, at random but with fixed probabilities.

Is superposition the same as randomness?

No. With hidden randomness the result is already fixed. A superposition, however, can interfere: applying H twice gives 0 for certain, because the parts for 1 cancel out.

What is the difference between superposition and entanglement?

Superposition already applies to a single qubit. Entanglement links several qubits so that their measurement results are connected.

Why is superposition lost when measuring?

The measurement forces the qubit to a definite result, 0 or 1. Afterwards it is in exactly that state. Unwanted disturbances from the environment can also destroy superposition; this is called decoherence.

What does Schrödinger’s cat have to do with quantum computers?

The 1935 thought experiment shows how strange superposition would be in everyday life. The lesson for quantum computers: superposition is precious and must be protected from the environment.

Put a qubit into superposition.

In the coin lesson you flip a qubit into the air with H and measure it. No sign-up.