The 2ⁿ State Vector
Classical computers store bits and that gives independent pieces of information — add a bit, add a slot. A quantum register works very differently: qubits require a state vector with complex amplitudes. This exponential growth is both the source of quantum computing's potential power and the reason classical simulation becomes infeasible quickly.
One qubit, two amplitudes
A single qubit lives in a two-dimensional complex Hilbert space. Any pure state can be written
The two numbers and are the amplitudes: complex numbers whose squared magnitudes give measurement probabilities via the Born rule.
Two qubits, four amplitudes
When we combine two qubits the joint state lives in the tensor-product space . The computational basis is now and the general state is
with four amplitudes satisfying .
Notice the index runs over all 2-bit strings. For two qubits that is strings.
qubits: amplitudes
The pattern continues. For an -qubit register the computational basis is all -bit strings , so there are exactly basis states and amplitudes:
Each amplitude encodes how much probability amplitude "sits on" the basis state . The exponential arises directly from the tensor-product structure: each new qubit introduces a factor of 2 because the new degree of freedom can independently be in or in superposition with everything else.
Why this matters for algorithms
An -qubit gate applies a unitary matrix to the state vector. A quantum algorithm can, in a single step, manipulate all amplitudes simultaneously — a kind of massive parallelism. However, measurement collapses the state to a single -bit string, so the art of quantum algorithm design is arranging interference so that the useful outcomes have large amplitudes by the time we measure.
Classical versus quantum information content
It is tempting to say qubits "store" values. This is misleading: you can only extract classical bits per measurement. The exponential structure lives in the pre-measurement superposition and is accessible only through interference. Algorithms like Grover's and the Quantum Fourier Transform exploit this structure without trying to read out all amplitudes directly.
Try it
Return the number of complex amplitudes required to describe a 3-qubit state vector.
Sign in on the full site to ask questions and join the discussion.