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.

Graph States and Measurement-Based Computation

1 · Prerequisites

2 · Summary

This page defines finite graph states over ordered qubit registers and gives their computational-basis and stabilizer descriptions. It formalizes open-graph measurement patterns, exact branch maps, outcome probabilities, zero-probability transcripts, and Pauli-frame corrections. A one-bit teleportation identity and a four-branch CZ gadget support a branchwise circuit-to-pattern construction. The construction normalizes mixed circuit layers explicitly, records global phases, and proves the graph and resource bounds. An exact finite QSD recursion supplies a J/CZ representative for every unitary channel on an ordered n-qubit register, including the one-dimensional n=0 case; it makes no gate-count or finite-bit synthesis claim. Equivalence is stated at the level of transcript probabilities and corrected output channels; no physical preparation claim is used.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Binary adjacency matrix of an ordered finite simple graph

Definition

Let G=(V,E) be a finite simple graph with a fixed order V=(v0,…,vn−1). Put F2:=Z/2Z; the field law follows from For every prime p, the two operations on Z/p make it a field at p=2, and this field has order two by Finite fields and their order. Define the binary adjacency matrix A2(G)∈Mn(F2) by

(A2(G))jk={1,{vj,vk}∈E,0,{vj,vk}∉E.

The indices use the ordered bit coordinates of Big-endian encoding of ordered bit strings. Since edges are unordered pairs of distinct vertices, A2(G) is symmetric and has zero diagonal. This is a matrix over F2, using Finite rectangular matrices over a commutative ring, their entries, rows and columns; it is not the root library's real-valued adjacency matrix. When V=∅, A2(G) is the unique 0×0 matrix.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

J gate and ordered equatorial measurement vectors

Definition

For α∈R, let Pα=diag⁡(1,eiα) and J(α)=HPα, with H and the exact one-qubit gate convention from Exact one-qubit gates and rotations. Define the ordered measurement vectors

∣b⟩α:=J(α)†∣b⟩,b∈{0,1},

where ∣0⟩,∣1⟩ are the ordered computational basis vectors. The adjoint and complex inner product use the root convention translated by Dirac Notation Conversion. The global phase in J(α) is fixed by the displayed matrix product; it is not suppressed.

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

J-gate basis and exact phase identities

Statement

For every α,β∈R, J(α) is unitary and {∣0⟩α,∣1⟩α} is an orthonormal basis. The exact identities

J(0)=H,J(0)2=I,J(−β)X=e−iβZJ(β),J(π/2)3=eiπ/4I

hold in the fixed phase convention.

Facts & Assumptions

Given: Pα=diag⁡(1,eiα), J(α)=HPα, and ∣b⟩α=J(α)†∣b⟩.

[F1]

The current QC07 draft defines H=2−1/2(111−1) and X=(0110) in the ordered computational basis (Exact one-qubit gates and rotations). Its complete definition and verification were inspected.

[F2]

The J-gate definition fixes Pα=diag⁡(1,eiα), J(α)=HPα, and ∣b⟩α=J(α)†∣b⟩ (J gate and ordered equatorial measurement vectors).

Proof

1.1givenF1F2algebra

Since ∣eiα∣=1, Pα†Pα=I. Direct multiplication from [F1] gives H†=H and H2=I, so [F2] gives J(α)†J(α)=Pα†H†HPα=I. Hence J(α)† maps the orthonormal computational basis to an orthonormal basis.

1.2F1F2algebra

Substituting α=0 in [F2] gives J(0)=H, and therefore J(0)2=H2=I. Matrix multiplication using [F1] and [F2] gives J(−β)X=12(e−iβ1−e−iβ1) and e−iβZJ(β)=12(e−iβ1−e−iβ1), proving the exact phase identity.

2.1F1F2algebra∎

From [F1] and [F2], J(π/2)=12(1i1−i). Multiplying this matrix three times gives J(π/2)3=1+i2I=eiπ/4I. This phase will be retained in the transport normalization.

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

Graph state of an ordered finite simple graph

Definition

Let G=(V,E) be a finite simple graph with a fixed vertex order. Let HV=⨂v∈VC2 use that order and its ordered computational basis, as in Finite registers and their ordered computational bases, Big-endian encoding of ordered bit strings, and Ordered tensor registers, their inner product, and wire permutations. For each edge {u,v} let CZuv be the unique full-register local embedding from A local gate has a unique global wire embedding of the controlled phase gate with angle π from Controlled Phase Rotation. Order the endpoints so that u precedes v in the fixed vertex order; the embedded two-qubit matrix is diag⁡(1,1,1,−1) in the ordered pair basis ∣00⟩,∣01⟩,∣10⟩,∣11⟩, and every other tensor factor acts as the identity. Thus the two local factors have the same order as the edge endpoints, within the full register ordered by V. Order the finite edge set lexicographically by its ordered endpoint indices and define

∣G⟩:=(∏{u,v}∈ElexCZuv)∣+⟩⊗V,∣+⟩=2−1/2(∣0⟩+∣1⟩).

The lexicographic order makes the product a specified finite composition. If V=∅, the tensor product and empty product act on the one-dimensional trivial register and ∣G⟩ is its unit vector.

Remarks

The separate result Controlled-Z edge gates commute proves that this vector is independent of edge order.

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

Controlled-Z matching action on a Pauli frame

Statement

Let n≥0 and let M be a matching, meaning a set of pairwise disjoint two-element subsets of the ordered wire set {1,…,n}. Give the graph GM=({1,…,n},M) the vertex order 1,…,n, so vertex j is coordinate j (position j−1 in the zero-based vertex list) of its binary adjacency matrix. Let AM:=A2(GM)∈Mn(F2) from Binary adjacency matrix of an ordered finite simple graph, so (AM)jk=1 exactly when {j,k}∈M. For x,z∈F2n, all coordinates use this wire order, and binary dot products mean a⋅b:=∑j=1najbj in F2. Define qM(x):=∑{j,k}∈Mxjxk∈F2. For n≥1, put P(x,z):=XxZz=P(0,x,z) as in Phase aware n qubit pauli group. For n=0, the unique empty vectors satisfy Xx=Zz=IC and we define P(x,z)=IC; the register is the empty tensor product from Ordered tensor registers, their inner product, and wire permutations. With CZM:=∏{j,k}∈MCZjk,

CZMP(x,z)=(−1)qM(x)P(x,z⊕AMx)CZM.

For the empty wire set or empty matching the sum is zero and the formula is the identity.

Facts & Assumptions

Given: A finite ordered set of n qubits, a matching M, and binary vectors x,z∈F2n.

[F1]

The angle-π controlled phase acts on ∣yjyk⟩ by (−1)yjyk (Controlled Phase Rotation).

[F2]

AM is symmetric with zero diagonal and records precisely the matching edges (Binary adjacency matrix of an ordered finite simple graph).

[F3]

For n≥1, the Pauli frame convention is P(x,z)=P(0,x,z)=XxZz on the ordered register (Phase aware n qubit pauli group). The n=0 identity convention is specified in the Statement.

[F4]

The zero-wire tensor register is C with basis {1}, and the product basis spans each finite ordered register (Ordered tensor registers, their inner product, and wire permutations).

Proof

1.1F1F2algebra

For y∈F2n, write qM(y)=∑{j,k}∈Myjyk. By [F1], CZM∣y⟩=(−1)qM(y)∣y⟩. Expanding each edge term over F2 gives the cross term ∑{j,k}∈M(yjxk+xjyk). By the stated coordinate order and dot-product convention, (AMx)j=∑k:{j,k}∈Mxk, so this cross term is exactly (AMx)⋅y. Hence qM(y⊕x)=qM(y)+qM(x)+(AMx)⋅y.

2.1step 1.1F3F4algebracases∎

Applying the left side of the claimed identity to ∣y⟩ gives (−1)z⋅y+qM(y⊕x)∣y⊕x⟩. Applying the right side gives (−1)qM(x)+qM(y)+(z⊕AMx)⋅y∣y⊕x⟩; step 1.1 makes these signs equal. The ordered computational basis spans the register, so the operators agree. When n=0 or M=∅, every sum is empty and both sides are the identity frame relation by [F3]--[F4].

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Normalized transport schedule for a J/CZ circuit

Definition

Let C be a finite n-wire circuit over the J(α) and CZ gates, with chronological layers L1,…,Ld and source wire labels 0,…,n−1 as in Finite circuit syntax and ordered wire labels. Schedule index j∈{1,…,n} denotes source wire j−1. For each source layer Lr, let Mr be the matching of its CZ occurrences after reindexing a source pair {u,v} as {u+1,v+1}, and let Jr⊆{1,…,n} be the indices carrying one-qubit gates J(αrj). The source layer has pairwise disjoint gate supports by Finite circuit syntax and ordered wire labels, so no J gate in Jr meets an edge of Mr. By Gates on disjoint wires commute, its denotation may be written with the CZ matching first and then at most one J(αrj) per schedule index j. The normalized transport schedule T(C) is the finite chronological list of rounds (Ms,(αs1,…,αsn)) and the scalar σC defined as follows. A round applies its matching first and then one J gate on each wire. Define σC=∏r:0<∣Jr∣<neiπ(n−∣Jr∣)/4. The round list is the concatenation, in source-layer order, of the blocks specified by the first matching case below; the empty product is 1. This order makes the zero-wire empty-layer case unambiguous:

  1. If Jr=∅ and Mr=∅, the block is empty.
  2. If n≥1 and Jr={1,…,n}, the block consists of one round with matching Mr and the original angles αrj.
  3. If Jr=∅ and Mr≠∅, the block consists of two rounds: the first has matching Mr and angle 0 on every wire; the second has no matching and angle 0 on every wire.
  4. If 0<∣Jr∣<n, the block consists of three rounds. The first has matching Mr, angle αrj on active wires j∈Jr, and angle π/2 on idle wires. The next two have no matching, angle 0 on active wires, and angle π/2 on idle wires. The factor for this mixed layer is included in the displayed product defining σC.

The rounds are numbered s=1,…,R in concatenation order. Their schedule indices continue to denote the corresponding source wires j−1. Angles at indices without an original J gate are padding angles. For a mixed layer, the active-wire product is J(0)J(0)J(α)=J(α) and each idle wire contributes J(π/2)3=eiπ/4I; the scalar is therefore recorded in σC rather than suppressed. The no-J matching case has two J(0)=H transports, whose product is I. No claim about the transport graph's simplicity is part of this definition.

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

One-bit J-gate teleportation branch identity

Statement

For a normalized qubit ∣ψ⟩=a∣0⟩+c∣1⟩ and real α, prepare CZ(∣ψ⟩⊗∣+⟩) and project the first qubit in the ordered basis {∣b⟩α:b=0,1} of J gate and ordered equatorial measurement vectors. The outcome-b branch operator on the second qubit is

Kb=2−1/2XbJ(α).

Thus each outcome has probability 1/2 and the normalized output is XbJ(α)∣ψ⟩. The operator identity is linear and therefore also holds when the input qubit is entangled with a finite-dimensional reference register.

Facts & Assumptions

Given: A normalized qubit ∣ψ⟩=a∣0⟩+c∣1⟩, a fresh ∣+⟩ ancilla, and a real angle α.

[F1]

The J-gate definition sets ∣b⟩α=J(α)†∣b⟩; its identity lemma gives ∣b⟩α=2−1/2(∣0⟩+(−1)be−iα∣1⟩) and proves the pair is orthonormal (J gate and ordered equatorial measurement vectors, J-gate basis and exact phase identities).

[F2]

A finite projective measurement assigns each orthogonal projection its Born outcome weight (Finite projective measurements).

[F3]

A unit representative ψ gives the density operator ∣ψ⟩⟨ψ∣; it is nonnegative with trace one. The outer product has coordinate matrix uu† (Pure state and ray, Ray-to-projector is well-defined and bijective, Density operator, Dirac Notation Conversion, Dirac Notation Coordinate Identity).

[F5]

The same two rank-one projectors are a finite POVM with weights tr⁡(∣Ψ⟩⟨Ψ∣Πb) (Finite POVMs and their outcome law).

[F6]

For an instrument branch map Ib, its conditional state is Ib(ρ)/pb only when pb>0 (Finite instruments and conditional states).

[F7]

The current matrix definitions give X=(0110), H=2−1/2(111−1), CZ=diag⁡(1,1,1,−1), and J(α)=Hdiag⁡(1,eiα) (The Pauli matrices, Controlled Phase Rotation, Exact one-qubit gates and rotations, J gate and ordered equatorial measurement vectors). Direct multiplication gives CZ∗CZ=I.

[F8]

Tensoring equal linear maps with the identity preserves their equality on the ordered product register (Tensor products of finitely many linear maps).

[F9]

The computational basis of C2 is orthonormal, so ∣+⟩=2−1/2(∣0⟩+∣1⟩) is a unit vector (Finite registers and their ordered computational bases, The computational basis is orthonormal).

Proof

1.1F1F7F9algebra

The prepared state expands as 2−1/2(a∣00⟩+a∣01⟩+c∣10⟩−c∣11⟩): expand ∣ψ⟩⊗∣+⟩, and the diagonal CZ changes only the ∣11⟩ coefficient's sign by [F7] and [F9]. Projecting the first factor onto ∣b⟩α leaves the second-factor vector Kb∣ψ⟩=12((a+(−1)beiαc)∣0⟩+(a−(−1)beiαc)∣1⟩), by [F1]. Matrix multiplication from [F7] gives J(α)∣ψ⟩=2−1/2((a+eiαc)∣0⟩+(a−eiαc)∣1⟩). For b=0 these coefficients agree; for b=1, X swaps them. Thus Kb=2−1/2XbJ(α).

2.1step 1.1F1F2F3F4F5F7F9algebra

Let Ψ=CZ(∣ψ⟩⊗∣+⟩) and Πb=∣b⟩α⟨b∣⊗I. The vector Ψ is normalized because ∣ψ⟩ and ∣+⟩ are unit, and direct multiplication of the displayed diagonal CZ matrix gives CZ∗CZ=I by [F7] and [F9]. The branch vector is ΠbΨ=∣b⟩α⊗Kb∣ψ⟩ by step 1.1 and the unit norm of ∣b⟩α from [F1]. The projective outcome law [F2] gives pb=tr⁡(∣Ψ⟩⟨Ψ∣Πb); [F5] gives the same law as a POVM. Since Πb∗=Πb=Πb2, trace cyclicity [F4] and the rank-one coordinate formula [F3] give pb=tr⁡(∣ΠbΨ⟩⟨ΠbΨ∣)=∥ΠbΨ∥2=∥Kb∣ψ⟩∥2. Direct multiplication of the displayed X matrix in [F7] gives X∗X=I, and J-gate basis and exact phase identities proves J(α) is unitary, so ∥Kb∣ψ⟩∥2=12∥XbJ(α)∣ψ⟩∥2=12∥ψ∥2=1/2. Thus the branch is positive-probability and normalization is defined.

3.1step 1.1step 2.1F6F8algebra∎

Dividing the branch vector in step 1.1 by its norm 1/2 yields XbJ(α)∣ψ⟩; equivalently, the instrument conditional density from [F6] is the rank-one operator of this normalized vector. The map identity in step 1.1 remains an identity after tensoring with the identity on any finite reference register by [F8], so it also holds for entangled inputs.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Exact Gray-code synthesis of multiplexed y- and z-axis rotations

Statement

For k≥0 controls and real angles θx indexed by x∈{0,1}k, let Ma=∑x∈{0,1}k∣x⟩⟨x∣⊗Ra(θx),a∈{y,z}, where Ry(θ)=R(0,1,0)(θ) and Rz(θ)=R(0,0,1)(θ) use the exact exponential convention of Exact one-qubit gates and rotations. There is an exact finite circuit for Ma on the same k+1 wires, using arbitrary one-qubit rotations and CNOT gates and no ancillas. For k=0 it is one rotation and no CNOT; for k>0 it uses 2k target rotations and 2k CNOTs. The circuit uses exact real angle labels; no finite-bit encoding or synthesis-time bound is asserted.

Facts & Assumptions

Given: A finite ordered control register, one target qubit, real angles θx, and the specified exact y- or z-axis rotation family.

[F1]

The exact one-qubit convention is Rn(t)=exp⁡(−it n⋅σ/2); X,Y,Z are the displayed Pauli matrices. Thus Ry(t)=(cos⁡(t/2)−sin⁡(t/2)sin⁡(t/2)cos⁡(t/2)),Rz(t)=diag⁡(e−it/2,eit/2). (Exact one-qubit gates and rotations, The Pauli matrices, Pauli formula for an axis rotation)

[F2]

A CNOT with control wire r and target wire t maps a basis word by t↦t⊕r; circuit products follow the chronological gate order (CNOT and Control-Target Order, Denotational semantics of a finite layered circuit).

[F3]

The finite product basis is indexed by ordered bitstrings, and gates may be embedded on a specified ordered list of distinct wires (Big-endian encoding of ordered bit strings, Ordered tensor registers, their inner product, and wire permutations, Finite circuit syntax and ordered wire labels, A local gate has a unique global wire embedding).

[F4]

The operation count is the number of occurrences from the declared finite gate alphabet; for each fixed instance, the finitely many exact rotation matrices and CNOT may be listed as that alphabet (Finite circuit resource accounting, Finite circuit syntax and ordered wire labels).

Proof

1.1givenF3constructalgebra

For k>0, put m=2k and, for 0≤j<m, write j as a k-bit word and set pj=j⊕⌊j/2⌋. In the arithmetic on these masks, bit r=0 is the least significant bit and controls are assigned to wires in reverse display order, as allowed by [F3]. In this proof, a control word x is written in that same least-significant-first order, so it denotes the displayed register word (xk−1,…,x0) and θx is the angle assigned to that displayed word; this is only a fixed reindexing of the finite branch set. The map is bijective: from pk−1=jk−1 and pr=jr+1⊕jr one recovers the bits jr in descending order. Consecutive words pj−1,pj differ in exactly one coordinate: incrementing j−1 flips its trailing ones and the first zero, so in the Gray word all changed adjacent-bit XORs cancel except the bit at position ν2(j), where ν2(j) is the largest r such that 2r divides j. Also p0=0 and pm−1=10⋯0, so the return from pm−1 to p0 changes one coordinate. Thus these words give a cyclic Gray traversal of all masks.

2.1givenstep 1.1algebra

Set βj:=2−k∑y∈{0,1}k(−1)pj⋅yθy. For each fixed x, bijectivity of j↦pj gives ∑j=0m−1(−1)pj⋅xβj=2−k∑yθy∑p∈{0,1}k(−1)p⋅(x⊕y)=θx. Indeed, the inner sum factors as ∏r=0k−1(1+(−1)xr⊕yr), equal to 2k when x=y and zero otherwise.

3.1F1F2F3F4step 2.1algebracases∎

Write δj=pj−1⊕pj for 1≤j<m, and δm=pm−1⊕p0 for the return toggle. For a fixed control word x, the circuit matrix on the target is Xδm⋅xRa(βm−1)Xδm−1⋅xRa(βm−2)⋯Ra(β1)Xδ1⋅xRa(β0). The target-flip parity before rotation j is pj⋅x. Direct multiplication of the matrices in [F1] gives, for both a=y,z, XRa(t)X=Ra(−t) and Ra(s)Ra(t)=Ra(s+t). Moving each X factor leftward through the preceding rotations gives angle sign (−1)(δj+1⊕⋯⊕δm)⋅x=(−1)pj⋅x on Ra(βj), because the cyclic toggle sum is zero and pm=p0=0. No X remains at the end. The rotations then combine to Ra(∑j(−1)pj⋅xβj)=Ra(θx) by step 2.1. The circuit consequently agrees with Ma on every control basis subspace, and linearity gives equality on the whole register. It has m rotations and m CNOTs. For k=0 the sole term is Ra(θ∅) and needs no CNOT.

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

Computational-basis amplitudes of a graph state

Statement

Let G=(V,E) be an ordered finite simple graph with n=∣V∣. In the ordered computational basis indexed by x∈F2V,

∣G⟩=2−n/2∑x∈F2V(−1)∑{u,v}∈Exuxv∣x⟩,

where the exponent is evaluated as an integer and only its parity affects the sign.

Facts & Assumptions

Given: The edge-product definition of ∣G⟩ on the ordered register.

[F1]

The graph-state definition gives the ordered finite register, computational basis, and finite edge-gate product (Graph state of an ordered finite simple graph, Big-endian encoding of ordered bit strings, Ordered tensor registers, their inner product, and wire permutations).

[F2]

The controlled-phase definition gives CZ∣xuxv⟩=(−1)xuxv∣xuxv⟩ at angle π (Controlled Phase Rotation).

Proof

1.1F1algebra

Tensoring ∣+⟩=2−1/2(∣0⟩+∣1⟩) over the ordered finite vertex set gives ∣+⟩⊗V=2−n/2∑x∈F2V∣x⟩. For n=0 this is the single empty tuple with coefficient one.

1.2F1F2algebra

By [F2], applying CZuv to a basis vector ∣x⟩ multiplies it by (−1)xuxv and leaves its basis label unchanged. Thus the lexicographically ordered edge product multiplies ∣x⟩ by the product of these signs over all edges.

2.1step 1.1step 1.2algebra∎

Multiplying the signs gives (−1)∑{u,v}∈Exuxv, so substituting the expansion from step 1.1 into the graph-state definition proves the formula, including the empty-edge and empty-vertex cases.

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

Controlled-Z edge gates commute

Statement

For any two edges e,f of a finite simple graph on an ordered qubit register, the embedded operators CZe and CZf commute. Consequently the finite graph-state edge product is independent of the ordering of its edges.

Facts & Assumptions

Given: A finite ordered vertex set and the diagonal gate CZ∣xuxv⟩=(−1)xuxv∣xuxv⟩ on each edge pair.

[F1]

The controlled-phase definition gives the angle-π diagonal gate CZ∣xuxv⟩=(−1)xuxv∣xuxv⟩, and the graph-state definition embeds one such gate per finite edge (Controlled Phase Rotation, Graph state of an ordered finite simple graph).

Proof

1.1F1given

Fix any computational-basis string x∈F2V. By [F1], CZ{u,v} multiplies ∣x⟩ by the scalar (−1)xuxv and does not change x.

2.1step 1.1givenalgebra

For edges e={u,v} and f={r,s}, the two compositions CZeCZf and CZfCZe therefore both multiply each ∣x⟩ by (−1)xuxv+xrxs. The computational-basis vectors span the finite register, so the operators are equal. This covers disjoint edges and edges sharing one endpoint.

3.1step 2.1F1algebra∎

Any two orderings of a finite edge set differ by finitely many adjacent transpositions. Each adjacent transposition preserves the product by step 2.1, so all edge orders give the same graph-state vector; the empty edge set is the identity product.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Finite open-graph adaptive measurement pattern

Definition

An open-graph adaptive measurement pattern consists of an ordered finite simple graph G=(V,E), input and output subsets I,O⊆V, an ordering m1,…,mq of M:=V∖O, basis-choice functions αj:{0,1}j−1→R, and a terminal correction function C:{0,1}q→U(HO). For each subset S⊆V, write HS:=⨂v∈SC2 in inherited vertex order, with H∅=C. The tensor register HV and all wire permutations use the fixed vertex order. Let ΠI,V∖I:HV→HI⊗HV∖I be the wire permutation listing I first and then V∖I, each in inherited order. Let a+:C→C2 be the linear map c↦c∣+⟩, and let a+,V∖I:=⨂v∈V∖Ia+ in inherited order. Using the empty-tensor identifications, define the ordered input map ιI:=ΠI,V∖I−1(IHI⊗a+,V∖I):HI→HV. Thus the input is unchanged and each complementary vertex receives ∣+⟩. Apply UG:=∏{u,v}∈ElexCZuv. At step j, after transcript prefix b1,…,bj−1, measure vertex mj in the ordered basis {∣bj⟩αj(b<j):bj∈{0,1}} from J gate and ordered equatorial measurement vectors. The measured systems are removed and the vertices in O are retained in their inherited order.

Let ΠM,O be the tensor permutation listing m1,…,mq first and the vertices of O in inherited order. For a full transcript b=(b1,…,bq), define the linear measurement contraction Bb:=(⨂j=1qαj(b<j) ⁣⟨bj∣mj)⊗IHO, where the bras are the linear functionals from Dirac Notation Conversion, their tensor map is formed in m1,…,mq order, so Bb:Hm1⊗⋯⊗Hmq⊗HO→HO. The scalar output C⊗q is identified with C by the tensor-unit convention. This tensor map is supplied by Tensor products of finitely many linear maps; for q=0 its measured-register factor is the identity on the empty tensor product. The branch map is the ordered composition

Kb=BbΠM,OUGιI:HI→HO.

The measured systems are removed and the vertices in O are retained in their inherited order. This pattern uses ∣V∣ qubit registers, its width in the convention of Finite circuit resource accounting. Its projective measurement count is q, counting one occurrence for each listed vertex mj. On a normalized pure input its probability is ∥Kbψ∥2; for a density operator ρ it is tr⁡(KbρKb†). The conditional output is normalized only when that probability is positive. The corrected branch is C(b)Kb; the correction does not change the branch probability. This is a finite-dimensional mathematical circuit and instrument semantics, with no physical postulate or implementation claim.

Remarks

If I=∅, the inputless resource is the graph state ∣G⟩. If M=∅, the transcript is empty and no conditional normalization occurs. A zero-probability transcript has no normalized conditional output.

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

Adaptive J angle and Pauli-frame update

Statement

Let a one-qubit input carry the Pauli frame XxZz, where x,z∈{0,1}, and let β∈R. Choose the next equatorial measurement angle (−1)xβ. For outcome b∈{0,1}, the one-bit teleportation branch is

2−1/2γ(x,z,β)Xb⊕zZxJ(β),γ(x,z,β)={1,x=0,(−1)ze−iβ,x=1.

Thus the updated Pauli frame is (x′,z′)=(b⊕z,x), and the exact branch scalar has unit modulus.

Facts & Assumptions

Given: A real angle β, frame bits x,z∈{0,1}, and an outcome b∈{0,1}.

[F1]

The one-bit branch operator is 2−1/2XbJ(α) for measurement angle α (One-bit J-gate teleportation branch identity).

[F2]

The exact phase identity is J(−β)X=e−iβZJ(β) (J-gate basis and exact phase identities).

[F3]

The current matrix definitions and Hadamard action give J(β)Z=XJ(β) and ZX=−XZ (J gate and ordered equatorial measurement vectors, Exact one-qubit gates and rotations, The Pauli matrices, Hadamard pauli action).

Proof

1.1F1F3algebra

When x=0, the chosen angle is β. By [F3], J(β)Zz=XzJ(β), so the branch in [F1] is 2−1/2XbXzJ(β)=2−1/2Xb⊕zZ0J(β). This has the asserted phase and frame.

1.2F1F2F3algebra

When x=1, the chosen angle is −β. By [F2] and [F3], J(−β)XZz=e−iβZJ(β)Zz=(−1)ze−iβXzZJ(β). Multiplying by the outcome factor Xb gives 2−1/2(−1)ze−iβXb⊕zZJ(β), as claimed.

2.1step 1.1step 1.2algebra∎

The two cases give x′=b⊕z and z′=x, while ∣γ∣=1 because β is real. Thus the angle adaptation changes only the known Pauli frame and a branch-global phase.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Normalized transport rounds preserve the circuit up to a recorded phase

Statement

For a circuit C as in Normalized transport schedule for a J/CZ circuit, let UC be its denotation and let U~C be the chronological product of the normalized rounds. Then

U~C=σCUC.

Facts & Assumptions

Given: A finite ordered J/CZ circuit with layers and normalized rounds as defined in Normalized transport schedule for a J/CZ circuit.

[F1]

J(0)2=I and J(π/2)3=eiπ/4I (J-gate basis and exact phase identities).

[F2]

The schedule processes the finite circuit layers chronologically and forms each round by applying its matching before its listed one-qubit gates (Normalized transport schedule for a J/CZ circuit).

[F3]

The current circuit denotation defines UC=ULd⋯UL1 for chronological layers and assigns the identity to an empty circuit or layer (Denotational semantics of a finite layered circuit).

Proof

1.1F1F2F3cases

In an all-J layer, the schedule appends exactly the original matching and original one-qubit gates, so that layer's round operator equals the original layer operator. In a layer with no J gates and nonempty matching, the two round operators compose as (J(0)⊗n)(J(0)⊗n)CZMr=CZMr by [F1]. An empty layer contributes the identity and is omitted.

1.2F1F2F3algebra

In a mixed layer, the three rounds compose with the original matching first. On every active wire the later two factors are J(0)J(0)=I, leaving the original J(αrj). On every idle wire the three factors are J(π/2)3=eiπ/4I. Since these idle factors are scalar identities, they commute with the matching and all active-wire gates. Thus the round product is eiπ(n−∣Jr∣)/4 times the original layer operator.

2.1step 1.1step 1.2F2inductioncases∎

Multiplying the equalities from step 1.1 and step 1.2 in chronological layer order gives U~C=σCUC, because σC is the product of exactly the mixed-layer scalars and no other layer contributes a scalar. This includes zero layers and zero wires, where both products are empty.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Normalized transport encoding is a finite simple graph of bounded size

Statement

Let C be an n-wire, d-layer circuit and let R be the number of rounds in the normalized schedule. Form a candidate vertex list VT={vj,s:1≤j≤n, 0≤s≤R}, horizontal edges {vj,s−1,vj,s}, and vertical edges {vj,s−1,vk,s−1} for each {j,k}∈Ms. Each edge list is loop-free and duplicate-free, the lists are disjoint, and their union is a finite simple graph with exactly n(R+1) vertices and R≤3d; thus the graph object used in the Definition is well-defined.

Facts & Assumptions

Given: A finite normalized transport schedule and the displayed vertex and edge-list construction.

[F1]

Every original layer contributes zero, one, two, or three rounds, each with a matching Ms (Normalized transport schedule for a J/CZ circuit). The horizontal and vertical edge lists are defined in the Statement.

[F2]

A finite simple graph has a finite vertex set and an edge set whose members are two-element subsets of the vertex set (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets).

Proof

1.1F1algebracases

Each original layer contributes at most three rounds by [F1], hence 0≤R≤3d. The vertex list is the Cartesian product of n wire labels and R+1 column labels, so it has exactly n(R+1) vertices. If n=0, all layers are empty and R=0; if n=1, every matching is empty.

1.2F1algebra

A horizontal edge has endpoints in distinct consecutive columns. Two horizontal edges can be the same unordered pair only if their wire and consecutive column pair agree, so the horizontal list has no loops or duplicates. A vertical edge has two distinct wire endpoints because each matching edge joins distinct wires, and no unordered wire pair repeats in a matching. These are the raw lists specified in the Statement.

2.1F1step 1.2algebra

Vertical edges from different rounds lie in different columns. A vertical edge has both endpoints in one column, while a horizontal edge has endpoints in two columns; thus the lists are disjoint. Together with step 1.2, the edge list is a finite list of distinct two-element subsets of the finite vertex list.

3.1step 1.1step 1.2step 2.1F2∎

The vertex set and edge set from step 1.1 and step 1.2 and step 2.1 therefore satisfy the finite-simple-graph definition [F2].

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

Exact finite unitary synthesis from cosine-sine recursion

Statement

For every n≥1 and U∈U(2n), there is a finite exact n-wire circuit with no ancillas, using arbitrary one-qubit gates and CNOT gates, whose denotation is exactly U. For n=0, the unitary channel on the one-dimensional register is the identity channel and is represented by the empty circuit. The finite alphabet may be chosen to contain the exact gate matrices used in the construction. This is an existence theorem for exact mathematical gate labels; it gives no finite-bit encoding or decomposition-time bound.

Facts & Assumptions

Given: A finite-dimensional unitary matrix and the exact finite-circuit semantics on ordered qubit wires.

[F1]

The cosine-sine theorem writes a 2k-dimensional unitary as two block-diagonal unitaries around a central block (C−SSC), with nonnegative diagonal C,S and C2+S2=I (Cosine-Sine Block Decomposition).

[F2]

A block unitary U0⊕U1 factors exactly as (I⊗V)(D⊕D∗)(I⊗W) for unitaries V,W and a diagonal unitary D (Demultiplexing a Two-Block Unitary). Its proof writes U0U1∗=VD2V∗ with D a diagonal coordinate matrix; the eigenbasis change is carried by V.

[F3]

The local Gray-code result exactly synthesizes finite multiplexors of Ry and Rz rotations with CNOTs, without ancillas, retaining their matrix phase conventions (Exact Gray-code synthesis of multiplexed y- and z-axis rotations).

[F4]

Every two-qubit unitary has an exact no-ancilla circuit using arbitrary one-qubit gates and at most three CNOTs (Exact Three-CNOT Synthesis of Two-Qubit Unitaries).

[F5]

Every unit-modulus complex number has a real argument, so each diagonal entry d of a diagonal unitary can be written d=eiη for a real η (Every nonzero complex number has a unique polar form r(cos⁡θ+isin⁡θ) with r>0 and −π<θ≤π).

Proof

1.1givenF4F6basecases

For n=1, use the single gate U itself. For n=2, [F4] gives an exact circuit with at most three CNOTs and no ancillas. For n=0, the only unitary channel on C is the identity, represented by the empty circuit. These establish the base cases.

1.2F1F5algebraconstruct

Let n≥3 and split the ordered register into its first wire and the remaining n−1 wires. Apply [F1] to write U=L W R, where L=L0⊕L1 and R=R0⊕R1 are block-diagonal unitaries on that split and W=(C−SSC). For each computational word x of the lower register, let cx,sx be the corresponding diagonal entries of C,S. Since cx,sx≥0 and cx2+sx2=1, the unit complex number cx+isx has modulus one; by [F5] write it as eiηx and put θx=2ηx. Its real and imaginary parts show cx=cos⁡(θx/2) and sx=sin⁡(θx/2), so W is a multiplexed Ry rotation on the first wire, controlled by the lower word x.

1.3F2F3F5F6algebra

Apply [F2] separately to L0⊕L1 and R0⊕R1. Each side factor becomes two unitaries on the lower n−1 wires, with one intervening D⊕D∗ factor. In the ordered computational coordinates of the lower register, write the diagonal entries of each factor as dx=eiηx; the eigenbasis change is in the outer V,W factors by [F2]. The two-dimensional block on the first wire at lower word x is diag⁡(dx,dx∗)=Rz(−2ηx). Thus each intervening factor is a multiplexed Rz rotation controlled by the lower register. The two such factors and the central Ry factor have finite exact circuits by [F3]; the wire permutation that places the first wire as target is only a relabeling of the specified ordered local gate embeddings in [F6], so no extra wire or approximation is introduced.

2.1step 1.2step 1.3F6inductionalgebradischarge-induction∎

By induction, each of the four lower-register unitaries from step 1.3 has a finite exact circuit with no ancillas on its n−1 wires. Place those circuits in the product order of [F6] together with the three multiplexor circuits from step 1.3. The resulting finite n-wire circuit denotes LWR=U exactly; all recursive factors act on existing wires, so no ancilla is added. Since every construction uses finitely many exact gate matrices, the union of the finitely many recursive gate alphabets and the three multiplexor constructs is finite, so it is an instance-specific gate alphabet.

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

Graph-state stabilizer generators

Statement

Let G=(V,E) be an ordered finite simple graph and let ∣G⟩ be its graph state. Write Xv,Zv for the one-qubit Pauli matrices embedded on the tensor factor indexed by v; in the phase-aware Pauli convention, vertex at zero-based position r is wire r+1. For v∈V, put Kv:=Xv∏u∈N(v)Zu. Each Kv is a Hermitian involution, Kv∣G⟩=∣G⟩, the generators commute pairwise, and their binary Pauli labels are independent. This includes V=∅, where the generating family is empty.

Facts & Assumptions

Given: A finite simple graph G=(V,E), its ordered graph state, and the one-qubit Pauli matrices.

[F1]

The graph state is UG∣+⟩⊗V with one CZuv per edge, and the embedded edge gates commute (Graph state of an ordered finite simple graph, Controlled-Z edge gates commute).

[F2]

The angle-π controlled phase is the diagonal Hermitian involution diag⁡(1,1,1,−1) (Controlled Phase Rotation).

[F3]

Number coordinates by the vertices in their fixed order; ev is the coordinate unit vector at vertex v, and (A2(G))uv=1 exactly when {u,v}∈E. The binary dot product is the coordinate sum ∑w∈Vawbw in F2. Thus A2(G) is symmetric with zero diagonal (Binary adjacency matrix of an ordered finite simple graph).

[F4]

The one-qubit X,Y,Z matrices are Hermitian involutions, and the phase-aware tensor Pauli frame has binary X- and Z-support with zero-scalar convention XxZz (The Pauli matrices, Phase aware n qubit pauli group).

[F5]

Pauli operators commute exactly when their binary labels have zero symplectic pairing (Pauli commutator is symplectic pairing).

Proof

1.1F1F2F3algebra

Every CZuv is a diagonal Hermitian involution by [F2]. Conjugating Xv by an incident gate gives CZuvXvCZuv=ZuXv by checking the four computational-basis pairs; a nonincident edge gate commutes with Xv. Since the edge gates commute by [F1], UGXvUG†=Xv∏u∈N(v)Zu=Kv. The tensor factors are Hermitian involutions, so Kv is also a Hermitian involution.

1.2F3F4F5algebra

The binary label of Kv is (ev,A2(G)ev) because the Z coordinate at u is (A2(G)ev)u=(A2(G))uv. For distinct v,w, the binary symplectic pairing of these labels is ev⋅A2(G)ew+A2(G)ev⋅ew=(A2(G))vw+(A2(G))wv=0 in F2 by [F3]. Thus [F5] gives pairwise commutation. Equivalently, when {v,w}∈E the two local X/Z anticommutations cancel, and when it is not an edge all overlapping factors are both Z or act on different sites.

2.1step 1.1F1algebra

Using Xv∣+⟩⊗V=∣+⟩⊗V and UG†=UG, we obtain Kv∣G⟩=UGXvUG†UG∣+⟩⊗V=UG∣+⟩⊗V=∣G⟩.

3.1F4algebra∎

In a product of generators indexed by S⊆V, the binary X-support is ∑v∈Sev=1S by [F4]. It vanishes only for S=∅, so no nonempty product has identity binary label; the generators are independent. For empty V this assertion is vacuous.

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

Four-branch open-graph pattern for CZ

Statement

Take vertices 1,2 as inputs and 3,4 as outputs, with edges {1,2},{1,3},{2,4}. Prepare CZ12CZ13CZ24(∣ψ⟩12∣+⟩3∣+⟩4) and measure vertices 1,2 in the J(0)=H basis. For outcomes b1,b2∈{0,1}, the branch operator from the two input wires to the two output wires is

Kb1b2=12(Xb1H⊗Xb2H)CZ.

Each of the four branches has probability 1/4 for every normalized input, and the terminal correction (HXb1⊗HXb2) yields the corrected branch 12CZ∣ψ⟩.

Facts & Assumptions

Given: The ordered wire convention, the open-graph pattern definition, the one-bit branch identity, and the controlled-phase gate CZ.

[F1]

One-bit teleportation has branch operator 2−1/2XbJ(α) for each outcome (One-bit J-gate teleportation branch identity).

[F2]

The graph pattern branch map applies the graph-edge unitary before the ordered measurement bras and preserves the stated input/output order (Finite open-graph adaptive measurement pattern).

[F3]

J(0)=H by J-gate basis and exact phase identities, and CZ=diag⁡(1,1,1,−1) by Controlled Phase Rotation.

Proof

1.1F1F2F3algebra

The vertical edge {1,2} applies CZ to the arbitrary two-qubit input before the two horizontal teleportation branches; the horizontal edges {1,3} and {2,4} implement the one-bit identity independently on the two wires. Thus [F1]–[F3] give the branch operator Kb1b2=12(Xb1H⊗Xb2H)CZ.

2.1step 1.1algebra

In the declared wire order, the four branch operators are K00=12(H⊗H)CZ, K01=12(H⊗XH)CZ, K10=12(XH⊗H)CZ, and K11=12(XH⊗XH)CZ. Each factor after 1/2 is unitary, so Kb1b2†Kb1b2=I/4 and every normalized input has probability 1/4.

3.1step 2.1F3algebra∎

Since (XbH)†=HXb, applying HXb1⊗HXb2 to the branch cancels both local factors and leaves 12CZ∣ψ⟩. All four branches have the same corrected normalized output CZ∣ψ⟩.

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

Pattern branch probabilities and zero-probability transcripts

Statement

For a finite adaptive pattern with transcript branch maps Kb, a normalized pure input ∣ψ⟩ has pb=∥Kb∣ψ⟩∥2 and ∑bpb=1. For a density operator ρ, the branch probability is pb=tr⁡(KbρKb†) and these probabilities also sum to one. A transcript with pb=0 is impossible and has no normalized conditional output; normalization is defined only for positive-probability branches.

Facts & Assumptions

Given: A finite pattern with q ordered binary projective measurements and a normalized pure or mixed input state.

[F1]

The pattern Definition fixes the ordered input embedding, graph edge unitary, transcript-dependent measurement bases, branch maps, and output restriction (Finite open-graph adaptive measurement pattern).

[F2]

At each transcript prefix, the chosen pair {∣b⟩α:b=0,1} is an orthonormal basis, so its rank-one projectors sum to the identity (J gate and ordered equatorial measurement vectors, J-gate basis and exact phase identities, Finite projective measurements).

[F3]

A density operator is nonnegative and has trace one (Density operator).

[F5]

Every nonnegative operator on a finite-dimensional inner-product space has an orthonormal eigenbasis with nonnegative real eigenvalues (Non-negative and positive operators, A non-negative operator is equivalently self-adjoint with nonnegative eigenvalues, a positive semidefinite matrix in an orthonormal basis, or an operator of the form S^*S).

[F6]

A pure state represented by a unit vector u has rank-one operator ∣u⟩⟨u∣, whose coordinate matrix is uu† (Pure state and ray, Dirac Notation Conversion, Dirac Notation Coordinate Identity).

[F7]

For an instrument, the conditional output is normalized only when its branch weight is positive; at zero weight it is ⊥, not a state (Finite instruments and conditional states).

[F8]

Each controlled-phase edge gate is unitary, the computational basis is orthonormal, and tensoring with the prepared unit ∣+⟩ ancillas is an isometry (Controlled Phase Rotation, Finite registers and their ordered computational bases, The computational basis is orthonormal, Ordered tensor registers, their inner product, and wire permutations).

Proof

1.1F1F2F3F4F8construct

For 0≤j≤q, put Rj:=V∖{m1,…,mj} and let Πj:HV→Hm1⊗⋯⊗Hmj⊗HRj be the wire permutation listing the first j measured vertices in measurement order and the remainder in inherited order. For a prefix c=(c1,…,cj), let Bc:=⨂t=1jαt(c<t) ⁣⟨ct∣mt be the tensor map of its linear measurement bras, with its scalar output C⊗j identified with C, and define Kc:=(Bc⊗IRj)ΠjUGιI:HI→HRj. For j=0, the empty tensor map and permutation are identities, so K∅=UGιI. If j<q, let Qj+1:HRj→Hmj+1⊗HRj+1 list the next measured vertex first, and put Lb∣c:=(αj+1(c) ⁣⟨b∣mj+1⊗IRj+1)Qj+1. Under canonical associations, Bcb=Bc⊗αj+1(c) ⁣⟨b∣mj+1 and Πj+1=(IHm1⊗⋯⊗Hmj⊗Qj+1)Πj. Tensor-map factorwise action and permutation composition therefore give Kcb=Lb∣cKc. At j=q, Rq=O, Πq=ΠM,O, and this recursive map is exactly the full branch map in the Definition. Set σc:=KcρKc†. At the root it is nonnegative since it is a congruence of ρ by UGιI. At every prefix, nonnegativity of σc gives ⟨Lb∣cσcLb∣c†v,v⟩=⟨σcLb∣c†v,Lb∣c†v⟩≥0, so each child state is nonnegative. Orthonormality in [F2] gives ∑b=01Lb∣c†Lb∣c=IRj. By trace cyclicity [F4], the two child traces sum to tr⁡(σc).

2.1step 1.1F1F3F4F8induction

The root state is UGιIριI†UG†, where ιI tensors the unit ∣+⟩ ancillas and UG is the finite edge-gate product in [F1]. By [F8], ιI†ιI=I and UG†UG=I; trace cyclicity [F4] therefore gives root trace tr⁡(ρ)=1. Repeatedly applying the trace identity of step 1.1 down the finite binary tree preserves the sum of leaf traces. By the terminal identity in step 1.1, the leaf state is the stated KbρKb†, so ∑btr⁡(KbρKb†)=1. When there are no measurements, the unique empty transcript has the same trace as this root state.

3.1step 2.1F3F6algebra

For a pure input ρ=∣ψ⟩⟨ψ∣, the branch output is ∣Kbψ⟩⟨Kbψ∣ by [F6], so its trace is ∥Kb∣ψ⟩∥2 by the coordinate formula in [F6]. For a density input the branch probability is the branch-output trace in step 2.1.

4.1step 3.1F3F4F5F7algebra∎

Each branch output KbρKb† is nonnegative because ⟨KbρKb†v,v⟩=⟨ρKb†v,Kb†v⟩≥0 by [F3]. Its trace is therefore nonnegative by [F5]. If that trace is zero, the nonnegative eigenvalues in [F5] sum to zero by [F4], so each is zero and the output operator is zero. For a pure input, step 3.1 then gives Kb∣ψ⟩=0. In either case [F7] leaves no normalized conditional state; for positive probability the indicated division is defined.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Circuit-to-open-graph resource encoding with normalized transport rounds

Definition

Let C be a finite J/CZ circuit and let T(C) have rounds (Ms,(αs1,…,αsn))s=1R and recorded scalar σC as in Normalized transport schedule for a J/CZ circuit. The schedule index j∈{1,…,n} denotes source circuit wire j−1; thus a schedule edge {j,k} corresponds to the source-wire pair {j−1,k−1}. Coordinate j of every frame vector denotes this same wire. The encoded graph GC has vertices vj,s for 1≤j≤n and 0≤s≤R, horizontal edges {vj,s−1,vj,s}, and vertical edges {vj,s−1,vk,s−1} for {j,k}∈Ms. It is a finite simple graph by Normalized transport encoding is a finite simple graph of bounded size. Its input vertices are I={vj,0:1≤j≤n}, its outputs are O={vj,R:1≤j≤n}, and its ordered vertex register follows wire index first and then column index. In particular, the inherited orders on I and O are v1,0,…,vn,0 and v1,R,…,vn,R, matching source circuit wire order 0,…,n−1. The pattern’s measurement order on the vertices vj,s−1 is round-major, wire-minor, for s=1,…,R and j=1,…,n.

The adaptive basis angles and terminal correction are defined from the outcome blocks bs=(b1s,…,bns) as follows. Let As be the binary adjacency matrix of Ms with vertex order 1,…,n (vertex j is position j−1 in the zero-based order of Binary adjacency matrix of an ordered finite simple graph), so (As)jk=1 exactly when {j,k}∈Ms. Matrix-vector products and all frame vectors use these coordinates; binary dot products mean u⋅v=∑j=1nujvj∈F2. The frame functions are defined recursively by x0=z0=0∈F2n and the following formulas. Before round s, define

zs,∗:=zs−1⊕Asxs−1,θsj:=(−1)xjs−1αsj.

For an outcome block bs, the post-round frame is defined by xs:=bs⊕zs,∗ and zs:=xs−1. The function of earlier outcomes given by these recurrences selects the equatorial measurement basis at each vertex. For a complete transcript b, the terminal frame and correction are the following functions. For n≥1, the zero-scalar Pauli frame is P(x,z):=XxZz=P(0,x,z) from Phase aware n qubit pauli group, and the terminal correction is C(b):=P(xR,zR)†. For n=0, the empty frame is P((),()):=IC and the correction is the identity on the one-dimensional register.

For n≥1, define γ(x,z,α)=1 if x=0 and γ(x,z,α)=(−1)ze−iα if x=1, as in Adaptive J angle and Pauli-frame update, and put

λb:=σC∏s=1R[(−1)∑{j,k}∈Msxjs−1xks−1∏j=1nγ(xjs−1,zjs,∗,αsj)].

For n=0, the empty transcript has scalar λ=1. The encoding retains these exact scalars; no global phase is discarded. Its graph has n(R+1) vertices and R≤3d for d original layers. The item Normalized transport rounds preserve the circuit up to a recorded phase proves that the normalized round circuit is σCUC; the branch theorem proves the resulting pattern's relation to UC.

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

Every finite open-graph pattern is a measurement circuit

Statement

Every finite open-graph adaptive pattern has a finite raw measurement circuit that preserves its arbitrary input, adjoins ∣+⟩ ancillas on V∖I, applies one CZ per graph edge, performs the same ordered projective measurements with the same transcript-dependent bases, and retains the same ordered output wires. Its branch operator on transcript b is exactly the pattern's raw operator Kb, including its scalar phase. Thus for every density input ρ both have branch probability pb=tr⁡(KbρKb∗), and, when pb>0, the same raw conditional output ρb=KbρKb∗/pb.

Appending the pattern's specified transcript-controlled suffix C(b) gives a corrected measurement circuit with branch operator Lb=C(b)Kb. This equals the corrected pattern branch operator, has the same probability pb, and has conditional output C(b)ρbC(b)∗ whenever pb>0. Both raw presentations have the same transcript-labelled instrument, and both corrected presentations have the same corrected transcript-labelled instrument and the same channel after forgetting the transcript. Zero-probability branches have no normalized conditional output in either presentation.

The raw circuit uses ∣V∣ qubit wires, ∣E∣ controlled-phase gate occurrences, and q measurement occurrences under Finite open-graph adaptive measurement pattern; wire and gate counts use Finite circuit resource accounting. Corrections are charged separately: the operation model must grant and cost each specified suffix call, or supply a finite construction and charge all its gate occurrences and any extra workspace. These suffix costs are added to the raw resource coordinates; they are not included in ∣E∣ or supplied for free. The family of suffixes is finite because {0,1}q is finite. No finite-bit encoding or efficient synthesis claim for exact angles or suffix matrices is made.

Facts & Assumptions

Given: An open-graph pattern on a finite ordered graph, its transcript branch maps, and finite circuit and instrument semantics.

[F1]

The pattern defines the ordered ancilla embedding, graph edge unitary, measurement bras, branch maps Kb:HI→HO, and branch probabilities (Finite open-graph adaptive measurement pattern).

[F2]

The circuit syntax supplies finite ordered wires and gate occurrences with specified unitary matrices (Finite circuit syntax and ordered wire labels).

[F3]

Chronological layers denote the exact product ULd⋯UL1 (Denotational semantics of a finite layered circuit).

[F4]

A finite classical controller may retain the observed history and select a specified finite unitary suffix; hidden Kraus labels are not transcript data (Finite measurement branches and classical control).

[F5]

The elementary resource convention counts declared gate occurrences and all wires (Finite circuit resource accounting). The pattern has one measurement occurrence at each of its q listed measured vertices (Finite open-graph adaptive measurement pattern); this is a separate count.

[F6]

The pattern branch probabilities sum to one for every density input (Pattern branch probabilities and zero-probability transcripts).

[F7]

A finite instrument is a finite family of completely positive branch maps whose sum is trace-preserving (Finite instruments and conditional states).

[F8]

The ordered computational basis of each finite register is orthonormal, and trace is cyclic for conformable finite-dimensional operators (Finite registers and their ordered computational bases, The computational basis is orthonormal, For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA)).

Proof

1.1F1F2F3F5construct

Construct the finite graph operation list by adjoining ∣+⟩ on V∖I, applying one CZ for each edge, and then applying the pattern's ordered projective measurements with the transcript-dependent bases. The finite edge-gate list denotes its chronological product by [F3], and the ordered measurement contractions compose after that product. The resulting branch maps are exactly the Kb of [F1], with input register HI, output register HO, and finite outcome set {0,1}q. This finite specification has one wire per vertex, one CZ occurrence per edge, and one measurement occurrence per listed measured vertex, so [F5] gives the stated resource coordinates. The set of exact angle and correction labels is finite because both the vertex set and transcript set are finite; no finite-bit encoding or synthesis-time claim follows.

1.2F6F7F8algebra

For each transcript define Ib(X):=KbXKb∗. Each branch map is completely positive: for any finite reference register and positive Y, its extension sends Y to (I⊗Kb)Y(I⊗Kb∗), which is positive. Let A:=∑bKb∗Kb. For every unit vector u, [F6] applied to ∣u⟩⟨u∣ gives ⟨Au,u⟩=∑b∥Kbu∥2=1. In an orthonormal basis, applying this identity to each basis vector shows the diagonal entries of A−I vanish; applying it to (ej+ek)/2 and (ej+iek)/2 shows the real and imaginary parts of each off-diagonal entry vanish. Hence A=I. By trace cyclicity [F8], ∑btr⁡(Ib(X))=tr⁡(XA)=tr⁡(X) for every operator X. Thus these maps form a finite instrument from HI to HO by [F7].

2.1step 1.1step 1.2F1F4F6F8algebra

For density input ρ, step 1.1 gives exactly the same raw branch state KbρKb∗ in the raw circuit and raw pattern. Its trace is pb, and division by that trace gives the same ρb when pb>0. The controller in [F4] stores the observed transcript and appends C(b), giving the exact corrected branch operator Lb=C(b)Kb in both corrected presentations. Unitarity gives Lb∗Lb=Kb∗Kb, so cyclicity [F8] gives the same probability. Normalizing gives C(b)ρbC(b)∗ on positive branches. There is no normalized output on zero-probability branches.

3.1step 1.1step 1.2step 2.1F4F5F7algebra∎

Retaining the transcript associates each b to the raw map X↦KbXKb∗ or to the corrected map X↦LbXLb∗, respectively. Corresponding maps agree exactly in the two raw or two corrected presentations. The corrected maps are completely positive by the same reference-register calculation as in step 1.2, and ∑bLb∗Lb=I by step 1.2 and step 2.1, so they too form an instrument. Summing the corrected maps therefore gives equal trace-preserving channels after discarding the transcript. These are exact operator identities before passing to branch states, so no scalar phase has been discarded. By [F4]–[F5], the declared cost of the selected suffix call, or every occurrence and extra wire in its supplied construction, must be charged in addition to the raw prefix coordinates. Finiteness alone provides no access or efficiency bound.

TheoremStatement: AI-adaptedProof: AI-adaptedOpen item page →

A finite J/CZ circuit is simulated branch by branch by its adaptive pattern

Statement

Let C be a finite n-wire J/CZ circuit with d chronological layers, let R be the normalized transport-round count, and let UC be its denotation. For the adaptive graph pattern of Circuit-to-open-graph resource encoding with normalized transport rounds, every transcript b∈{0,1}nR has branch map

Kb=2−nR/2λbPbUC,

where for n≥1, Pb=P(xR,zR) in the phase-aware convention, and for n=0 the empty-frame convention is Pb=IC. The exact unit-modulus scalar λb is the one defined in that encoding, including the mixed-layer padding phase and the CZ-matching signs. Each transcript has probability 2−nR on every normalized pure or mixed input. Applying the terminal correction Pb† gives the circuit output ray on pure inputs, and summing the corrected branches gives exactly the channel ρ↦UCρUC† on density operators. The empty-register and zero-round cases use their unique empty transcript.

Facts & Assumptions

Given: A finite ordered J/CZ circuit, its normalized transport schedule, and the associated open-graph pattern.

[F1]

The schedule defines rounds with one J on each wire, matching Ms, and scalar σC (Normalized transport schedule for a J/CZ circuit).

[F2]

The normalized round circuit is exactly σCUC (Normalized transport rounds preserve the circuit up to a recorded phase).

[F3]

The transport vertex/edge lists form a finite simple graph, with n(R+1) vertices and R≤3d (Normalized transport encoding is a finite simple graph of bounded size).

[F4]

The graph pattern uses the stated ordered branch maps, measurement bases, and terminal correction (Finite open-graph adaptive measurement pattern, Circuit-to-open-graph resource encoding with normalized transport rounds).

[F5]

A one-wire equatorial transport with angle α and outcome b has branch operator 2−1/2XbJ(α) (One-bit J-gate teleportation branch identity).

[F6]

With incoming frame XxZz, angle (−1)xα updates the frame to (b⊕z,x) and contributes the exact scalar γ(x,z,α) (Adaptive J angle and Pauli-frame update).

[F7]

A matching M changes a frame by CZMP(x,z)=(−1)qM(x)P(x,z⊕AMx)CZM (Controlled-Z matching action on a Pauli frame).

[F8]

The embedded graph-edge CZ gates commute (Controlled-Z edge gates commute).

[F9]

Pattern branch probabilities are the branch-map norm squares or density-operator traces, and zero-probability branches have no normalized conditional output (Pattern branch probabilities and zero-probability transcripts).

[F10]

Similar finite square matrices have equal trace (Similar matrices have the same trace).

[F11]

The current circuit denotation composes chronological layers as ULd⋯UL1, and the ordered tensor convention fixes the factor permutations and local wire embeddings (Denotational semantics of a finite layered circuit, Ordered tensor registers, their inner product, and wire permutations). The exact supplier bodies and their local embedding proof were inspected.

Proof

1.1F3F4F5F8F11construct

By [F8], the graph state's finite product of edge gates may be reordered without changing it. For round s, the vertical edges from Ms act on column s−1 before that column is measured, and the horizontal edges from column s−1 to s form one one-bit transport on each wire. The tensor factors of these n transports are disjoint; later vertical edges act on later columns and do not change an earlier measurement projector. The ordered pattern in [F4] therefore realizes the round-wise sequence of matching and horizontal transports.

1.2F5F6F7F4F11algebra

Suppose the logical state entering round s is represented with frame P(xs−1,zs−1). The matching relation [F7] moves that frame past CZMs, contributes μs=(−1)qMs(xs−1), and changes its Z vector to zs,∗=zs−1⊕Asxs−1. Applying [F6] on wire j with angle αsj and outcome bjs gives the new frame bits xjs=bjs⊕zjs,∗ and zjs=xjs−1 and contributes 2−1/2γ(xjs−1,zjs,∗,αsj). Tensoring the n one-wire identities gives round factor 2−n/2μs∏jγ(xjs−1,zjs,∗,αsj) and applies the round unitary after the prior logical unitary.

2.1step 1.2F1F2F11inductionalgebra

Initially x0=z0=0 and the branch map is the identity. Induction on s using step 1.2 gives, for the first s outcome blocks, the scalar 2−ns/2, the recursively specified Pauli frame, and the chronological product of the first s normalized round unitaries. At s=R, [F2] turns that logical product into σCUC, so the accumulated scalar equals the explicit λb of the encoding. Therefore Kb=2−nR/2λbPbUC.

3.1step 2.1F9F10algebra

Both Pb and UC are unitary and ∣λb∣=1. Thus a normalized pure input has branch probability 2−nR by [F9]. For a density operator ρ, the branch output is 2−nRPbUCρUC†Pb†; unitary conjugation is a similarity, so [F10] gives its trace as 2−nRtr⁡(ρ)=2−nR. The transcript has nR binary outcomes, hence 2nR leaves and total probability one.

4.1step 2.1step 3.1F1algebracases∎

Applying Pb† to each branch leaves 2−nR/2λbUC. On pure inputs this differs from UC∣ψ⟩ only by a nonzero scalar, so it has the same output ray. On density inputs, summing the corrected branch maps gives 2−nR∑bUCρUC†=UCρUC†, because there are 2nR transcripts. If R=0, there is one empty transcript and the schedule contains only empty layers; if n=0, there is one empty transcript on the one-dimensional register. The formula gives the identity in both boundary cases.

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

Circuit and pattern translations are branch preserving and universal

Statement

Every finite J/CZ circuit has an adaptive open-graph pattern whose corrected branches implement the same unitary channel and whose transcript branches preserve the exact probabilities. Conversely, every finite open-graph pattern has a raw measurement-circuit presentation with exactly its raw branch operators Kb, probabilities, and positive-probability conditional outputs. Appending its specified and separately charged correction suffixes gives a corrected measurement-circuit presentation with exactly its corrected branch operators C(b)Kb, unchanged probabilities, and corrected conditional outputs C(b)ρbC(b)∗. The corresponding raw instruments agree transcript by transcript, as do the corresponding corrected instruments; the corrected channels agree after forgetting the transcript. For every n≥0, each unitary channel on the ordered n-qubit register Qn has a J/CZ circuit representative and hence an adaptive pattern implementing the same channel; for n≥1 the unitary matrix has size 2n, and for n=0 the channel is the identity on C. Global scalar phases are retained in branch maps and do not alter the induced channel.

Facts & Assumptions

Given: A finite unitary circuit or a finite open-graph pattern, with the ordered wire and branch conventions of the assigned definitions.

[F1]

Every finite J/CZ circuit is represented by the circuit-to-pattern construction, with branch maps, probabilities and corrected channel as stated (A finite J/CZ circuit is simulated branch by branch by its adaptive pattern).

[F2]

Every finite open-graph pattern has a raw measurement circuit with the same exact ordered Kb, outcome law and raw conditional states. Appending the specified separately charged suffix gives a corrected circuit with the same C(b)Kb and corrected conditional states as the corrected pattern; the raw and corrected transcript-labelled instruments agree with their respective counterparts (Every finite open-graph pattern is a measurement circuit).

[F3]

J(α)=HPα, J(0)=H, and Pα=HJ(α) (J gate and ordered equatorial measurement vectors, J-gate basis and exact phase identities).

[F4]

The angle-π controlled phase is CZ=diag⁡(1,1,1,−1) (Controlled Phase Rotation).

[F5]

Define local notation RzE(ϕ):=Rz(−ϕ) and RyE(θ):=Ry(−θ) using the QC07 convention. Thus RzE(ϕ)=diag⁡(eiϕ/2,e−iϕ/2) and RyE(θ)=(cos⁡(θ/2)sin⁡(θ/2)−sin⁡(θ/2)cos⁡(θ/2)). The actual Euler theorem One-Qubit Euler Decomposition gives U=eiδRz(a)Ry(t)Rz(b). Setting α=−a, θ=−t, β=−b yields U=eiδRzE(α)RyE(θ)RzE(β), retaining the same scalar. The superscript E is notation local to this proof, with the opposite angle signs from the supplier's rotations.

[F6]

The one-qubit matrix definition fixes H=2−1/2(111−1), and the Pauli definition fixes X,Y,Z (Exact one-qubit gates and rotations, The Pauli matrices).

[F7]

Every finite-dimensional unitary channel has an exact finite circuit with no ancillas using arbitrary one-qubit gates and CNOT gates; the n=0 channel is the identity (Exact finite unitary synthesis from cosine-sine recursion). This supplier proves existence from the unoptimized cosine-sine recursion and makes no gate-count, finite-bit, or synthesis-time claim.

Proof

1.1F1construct

For a finite J/CZ circuit, [F1] supplies the open-graph pattern and gives the equality of every transcript branch map, the branch probabilities and the corrected unitary channel. This proves the circuit-to-pattern direction with the arbitrary input unchanged.

1.2F2algebra

For a finite open-graph pattern, [F2] first lists its ancilla preparations, edge gates, ordered projective measurements and transcript-controlled basis choices as a raw measurement circuit. Its exact branch operator is Kb, giving the same pb and the same raw conditional state ρb whenever pb>0. The separately charged terminal correction then gives C(b)Kb and the conditional state C(b)ρbC(b)∗, exactly as for the corrected pattern. Unitarity of C(b) leaves pb unchanged. Therefore the respective raw and corrected transcript instruments agree, and summing corrected branches gives the same corrected channel. No normalized state is assigned on a zero-probability branch.

1.3F3F4F5F6F7algebra

By [F7], choose a finite exact synthesis circuit. For each one-qubit factor, [F5] gives its Euler product. Direct multiplication of the Pauli matrices gives S:=Pπ/2=diag⁡(1,i), SXS†=Y, and HZH=X. Therefore RyE(θ)=SHRzE(θ)HS†: indeed, conjugating RzE(θ)=eiθZ/2 by H gives eiθX/2, and conjugating that by S gives eiθY/2, whose matrix is the one in [F5]. Also RzE(ϕ)=eiϕ/2P−ϕ. By [F3], each P−ϕ is HJ(−ϕ), H=J(0), S=Pπ/2 is HJ(π/2), and S†=P−π/2 is HJ(−π/2). Thus each Euler factor is a finite product of J gates times its explicitly retained scalar. On basis inputs ∣0,y⟩, (I⊗H)CZ(I⊗H) fixes the target; on ∣1,y⟩ it applies HZH=X to the target. Hence this circuit maps ∣x,y⟩ to ∣x,y⊕x⟩ and equals CNOT. Replacing each one-qubit gate and CNOT in the finite decomposition therefore gives a finite J/CZ circuit for the same unitary channel.

2.1step 1.3F1algebracases∎

Apply [F1] to that J/CZ circuit. The resulting finite pattern has the same corrected unitary channel and exact branch probabilities; its scalar phase remains part of each branch map. This proves universality at the unitary-channel level, including the one-dimensional identity case with an empty circuit and empty transcript.

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

Graph state is the unique joint stabilizer ray

Statement

Let G=(V,E) be an ordered finite simple graph on n vertices, let ∣G⟩ be its graph state, and let Kv=Xv∏u∈N(v)Zu be the generators from Graph-state stabilizer generators. Their common +1 eigenspace is exactly span⁡{∣G⟩}. If SG is the subgroup they generate, its orthogonal projector is

ΠG=2−n∑g∈SGg=∣G⟩⟨G∣.

For V=∅, SG={I} and the formula is the identity projector on the one-dimensional trivial register.

Facts & Assumptions

Given: A finite ordered simple graph, its graph state and stabilizer generators.

[F1]

The Kv are commuting Hermitian involutions, fix ∣G⟩, and have independent binary Pauli labels (Graph-state stabilizer generators).

[F2]

The graph-state Definition is the finite controlled-Z edge product applied to ∣+⟩⊗V (Graph state of an ordered finite simple graph).

[F3]

The average ∣S∣−1∑g∈Sg is the orthogonal projector onto the common +1 fixed space (Stabilizer average is the fixed-space projector).

[F4]

For a rank-r stabilizer subgroup on n qubits, the fixed-space projector has rank 2n−r (Stabilizer projector rank and code dimension).

[F5]

Every edge gate is the unitary diagonal matrix diag⁡(1,1,1,−1) (Controlled Phase Rotation).

[F6]

The product inner product makes the norm of an elementary tensor the product of factor norms, and the empty tensor register is C (Ordered tensor registers, their inner product, and wire permutations).

[F7]

A stabilizer subgroup is a finite abelian subgroup of the phase-aware Pauli group that contains no −I (Stabilizer subgroup).

[F8]

The ordered computational basis of C2 is orthonormal (The computational basis is orthonormal).

[F9]

The rank-one Dirac operator ∣u⟩⟨u∣ acts by z↦⟨z,u⟩u in the root-linear-first convention (Dirac Notation Conversion).

Proof

1.1F2F5F6F8algebracases

The vector ∣+⟩=2−1/2(∣0⟩+∣1⟩) has norm one by [F8], and ∣+⟩⊗V has norm one by the product inner product [F6]. Every edge gate in [F2] is unitary by [F5], so their finite product preserves norm and ∣G⟩ is a unit vector. When V=∅, the empty tensor and edge product give the unit vector 1∈C directly.

2.1F1F7step 1.1algebra

If n>0, every product of the commuting involutions in [F1] is indexed by a subset of the n generators. Its binary X-support is the indicator of that subset, so the independent labels in [F1] make the 2n products distinct. Every product fixes the nonzero vector ∣G⟩ from step 1.1, so the generated group cannot contain −I. It is a stabilizer subgroup by [F7] and has rank n.

3.1F1F3F4F9step 1.1step 2.1algebracases∎

For n>0, apply [F3] to the subgroup in step 2.1 to identify its group average with the common +1 projector. Its rank is 2n−n=1 by [F4]. The graph state fixes this line by [F1] and is unit by step 1.1, so the orthogonal projector onto the line is ∣G⟩⟨G∣ by [F9]. If n=0, the empty generator family generates {I}, whose average is the identity on C; this is also ∣1⟩⟨1∣.

5 · Examples, counterexamples and false statements

None yet.

Sources