A classical bit, then a quantum bit
A classical bit is one of two values: 0 or 1. The bit's state is fully described by a single discrete choice. Every operation on classical bits — AND, OR, NOT, XOR — is a deterministic function from to .
A qubit generalizes this. Its state lives in a 2-dimensional complex vector space. The two basis vectors are written
A general qubit state is a complex linear combination
The coefficients and are called amplitudes. The normalization condition says the state is a unit vector — a point on the unit sphere in . A qubit's state space is continuous, not discrete.
