JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

The Qubit

A classical bit is a definite 0 or 1. A qubit can sit in a superposition of both until you measure it — but here's the honest catch: measuring gives you just one outcome, 0 or 1, with probabilities set by the state. This guide builds your mental model of a single qubit, how to write its state, the Bloch sphere, and why n qubits open up a 2^n-sized space.

Bit vs qubit

You already know the classical bit: a tiny switch that is either 0 or 1. Every photo, message, and program on your phone is, underneath, a long string of these definite 0s and 1s. At any instant, a bit has one value, and reading it just tells you what that value already was.

A qubit is the quantum version of that switch — but it follows the rules of quantum physics, not everyday logic. Before you measure it, a qubit can be in a blend of 0 and 1 called a superposition. The crucial honesty here: this is not the qubit secretly holding both a 0 and a 1 like two files in a folder. It is a single quantum state described by numbers (we'll meet them shortly) that determine the odds of each outcome when you finally look.

Superposition in one qubit

So what does superposition actually buy you? Think of a coin. A classical bit is a coin lying flat — heads or tails, decided. A qubit before measurement is more like a coin that is genuinely undecided, where the physics assigns a definite probability to landing heads and a definite probability to landing tails. The honest part is what happens next: the instant you measure, the coin lands on exactly one face, and that single result is all you ever get to read.

It is tempting to say a qubit 'tries 0 and 1 at the same time' or 'explores all answers at once.' Please resist that — it is the single biggest myth in quantum computing. A qubit in superposition is one state, and one measurement yields one bit. The reason quantum computing can ever beat a classical computer is not that you peek at many answers simultaneously. It is that, across many qubits, you can arrange the underlying numbers to interfere — reinforcing the path toward the right answer and cancelling the wrong ones — so that the single outcome you measure is likely to be the one you wanted. That choreography is the real engine, and it is genuinely hard to pull off.

Writing a qubit state

To make this precise, physicists use a compact notation. We write the two definite states as |0> and |1> (read 'ket zero' and 'ket one') — these are the qubit's versions of a plain 0 and 1. A general quantum state of one qubit mixes them with two numbers, alpha and beta, called amplitudes.

|psi> = alpha|0> + beta|1>,   |alpha|^2 + |beta|^2 = 1
A single-qubit state. The amplitudes alpha and beta can be negative or even complex. When you measure, you get 0 with probability |alpha|^2 and 1 with probability |beta|^2 — and because something must happen, those probabilities add to 1.

That last rule, |alpha|^2 + |beta|^2 = 1, is the Born rule in miniature: square the size of each amplitude to get the probability of that outcome. Notice amplitudes are richer than probabilities — they carry a sign (and more generally a phase). That sign is exactly what lets superposition states later cancel or reinforce one another, which is the interference we said does the real work. Probabilities alone can never go negative, so they could never cancel; amplitudes can.

The Bloch-sphere picture

Carrying around two complex numbers is awkward, so there is a lovely geometric picture: the Bloch sphere. Imagine a globe. The north pole is |0>, the south pole is |1>, and every other point on the surface is a valid single-qubit state — a particular superposition. The state of one qubit is just an arrow pointing from the center to somewhere on this sphere.

This picture makes things click. Moving from pole toward the equator means shifting from 'definitely 0' or 'definitely 1' toward an even 50/50 superposition. Spinning around the vertical axis changes the phase — the sign-like information in the amplitudes — without changing the measurement odds. Those rotations around the equator look invisible to a single measurement, yet they are essential, because phase is what makes interference possible when qubits work together.

Many qubits: 2^n amplitudes

Here is where the state space balloons. One qubit needs 2 amplitudes (for |0> and |1>). Two qubits have four basic states — |00>, |01>, |10>, |11> — and a general state needs 4 amplitudes. Three qubits need 8. In general, n qubits are described by 2^n amplitudes, one for each possible string of 0s and 1s.

Let that grow. At 50 qubits you have over a quadrillion amplitudes; at 300 qubits, the count of amplitudes exceeds the number of atoms in the observable universe. This is why simulating a quantum computer on a classical one is so brutally hard — just storing all those amplitudes is impossible past a few dozen qubits. The size of this space is the resource quantum computing draws on.

And a final dose of reality for where the field stands today: we are in the NISQ era — noisy, intermediate-scale quantum devices with tens to a few hundred imperfect qubits. There is no large-scale, error-corrected quantum computer yet. The 2^n state space is real and powerful, but harnessing it reliably is an unsolved engineering challenge, not a finished product.