|q⟩ Bad Qubits

beginner · Programming · From Bits to Qubits

Qubit vs Bit: A Summary

At the heart of every classical computer is the bit — a physical system that can be in exactly one of two states, 0 or 1. A hard drive encodes billions of bits as magnetic orientations; a CPU manipulates them with logic gates; your screen renders them as pixels. In every case the bit is perfectly readable: ask its state and you get a definite, repeatable answer.

The classical bit

Because each bit holds a single binary choice, nn bits together can represent any one of 2n2^n distinct values at any given moment. A byte (n=8n = 8) holds a number from 0 to 255; a 32-bit integer holds one of about four billion values. The key phrase is at any given moment — the system is always in exactly one configuration.

The qubit

A qubit generalises the bit. Instead of being forced into 0 or 1, it can inhabit a superposition:

ψ=α0+β1,|\psi\rangle = \alpha\,|0\rangle + \beta\,|1\rangle,

where α\alpha and β\beta are complex numbers called amplitudes that satisfy α2+β2=1|\alpha|^2 + |\beta|^2 = 1. The real-valued probabilities α2|\alpha|^2 and β2|\beta|^2 tell you how likely each outcome is when the qubit is measured.

This constraint means the state of a single qubit is a normalized vector in a two-dimensional complex vector space (C2\mathbb{C}^2). Every such state (up to an unobservable global phase) corresponds to a unique point on a unit sphere in R3\mathbb{R}^3 called the Bloch sphere. Infinitely many valid states exist, one for every point on that sphere. Compare that to the classical bit, which has exactly two states and no structure between them.

What "information content" means here

Despite the richness of the Bloch sphere, a single measurement of a qubit yields only one classical bit: 0 or 1. You cannot read out α\alpha and β\beta directly; doing so would require an infinite number of identically prepared copies and statistics over many measurements. In that narrow sense — the amount of extractable classical information per use — one qubit equals one bit.

The difference emerges at the system level. An nn-qubit register lives in a 2n2^n-dimensional complex vector space. The full quantum state describes 2n2^n amplitudes simultaneously, and quantum gates can manipulate all of them in a single step through interference. Classical registers, by contrast, hold exactly one of those 2n2^n configurations at a time. Quantum algorithms exploit this collective amplitude structure to outperform classical algorithms on specific problems — not by transmitting more information per qubit, but by processing information differently.

Side-by-side summary

| Property | Classical bit | Qubit | |---|---|---| | States before measurement | 1 of 2: {0, 1} | Continuous superposition α0+β1\alpha|0\rangle+\beta|1\rangle | | Mathematical space | {0,1}\{0,1\} | Normalized vector in C2\mathbb{C}^2 (Bloch sphere in R3\mathbb{R}^3) | | Measurement outcome | Always deterministic | Probabilistic: P(0)=α2P(0)=|\alpha|^2, P(1)=β2P(1)=|\beta|^2 | | After measurement | Unchanged | Collapses to 0|0\rangle or 1|1\rangle (Born rule) | | nn-register space | 2n2^n distinguishable values, one at a time | 2n2^n-dimensional complex vector space, all amplitudes at once | | Classical info per shot | 1 bit | 1 bit |

The table makes the trade-off precise: a qubit is richer before measurement and no richer after it. Quantum algorithms earn their speedups in the gap between those two facts.

Sign in on the full site to ask questions and join the discussion.