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.
Boolean circuits compile exactly into the QC14 gate alphabet
Statement
Let a finite Boolean DAG in the basis of Boolean circuits: basis, fan-in, size, and depth have ordered input bits, ordered output ports, non-input nodes and input-port uses counted with multiplicity. There is a deterministic compiler which, from its explicit topological list, emits a valid QC14 circuit over exactly with the first wires as data, zero-initialized target wires, at most clean value wires and one additional clean scratch wire. For every and , its unitary satisfies
where is the ordered Boolean output. It uses at most QC14 gate occurrences, and the full self-delimiting circuit list is produced in time polynomial in the Boolean-DAG description length. The same action holds on superpositions by linearity.
Facts & Assumptions
Given: The explicit Boolean DAG, the reversible embedding procedure, and the exact QC14 gate matrices. Construct the full gate list and verify its action, clean workspace, and polynomial generation cost.
Reversible embedding of a Boolean circuit: evaluate every Boolean node into a fresh zero value bit, copy the ordered output ports into the target, and reverse the node-evaluation list.
Gate, workspace, and serial-depth costs of reversible embedding: the reversible embedding implements the displayed XOR action using at most occurrences of , CNOT, and Toffoli, with at most clean work bits.
Clifford+T gate library and exact matrices: , , , , and CNOT maps to with the first wire as control; the QC14 circuit alphabet contains no implicit Toffoli or extra controlled- gate.
Finite circuit syntax and ordered wire labels and Denotational semantics of a finite layered circuit: a circuit is a finite chronological list of layers, each containing gates with pairwise disjoint wire supports. Any chronological gate list defines such a circuit by placing each gate in its own singleton layer; its matrix is the chronological product with later gates on the left.
Full-list uniform quantum circuit family: a full-list QC14 description has unary input and total-wire counts, a self-delimiting gate count, exact gate labels and wire indices, and an ordered output tuple.
Proof
For set , with ordinary integer addition and subtraction. If exactly of equal , then for and for . Thus .
Use one clean scratch bit . Apply to each of the three data bits. For each of the three pair parities, compute that XOR into with two CNOTs, apply to , and undo the same two CNOTs. Compute into with three CNOTs, apply , and undo those three CNOTs. Each parity routine restores to zero and leaves the data bits unchanged. The total phase on is , so this circuit is CCZ; it uses seven or gates and eighteen CNOTs.
Conjugate this CCZ circuit by on the third data wire. If , CCZ is the identity on that wire; if , it applies , and direct multiplication of the displayed matrices gives . The result is therefore , the Toffoli action. The scratch wire is still zero, and the replacement uses QC14 gates.
Replace each in the reversible embedding by , which equals because and ; this uses six QC14 gates. Leave each CNOT unchanged and replace each Toffoli by step 3.1.
By [F2], the original macro list has at most occurrences. Each macro replacement has the same action on its data wires, returns the added scratch to zero, and uses at most gates, so the compiled list has at most gates and at most clean work wires. The exact matrix identity on every computational-basis input extends by linearity to superpositions.
Traverse the explicit topological DAG once to produce the finite macro list of [F1], then replace each macro by its fixed gate sequence and fixed scratch-wire indices. Put each emitted gate in its own singleton layer, which satisfies the disjoint-support condition in [F4] and preserves the chronological product. Serialize this gate sequence using [F5], with the target wires as the ordered output tuple. The traversal and each replacement emit a constant number of records per node, port use, or output; every encoded wire index has bits. The unary wire header and all self-delimiting records consequently have polynomial total length and can be written in polynomial time. All gate-wire tuples have distinct entries, the input, target and work blocks are disjoint, and the output indices are distinct. Thus the singleton-layer circuit and its full-list code satisfy [F4]–[F5], with the action established in step 5.1.
Depends on
- Reversible embedding of a Boolean circuit
- Gate, workspace, and serial-depth costs of reversible embedding
- Clifford+T gate library and exact matrices
- Finite circuit resource accounting
- Finite circuit syntax and ordered wire labels
- Denotational semantics of a finite layered circuit
- Full-list uniform quantum circuit family
- Boolean circuits: basis, fan-in, size, and depth
Used by
Dependency tree · two levels
34 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, Sections 5.2.2–5.2.3 (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes, Sections 2.1.2–2.3 (standard reference, not scraped)