In 1982, Edward Fredkin and Tommaso Toffoli published a machine that computes with nothing but billiard balls and mirrors. No transistors, no wires, no electricity: identical hard spheres glide across a frictionless table, bounce elastically off each other and off fixed reflectors, and out of the resulting choreography comes any Boolean computation you care to name. It sounds like a joke, and it was deadly serious — the paper is called Conservative Logic, and its point was physical, not practical: if a purely Newtonian contraption can compute, and Newtonian mechanics is frictionless, deterministic and time-reversible, then the laws of physics place no floor under the energy cost of computation. Every collision can be undone; nothing is ever forgotten; no bit is ever erased. The billiard-ball computer is the concrete mechanical model that the abstract machinery of this course — reversible gates, conservative logic — was invented to describe.
The encoding is austere. Fix a synchronised clock and a family of straight-line trajectories — think of them as the wires. At each clock tick, a given trajectory either carries a ball or it doesn't:
All balls are identical, move at the same speed (diagonally, in the canonical layout), and are launched in lock-step, so that balls whose paths cross arrive at the crossing at the same instant — if both are present. Logic happens at those crossings: whether the balls sail on or collide depends on whether both are there, and that dependence is the computation. Fixed mirrors (immovable reflectors) do the routing between collisions: they bend trajectories, delay a ball to keep it in phase with the clock, and shift paths sideways so the right crossings happen at the right times.
The whole computer rests on a single primitive, the interaction gate. Two
trajectories,
So the gate has two input paths and four output paths, and which outputs carry balls is pure Boolean logic:
(A straight) |
(B straight) |
(deflected pair) |
balls in → out | ||
|---|---|---|---|---|---|
| 0 | 0 | — | — | — | 0 → 0 |
| 1 | 0 | ● | — | — | 1 → 1 |
| 0 | 1 | — | ● | — | 1 → 1 |
| 1 | 1 | — | — | ● ● | 2 → 2 |
Read the columns: the deflected pair of paths each carry a ball exactly when both inputs were
present — the collision computes AND (twice over). The straight-through paths carry
And notice the last column of the table: balls in = balls out, in every case. The
collision never creates or destroys a ball; it only re-routes. This is
Is the interaction gate enough? Yes. Mirrors let you bend an output path onto any heading, delay it by
any number of ticks (a zig-zag detour), and cross two paths without interaction (route them through
the crossing at different times). With those wiring tools, Fredkin and Toffoli assembled
interaction gates and mirrors into a full
And the whole assembly is reversible in the strongest possible sense: it is Newtonian mechanics. Film the table, play the film backwards, and every elastic collision is again a legal elastic collision. Reverse every ball's velocity at any instant and the machine conscientiously uncomputes, ball by ball, back to its input configuration. No state ever has two pasts — which, after four modules of this course, you will recognise as the signature of computation without erasure, and (via Landauer) computation with no lower bound on dissipated energy.
AND destroys information when AND is all you keep. The interaction gate outputs
So why isn't your laptop a pool table? Because the billiard-ball computer is chaotically
unstable. Hard-sphere collisions magnify errors: displace a ball's position by a hair and the
error grows by a multiplicative factor at every collision — exponentially fast, the defining
symptom of chaos. After a few dozen collisions, a misalignment of one part in
Fredkin and Toffoli knew this perfectly well. The billiard-ball computer is a thought experiment, and what it proves is a statement about physics, not engineering: the laws of mechanics permit computation with zero dissipation — no theorem of physics forbids a computer that never erases and never heats up. Whether one can be engineered stably is a separate battle (adiabatic circuits and quantum computers are today's fronts). One sentence of theirs is worth carrying through the rest of this course: the energy cost of computing is a property of our devices, not of computation itself.