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.
Compute-copy-uncompute restores clean workspace
Statement
Let be a unitary circuit on input register and clean work register , with an available circuit for . Suppose that for every ,
where occupies a designated -bit subregister of and is any remaining work string. Copying into a distinct arbitrary target register by bitwise CNOT and then applying to maps
The identity holds coherently on superpositions and with any reference register.
Facts & Assumptions
Given: The stated basis action of , disjoint target register , and available inverse circuit. Prove that the work is restored.
Clean and dirty ancillas: Clean workspace is initialized to the all-zero vector and must be returned exactly to that factor.
Clean and dirty ancilla identities extend to references and mixed states: Clean identities extend to reference registers by tensoring with identity and to arbitrary matrices by linearity.
CNOT and Control-Target Order: In the ordered two-qubit basis, .
Tensor products of finitely many linear maps: The tensor map acts factorwise on elementary tensors and extends uniquely by linearity.
Denotational semantics of a finite layered circuit: Chronological layers , with applied first, denote the ordered product .
Reversing a circuit implements its inverse: If the inverses of all gates are explicitly available, reversing the chronological gate order and adjointing each gate implements .
Finite registers and their ordered computational bases: An -qubit register is the ordered tensor product of copies of , with the first wire most significant; the empty register is with basis .
Big-endian encoding of ordered bit strings: A bit string occupies the computational-basis slot given by its big-endian index.
Big-endian bit-string indices are bijective: Every length- bit string labels exactly one computational-basis vector.
The computational basis is orthonormal: The computational basis of each nonempty qubit register is orthonormal.
The product basis is orthonormal and tensor dimensions multiply: Ordered product bases of finite registers form a basis of their tensor product, including the empty-register case.
X, CNOT, Toffoli, and Fredkin are involutions: CNOT is a unitary gate on its ordered register.
Proof
On a basis input, the forward computation gives . Since is disjoint, bitwise CNOT from the designated subregister changes an arbitrary target to and leaves unchanged. The intermediate state is therefore , with together occupying ; [F12] supplies the CNOT gate unitarity.
Applying to returns to by the assumed forward basis action and [F6]. The inverse is supplied on by the Given clause, so the disjoint target is untouched and remains . This proves the displayed basis action and exact restoration of all work required by the clean-ancilla contract [F1].
By [F7]–[F11], the ordered basis vectors form a basis of the subspace with work fixed to zero. Step 2.1 therefore extends by linearity to every superposition in that subspace, with data action . This data map is an involutive permutation of its orthonormal computational basis, since applying it twice restores ; hence is unitary. The complete compute-copy-inverse operation thus satisfies the clean identity in [F1], and [F2] extends it to every finite reference register and matrix. The tensor-map and chronological-circuit conventions [F4]–[F5] preserve the ordered factors in these extensions.
Depends on
- Clean and dirty ancillas
- Clean and dirty ancilla identities extend to references and mixed states
- Reversing a circuit implements its inverse
- Denotational semantics of a finite layered circuit
- Finite registers and their ordered computational bases
- Big-endian encoding of ordered bit strings
- Ordered tensor registers, their inner product, and wire permutations
- Tensor products of finitely many linear maps
- Big-endian bit-string indices are bijective
- CNOT and Control-Target Order
- X, CNOT, Toffoli, and Fredkin are involutions
- The computational basis is orthonormal
- The product basis is orthonormal and tensor dimensions multiply
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
38 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)