Manuscript I@2 · I.tex · theorem · 85631fa7
Theorem: Finite-circuit adequacy
Metatheory of the specified calculus › Path maps and circuit adequacy · lines 856–884 · proof included or linked
I@2#thm:adequacy
Every well-typed program with a first-order interface denotes a finite quantum instrument. Conversely, every finite circuit built from the available gates, zero-state allocation, destructive computational-basis readout, and finite classical control has a well-typed implementation with the same instrument.
Proof. For reported output , define
The maps are completely positive and their sum is trace preserving by Lemma lem:path. Unrolling the finite formal evaluation tree gives a finite adaptive circuit.
Conversely, input wires are linear arguments. Fresh wires use , routing uses pairing and tuple elimination, and operations use gates or . Finite control uses conditionals, , and . Every quantum wire is passed to exactly one next operation, explicitly consumed, or returned. Induction through the circuit identifies its path maps.
Displayed formulas in this passage
unlabeled · line 868