Alphabeta Math
Pipeline-generated
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

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

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite circuit syntax and ordered wire labels

Definition

Write Qn for the ordered tensor product of n copies of the two-level register from Finite registers and their ordered computational bases, with Q0=C. Fix a finite gate alphabet G. Each g∈G has an arity r(g)≥1 and a specified unitary Ug:Qr(g)→Qr(g). An operation model states which listed gates may be called and what access or cost is assigned to them; the matrix Ug by itself is only the mathematical gate data.

For n≥0, the circuit wire set is [n]={0,…,n−1} in its displayed order and its state space is Qn. The computational basis word x=(x0,…,xn−1) is assigned slot enc⁡n(x) from Big-endian encoding of ordered bit strings, so wire 0 is the most significant bit and the empty register has its single basis vector in slot 0.

A gate occurrence on the n wires is a pair (g,(w0,…,wr(g)−1)) with distinct wire labels wj∈[n]; 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 L1,…,Ld of such layers, with L1 applied first and Ld last; d=0 is the empty circuit. Its input, output, and terminally measured wires are specified as ordered lists without repetitions in [n]. This syntax specifies finite data only; the semantic action of gates on the full register is defined separately.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite isometry extends after finite ancilla padding

Statement

Let H,K,E be nonzero finite-dimensional complex inner-product spaces and let V:H→K⊗E be a linear isometry. Put h=dim⁡H, k=dim⁡K, and e=dim⁡E. Let A=Qke and B=Qh be the finite-level registers from Finite registers and their ordered computational bases, with first computational basis vectors a0 and b0. Then there is a surjective linear isometry W:H⊗A⟶K⊗E⊗B such that W(x⊗a0)=Vx⊗b0 for every x∈H.

Facts & Assumptions

Given: Nonzero finite-dimensional complex inner-product spaces H,K,E and a linear isometry V:H→K⊗E.

[F1]

Finite registers and their ordered computational bases: for every integer d≥1, Qd=Cd has the standard coordinate pairing and standard ordered basis. Directly, ⟨ei,ej⟩=∑r<dδriδrj=δij, so its computational basis is orthonormal and the specified first vectors of A=Qke and B=Qh have norm one.

[F2]

Ordered tensor registers, their inner product, and wire permutations: the product inner product on elementary tensors is the product of the factor inner products.

[F4]

For a subspace W of a finite-dimensional inner product space, V=W⊕W⊥: a subspace of a finite-dimensional inner-product space and its orthogonal complement form an internal direct sum.

[F5]

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.

[F6]

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

1.1givenF1F3algebra

Since h,k,e≥1, the registers A=Qke and B=Qh are nonzero. By [F1] and [F3], dim⁡(H⊗A)=hke=dim⁡(K⊗E⊗B).

1.2givenF1F2F5F6algebra

Choose an orthonormal basis (ui)i<h of H using [F5]. By [F2], (ui⊗a0)i<h is orthonormal in H⊗A. The complex polarization identity for the first-linear inner-product convention, ⟨x,y⟩=14(∥x+y∥2−∥x−y∥2+i∥x+iy∥2−i∥x−iy∥2), and the linearity and norm preservation of V from [F6] give ⟨Vui,Vuj⟩=⟨ui,uj⟩=δij. Since b0 has norm one by [F1], the product inner product [F2] makes (Vui⊗b0)i<h orthonormal in K⊗E⊗B. The linear map sending ui⊗a0 to Vui⊗b0 is therefore an isometry between the two h-dimensional subspaces they span.

2.1step 1.1step 1.2F4F5choosealgebra

Let S and T be those two spans. By [F4], each ambient space is the orthogonal direct sum of its span and orthogonal complement. Choose orthonormal bases of S⊥ and T⊥ by [F5], of lengths p and q. Concatenate each with the corresponding h-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 s+z=0 with s in the span and z in its orthogonal complement, so directness gives s=z=0, and independence within each list makes every coefficient zero. Thus the concatenated lists are bases; by the definition of dimension, their lengths give hke=h+p and hke=h+q using step 1.1. Hence p=q, establishing equal complement dimensions and giving completed orthonormal bases of the full input and output spaces.

3.1givenstep 1.2step 2.1F6construct∎

Map the completed input basis bijectively to the completed output basis, using the prescribed map on (ui⊗a0). Its linear extension is surjective and preserves inner products because it sends one orthonormal basis to another. It is the required W by [F6]. Linearity gives W(x⊗a0)=Vx⊗b0 for all x. 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 W into a fixed finite gate alphabet and no gate or bit-cost bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A local gate has a unique global wire embedding

Statement

Let n≥r≥1, let w=(w0,…,wr−1) be an ordered tuple of distinct wires in [n], and let U:Qr→Qr be unitary. There is a unique unitary U~w:Qn→Qn that applies U to the ordered wires w0,…,wr−1 and acts as the identity on the other wires.

Facts & Assumptions

Given: The finite ordered register Qn, distinct target wires w0,…,wr−1, and a unitary U on Qr.

[F1]

Finite circuit syntax and ordered wire labels: a gate occurrence names distinct wires in a specified order.

[F2]

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.

[F3]

Tensor products of finitely many linear maps: the tensor map U⊗I acts on elementary tensors as x⊗z↦Ux⊗z.

[F4]

Tensor maps preserve composition, identities, and adjoints: (U⊗I)†=U†⊗I and tensor maps preserve composition and identities.

Proof

1.1givenF1F2construct

List the complement wires as c0<⋯<cn−r−1. The rule ∣x0,…,xn−1⟩↦∣xw0,…,xwr−1⟩⊗∣xc0,…,xcn−r−1⟩ is a bijection from the computational basis of Qn to the product basis of Qr⊗Qn−r: the output lists each original coordinate once and records which coordinate occupies each position. Its linear extension Pw sends one orthonormal basis bijectively to another, hence is unitary by [F2].

2.1givenstep 1.1F3F4F5F6algebra

Put T=U⊗IQn−r. By [F3]–[F5], T†T=(U†U)⊗I=I and TT†=(UU†)⊗I=I. Thus T† is a two-sided inverse, and [F6] gives ∥Tz∥2=⟨Tz,Tz⟩=⟨z,T†Tz⟩=∥z∥2 for every z. Hence T is unitary. Since Pw is a surjective isometry by step 1.1, its inverse also preserves norms: for y=Pwx, ∥Pw−1y∥=∥x∥=∥Pwx∥=∥y∥. Therefore the composite U~w=Pw−1(U⊗IQn−r)Pw is invertible and norm-preserving, hence unitary by [F5]. Its action, by the definition of Pw, applies U to the selected factors in tuple order and leaves the complement factors fixed, as required.

3.1step 2.1algebra∎

The computational basis spans Qn. Any linear map with the specified action on its basis vectors is unique, so the embedding in step 2.1 is the unique one.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Gates on disjoint wires commute

Statement

Let U and V be local gates embedded on two disjoint ordered wire sets in Qn. Their global embeddings commute.

Facts & Assumptions

Given: The two embedded gates and disjoint wire supports S,T⊆[n].

[F1]

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

1.1givenF1algebra

Fix a computational basis vector ∣x⟩. For an ordered wire tuple w, write xw for its ordered bit subtuple and xw←u for the full bitstring obtained by replacing those positions by u. By [F1], the embedding of the first gate with matrix coefficients Uu,xS acts as ∣x⟩↦∑uUu,xS∣xS←u⟩. Applying the second gate on the disjoint tuple T gives ∑u,vUu,xSVv,xT∣xS←u,T←v⟩. In the reverse order the result is the same sum with scalar factors Vv,xTUu,xS, which agree because complex scalars commute; the replacement bitstrings are identical because S∩T=∅. Thus both composites agree on this basis vector.

2.1step 1.1algebra∎

The computation in step 1.1 holds for every computational basis vector, which spans Qn. Therefore the two global linear maps agree on a basis and are equal, so the embedded gates commute.

DefinitionDefinition: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Denotational semantics of a finite layered circuit

Definition

For a gate occurrence g=(γ,w) in a circuit on Qn, let U~g be the global embedding from A local gate has a unique global wire embedding. For a layer Lt=(g1,…,gs), define ULt:=U~gs⋯U~g1. For a circuit with chronological layers L1,…,Ld, define UC:=ULd⋯UL1. The empty circuit and every empty layer denote the identity on Qn.

Facts & Assumptions

Given: A finite layered circuit on the ordered register Qn.

[F1]

Finite circuit syntax and ordered wire labels: layers are finite ordered lists of gates with pairwise disjoint supports, and L1 is applied first.

[F2]

A local gate has a unique global wire embedding: each gate occurrence has a unique unitary action on the full register.

[F3]

Gates on disjoint wires commute: the embeddings of gates in the same layer commute.

[F4]

Orthogonal and unitary operators form groups, and their determinants have modulus one: finite products and inverses of unitary operators are unitary.

Proof

1.1givenF2F4algebra

Every factor U~gj in a layer product is unitary by [F2]; the empty product is identity. The layer map ULt is therefore unitary by [F4].

1.2givenF1F3algebra

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.

2.1givenF1F4algebra∎

The chronological application of L1,…,Ld composes the last-applied map on the left, hence is ULd⋯UL1. It is unitary as a finite product of unitary maps; when d=0 this is the identity.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite instrument with nonzero input has nonzero output space

Statement

Let H be a nonzero finite-dimensional complex inner-product space, let K be a finite-dimensional complex inner-product space, and suppose a finite instrument (Ia)a∈Ω from H to K exists. Then K is nonzero.

Facts & Assumptions

Given: A nonzero finite-dimensional input space H, a finite-dimensional output space K, and a finite instrument from H to K.

[F1]

Finite instruments and conditional states: for every X∈L(H), ∑a∈Ωtr⁡K(Ia(X))=tr⁡H(X).

[F2]

Finite-dimensional vector space, and its dimension dim⁡FV; 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.

Proof

1.1givenF2F3choosealgebra

Put h=dim⁡H. By [F2] and H≠0, h≥1; choose an ordered basis of length h. The coordinate columns of the identity map give the matrix Ih by [F3], so tr⁡H(IH)=tr⁡(Ih)=h>0.

2.1givenstep 1.1F1F2discharge-contradiction∎

Suppose dim⁡K=0. Then [F2] gives K={0}, so every output endomorphism Ia(IH) is the zero operator and has trace 0. Applying [F1] to IH would give 0=tr⁡H(IH), contradicting step 1.1. Hence dim⁡K>0 and K≠0.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Instrument branch Kraus families satisfy total normalization

Statement

Let (Ia)a∈Ω be a finite instrument from a nonzero finite-dimensional complex inner-product space H to a finite-dimensional complex inner-product space K. Suppose that for every a a finite Kraus family (Ma,j)j represents Ia. Then ∑a∈Ω∑jMa,j†Ma,j=IH.

Facts & Assumptions

Given: The finite instrument and, for each observed outcome a, a finite Kraus representation of its branch map.

[F1]

Finite instruments and conditional states: ∑atr⁡K(Ia(X))=tr⁡H(X) for every X∈L(H).

[F2]

Finite Kraus representation: Ia(X)=∑jMa,jXMa,j† for every input operator X.

[F3]

Trace is a linear functional on Mn(F) and For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA): trace is linear and tr⁡K(AB)=tr⁡H(BA) for compatible rectangular maps A:H→K, B:K→H.

[F4]

The trace pairing on a finite endomorphism space is nondegenerate: if D∈L(H) and tr⁡H(DX)=0 for every X∈L(H), then D=0.

Proof

1.1givenF1F2F3algebra

Put S=∑a,jMa,j†Ma,j∈L(H). For every X∈L(H), [F1]–[F3] give tr⁡H(X)=∑atr⁡K(Ia(X))=∑a,jtr⁡K(Ma,jXMa,j†)=∑a,jtr⁡H(XMa,j†Ma,j)=tr⁡H(XS).

2.1givenstep 1.1F3F4algebra∎

Cyclicity in [F3] gives tr⁡H((S−IH)X)=tr⁡H(X(S−IH))=0 for every X. Apply [F4] to D=S−IH to obtain S−IH=0, 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.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite instrument has an isometric coherent record

Statement

Let (Ia)a∈Ω be a finite instrument from a nonzero finite-dimensional complex inner-product space H to a finite-dimensional complex inner-product space K. Fix an order on its finite nonempty outcome set Ω, with m=∣Ω∣. There are a common integer r≥1 and Kraus families (Ma,j)0≤j<r, padding shorter families by zero operators, such that ∑a∈Ω∑j<rMa,j†Ma,j=IH. Let E=Qm⊗Qr with its ordered product basis (ea⊗fj)a,j, and define Vx:=∑a∈Ω∑j<rMa,jx⊗ea⊗fj∈K⊗E. Then V is a linear isometry. Let Πa be the projection on E which keeps exactly the basis vectors ea⊗fj. For every X∈L(H), Tr⁡E ⁣((IK⊗Πa)VXV†(IK⊗Πa))=Ia(X). The first record register stores the observed outcome a; the second index j 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 H,K.

[F1]

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.

[F2]

Kraus and Choi characterizations of complete positivity: every finite-dimensional completely positive map L(H)→L(K) has a finite Kraus representation.

[F3]

Finite Kraus representation: a finite Kraus family (Mj) represents Φ when Φ(X)=∑jMjXMj† for every input operator X.

[F4]

Instrument branch Kraus families satisfy total normalization: for finite branch Kraus families of an instrument, ∑a,jMa,j†Ma,j=IH.

[F5]

Finite registers and their ordered computational bases: for positive integers m,r, Qm and Qr have ordered orthonormal bases indexed by their levels.

[F6]

Ordered tensor registers, their inner product, and wire permutations: the ordered tensor product has the product inner product, so the basis (ea⊗fj) is orthonormal.

[F7]

Finite projective measurements: a finite family of pairwise orthogonal self-adjoint projections summing to identity is a projective measurement.

[F8]

Tensor products of finitely many linear maps: tensor maps act on elementary tensors by applying each factor map in its factor.

[F9]

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.

[F10]

The adjoint T∗:W→V is characterised by ⟨Tv,w⟩W=⟨v,T∗w⟩V: ⟨Mx,y⟩=⟨x,M†y⟩, using the repository first-linear convention.

[F11]

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 V† is defined.

[F12]

A finite instrument with nonzero input has nonzero output space: existence of a finite instrument from nonzero H forces its finite-dimensional output space K to be nonzero.

[F13]

Dirac Notation Conversion: the rank-one map ∣u⟩⟨v∣ sends z to ⟨z,v⟩u in the repository's first-linear convention.

Proof

1.1givenF1F2F3F12choose

By [F12], K is nonzero. For each a∈Ω, complete positivity in [F1] and [F2] supplies a finite Kraus family for Ia as in [F3]. Let r be the maximum of their finitely many lengths and 1; append zero operators to shorter lists until every list has length r. These finitely many choices are made successively over Ω, so no choice axiom is used.

1.2givenF5F6F7F8construct

Define Paeb=eb if b=a and 0 otherwise on Qm, and put Πa=Pa⊗IQr. The basis definitions show Pa is self-adjoint and idempotent, the Pa are pairwise orthogonal and sum to IQm, so [F7] makes them a projective measurement. By [F8], Πa(eb⊗fj) equals eb⊗fj if b=a and 0 otherwise; since these basis vectors are orthonormal and span E, Πa is the orthogonal projection onto the subspace with observed label a.

2.1givenstep 1.1F4F5algebra

The branch families in step 1.1 are the instrument's finite branch Kraus families, so [F4] gives ∑a,j<rMa,j†Ma,j=IH. Since m,r≥1, the registers in [F5] exist.

3.1givenstep 2.1F6F10construct

For x,y∈H, orthogonality of the product record basis [F6] and the adjoint identity [F10] give ⟨Vx,Vy⟩=∑a,j⟨Ma,jx,Ma,jy⟩=∑a,j⟨x,Ma,j†Ma,jy⟩=⟨x,y⟩ by step 2.1. Thus the finite sum defines a linear isometry.

4.1givenstep 1.1step 1.2F3F8F9F11F13algebra∎

The adjoint V† in the claimed operator identity exists by [F11]. Expanding the isometry gives VXV†=∑b,c∈Ω∑j,k<rMb,jXMc,k†⊗∣eb⊗fj⟩⟨ec⊗fk∣. Applying IK⊗Πa on both sides kills terms unless b=c=a. The partial-trace formula [F9] then keeps only the diagonal hidden entries j=k, leaving ∑j<rMa,jXMa,j†=Ia(X) by [F3]. The rank-one record operators have the action specified by [F13]. Thus only a is recorded as the outcome; j is traced out.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Every finite instrument induces a unique POVM

Statement

Let (Ia)a∈Ω be a finite instrument from a nonzero finite-dimensional complex inner-product space H to a finite-dimensional complex inner-product space K. There is a unique finite POVM (Ea)a∈Ω on H such that tr⁡K(Ia(X))=tr⁡H(XEa)(X∈L(H), a∈Ω). Consequently, for every density operator ρ on H, the instrument probability tr⁡K(Ia(ρ)) equals the POVM weight tr⁡H(ρEa).

Facts & Assumptions

Given: The finite instrument and its finite nonempty outcome set Ω.

[F1]

Finite instruments and conditional states: every Ia:L(H)→L(K) is completely positive and ∑atr⁡K(Ia(X))=tr⁡H(X) for every X.

[F2]

Kraus and Choi characterizations of complete positivity: every completely positive finite-dimensional map between full operator spaces has a finite Kraus representation.

[F3]

Finite Kraus representation: a finite Kraus family (Mj) represents Φ when Φ(X)=∑jMjXMj† for every input operator X.

[F4]

Instrument branch Kraus families satisfy total normalization: for finite branch Kraus families of an instrument, ∑a,jMa,j†Ma,j=IH.

[F6]

Non-negative and positive operators: non-negativity means self-adjointness and a non-negative quadratic form.

[F7]

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 tr⁡(ρEa).

[F8]

Trace is a linear functional on Mn(F) and For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA): trace is linear and tr⁡K(AB)=tr⁡H(BA) for compatible rectangular maps A:H→K, B:K→H.

[F9]

The trace pairing on a finite endomorphism space is nondegenerate: if tr⁡H(AX)=0 for every X∈L(H), then A=0.

Proof

1.1givenF1F2F3choose

For each a∈Ω, [F1] makes Ia completely positive, so [F2] supplies a finite family (Ma,j)j 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.

2.1givenstep 1.1F1F3F4algebra

Define Φ=∑a∈ΩIa. 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 ∑a,jMa,j†Ma,j=IH.

3.1givenstep 2.1F5F6F7algebra

For each outcome define Ea=∑jMa,j†Ma,j. By [F5], each summand is self-adjoint and ⟨Ma,j†Ma,jx,x⟩=⟨Ma,jx,Ma,jx⟩≥0. Thus each Ea is non-negative by [F6]. Step 2.1 gives ∑aEa=IH, so (Ea) is a finite POVM by [F7].

4.1givenstep 1.1step 3.1F3F8algebra

For every X∈L(H), the Kraus formula [F3], trace linearity, and rectangular cyclicity [F8] give tr⁡K(Ia(X))=∑jtr⁡K(Ma,jXMa,j†)=∑jtr⁡H(XMa,j†Ma,j)=tr⁡H(XEa). This proves the displayed outcome-law identity for every density operator as well.

5.1givenstep 4.1F8F9algebra∎

If another family Ea′ has the same identity for every X, then tr⁡H(X(Ea−Ea′))=0 for all X. By [F8], this equals tr⁡H((Ea−Ea′)X); [F9] implies Ea−Ea′=0. This holds for each a, so the induced POVM is unique.

DefinitionDefinition: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

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 (Ia)a∈Ω as in Finite instruments and conditional states. For an input density operator ρ, its unnormalized branch output is τa=Ia(ρ) and its branch weight is pa=tr⁡(τa). 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 Ea satisfying pa=tr⁡(ρEa). A conditional output is assigned only when pa>0, using the rule in Finite instruments and conditional states; when pa=0 the value is ⊥.

A finite classical controller may retain the observed history a and select a specified finite unitary suffix Sa on the quantum data. Its branch map is X↦SaIa(X)Sa†. The index a is the observed outcome; any Kraus index used to represent Ia is an unobserved environment label and is not stored as classical data.

A finite measurement history tree for a circuit on the fixed register D=Qn is a finite rooted tree whose internal node h carries a finite nonempty outcome set Ωh and an instrument (Iah)a∈Ωh from D to D. The edge from h to its child ha carries a specified finite unitary Sh,a:D→D; its branch map is X↦Sh,aIah(X)Sh,a†. Leaves may carry a specified finite terminal POVM on D. 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 (ea)a∈Ω of the finite label register Q∣Ω∣. On the orthogonal decomposition Q∣Ω∣⊗K=⨁a∈Ω(span⁡{ea}⊗K), define the mathematical block operator by B ⁣(∑a∈Ωea⊗xa):=∑a∈Ωea⊗Saxa. Its control availability is part of the operation model. In the one-bit case, Controlled Unitary Access specifies the exact access meaning of C(U); an ordinary black-box call to U 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 (Sa)a∈Ω.

[F1]

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.

[F2]

Instrument outcome weights normalize: for every density input, the branch weights form a finite probability distribution.

[F3]

Every finite instrument induces a unique POVM: there is a unique POVM (Ea) with tr⁡(Ia(X))=tr⁡(XEa) for every input operator X.

[F4]

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.

[F5]

Controlled Unitary Access: controlled access is an explicit operation capability and is not inferred from a matrix for U.

Proof

1.1givenF4construct

Put m=∣Ω∣≥1 and write an arbitrary vector of Qm⊗K uniquely as ∑a∈Ωea⊗xa. The block formula sends it to ∑aea⊗Saxa; orthogonality of the ea makes distinct label blocks orthogonal.

1.2givenF1F2F3

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.

2.1givenstep 1.1algebra

For vectors ∑aea⊗xa and ∑aea⊗ya, the product inner product gives ⟨Bx,By⟩=∑a⟨Saxa,Saya⟩=∑a⟨xa,ya⟩=⟨x,y⟩. The block map with Sa† in each block is its two-sided inverse, so B is a surjective isometry.

3.1F5step 2.1∎

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.

DefinitionDefinition: Literature-sourcedProof: AI-adaptedOpen item page →

Finite circuit resource accounting

Definition

Fix a finite gate alphabet G with maximum arity k:=max⁡({r(g):g∈G}∪{0}) and a circuit from Finite circuit syntax and ordered wire labels. The declared size is the number of gate occurrences, equivalently ∑t=1d∣Lt∣; the declared depth is the number d of explicit layers, not a minimum over alternate layerings; the width is the number n 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 U is the implemented unitary, VD is the declared data unitary, and ∣0A⟩ is the specified joint zero vector, then U(x⊗∣0A⟩)=VDx⊗∣0A⟩ for every allowed data vector x. 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 VD⊗IA on the entire joint space, where VD 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 U 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.

[F1]

Finite circuit syntax and ordered wire labels: a circuit is a finite ordered list of explicit layers, each a finite list of gate occurrences.

[F2]

Controlled Unitary Access: controlled access is an explicitly granted capability.

[F3]

Inverse Unitary Access: inverse access is explicitly granted and charged separately from forward access.

Proof

1.1givenF1algebra

Flattening the layer lists gives a finite list containing each gate occurrence exactly once by the circuit syntax. Its length is ∑t∣Lt∣, so the size definition counts exactly the occurrences in the circuit.

2.1step 1.1F1algebra

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.

3.1givenF2F3∎

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.

DefinitionDefinition: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

The outcome law and outputs of a measured circuit

Definition

For a finite instrument (Ia)a∈Ω and input density operator ρ, define the unnormalized branch output τa:=Ia(ρ) and probability pa:=tr⁡(τa). The family (pa)a∈Ω is a probability distribution by Instrument outcome weights normalize. Its uniquely induced POVM (Ea) satisfies pa=tr⁡(ρEa) 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 τa/pa when pa>0 and is ⊥ when pa=0, exactly as specified by Finite instruments and conditional states. No normalized state is assigned to a zero-probability branch. A Kraus representation Ia(X)=∑jMa,jXMa,j† is only a representation of the observed branch map: a is the outcome and j is not an additional observed outcome.

Facts & Assumptions

Given: A finite instrument, a density operator ρ on its input space, and its finite outcome set Ω.

[F1]

Finite instruments and conditional states: τa=Ia(ρ), pa=tr⁡(τa), and a conditional output is assigned only for pa>0.

[F2]

Instrument outcome weights normalize: the weights pa are nonnegative and sum to one.

[F3]

Every finite instrument induces a unique POVM: each branch weight equals the induced POVM weight tr⁡(ρEa).

[F4]

Finite POVMs and their outcome law: a POVM assigns weights tr⁡(ρEa) and does not specify a conditional output state.

Proof

1.1givenF1

The branch output is the unnormalized operator τa=Ia(ρ), and its trace is the branch weight pa, by [F1].

1.2givenF2F3F4

The weights form a finite probability law by [F2], and the same law is tr⁡(ρEa) by [F3] and [F4]. This establishes consistency of the instrument and POVM descriptions.

2.1givenF1step 1.2∎

If pa>0, the conditional output is defined by division by that positive scalar; if pa=0, [F1] assigns ⊥ and no division is made. The finite Kraus index remains internal to Ia and is not part of Ω.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Reversing a circuit implements its inverse

Statement

Let C 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 C−1 has UC−1=UC†=UC−1. It has the same number of gate occurrences as C; inverse calls retain their separately declared access cost.

Facts & Assumptions

Given: A finite layered unitary circuit C and explicit inverse access to every gate occurrence.

[F1]

Denotational semantics of a finite layered circuit: if the chronological layer maps are UL1,…,ULd, then UC=ULd⋯UL1.

[F2]

Inverse Unitary Access: inverse access supplies U†=U−1 as an explicitly declared operation, with its own charge.

[F3]

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.

[F5]

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

1.1givenF1F4algebra

Enumerate one layer as Lt=(g1,…,gs). By [F1] its denotation is U~gs⋯U~g1, so [F4] gives its adjoint U~g1†⋯U~gs†.

2.1givenstep 1.1F1F2F3F5algebra

For each occurrence, its global embedding T=U~gj is unitary by [F1]. The inverse T−1=T† acts on each ordered product basis vector by applying Ugj−1=Ugj† to the selected factors and leaving every complement factor fixed: applying T to that result returns the original vector. The legal local-adjoint embedding has the same action, so uniqueness in [F5] identifies it with T†. 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].

2.2givenF1F2F4step 1.1algebra

By [F1], the whole circuit is ULd⋯UL1. Repeated use of [F4] yields UC†=UL1†⋯ULd†, which acts by executing the inverse of Ld first and the inverse of L1 last. Since each layer is unitary, UC†UC=UCUC†=I, so UC†=UC−1 and it is the denotation of the reversed circuit.

3.1F1F3algebra∎

If d=0, both circuits are empty and denote the identity; the occurrence count is zero on both sides by [F3].

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Finite instruments can be coherently deferred

Statement

Let (Ia)a∈Ω be a finite instrument from a nonzero finite-dimensional complex inner-product space H to a finite-dimensional complex inner-product space K, with finite nonempty observed outcome set Ω. After observing a, suppose the circuit applies a specified finite unitary suffix Sa on K. For every finite-dimensional complex inner-product reference space R and every input operator X∈L(H⊗R), the measured circuit's unnormalized branch on K⊗R is Ja(R)(X):=(Sa⊗IR)(Ia(R)(X))(Sa†⊗IR), where, after choosing an ordered orthonormal basis of R, Ia(R) denotes the finite ancillary block amplification on L(H⊗R): if X=[Xkl], then Ia(R)(X)=[Ia(Xkl)]. This is the block extension in the complete-positivity definition. The coherent construction retains the observed label register until terminal readout. Its outcome-a branch, after tracing out the hidden Kraus and padding registers but retaining the label, is Ja(R)(X)⊗∣ea⟩⟨ea∣ on K⊗R 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 R. 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 R.

[F1]

A finite instrument has an isometric coherent record: there are common-length finite branch Kraus families Ma,j with ∑a,jMa,j†Ma,j=IH and an isometry Vx=∑a,jMa,jx⊗ea⊗fj whose observed-label branch recovers Ia after the hidden record is traced.

[F2]

A finite isometry extends after finite ancilla padding: after finite ancilla padding, an isometry V:H→K⊗E is the restriction of a surjective isometry W on equal-dimensional input and output registers with a fixed zero ancilla.

[F3]

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.

[F4]

Completely positive maps: for each finite reference register R=Cr, the amplified map sends a block matrix [Xkl] to the block matrix [Ia(Xkl)].

[F5]

Finite Kraus representation: a finite family (Ma,j)j represents Ia when Ia(Y)=∑jMa,jYMa,j† for every Y∈L(H).

[F6]

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 (M⊗IR)†=M†⊗IR.

[F7]

Ordered tensor registers, their inner product, and wire permutations: factor permutations are defined on the ordered product basis and preserve the product inner product.

[F8]

Partial trace over a finite tensor factor: tracing a finite register factor sums its diagonal basis coordinates.

[F9]

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.

[F10]

Finite-dimensional vector space, and its dimension dim⁡FV; infinite-dimensional means having no finite basis and Every finite-dimensional real or complex inner product space has an orthonormal basis: every finite-dimensional R has dimension r≥0 and an ordered orthonormal basis of that length; dimension zero means R=0.

[F11]

Dirac Notation Conversion: ∣ea⟩⟨ea∣ is the rank-one map z↦⟨z,ea⟩ea for a unit label vector ea.

[F12]

A finite instrument with nonzero input has nonzero output space: a finite instrument from nonzero H has nonzero output space K, as required by the finite unitary-extension lemma.

[F13]

The computational basis is orthonormal: every specified computational basis vector of a positive-level register has norm one.

Proof

1.1givenF1F2F12construct

By [F12], K is nonzero. By [F1], choose finite branch Kraus families, pad them to a common positive length, and form the coherent record isometry V:H→K⊗E. By [F2], pad the input by a finite clean register and extend V to a surjective isometry W satisfying W(x⊗a0)=Vx⊗b0.

1.2givenF3F7construct

Reorder K⊗E so the observed label register is first, followed by K, 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 K, acting identically on the hidden register, padding register, and reference, then undo the permutation. On the label-a subspace this applies Sa and leaves the two environment registers unchanged.

2.1step 1.1F6algebra

Let Jx=x⊗a0 be the input-padding inclusion. Checking on each elementary vector x⊗r gives (W⊗IR)(J⊗IR)(x⊗r)=Vx⊗b0⊗r; these vectors span, and [F6] makes the tensor extensions well-defined. Hence the inclusion maps agree on all vectors, and conjugating any operator X by them gives the corresponding equality of extended output operators. This remains true for vectors and operators entangled across H and R.

2.2givenstep 1.1F4F5F6F10choose

Put r=dim⁡R. If r=0, [F10] gives R=0, hence X=0 and the amplification identity is immediate. Otherwise choose an ordered orthonormal basis (ck)k<r of R by [F10] and use it to identify the reference with Cr. Write X=[Xkl] in blocks. By [F4], block (k,l) of Ia(R)(X) is Ia(Xkl)=∑jMa,jXklMa,j† by [F5]. By [F6], the same is block (k,l) of ∑j(Ma,j⊗IR)X(Ma,j†⊗IR). Equality of all blocks proves this finite-Kraus formula for every X.

3.1step 1.1step 2.1step 2.2step 1.2F1F5F6F8F11F13algebra

For each a, the observed-label projection keeps only the terms with label a 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 j, and [F13] gives ⟨b0,b0⟩=1 for the returned padding. The label factor is ∣ea⟩⟨ea∣ by [F11]. Thus, after canonical factor permutation, the label-resolved branch operator is (∑j(SaMa,j⊗IR)X(SaMa,j⊗IR)†)⊗∣ea⟩⟨ea∣=(Sa⊗IR)Ia(R)(X)(Sa†⊗IR)⊗∣ea⟩⟨ea∣. This equals Ja(R)(X)⊗∣ea⟩⟨ea∣ by step 2.1 and step 2.2 and [F6]. Taking the partial trace of the label factor gives exactly Ja(R)(X) because ea is unit by [F13].

4.1givenstep 3.1F9algebra∎

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 X on H⊗R preserves all reference correlations. The finite-dimensional operator construction asserts no additional implementation or cost.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

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 (Fzh)z∈Z for a common finite nonempty outcome set Z at each leaf h. 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 h and the leaf's terminal outcome z 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 R and every operator X on the root data and R, the unnormalized data-reference branch operator at each complete history h 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.

[F1]

Finite measurement branches and classical control: a finite history tree has finitely many observed outcomes at each internal node, branch maps X↦Sh,aIah(X)Sh,a†, and orthogonal records contain only observed labels.

[F2]

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.

[F3]

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.

[F4]

Finite POVMs and their outcome law: a finite POVM assigns outcome weight tr⁡(ρFz) to density operator ρ.

[F5]

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

1.1givenF1F4base

Give a finite history tree height 0 when its root is a leaf; otherwise give it height one plus the maximum height of its finitely many child subtrees. For height 0, 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 0.

1.2givenF1F2ih

Let the root be internal and suppose the invariant holds for all trees of height at most k. For each root outcome a, [F2] replaces the root instrument and its edge unitary Sh,a by a coherent record with the same unnormalized operator Ya on the child input and the reference, for every input operator X, while retaining a separate orthogonal label register ea. The outcome set is finite by [F1].

2.1step 1.2F1F2ihalgebra

Each child subtree has height at most k, so apply the induction hypothesis to its input operator Ya 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.

3.1step 1.1step 2.1F5discharge-induction

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.

4.1step 3.1F3F4algebradischarge-induction: step 3.1∎

For a leaf history h and terminal outcome z, apply the same effect Fzh⊗IR 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 h 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 R 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