Counting Amplitudes Grows Fast
One qubit needs two complex amplitudes to describe its state. Two qubits need four. Three need eight. The pattern is — and that number grows so fast it becomes the central fact of quantum computation.
Why the count doubles with every qubit
A single qubit lives in a two-dimensional Hilbert space spanned by and :
When you add a second qubit the joint state space is the tensor product of both single-qubit spaces. The computational-basis states of two qubits are all pairwise combinations: — exactly four basis vectors, so the state vector has four amplitudes. A third qubit doubles that to eight, because each of the four two-qubit states gets paired with and with . In general:
The -qubit register has basis states, so the state vector holds complex amplitudes.
The numbers get large very quickly
| Qubits | Amplitudes | Memory (approx.) | |:-----------:|:----------------:|:----------------:| | 1 | 2 | 32 B | | 10 | 1 024 | 16 KB | | 20 | 1 048 576 | 16 MB | | 30 | | 16 GB | | 50 | | TB |
Each amplitude is a complex number requiring 16 bytes (two 64-bit floats). At 50 qubits, storing the full state vector would take roughly bytes — far beyond any classical supercomputer available today.
What this means in practice
Classical simulators — including the one running your exercises in this platform — must store and update every amplitude. That is why your browser can comfortably simulate 15–20 qubits but would run out of memory trying to simulate 50. When you read about a quantum computer demonstrating "quantum advantage," the core claim is almost always that the scaling makes its computation impossible to reproduce classically in a reasonable time.
Understanding this exponential is also key to reading quantum algorithms. Grover's algorithm, for example, searches an unsorted list of items in steps rather than classical steps — its speedup is only meaningful once is large, which is precisely where classical simulation breaks down.
Sign in on the full site to ask questions and join the discussion.