Every program you have ever run erases information thousands of times per second. An AND gate takes two bits in and produces one bit out â the other bit is simply gone. A NAND gate does the same. Ordinary logic is lossy by design, and that lossiness generates heat: Rolf Landauer proved in 1961 that erasing one bit of information must dissipate at least kT ln 2 of energy into the environment â a fundamental lower bound, not an engineering limitation.
In 1980 Charles Bennett showed something surprising: any computation can be done reversibly, without ever erasing a single bit. The trick is to keep enough information so you can always run the computation backwards and recover every input from every output.
Tomasso Toffoli then found a strikingly clean embodiment of this idea in 1980: a single three-bit gate now bearing his name. The Toffoli gate (also written CCNOT â controlled-controlled-NOT) takes three input bits A, B, C and produces three output bits: A and B pass through unchanged, while C is flipped if and only if both A and B are 1. That is all. Yet this single gate, applied to the right inputs, can simulate any AND, NAND, NOT, or fan-out â making it universal for classical reversible computation.
The payoff extends far beyond heat budgets. In quantum computing, every gate must be reversible because quantum mechanics is reversible at its core. The Toffoli gate lifts directly into the quantum world as a three-qubit operation, and every quantum algorithm â from Grover's search to Shor's factoring â is ultimately assembled from gates of this family.
Comments
Loading comments...