| ISSUE 413/456 · COMPUTER SCIENCE |
~4 MIN |
FOUNDATION / COMPUTER SCIENCE · READING DATE 2027-11-18 · NOVEMBER 2027 — MATTER AND COMPUTATION LIMITS
A calculation can keep enough clues to run backwards
START HERE
Knowing that a calculation ended at 0 does not necessarily tell you how it started. Reversible computing uses operations whose outputs uniquely determine their inputs. It preserves the information needed to undo each step instead of merging different starting situations into one indistinguishable result.
|
/ WHY NOW
This matters when asking which parts of a calculation must discard information. Logical reversibility removes one fundamental source of required dissipation, but it does not by itself build a computer with zero electricity use.
|
/ THE IDEA
A bit is a stored 0 or 1. Consider the operation AND: two input bits produce 1 only when both are 1. The inputs 00, 01 and 10 all produce 0. Given only that output, the previous pair cannot be recovered. The operation has thrown away a distinction. A reversible construction retains the input bits and writes the answer into an additional bit using XOR. XOR means exclusive-or: it flips that additional bit when the calculated answer is 1 and otherwise leaves it alone. Since the original inputs remain, applying the same operation a second time restores the starting extra bit.
THE FORMAL IDEA
(a, b, c) → (a, b, c XOR (a AND b))
| a, b and c are bits, each either 0 or 1; the arrow means the stored triple is transformed. | | AND produces 1 only for two 1 inputs. XOR flips c when its other argument is 1. These are logical values with no physical units. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
Start with (1, 1, 0): AND is 1, so the output is (1, 1, 1). Apply the same operation again: the last bit flips back to 0. Change input a to 0: (0, 1, 0) stays (0, 1, 0). Unlike AND alone, the complete output still reveals both original input bits.
|
The extra information is not decoration; it is what makes undoing possible. A longer calculation can retain intermediate results, copy its desired answer into initially blank storage, and reverse its earlier work to clean up those intermediates without simply erasing them.
/ SO WHAT?
Keeping every intermediate result can require substantial memory, so reversible designs face their own time-and-storage trade-offs. The conceptual achievement is separating computation from compulsory forgetting. Many useful mathematical functions merge inputs, but a larger reversible process can calculate their answers while keeping enough additional information to distinguish where they came from.
ONE CAVEAT |
| Logical reversibility concerns information mappings; physical reversibility concerns how a device actually operates. Resistance, imperfect control, reliability and finite-speed operation still cause losses, and clearing leftover information later can reintroduce erasure costs. |
KEEP THIS
To test reversibility, inspect the complete output: if two allowed inputs produce the same complete output, some information needed to undo the step was lost.
|
NEXT: A material can oppose a magnet without expelling it
|