Allow clean workspace bits, as in standard reversible computation. Boolean algebra expresses any Boolean function as XORs of ANDs and constants. A Toffoli gate maps to , so an initially zero target computes an AND without erasing the inputs. A CNOT gate accumulates XORs, and a NOT gate supplies complemented bits or constants. Intermediate products can be computed into workspace, XORed into an output, and then uncomputed by reversing the workspace computation. This realizes the reversible embedding for any Boolean function and, with reversible clean-up, universal reversible classical computation.
The Fredkin transformation has control and targets . A network of three gates, shown in i, iswhere the sequence is executed left to right. After the first gate ; after the second ; and the last gives . If , ; if , . Thus the circuit is exactly a Fredkin gate.
The workspace qualification matters for the unrestricted universality claim. On four or more wires, every embedded NOT, CNOT and Toffoli gate is an even permutation of all computational states. Without ancillary wires they cannot implement, for example, a permutation swapping just and while fixing the other four-bit strings. Clean ancillas remove this obstruction on the designated input subspace.
Articles by others on the same topic
There are currently no matching articles.