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.
Circuit Syntax, Denotational Semantics, and Measurement
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Channels, Kraus, Choi, and Stinespring Representations
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complexification, Realification and Real Structures
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Controlled Gates, Phase, and Entanglement
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Dimensional Normed Spaces and Riesz Lemma
- Finite-Dimensional Complex Inner-Product Spaces and Matrix Interfaces
- Foundations of the Real Numbers for Analysis
- Free Modules, Exact Sequences, Projective and Injective Modules
- Fundamental Trigonometric Identities
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurements, POVMs, and Instruments
- Metric Spaces
- Modules, Submodules, Quotient Modules and the Isomorphism Theorems
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Properties of the Integral and the Working FTC
- Pure and Mixed States, Ensembles, and Schmidt Decomposition
- Qubits, Bloch Sphere, Pauli Algebra, and One-Qubit Gates
- Registers, Tensor Products, and Partial Trace
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Strongly Continuous Semigroups and Hille Yosida
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Tensor Products of Modules
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page defines finite layered circuit syntax on ordered qubit wires, the local embedding of gates, and the chronological denotation of a circuit. Same-layer order independence follows from disjoint supports. The resource model separates gate occurrences, depth, width, controlled access, inverse access, and oracle charges. Measurement stages are represented by finite instruments; local proofs establish their Kraus normalization, induced POVM, and nonzero output-space prerequisites before the coherent record construction. The observed law is distinguished from conditional outputs and hidden Kraus indices. Deferred measurement is proved at the exact finite-dimensional operator level, preserving branch maps and reference correlations. Any unitary dilation or block control used by a circuit model must be explicitly available and costed. No physical postulate or free implementation theorem is assumed.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Finite circuit syntax and ordered wire labels
Definition
Write for the ordered tensor product of copies of the two-level register from Finite registers and their ordered computational bases, with . Fix a finite gate alphabet . Each has an arity and a specified unitary . An operation model states which listed gates may be called and what access or cost is assigned to them; the matrix by itself is only the mathematical gate data.
For , the circuit wire set is in its displayed order and its state space is . The computational basis word is assigned slot from Big-endian encoding of ordered bit strings, so wire is the most significant bit and the empty register has its single basis vector in slot .
A gate occurrence on the wires is a pair with distinct wire labels ; the tuple order is the input and output factor order of the local gate. A layer is a finite ordered list of gate occurrences whose wire supports are pairwise disjoint. A unitary circuit is a finite chronological list of such layers, with applied first and last; is the empty circuit. Its input, output, and terminally measured wires are specified as ordered lists without repetitions in . This syntax specifies finite data only; the semantic action of gates on the full register is defined separately.
A finite isometry extends after finite ancilla padding
Statement
Let be nonzero finite-dimensional complex inner-product spaces and let be a linear isometry. Put , , and . Let and be the finite-level registers from Finite registers and their ordered computational bases, with first computational basis vectors and . Then there is a surjective linear isometry such that for every .
Facts & Assumptions
Given: Nonzero finite-dimensional complex inner-product spaces and a linear isometry .
Finite registers and their ordered computational bases: for every integer , has the standard coordinate pairing and standard ordered basis. Directly, , so its computational basis is orthonormal and the specified first vectors of and have norm one.
Ordered tensor registers, their inner product, and wire permutations: the product inner product on elementary tensors is the product of the factor inner products.
with the product basis, and : finite tensor-product dimensions multiply, including zero-dimensional factors.
For a subspace of a finite-dimensional inner product space, : a subspace of a finite-dimensional inner-product space and its orthogonal complement form an internal direct sum.
Every finite-dimensional real or complex inner product space has an orthonormal basis: every finite-dimensional inner-product space has an orthonormal basis, including the empty basis.
Linear isometries, and orthogonal or unitary operators on finite-dimensional inner product spaces: a linear isometry preserves norms, and a surjective isometry is an isometric isomorphism.
Proof
Since , the registers and are nonzero. By [F1] and [F3], .
Choose an orthonormal basis of using [F5]. By [F2], is orthonormal in . The complex polarization identity for the first-linear inner-product convention, and the linearity and norm preservation of from [F6] give . Since has norm one by [F1], the product inner product [F2] makes orthonormal in . The linear map sending to is therefore an isometry between the two -dimensional subspaces they span.
Let and be those two spans. By [F4], each ambient space is the orthogonal direct sum of its span and orthogonal complement. Choose orthonormal bases of and by [F5], of lengths and . Concatenate each with the corresponding -vector orthonormal list from step 1.2. Each concatenated list spans its ambient space by the direct-sum decomposition. It is linearly independent: a zero linear combination splits as with in the span and in its orthogonal complement, so directness gives , and independence within each list makes every coefficient zero. Thus the concatenated lists are bases; by the definition of dimension, their lengths give and using step 1.1. Hence , establishing equal complement dimensions and giving completed orthonormal bases of the full input and output spaces.
Map the completed input basis bijectively to the completed output basis, using the prescribed map on . Its linear extension is surjective and preserves inner products because it sends one orthonormal basis to another. It is the required by [F6]. Linearity gives for all . The argument uses only finite basis choices, not a choice axiom.
Remarks
This is a finite-dimensional existence statement only. It gives no decomposition of into a fixed finite gate alphabet and no gate or bit-cost bound.
A local gate has a unique global wire embedding
Statement
Let , let be an ordered tuple of distinct wires in , and let be unitary. There is a unique unitary that applies to the ordered wires and acts as the identity on the other wires.
Facts & Assumptions
Given: The finite ordered register , distinct target wires , and a unitary on .
Finite circuit syntax and ordered wire labels: a gate occurrence names distinct wires in a specified order.
Ordered tensor registers, their inner product, and wire permutations: the computational product basis is orthonormal, and the reordering of wire factors is the linear extension of its bijection on that basis.
Tensor products of finitely many linear maps: the tensor map acts on elementary tensors as .
Tensor maps preserve composition, identities, and adjoints: and tensor maps preserve composition and identities.
Linear isometries, and orthogonal or unitary operators on finite-dimensional inner product spaces: a unitary is an invertible linear norm-preserving map. For an endomorphism in finite dimension, preserving lengths, preserving inner products, carrying orthonormal bases to orthonormal bases, and are equivalent: a finite-dimensional unitary satisfies .
Proof
List the complement wires as . The rule is a bijection from the computational basis of to the product basis of : the output lists each original coordinate once and records which coordinate occupies each position. Its linear extension sends one orthonormal basis bijectively to another, hence is unitary by [F2].
Put . By [F3]–[F5], and . Thus is a two-sided inverse, and [F6] gives for every . Hence is unitary. Since is a surjective isometry by step 1.1, its inverse also preserves norms: for , . Therefore the composite is invertible and norm-preserving, hence unitary by [F5]. Its action, by the definition of , applies to the selected factors in tuple order and leaves the complement factors fixed, as required.
The computational basis spans . Any linear map with the specified action on its basis vectors is unique, so the embedding in step 2.1 is the unique one.
Gates on disjoint wires commute
Statement
Let and be local gates embedded on two disjoint ordered wire sets in . Their global embeddings commute.
Facts & Assumptions
Given: The two embedded gates and disjoint wire supports .
A local gate has a unique global wire embedding: each local gate acts on its ordered support and is the identity on all other wires.
Proof
Fix a computational basis vector . For an ordered wire tuple , write for its ordered bit subtuple and for the full bitstring obtained by replacing those positions by . By [F1], the embedding of the first gate with matrix coefficients acts as Applying the second gate on the disjoint tuple gives In the reverse order the result is the same sum with scalar factors , which agree because complex scalars commute; the replacement bitstrings are identical because . Thus both composites agree on this basis vector.
The computation in step 1.1 holds for every computational basis vector, which spans . Therefore the two global linear maps agree on a basis and are equal, so the embedded gates commute.
Denotational semantics of a finite layered circuit
Definition
For a gate occurrence in a circuit on , let be the global embedding from A local gate has a unique global wire embedding. For a layer , define For a circuit with chronological layers , define The empty circuit and every empty layer denote the identity on .
Facts & Assumptions
Given: A finite layered circuit on the ordered register .
Finite circuit syntax and ordered wire labels: layers are finite ordered lists of gates with pairwise disjoint supports, and is applied first.
A local gate has a unique global wire embedding: each gate occurrence has a unique unitary action on the full register.
Gates on disjoint wires commute: the embeddings of gates in the same layer commute.
Orthogonal and unitary operators form groups, and their determinants have modulus one: finite products and inverses of unitary operators are unitary.
Proof
Every factor in a layer product is unitary by [F2]; the empty product is identity. The layer map is therefore unitary by [F4].
Since every pair of gates in a layer has disjoint support, [F3] shows the factors commute pairwise. Any two enumerations of a finite list are related by finitely many adjacent swaps, so the layer product is independent of the enumeration.
The chronological application of composes the last-applied map on the left, hence is . It is unitary as a finite product of unitary maps; when this is the identity.
A finite instrument with nonzero input has nonzero output space
Statement
Let be a nonzero finite-dimensional complex inner-product space, let be a finite-dimensional complex inner-product space, and suppose a finite instrument from to exists. Then is nonzero.
Facts & Assumptions
Given: A nonzero finite-dimensional input space , a finite-dimensional output space , and a finite instrument from to .
Finite instruments and conditional states: for every , .
Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis: every finite-dimensional vector space has a finite basis, and dimension zero is equivalent to being the zero space.
Coordinate columns and matrices of linear maps relative to ordered bases, Rectangular matrix multiplication and the identity matrix , including zero-sized shapes, The basis-independent trace of an endomorphism of a finite-dimensional vector space, and The trace as the sum of the diagonal entries: in an ordered basis of length , the identity endomorphism has matrix , and its trace is the sum of its diagonal ones.
Proof
Put . By [F2] and , ; choose an ordered basis of length . The coordinate columns of the identity map give the matrix by [F3], so .
Suppose . Then [F2] gives , so every output endomorphism is the zero operator and has trace . Applying [F1] to would give , contradicting step 1.1. Hence and .
Instrument branch Kraus families satisfy total normalization
Statement
Let be a finite instrument from a nonzero finite-dimensional complex inner-product space to a finite-dimensional complex inner-product space . Suppose that for every a finite Kraus family represents . Then
Facts & Assumptions
Given: The finite instrument and, for each observed outcome , a finite Kraus representation of its branch map.
Finite instruments and conditional states: for every .
Finite Kraus representation: for every input operator .
Trace is a linear functional on and For and , : trace is linear and for compatible rectangular maps , .
The trace pairing on a finite endomorphism space is nondegenerate: if and for every , then .
Proof
Put . For every , [F1]–[F3] give .
Cyclicity in [F3] gives for every . Apply [F4] to to obtain , which is the stated normalization. This proof uses the exact trace-pairing lemma The trace pairing on a finite endomorphism space is nondegenerate and does not use a channel characterization.
Remarks
The result is specific to the sum of the branches of an instrument. Its proof uses the instrument trace identity directly and does not depend on the separate QC05 trace-preserving Kraus theorem.
A finite instrument has an isometric coherent record
Statement
Let be a finite instrument from a nonzero finite-dimensional complex inner-product space to a finite-dimensional complex inner-product space . Fix an order on its finite nonempty outcome set , with . There are a common integer and Kraus families , padding shorter families by zero operators, such that Let with its ordered product basis , and define Then is a linear isometry. Let be the projection on which keeps exactly the basis vectors . For every , The first record register stores the observed outcome ; the second index is hidden environment data.
Facts & Assumptions
Given: A finite instrument, its nonempty finite outcome set , a fixed ordering of , and its input and output spaces .
Finite instruments and conditional states: every outcome map is completely positive, and the sum of its output traces equals the input trace for every input operator.
Kraus and Choi characterizations of complete positivity: every finite-dimensional completely positive map has a finite Kraus representation.
Finite Kraus representation: a finite Kraus family represents when for every input operator .
Instrument branch Kraus families satisfy total normalization: for finite branch Kraus families of an instrument, .
Finite registers and their ordered computational bases: for positive integers , and have ordered orthonormal bases indexed by their levels.
Ordered tensor registers, their inner product, and wire permutations: the ordered tensor product has the product inner product, so the basis is orthonormal.
Finite projective measurements: a finite family of pairwise orthogonal self-adjoint projections summing to identity is a projective measurement.
Tensor products of finitely many linear maps: tensor maps act on elementary tensors by applying each factor map in its factor.
Partial trace over a finite tensor factor: the partial trace over a finite basis of the second factor sums the diagonal second-factor matrix entries.
The adjoint is characterised by : , using the repository first-linear convention.
Every linear map between finite-dimensional inner product spaces has a unique adjoint: every map between finite-dimensional inner-product spaces has a unique adjoint, so is defined.
A finite instrument with nonzero input has nonzero output space: existence of a finite instrument from nonzero forces its finite-dimensional output space to be nonzero.
Dirac Notation Conversion: the rank-one map sends to in the repository's first-linear convention.
Proof
By [F12], is nonzero. For each , complete positivity in [F1] and [F2] supplies a finite Kraus family for as in [F3]. Let be the maximum of their finitely many lengths and ; append zero operators to shorter lists until every list has length . These finitely many choices are made successively over , so no choice axiom is used.
Define if and otherwise on , and put . The basis definitions show is self-adjoint and idempotent, the are pairwise orthogonal and sum to , so [F7] makes them a projective measurement. By [F8], equals if and otherwise; since these basis vectors are orthonormal and span , is the orthogonal projection onto the subspace with observed label .
The branch families in step 1.1 are the instrument's finite branch Kraus families, so [F4] gives . Since , the registers in [F5] exist.
For , orthogonality of the product record basis [F6] and the adjoint identity [F10] give by step 2.1. Thus the finite sum defines a linear isometry.
The adjoint in the claimed operator identity exists by [F11]. Expanding the isometry gives Applying on both sides kills terms unless . The partial-trace formula [F9] then keeps only the diagonal hidden entries , leaving by [F3]. The rank-one record operators have the action specified by [F13]. Thus only is recorded as the outcome; is traced out.
Every finite instrument induces a unique POVM
Statement
Let be a finite instrument from a nonzero finite-dimensional complex inner-product space to a finite-dimensional complex inner-product space . There is a unique finite POVM on such that Consequently, for every density operator on , the instrument probability equals the POVM weight .
Facts & Assumptions
Given: The finite instrument and its finite nonempty outcome set .
Finite instruments and conditional states: every is completely positive and for every .
Kraus and Choi characterizations of complete positivity: every completely positive finite-dimensional map between full operator spaces has a finite Kraus representation.
Finite Kraus representation: a finite Kraus family represents when for every input operator .
Instrument branch Kraus families satisfy total normalization: for finite branch Kraus families of an instrument, .
The adjoint is characterised by and Adjoints satisfy , , , and : , , and .
Non-negative and positive operators: non-negativity means self-adjointness and a non-negative quadratic form.
Finite positive effect family and Finite POVMs and their outcome law: a finite POVM is a nonempty finite family of non-negative operators summing to identity, and its outcome weights are .
Trace is a linear functional on and For and , : trace is linear and for compatible rectangular maps , .
The trace pairing on a finite endomorphism space is nondegenerate: if for every , then .
Proof
For each , [F1] makes completely positive, so [F2] supplies a finite family representing it as in [F3]. If the supplied family is empty, append one zero operator; this preserves the formula and makes each index list nonempty. Since is finite, the lists can be selected one at a time by finite induction; no arbitrary-index choice is used.
Define . Concatenating the finite lists in step 1.1 gives a Kraus representation of . These are exactly the finite branch Kraus families of the instrument in [F1], so [F4] gives .
For each outcome define . By [F5], each summand is self-adjoint and . Thus each is non-negative by [F6]. Step 2.1 gives , so is a finite POVM by [F7].
For every , the Kraus formula [F3], trace linearity, and rectangular cyclicity [F8] give . This proves the displayed outcome-law identity for every density operator as well.
If another family has the same identity for every , then for all . By [F8], this equals ; [F9] implies . This holds for each , so the induced POVM is unique.
Finite measurement branches and classical control
Definition
A measurement stage on a finite-dimensional input register is specified by a finite nonempty observed outcome set and an instrument as in Finite instruments and conditional states. For an input density operator , its unnormalized branch output is and its branch weight is . The positive weights sum to one by Instrument outcome weights normalize. The unique POVM induced by the instrument, supplied by Every finite instrument induces a unique POVM, has effects satisfying . A conditional output is assigned only when , using the rule in Finite instruments and conditional states; when the value is .
A finite classical controller may retain the observed history and select a specified finite unitary suffix on the quantum data. Its branch map is . The index is the observed outcome; any Kraus index used to represent is an unobserved environment label and is not stored as classical data.
A finite measurement history tree for a circuit on the fixed register is a finite rooted tree whose internal node carries a finite nonempty outcome set and an instrument from to . The edge from to its child carries a specified finite unitary ; its branch map is . Leaves may carry a specified finite terminal POVM on . The fixed data register is the wire register of Finite circuit syntax and ordered wire labels. A history is the ordered list of observed edge labels from the root; a hidden Kraus index is never included in it. Since the tree is finite and each node has finitely many children, every history and every sum over histories below is finite.
For a coherent representation, order and use the computational basis of the finite label register . On the orthogonal decomposition , define the mathematical block operator by Its control availability is part of the operation model. In the one-bit case, Controlled Unitary Access specifies the exact access meaning of ; an ordinary black-box call to does not grant a controlled call. For larger outcome sets the displayed block gate is likewise an explicit operation, or must be constructed and charged by the chosen model. No gate-set implementation or efficiency bound is part of this definition. A finite history tree is interpreted by applying this definition at each node.
Facts & Assumptions
Given: A finite nonempty outcome set , a finite instrument, an ordered label basis, and a finite family of branch-specific unitaries .
Finite instruments and conditional states: each branch map is completely positive, its trace contributes to the outcome law, and conditional outputs are divided by the branch weight only when that weight is positive.
Instrument outcome weights normalize: for every density input, the branch weights form a finite probability distribution.
Every finite instrument induces a unique POVM: there is a unique POVM with for every input operator .
Finite registers and their ordered computational bases and Ordered tensor registers, their inner product, and wire permutations: the label register has an ordered orthonormal basis and the tensor product has the product inner product.
Controlled Unitary Access: controlled access is an explicit operation capability and is not inferred from a matrix for .
Proof
Put and write an arbitrary vector of uniquely as . The block formula sends it to ; orthogonality of the makes distinct label blocks orthogonal.
By [F1]–[F3], the observed law is the instrument branch law, equals the induced POVM law, and the conditional state is assigned only on a positive-weight branch. The convention applies on every zero-probability branch; the history tree records only its observed edge labels.
For vectors and , the product inner product gives . The block map with in each block is its two-sided inverse, so is a surjective isometry.
Step 2.1 establishes the mathematical block unitary. Its inclusion as a circuit operation still requires the explicit access or construction promised by the model, as required by [F5]; the definition grants no additional oracle or gate capability.
Finite circuit resource accounting
Definition
Fix a finite gate alphabet with maximum arity and a circuit from Finite circuit syntax and ordered wire labels. The declared size is the number of gate occurrences, equivalently ; the declared depth is the number of explicit layers, not a minimum over alternate layerings; the width is the number of all wires, including workspace wires. The operation model may also assign weighted gate costs, classical bit costs, and query costs; these are separate coordinates and are summed over the calls actually made.
A workspace wire is an ancilla. A clean-ancilla promise specifies computational-basis zero states for the ancillas and requires their exact return for every allowed data input: if is the implemented unitary, is the declared data unitary, and is the specified joint zero vector, then for every allowed data vector . A dirty-ancilla promise permits an arbitrary ancilla state independent of the data input; it may be correlated with an untouched reference. Exact dirty-ancilla restoration means the implemented unitary on data and ancillas is on the entire joint space, where is the declared unitary on data. The same operator equality then holds after tensoring with the identity on any finite untouched reference. Consequently, product input between the data and the combined ancilla/reference system remains product after the operation. No uncorrelated-output claim is made for an initially data-correlated ancilla.
A controlled or inverse operation is counted only when the operation model explicitly grants that access or supplies a construction; its charge is recorded separately from an ordinary call. Inverse availability and query or gate charges are also recorded separately from controlled forward access. In particular, the matrix of alone supplies neither a controlled call nor an inverse query, in accordance with Controlled Unitary Access and Inverse Unitary Access.
Facts & Assumptions
Given: A finite layered circuit, its declared gate alphabet, workspace labels, and operation-cost model.
Finite circuit syntax and ordered wire labels: a circuit is a finite ordered list of explicit layers, each a finite list of gate occurrences.
Controlled Unitary Access: controlled access is an explicitly granted capability.
Inverse Unitary Access: inverse access is explicitly granted and charged separately from forward access.
Proof
Flattening the layer lists gives a finite list containing each gate occurrence exactly once by the circuit syntax. Its length is , so the size definition counts exactly the occurrences in the circuit.
Reordering gates within a disjoint layer changes neither that layer's finite cardinality nor the sum of the layer cardinalities. Thus the declared size is unchanged by within-layer ordering; the separately declared depth remains the number of layers.
The access coordinates are assigned only to calls named by the operation model. By [F2]–[F3], controlled and inverse calls require their own explicit declarations, so no query or gate cost is inferred from a matrix description alone.
The outcome law and outputs of a measured circuit
Definition
For a finite instrument and input density operator , define the unnormalized branch output and probability . The family is a probability distribution by Instrument outcome weights normalize. Its uniquely induced POVM satisfies by Every finite instrument induces a unique POVM and the outcome-law definition in Finite POVMs and their outcome law.
The conditional branch output is when and is when , exactly as specified by Finite instruments and conditional states. No normalized state is assigned to a zero-probability branch. A Kraus representation is only a representation of the observed branch map: is the outcome and is not an additional observed outcome.
Facts & Assumptions
Given: A finite instrument, a density operator on its input space, and its finite outcome set .
Finite instruments and conditional states: , , and a conditional output is assigned only for .
Instrument outcome weights normalize: the weights are nonnegative and sum to one.
Every finite instrument induces a unique POVM: each branch weight equals the induced POVM weight .
Finite POVMs and their outcome law: a POVM assigns weights and does not specify a conditional output state.
Proof
The branch output is the unnormalized operator , and its trace is the branch weight , by [F1].
The weights form a finite probability law by [F2], and the same law is by [F3] and [F4]. This establishes consistency of the instrument and POVM descriptions.
If , the conditional output is defined by division by that positive scalar; if , [F1] assigns and no division is made. The finite Kraus index remains internal to and is not part of .
Reversing a circuit implements its inverse
Statement
Let be a finite measurement-free unitary circuit. Assume that for every gate occurrence its adjoint is a legal gate occurrence on the same ordered wires and that the operation model explicitly grants each inverse call, as required by Inverse Unitary Access. Reverse the chronological layer order and, within each layer, reverse its gate list while replacing each gate by its adjoint. The resulting circuit has It has the same number of gate occurrences as ; inverse calls retain their separately declared access cost.
Facts & Assumptions
Given: A finite layered unitary circuit and explicit inverse access to every gate occurrence.
Denotational semantics of a finite layered circuit: if the chronological layer maps are , then .
Inverse Unitary Access: inverse access supplies as an explicitly declared operation, with its own charge.
Finite circuit resource accounting: size is the number of gate occurrences; controlled and inverse calls require explicitly granted access and separately recorded charges; inverse charges remain separate from controlled forward charges.
Adjoints satisfy , , , and : for compatible finite-dimensional maps.
A local gate has a unique global wire embedding: the full-register embedding of a local unitary is uniquely determined by its action on the named ordered wires and identity action on every other wire.
Proof
Enumerate one layer as . By [F1] its denotation is , so [F4] gives its adjoint .
For each occurrence, its global embedding is unitary by [F1]. The inverse acts on each ordered product basis vector by applying to the selected factors and leaving every complement factor fixed: applying to that result returns the original vector. The legal local-adjoint embedding has the same action, so uniqueness in [F5] identifies it with . The assumed legal inverse occurrence and [F2] provide this call. There is one inverse occurrence per original gate, so the size is unchanged by [F3].
By [F1], the whole circuit is . Repeated use of [F4] yields , which acts by executing the inverse of first and the inverse of last. Since each layer is unitary, , so and it is the denotation of the reversed circuit.
If , both circuits are empty and denote the identity; the occurrence count is zero on both sides by [F3].
Finite instruments can be coherently deferred
Statement
Let be a finite instrument from a nonzero finite-dimensional complex inner-product space to a finite-dimensional complex inner-product space , with finite nonempty observed outcome set . After observing , suppose the circuit applies a specified finite unitary suffix on . For every finite-dimensional complex inner-product reference space and every input operator , the measured circuit's unnormalized branch on is where, after choosing an ordered orthonormal basis of , denotes the finite ancillary block amplification on : if , then . This is the block extension in the complete-positivity definition. The coherent construction retains the observed label register until terminal readout. Its outcome- branch, after tracing out the hidden Kraus and padding registers but retaining the label, is on and the label register (up to the canonical factor permutation); discarding the label gives the same data-reference branch map. Thus it preserves the complete outcome law and all correlations with . This is an exact denotational statement: any newly used dilation or block operation must be listed and charged by a gate or oracle model; no same-alphabet synthesis or cost bound is asserted.
Facts & Assumptions
Given: The finite instrument, finite outcome set, branch-specific unitary suffixes, and arbitrary finite-dimensional reference space .
A finite instrument has an isometric coherent record: there are common-length finite branch Kraus families with and an isometry whose observed-label branch recovers after the hidden record is traced.
A finite isometry extends after finite ancilla padding: after finite ancilla padding, an isometry is the restriction of a surjective isometry on equal-dimensional input and output registers with a fixed zero ancilla.
Finite measurement branches and classical control: an observed label selects its specified unitary suffix; its block operation is an explicit model capability or a separately constructed and charged operation.
Completely positive maps: for each finite reference register , the amplified map sends a block matrix to the block matrix .
Finite Kraus representation: a finite family represents when for every .
Tensor products of finitely many linear maps and Tensor maps preserve composition, identities, and adjoints: tensor maps act on elementary tensors factorwise, preserve compositions, and satisfy .
Ordered tensor registers, their inner product, and wire permutations: factor permutations are defined on the ordered product basis and preserve the product inner product.
Partial trace over a finite tensor factor: tracing a finite register factor sums its diagonal basis coordinates.
The outcome law and outputs of a measured circuit: branch weights are instrument output traces; only positive-weight branches are normalized, and hidden Kraus indices are not outcomes.
Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis and Every finite-dimensional real or complex inner product space has an orthonormal basis: every finite-dimensional has dimension and an ordered orthonormal basis of that length; dimension zero means .
Dirac Notation Conversion: is the rank-one map for a unit label vector .
A finite instrument with nonzero input has nonzero output space: a finite instrument from nonzero has nonzero output space , as required by the finite unitary-extension lemma.
The computational basis is orthonormal: every specified computational basis vector of a positive-level register has norm one.
Proof
By [F12], is nonzero. By [F1], choose finite branch Kraus families, pad them to a common positive length, and form the coherent record isometry . By [F2], pad the input by a finite clean register and extend to a surjective isometry satisfying .
Reorder so the observed label register is first, followed by , the hidden register, and the padding register; this is the canonical basis permutation of [F7]. Apply the block operation from [F3] on the observed label and , acting identically on the hidden register, padding register, and reference, then undo the permutation. On the label- subspace this applies and leaves the two environment registers unchanged.
Let be the input-padding inclusion. Checking on each elementary vector gives ; these vectors span, and [F6] makes the tensor extensions well-defined. Hence the inclusion maps agree on all vectors, and conjugating any operator by them gives the corresponding equality of extended output operators. This remains true for vectors and operators entangled across and .
Put . If , [F10] gives , hence and the amplification identity is immediate. Otherwise choose an ordered orthonormal basis of by [F10] and use it to identify the reference with . Write in blocks. By [F4], block of is by [F5]. By [F6], the same is block of . Equality of all blocks proves this finite-Kraus formula for every .
For each , the observed-label projection keeps only the terms with label in the coherent isometry. Retain that label and take the partial trace [F8] only over the hidden Kraus register and the padding register; the trace keeps equal hidden indices , and [F13] gives for the returned padding. The label factor is by [F11]. Thus, after canonical factor permutation, the label-resolved branch operator is This equals by step 2.1 and step 2.2 and [F6]. Taking the partial trace of the label factor gives exactly because is unit by [F13].
Taking traces of equal branch operators gives the same outcome probabilities. Division gives the same conditional operator only when the shared branch weight is positive; when it is zero both descriptions assign by [F9]. Equality for arbitrary on preserves all reference correlations. The finite-dimensional operator construction asserts no additional implementation or cost.
All measurements may be moved to terminal readout
Statement
Let a finite measurement history tree be as defined in Finite measurement branches and classical control, with a finite terminal POVM for a common finite nonempty outcome set at each leaf . A complete history is the ordered list of observed labels along a root-to-leaf path. For every density operator at the root, the joint law of the complete history and the leaf's terminal outcome is unchanged when all node instruments are coherently deferred to terminal readout, with each recorded history controlling its declared later operations. More strongly, for every finite-dimensional reference and every operator on the root data and , the unnormalized data-reference branch operator at each complete history is the same in the measured and coherently deferred constructions. Any history-controlled dilation or block operation used in that construction must be explicitly supplied and charged by the operation model.
Facts & Assumptions
Given: A finite measurement tree, its finite instruments and branch-controlled gates, an input state (possibly entangled with a finite reference), and a designated final POVM.
Finite measurement branches and classical control: a finite history tree has finitely many observed outcomes at each internal node, branch maps , and orthogonal records contain only observed labels.
Finite instruments can be coherently deferred: for one finite instrument stage and any finite reference, the coherent construction preserves each data-reference branch operator and retains the observed outcome in its own orthogonal label register after the hidden Kraus and padding registers are discarded.
The outcome law and outputs of a measured circuit: a branch weight is the trace of its unnormalized instrument output, and a conditional state is formed only for a positive weight.
Finite POVMs and their outcome law: a finite POVM assigns outcome weight to density operator .
The principle of mathematical induction: a statement true at zero stages and preserved by adding one stage holds for every finite number of stages.
Proof
Give a finite history tree height when its root is a leaf; otherwise give it height one plus the maximum height of its finitely many child subtrees. For height , there is a single empty history, no instrument is applied, and the leaf's terminal POVM is unchanged. Thus the branch-operator invariant holds at height .
Let the root be internal and suppose the invariant holds for all trees of height at most . For each root outcome , [F2] replaces the root instrument and its edge unitary by a coherent record with the same unnormalized operator on the child input and the reference, for every input operator , while retaining a separate orthogonal label register . The outcome set is finite by [F1].
Each child subtree has height at most , so apply the induction hypothesis to its input operator with the already retained history labels included in the finite reference. The operator need not be normalized or positive because the invariant is stated for every operator. The child constructions are controlled on the root's observed record; distinct labels occupy orthogonal record subspaces by [F1]–[F2], so the continuations preserve each full-history branch separately and do not merge histories.
By finite induction [F5] from step 1.1 and the preservation argument in step 2.1, every finite history tree has equal measured and coherently deferred unnormalized branch operators for each complete history and every finite reference.
For a leaf history and terminal outcome , apply the same effect to the equal branch operators from step 3.1 and take traces. This gives equal joint probabilities. The preterminal data-reference outputs conditioned on history agree after dividing their equal branch operators by the common positive history probability; zero-probability branches are never normalized by [F3]. Equality of the operators for arbitrary preserves reference correlations. Any required dilation and block controls remain explicit operation-model costs as stated.
5 · Examples, counterexamples and false statements
None yet.
Sources
- John Preskill, Quantum Computation, Chapter 5: Classical and Quantum Circuits
- Ronald de Wolf, Quantum Computing: Lecture Notes, arXiv:1907.09415v6
- John Preskill, Quantum Computation, Chapter 3: Foundations II: Measurement and Evolution
- John Watrous, The Theory of Quantum Information (2018 author-hosted draft), §2.3.2
- John Preskill, Quantum Computation, Chapter 3: Foundations II: Measurement and Evolution, §3.2.4
- John Watrous, The Theory of Quantum Information (2018 author-hosted draft), §§2.2.2 and 2.3.2