How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Toffoli computes into a clean target and uncomputes it
Statement
Let be the values on two distinct control wires, let be a distinct clean target wire with value , and let be another distinct target wire with arbitrary value. Toffoli changes to while preserving the controls. Copying that value into by CNOT and applying Toffoli again, in the written chronological order, sends
The same operator identity holds on superpositions.
Facts & Assumptions
Given: The Toffoli action, a zero-initialized workspace bit, and a distinct arbitrary target bit. Prove the stated compute-copy-uncompute identity.
Toffoli and Fredkin gates: Toffoli maps to .
X, CNOT, Toffoli, and Fredkin are involutions: Toffoli is its own inverse.
Clean and dirty ancillas: A clean ancilla is initialized in and the complete subroutine must return it exactly to .
CNOT and Control-Target Order: In the ordered two-qubit basis, .
Denotational semantics of a finite layered circuit: A chronological list of layers , with applied first, denotes .
Tensor products of finitely many linear maps: A tensor map extends its factor maps linearly and acts factorwise on each elementary tensor.
The computational basis is orthonormal: The one-qubit computational basis is an orthonormal basis for its declared inner product.
The product basis is orthonormal and tensor dimensions multiply: The ordered tensor product of finite orthonormal factor bases is an orthonormal basis of the register.
Proof
Since , Toffoli sets to . The four control cases give target values , respectively, and the controls are unchanged.
CNOT from this work bit to the disjoint target changes to and leaves otherwise unchanged. The final Toffoli toggles by the same , returning it to ; by [F2] it is the inverse compute gate. Thus each basis input has the stated output and clean work.
The vectors , as ranges over its eight values, form a basis of the input subspace with the work factor fixed to , by [F7]–[F8]. Every gate is linear, so the basis-vector identity in Step 2.1 extends to every superposition in that subspace. The tensor-map rule [F6] makes each gate act factorwise on the ordered wires, preserving the displayed register order.
Depends on
- Clean and dirty ancillas
- Toffoli and Fredkin gates
- X, CNOT, Toffoli, and Fredkin are involutions
- CNOT and Control-Target Order
- Denotational semantics of a finite layered circuit
- Ordered tensor registers, their inner product, and wire permutations
- Tensor products of finitely many linear maps
- The computational basis is orthonormal
- The product basis is orthonormal and tensor dimensions multiply
Used by
Dependency tree · two levels
31 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- John Preskill, Quantum Computation, Chapter 5: Classical and Quantum Circuits (updated July 2015) (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes, arXiv:1907.09415v6 (standard reference, not scraped)