Manuscript Oai283-A@1 · Oai283-A.tex · proposition · 6fb75895

Proposition: Explicit reversible lookup bound

What the Boolean resource does and does not supply › Finite realization from a supplied table · lines 383–417 · proof included or linked

Oai283-A@1#prop:lookup

Back to manuscript

Given the complete truth table, has an exact reversible implementation using

elementary gates and clean scratch qubits. A dense representation of the table has classical bits.

This is an upper bound for a particular construction, not a lower bound for every implementation.

Proof. For each address with , negate the zero positions of , compute the AND of the address bits into a chain of clean scratch bits, flip the answer conditionally on that AND, and uncompute the chain and negations. Exactly one address predicate is true on each basis input. The result is the required XOR, with all scratch restored. Each predicate uses NOT, CNOT, and Toffoli gates. The cases are immediate.

For completeness, NOT is . The integer identity

gives an exact controlled-controlled : compute each displayed parity into clean scratch, apply its or phase, and uncompute. Conjugating its target by gives Toffoli. Thus each required reversible gate has a constant-size exact implementation in the allowed library.

Displayed formulas in this passage

  • unlabeled · line 387

  • unlabeled · line 408

Nearby in this section