Level 1, Curious

Bit

Each lever has two seats, and the lit seat is the bit. The drawing has a seat for 0 and a seat for 1.

A bit is the smallest classical record, a switch that reads 0 or 1 and sits in one of those positions whether or not anyone looks. John Tukey suggested the name, and Claude Shannon put it in print in 1948 while counting how much message a line can carry. An ordinary computer is a long row of such switches.

Keith’s first diagram had the lever hovering in the middle, which is a fine drawing of indecision and a bad drawing of a bit. The card in Malcolm’s pocket protector has the two positions and no third.

An example

Write the number 6 in bits and you get 110. That is one 4, one 2 and no 1. Three bits give eight patterns, from 000 up to 111, so they count from 0 to 7. Each bit you add doubles the count. Eight bits make a byte, with 256 patterns.

The row holds one of those patterns at a time. Read it and you get 110. Read it again and you get 110 again. Reading a bit does not change it, and you can copy it as often as you like.

Flip the middle bit and the row reads 100, which is 4. On a qubit that job falls to the X gate.

A coin can set a bit. Toss a fair coin, write 1 for heads, and the bit is 0 or 1 at even odds. The chance lives in the toss, not in the bit. Once the coin lands, the bit sits in one place, and everyone who looks finds the same value.

What it is not

A bit you have not looked at is not in a superposition. It is already 0 or 1, and looking only tells you which. People often carry that picture over to qubits, and the superposition entry shows the test that tells the two apart.

A qubit is not a store of many bits, either. Describing ten qubits takes 1,024 amplitudes, one for each pattern from 0000000000 to 1111111111. Reading them still gives ten bits, one per qubit. A result called Holevo’s bound says ten qubits on their own carry at most ten bits of message, which is why a good circuit spends its effort making the right ten bits likely.

The quantum version is the qubit, and the bit flip is the X gate. A measurement turns a qubit into one bit, and the usual pair of answers is the computational basis. The note A bit is a switch sets the two side by side, and the qubit page lets you flip one.

Used in

Longer explanation: What is quantum computing?

All the words