Before a single qubit, we need the thing it generalizes. A bit is the smallest unit of information — and, surprisingly, the cleanest place to meet the vectors and matrices the rest of this course runs on.
Every message, file, and computation is built from answers to yes-or-no questions. The smallest such answer — on or off, true or false, 0 or 1 — is a bit.
A classical bit is always one definite value. Flip the switch: it lands on 0 or 1, never both, never between. That definiteness is exactly what a qubit will let go of in the next chapter.
Think of a light switch on the wall. It is either up or down — never hovering halfway, never both at once. Walk up to it and you can always read off exactly one answer. That definiteness is the whole personality of a classical bit. The strange thing a qubit will do, two chapters from now, is to genuinely hover — something a wall switch can never do.
One bit names 2 things. Two bits name 4. In general n bits name 2ⁿ different combinations — but the register only ever holds one of them at a time. Read right-to-left, each bit is worth twice the one before it.
Here is the move that makes everything later possible. Instead of writing the value 0 or 1, write it as a little arrow — a column vector — that points along one of two axes:
The two slots are "how much 0" and "how much 1." A definite bit puts a 1 in one slot and 0 in the other. If you're only unsure about a bit — say a coin you haven't looked at — you can write your knowledge as a probability vector whose entries are odds that add to 1:
And operations on a bit become matrices that multiply the vector. The NOT gate — swap 0 and 1 — is the matrix that swaps the two slots:
Hold onto this picture: states are vectors, operations are matrices, and probabilities live in the entries. The leap to a qubit is almost nothing more than allowing those entries to be complex numbers — and squaring them to get the odds.
A fair coin carries exactly one bit of information — learning the outcome resolves one perfect yes/no. A biased coin carries less, because you could half-guess it already. Claude Shannon made this precise: the information in an outcome with probabilities p₀, p₁ is
It peaks at exactly 1 bit for a 50/50 coin and falls to 0 when the answer is certain. Slide the bias from the experiment above and watch it move:
“A bit is a tiny physical object.” No — a bit is a logical distinction (one yes/no answer). It can be carried by a voltage, a magnet, a hole punched in card, or an atom; the information is the same regardless of the hardware.
“n bits store all 2ⁿ values at once.” A register of n bits can name 2ⁿ possibilities, but at any instant it holds exactly one of them. (Holding a blend of many is precisely the trick a qubit adds later.)
“More bits always means more information.” Not quite. Information depends on the odds: a coin you can already half-predict carries less than one full bit, and a coin you are sure of carries none at all.