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.

State Preparation, Isometry Synthesis, and Limits

1 · Prerequisites

2 · Summary

Overview

This page treats state and isometry preparation as finite mathematical input and circuit problems. It defines amplitude-table, workspace, width, gate, precision and error conventions; constructs an exact prefix-rotation preparation circuit; and proves continuous-parameter and finite-alphabet limits under their stated models. State rays and projective charts remain distinct from vectors, and exact continuous-angle synthesis remains distinct from finite-alphabet approximation. Classical table input, preprocessing, coherent gates, workspace and precision are charged separately. No QRAM or free data loading is assumed.

3 · Logical flowchart

4 · Definitions, theorems and proofs

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

A Nonempty Euclidean Open Set Is Not Null

Statement

For every integer m≥1, every nonempty open subset O⊆Rm is not null in the closed-cube-cover sense of Measure zero and content zero in Rm by countable and finite cube covers. The proof uses no choice principle.

Facts & Assumptions

Given: An integer m≥1 and a nonempty Euclidean open set O⊆Rm.

[F1]

A set is null when, for every ε>0, a sequence of closed cubes covers it with total volume at most ε; nullity passes to subsets (Measure zero and content zero in Rm by countable and finite cube covers).

[F3]

A closed rectangle has volume equal to the product of its side lengths; finite coordinate cuts partition it into finitely many subrectangles whose volumes sum to its volume (Axis-parallel rectangles in Rm and their volume).

[F4]

Finite sums are additive and monotone, and a finite subfamily of nonnegative terms is bounded by a partial sum through its largest index (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[F5]

A nonnegative series whose partial sums are bounded by B converges with sum at most B, and every partial sum is at most the series sum (A series of nonnegative terms converges iff its partial sums are bounded, and then the sum is their supremum).

[F6]

For reals x,y and natural m, (x+y)m=∑r=0mι(mr)xrym−r where ι is the canonical embedding of naturals into R (The binomial theorem in R: (x+y)n=∑k<n+1ι ⁣(nk) xky n−k).

Proof

Given: As in Facts & Assumptions.

1.1givenchoosealgebra

Choose x∈O and r>0 with the Euclidean ball B(x,r)⊆O. Put s=r/(2m)>0 and let Q=∏j=1m[xj−s/2,xj+s/2]. For every y∈Q, ∥y−x∥2≤m s/2=r/4<r, so Q⊆O and vol⁡(Q)=sm>0.

2.1F1F4F5F6step 1.1algebraconstructinduction

Suppose O were null. By [F1], with ε=sm/4 there is a sequence of closed cubes Ci covering Q whose side lengths ℓi≥0 have ∑iℓim≤sm/4. For each i≥0, set δi=min⁡{1, sm2−i−5/(3m(1+ℓi)m−1)} and enlarge Ci concentrically to an open cube Ci′ of side ℓi+2δi. By [F6] and δi≤1, 0≤Δi:=(ℓi+2δi)m−ℓim≤di:=sm2−i−5. For every N≥0, induction using the finite-sum recursion gives ∑i<Ndi=sm(1−2−N)/16≤sm/16. Thus every partial sum of the nonnegative enlarged-cost sequence bi=(ℓi+2δi)m=ℓim+Δi satisfies ∑i<Nbi≤sm/4+sm/16=5sm/16, by [F4] and [F5]. A second application of [F5] gives a convergent total enlarged-cost series with sum at most 5sm/16<sm/2.

3.1F2F3F4step 2.1

The open cubes Ci′ cover the closed box Q, so [F2] gives a finite subcover Ci1′,…,Cit′. Order its indices increasingly and take N larger than the largest one. By [F4], the subcover's total cost is at most ∑i<Nbi, which is at most 5sm/16<sm/2 by step 2.1.

4.1F3step 1.1step 3.1contradiction∎

Write Ci′‾ for the closed cube with the same center and side as Ci′, so vol⁡(Ci′‾)=bi. Cut Q and these finitely many closed covering cubes at all their coordinate endpoints. The positive-side grid cells inside Q partition it; the interior of each cell lies in one covering cube because no covering-cube boundary crosses the cell. Assign each cell to the least index of a covering cube containing its interior. By finite cut-additivity from [F3], the assigned cells for each cube have total volume at most that closed cube's volume, while all cells sum to vol⁡(Q)=sm. Thus sm≤∑j=1tvol⁡(Cij′‾)<sm/2, a contradiction. Therefore O is not null.

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

QC24 Projective Chord Distance

Definition

For an integer D≥1 and unit vectors u,v∈CD, write [u] and [v] for their pure-state rays and define the projective chord distance by

dch([u],[v])=inf⁡∣λ∣=1∥u−λv∥2.

Here ∥⋅∥2 is the norm induced by the root inner product, which is linear in its first argument. The infimum is over unit complex scalars, so it removes only the common phase of a state vector. The companion lemma Projective Chord Distance Formula ↗ evaluates this infimum, proves it is attained, gives the closed formula, and proves independence from the chosen unit representatives.

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

QC24 Complex Projective Space and Its Standard Patches

Definition

For an integer D≥1, let CPD−1 be the quotient of CD∖{0} by z∼w when w=λz for a nonzero complex scalar λ. Give CD∖{0} its usual Euclidean topology and the quotient the topology in which a subset is open exactly when its inverse image is open. Every nonzero ray has a unit representative, and two unit representatives of one ray differ by a unit scalar, so this is the pure-state ray space of Pure state and ray.

For j∈{0,…,D−1} define the standard patch Uj={[z]∈CPD−1:zj≠0} and the candidate coordinate map ϕj([z])=(zi/zj)i≠j, with the coordinates kept in increasing original index order. Its candidate inverse sends w∈CD−1 to the ray of the vector with jth coordinate 1 and other coordinates given by w in that same order. QC24 Projective Chart Dimension ↗ proves these are smooth charts, computes their real dimension, and notes that a single standard patch omits part of projective space when D≥2.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Isometry Unitary Completion

Definition

Input. Integers 1≤D≤M, ordered orthonormal bases of CD and CM, and an exact M×D matrix V whose columns are orthonormal, so V represents a linear isometry in the convention of Linear isometries, and orthogonal or unitary operators on finite-dimensional inner product spaces. Arithmetic is ideal exact complex arithmetic with conjugation, norms, square roots, and exact zero tests; no bit-time bound is part of this procedure.

Procedure. Initialize an ordered list L with the D columns of V. For j=0,1,…,M−1, compute

rj=ej−∑w∈L⟨ej,w⟩rootw.

If ∥rj∥2=0, leave L unchanged. Otherwise append rj/∥rj∥2 to L. After the finite loop, return the square matrix W whose columns are the final list, and return INVALID if the input dimensions or orthonormal-column condition fail.

For integer widths 0≤n≤w, put D=2n, M=2w, and a=w−n. The input data and clean workspace use the ordered tensor-register convention of Ordered tensor registers, their inner product, and wire permutations and the big-endian basis encoding of Big-endian encoding of ordered bit strings. A clean workspace register starts at ∣0a⟩ under Clean and dirty ancillas. Let Π be the ordered wire permutation that swaps the n-wire data block with the a-wire zero-workspace block, so Π(∣x⟩∣0a⟩)=∣0a⟩∣x⟩. This sends the declared clean-input basis to the first D standard basis vectors. The matrix WΠ is the full-unitary extension interface used by Isometry Completion and Synthesis ↗.

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

Projective Chord Distance Formula

Statement

For unit vectors u,v∈CD,

dch([u],[v])=2−2∣⟨u,v⟩root∣.

In particular, this value is independent of the chosen unit representatives, and it is zero exactly when the two vectors represent the same ray.

Facts & Assumptions

Given: Unit vectors u,v∈CD and the projective chord distance of QC24 Projective Chord Distance.

[F1]

For unit representatives, dch([u],[v])=inf⁡∣λ∣=1∥u−λv∥2 (QC24 Projective Chord Distance).

[F2]

The root pairing is linear in the first argument, conjugate-linear in the second, conjugate-symmetric, and induces ∥w∥22=⟨w,w⟩root (Real and complex inner-product spaces and their induced length).

[F3]

Two nonzero vectors represent the same pure-state ray exactly when one is a nonzero complex scalar multiple of the other; for unit vectors that scalar has modulus one (Pure state and ray).

[F4]

Cauchy–Schwarz gives ∣⟨u,v⟩root∣≤∥u∥2∥v∥2=1 for unit vectors (Cauchy–Schwarz: ∣⟨u,v⟩∣≤∥u∥∥v∥, with equality exactly for linearly dependent vectors).

Proof

Given: As in Facts & Assumptions.

1.1F1F2algebra

Put c=⟨v,u⟩root. For every ∣λ∣=1, expand by [F2]: ∥u−λv∥22=2−λ‾⟨u,v⟩root−λ⟨v,u⟩root=2−2Re⁡(λc).

2.1F1F4step 1.1choosealgebra

If c=0, the real part is zero for every unit λ; if c≠0, choose λ=c‾/∣c∣, giving Re⁡(λc)=∣c∣. Since Re⁡(λc)≤∣c∣ for every unit λ, this phase attains the infimum in [F1]; the value is 2−2∣c∣, a real nonnegative number by [F4].

3.1F1F2F3step 2.1algebra∎

Replacing u and v by unit scalar multiples changes ⟨u,v⟩root by a unit scalar, so its modulus and the displayed value do not change. Since the infimum is attained, it is zero exactly when a minimizing phase satisfies u=λv, which is exactly equality of the represented rays by [F3].

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

QC24 Projective Chart Dimension

Statement

For every integer D≥1, the standard patches Uj of QC24 Complex Projective Space and Its Standard Patches are smooth charts with coordinate space CD−1=R2D−2. If D≥2, each fixed patch is proper, so a single standard coordinate patch does not cover all of CPD−1.

Facts & Assumptions

Given: An integer D≥1, the quotient ray space CPD−1, standard patches Uj, and candidate coordinate maps ϕj and inverses from QC24 Complex Projective Space and Its Standard Patches.

[F1]

Uj={[z]:zj≠0} and ϕj([z])=(zi/zj)i≠j; the candidate inverse uses the representative with jth coordinate 1 (QC24 Complex Projective Space and Its Standard Patches).

Proof

Given: As in Facts & Assumptions.

1.1F1algebra

If [z]∈Uj, multiplying z by any nonzero complex scalar leaves every ratio zi/zj unchanged, so ϕj is well-defined on rays. The representative z/zj has jth coordinate 1 and all other coordinates equal to those ratios, so the stated inverse sends ϕj([z]) back to [z].

2.1F1step 1.1algebra

Conversely, applying ϕj to the inverse representative with jth coordinate 1 returns each entry of w; hence the two maps are inverse bijections. Let π be the quotient map and Oj={z:zj≠0}=π−1(Uj). Since Oj is open, Uj is open. The restriction πj:Oj→Uj is a quotient map: for B⊆Uj, if πj−1(B) is open in Oj, it is open in CD∖{0}, so B is open in the quotient and hence in Uj; the reverse implication follows from continuity of π. The composite ϕj∘πj consists of continuous coordinate ratios on Oj, so ϕj is continuous. The inverse is the quotient map composed with the continuous representative map w↦ej+∑i≠jwiei, hence is continuous.

3.1F1step 2.1algebra

Let π:CD∖{0}→CPD−1 be the quotient map. Then π−1(Uj)={z:zj≠0} is Euclidean open, so Uj is open by the quotient topology. On Uj∩Uk with j≠k, write w=ϕj([z]). Then wk≠0, the transition coordinates satisfy wj′=1/wk and wi′=wi/wk for i≠j,k. Conversely, wk=1/wj′ and wi=wi′/wj′ for i≠j,k. These rational maps are smooth as real maps on their open coordinate domains, so the charts are compatible and form a smooth atlas.

4.1F1algebrachoose∎

The patches cover every ray because a nonzero vector has at least one nonzero coordinate. If D≥2, choose k≠j; the ray of the basis vector ek has jth coordinate zero and is not in Uj, so each fixed standard patch is proper. Finally, CD−1 has D−1 complex, or 2D−2 real, coordinates.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

QC24 State Preparation Cost Model

Definition

Fix an integer n≥0 and D=2n. An explicit amplitude-table input is a list of D exact complex numbers (ax)x∈{0,1}n in the ordered basis convention of Big-endian encoding of ordered bit strings; it is valid when ∑x∣ax∣2=1. Its target is the pure-state ray [a] under Pure state and ray: nonzero scalar multiples represent the same ray, and a is a unit representative when the table is normalized. A claim must state whether its output error is projective chord distance QC24 Projective Chord Distance or a representative-level vector error.

The cost record keeps these quantities separate: (1) the classical encoding length and table-reading/preprocessing work; (2) continuous-angle gate occurrences, or finite-alphabet gate occurrences when that model is specified; (3) width, clean-workspace and serial-depth usage; and (4) the declared output-error metric. If an encoding assigns exactly b bits to each real coordinate and b bits to each imaginary coordinate, with basis order implicit, the dense table contains exactly 2Db input bits. Those bits must decode to the input table in an exact-table claim; finite-precision approximations are separate inputs with separate error hypotheses. An explicit table is classical input: this definition grants no coherent table oracle, QRAM, or free loading operation. Ideal exact complex arithmetic and finite-precision bit cost are distinct models.

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

QC24 Signed Ray Packing Code

Statement

Let D≥2 be an even integer and let δ∈R satisfy 0<δ<1/4. There is a family of at least exp⁡(cδD) unit sign vectors in CD, with their first D/2 coordinates fixed at 1/D, such that the projective chord distance between distinct resulting rays is at least 2δ. Here cδ=(ln⁡2/2)(1−H2(2δ))>0 and H2(t)=−tlog⁡2t−(1−t)log⁡2(1−t).

Facts & Assumptions

Given: Even D≥2, 0<δ<1/4, and the distance formula below.

[F1]

For unit representatives, dch([u],[v])=2−2∣⟨u,v⟩root∣ (Projective Chord Distance Formula).

[F2]

For y>0, (ln⁡y)′=1/y and ln⁡y=∫1ydt/t (The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t).

[F4]

The natural logarithm is strictly increasing, has ln⁡1=0, and satisfies ln⁡(1/y)=−ln⁡y and ln⁡(a/b)=ln⁡a−ln⁡b for positive arguments (Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm); hence ln⁡2>0 and log⁡2t=ln⁡t/ln⁡2 for t>0.

[F6]

The real binomial expansion uses the coefficients ι(mj), where ι embeds naturals into R (The binomial theorem in R: (x+y)n=∑k<n+1ι ⁣(nk) xky n−k).

Proof

Given: As in Facts & Assumptions.

1.1givenconstructalgebra

Put m=D/2, x=2δ∈(0,1/2) and R=⌈xm⌉−1. Greedily scan the finite set {0,1}m in lexicographic order: select the least remaining word and delete all words at Hamming distance at most R, repeating until none remain. Distinct selected words have distance h≥R+1≥xm=δD, and each selection deletes at most B=∑j=0R(mj) words, so the selected code has at least 2m/B words.

2.1F2F3F4F5F6step 1.1algebra

For j≤R<xm, the ratio x/(1−x)<1 gives xj(1−x)m−j≥xxm(1−x)(1−x)m. The binomial identity [F6], 1=∑j=0mι(mj)xj(1−x)m−j therefore yields ιB≤[x−x(1−x)−(1−x)]m=2mH2(x). Put h(t)=−[tln⁡t+(1−t)ln⁡(1−t)]/ln⁡2 for 0<t<1, which is H2(t) by [F4]. The product and chain rules [F5] give h′(t)=(ln⁡(1−t)−ln⁡t)/ln⁡2=ln⁡((1−t)/t)/ln⁡2. For 0<t<1/2, the ratio exceeds 1, so [F4] gives h′(t)>0. The same rules show h is differentiable on (0,1), and [F5] makes it continuous there; in particular it is continuous on [x,1/2]. By [F4], log⁡2(1/2)=−1, so h(1/2)=1. The mean value theorem [F3] now gives 1−h(x)=h′(ξ)(1/2−x)>0 for some ξ∈(x,1/2). Thus H2(x)<1 and the code size is at least 2m(1−H2(x))=exp⁡(cδD).

3.1F1step 1.1step 2.1algebra∎

Map each selected bit word b to the sign word si=(−1)bi; this is a bijection preserving Hamming distance. Form us=D−1/2(1,…,1,s1,…,sm). It is unit because it has D entries of modulus D−1/2. If two selected words differ in h places, then ⟨us,ut⟩root=1−2h/D. Since h≤m=D/2 and h≥δD, this lies in [0,1−2δ], so [F1] gives dch([us],[ut])=2h/D≥2δ. The first half of each vector is fixed and nonzero, so scalar-proportional unit vectors must have scalar 1 and identical last-half signs; distinct code words therefore give distinct rays.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

QC24 Clean Ancilla Output Projection

Definition

Let n,a≥0 be integers and D=2n. Let the data and workspace registers have ordered computational spaces CD and C2a, with the ordered tensor factors and product basis of Ordered tensor registers, their inner product, and wire permutations. For a circuit unitary U on their tensor product, its all-zero-workspace projection on a fixed input ∣0n⟩∣0a⟩ is

v=(ID⊗⟨0a∣)U(∣0n⟩⊗∣0a⟩)∈CD.

The projected joint vector is v⊗∣0a⟩. An exact clean-workspace output on this input means that the full, unconditional output equals λ∣ψ⟩⊗∣0a⟩ for a unit data vector ψ and a unit scalar λ; then v=λψ. A merely nonzero v defines only the zero-workspace projection branch and does not assert that the workspace is deterministically clean.

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

QC24 Finite Width Topology Count

Statement

Fix integers W≥1, A≥1, k≥1, and g≥0, and an ordered-wire circuit model with a finite gate alphabet of size A and maximum arity k. A serial length-g description is an ordered list of g gate labels and ordered tuples of at most k distinct wire positions; its denotation is the ordered product of the corresponding local gate embeddings. Each parallel layer consists of pairwise wire-disjoint occurrences and denotes their product. With Ck=k+1, the number of length-g serial descriptions is at most (CkAWk)g. Any parallel circuit with g total occurrences has a serial ordering with the same gate count and denotation.

Facts & Assumptions

Given: The finite alphabet, maximum arity, ordered wire positions and width specified in the Statement.

[F1]

Ordered tensor registers, their inner product, and wire permutations fixes the ordered tensor factors, product basis and wire permutations.

[F2]

A tensor map acts factorwise on elementary tensors, so an operator embedded on selected factors and an operator on disjoint factors commute (Tensor products of finitely many linear maps).

[F3]

A circuit layer denotes the ordered product of its local gate embeddings; its layers are applied chronologically (Denotational semantics of a finite layered circuit).

Proof

Given: As in Facts & Assumptions.

1.1givenalgebra

A gate of arity r≤k has at most Wr ordered wire tuples. Summing over possible arities 0≤r≤k gives at most ∑r=0kWr≤(k+1)Wk tuples because W≥1; including its label gives at most CkAWk choices for one occurrence.

2.1givenF1F2F3step 1.1algebra∎

A length-g serial description is an ordered list of g such choices, so there are at most (CkAWk)g descriptions. For two gates on disjoint supports, reorder the tensor factors as the first support, the second support, and the remaining wires. Their embeddings are then G⊗I⊗I and I⊗H⊗I. By [F2], both compositions act as Gx⊗Hy⊗z on elementary tensors, which span the register; thus they commute. By [F3], serially listing each layer therefore preserves its operator; listing the layers in circuit order preserves the full denotation and adds no occurrence.

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

Countable Union of Compact Null Sets Is Null

Statement

Let m≥1 and let (Ki)i≥0 be a sequence of compact null subsets of Rm, where nullity is in the closed-cube-cover sense of Measure zero and content zero in Rm by countable and finite cube covers. Then ⋃i≥0Ki is null. The proof selects finite rational-cube covers by their least codes and uses no choice principle.

Facts & Assumptions

Given: An integer m≥1 and a sequence (Ki)i≥0 of compact null subsets of Rm.

[F1]

A null set has a countable closed-cube cover of arbitrarily small total volume; nullity passes to subsets (Measure zero and content zero in Rm by countable and finite cube covers).

[F3]

The rationals admit a fixed enumeration and N2 has a fixed pairing enumeration (Q is countably infinite, N×N≈N).

[F4]

Between any two distinct real numbers there is a rational number (The rationals embed densely in the reals).

[F5]

A closed cube of side ℓ≥0 has volume ℓm (Axis-parallel rectangles in Rm and their volume).

[F6]

Every nonempty subset of N has a least element (The well-ordering principle).

[F7]

A series of nonnegative reals whose partial sums are bounded by B converges with sum at most B (A series of nonnegative terms converges iff its partial sums are bounded, and then the sum is their supremum).

[F8]

Recursion defines the cumulative block lengths from N0=0, Ni+1=Ni+ti; natural order is linear and Ni≤Ni+1 because ti≥0 (The recursion theorem, Addition of natural numbers, Order on the natural numbers, ≤ is a linear order on N).

[F9]

The finite-sum recursion is ∑j<N+1aj=∑j<Naj+aN; equivalently, an inclusive sum Sr=∑j=0raj satisfies Sr+1=Sr+ar+1 (Finite sums and finite products, by recursion).

[F10]

Finite sums are additive and monotone; termwise inequalities between nonnegative sequences give the same inequality for each finite partial sum (Laws of finite sums and finite products).

[F11]

For reals x,y and natural m, (x+y)m=∑r=0mι(mr)xrym−r where ι is the canonical embedding of naturals into R (The binomial theorem in R: (x+y)n=∑k<n+1ι ⁣(nk) xky n−k).

Proof

Given: As in Facts & Assumptions.

1.1F1F2F5F7F9F10F11givenconstructalgebrainduction

Let K⊆Rm be compact and null, and let η>0. If K=∅, the empty family covers it. Otherwise [F1] gives a countable closed-cube cover (Cj) with total volume at most η/8. Write Cj=∏r<m[ajr,ajr+ℓj] and let xjr=ajr+ℓj/2 be its center coordinates. Set δj=min⁡{1,η2−j−5/(3m(1+ℓj)m−1)} and let Cj′=∏r<m(xjr−(ℓj+2δj)/2,xjr+(ℓj+2δj)/2), an open concentric enlargement. By [F11], (ℓj+2δj)m−ℓjm=∑r=1mι(mr)ℓjm−r(2δj)r≤δj(1+ℓj)m−1∑r=1mι(mr)2r<3mδj(1+ℓj)m−1≤η2−j−5, because δjr≤δj, ℓjm−r≤(1+ℓj)m−1 and ∑r=1mι(mr)2r=3m−1. Define the covering cost of an open cube of side s to be sm; this agrees with [F5] for its closed counterpart. Put dj=η2−j−5 and bj=(ℓj+2δj)m=ℓjm+Δj, where 0≤Δj≤dj. For every N≥0, induction using [F9] gives ∑j<Ndj=η(1−2−N)/16≤η/16: the formula is 0 at N=0, and the successor step adds η2−N−5. By [F7], the original nonnegative volume series has every partial sum at most η/8. Finite-sum additivity and monotonicity [F10] therefore give ∑j<Nbj≤η/8+∑j<Ndj≤3η/16 for every N. Since bj≥0, [F7] gives a convergent total covering-cost series with sum at most 3η/16<η/4. The open cubes cover K, and compactness [F2] gives a finite subcover.

2.1F4F5F7F10step 1.1choosealgebra

Order the finite subcover by its original indices and write Lr and xr for the side and center of its rth open cube. Its finite total cost is at most the partial sum of (bj) through its largest original index, hence at most 3η/16<η/4 by [F7, F10, step 1.1]. The finite polynomial sum ∑r(Lr+ζ)m is continuous at ζ=0, so choose ζ>0 for which it is less than ∑rLrm+η/8<3η/8. By [F4], choose rational qr with Lr<qr<Lr+ζ and a rational center yr∈Qm whose coordinates differ from xr by less than (qr−Lr)/4. The closed rational cube of side qr centered at yr contains the open cube of side Lr centered at xr, since each coordinate displacement is less than Lr/2+(qr−Lr)/4<qr/2. These finitely many rational cubes cover K, and their total volume is less than 3η/8<η/2 by [F5].

3.1F3F6step 2.1givenconstruct

Fix a bijection ν:N→Q and a pairing bijection π:N2→N from [F3]. A list of t rational cubes is determined by (m+1)t rationals: its side and its m center coordinates for each cube. Encode a tuple (a0,…,ar−1)∈Nr recursively by c0=0 and cr+1(a0,…,ar)=π(a0,cr(a1,…,ar)). Since π and ν are injective, pairing the list length t with the code of its (m+1)t rational coordinates gives an injection from all finite rational cube lists into N. For each natural code, use its unique list preimage if it has one, and otherwise use the empty list; this defines an enumeration (Cs)s≥0 that includes every list. By step 2.1, every compact null K has at least one enumerated list covering it with total volume less than η/2. The set of qualifying codes is nonempty, so it has a least member by [F6]. The least-code rule assigns a unique cover to each pair (K,η) without choosing from an arbitrary family.

4.1F5F6F8step 3.1givenconstructalgebra

Fix ε>0. For each i≥0, apply the unique rule of step 3.1 to (Ki,ηi) with ηi=ε2−i−1. Let ti be the finite length of its selected list, whose total volume is less than ε2−i−2. Define N0=0 and Ni+1=Ni+ti recursively as in [F8]. For each n∈N, if Ni≤n<Ni+1 for some i, take the cube at position n−Ni in the ith list; otherwise take the degenerate zero-side cube at the origin. The half-open index intervals are disjoint: if i<j, then Ni+1≤Nj, so no n lies in both. Each cube of the ith list, at position j<ti, occurs at index Ni+j; thus every selected list occurs in the sequence.

5.1F1F7F8F9step 3.1step 4.1algebrainduction∎

Any finite initial segment meets only finitely many blocks. If it meets none, its total volume is zero. Otherwise, its finite set of block indices has a largest member r: scan the finite list and retain the larger at each comparison using the linear order in [F8]. Each partial block costs at most its full-list bound from step 4.1. By [F9], the budget sum Br=∑i=0rε2−i−2 satisfies B0=ε/4=ε2(1−2−1) and Br+1=Br+ε2−r−3=ε2(1−2−r−1)+ε2−r−3=ε2(1−2−r−2). So induction gives Br=ε2(1−2−r−1)<ε/2. Thus every partial sum of the nonnegative volume series is at most ε/2, and [F7] gives convergence with total at most ε/2<ε. The sequence covers ⋃iKi, so [F1] shows that this union is null. Since every selected list is assigned by the unique least-code rule of step 3.1, the proof uses no choice principle.

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

QC24 Continuous-Parameter State Preparation Lower Bound

Statement

Let integer n≥1, D=2n, integer workspace count a≥0, and total width W=n+a. Fix integers k≥1 and p≥1 and a countable library of gate families of arity at most k, each represented by a countable atlas of C∞ parameter charts that are open subsets of Rq with integer q satisfying 0≤q≤p. For a nonnegative integer gate budget g, each circuit topology selects at most g such gates and wire placements; its gate matrices depend smoothly on their parameters. For each fixed topology and parameter-chart tuple, its denotation is the ordered product of the corresponding fixed local gate embeddings, with each embedding acting on its assigned ordered tensor factors and as the identity on the remaining wires, as specified by Denotational semantics of a finite layered circuit. Circuits act on the fixed input ∣0n⟩∣0a⟩ and exactly prepare a target unit data vector with declared workspace output λ∣ψ⟩∣0a⟩ for a unit scalar λ. In every standard chart of CPD−1, the exactly preparable rays obtainable with at most g gates form a null set whenever pg<2D−2. Thus they cannot cover all rays. For fixed p, in each standard chart all rays outside a null coordinate subset require at least ⌈(2D−2)/p⌉ gates. Thus almost every target in chart coordinates has exact preparation cost Ω(D).

Facts & Assumptions

Given: D≥2, fixed finite width W, a fixed countable gate-family library and countable smooth parameter atlases as in the Statement, with each family using at most p real parameters per gate. The considered circuits have exact clean-workspace output.

[F1]

The standard projective patches have smooth coordinates in R2D−2 (QC24 Projective Chart Dimension).

[F2]

If f:U⊆Rq→Rm is Cr with r>max⁡{q−m,0}, its critical value set is null (Morse-Sard for Euclidean maps).

[F3]

A countable union of compact null subsets of Euclidean space is null; the proof selects finite rational-cube covers by their least codes without choice (Countable Union of Compact Null Sets Is Null).

[F5]

A nonempty Euclidean open set is not null in the closed-cube-cover sense (A Nonempty Euclidean Open Set Is Not Null).

[F6]

Projecting the circuit output onto the all-zero workspace branch yields the data vector used for its projective chart coordinates (QC24 Clean Ancilla Output Projection).

[F7]

Nullity in the closed-cube-cover definition passes to subsets (Measure zero and content zero in Rm by countable and finite cube covers).

[F8]

A tensor map acts factorwise on elementary tensors, and the fixed register order determines each local gate embedding (Tensor products of finitely many linear maps).

[F9]

A finite circuit denotes the ordered product of its local gate embeddings in chronological layer order (Denotational semantics of a finite layered circuit).

[F10]

Rational numbers are countable and dense in the reals, so for each integer q≥1 rational open cubes form a countable basis for Rq, and every open subset is covered by countably many rational closed cubes contained in it (Q is countably infinite, The rationals embed densely in the reals).

[F11]

There is a fixed pairing bijection π:N2→N (N×N≈N). For a tuple (a0,…,ar−1), set c0=0 and cj+1=π(aj,cj) for j<r, then encode the tuple as π(r,cr). Injectivity of π makes this an injection of all finite tuples into N.

[F12]

A singleton in Rm, m≥1, is compact and null: every open cover has a one-set subcover, and the singleton itself is a degenerate closed cube of zero volume (Measure zero and content zero in Rm by countable and finite cube covers).

Proof

Given: As in Facts & Assumptions.

1.1givenF1F6F8F9construct

Fix one gate topology, one choice of its gate-family parameter charts, and one standard target patch Uj from [F1]. The product Ω of the finitely many selected open parameter charts is open in Rq. By [F8] and [F9], each local embedding has matrix entries that are fixed finite linear combinations of the local gate entries, and the circuit matrix is a finite ordered product of those embeddings. Its entries are therefore finite sums of products of smooth gate-matrix entries. The projected data vector v(θ) from [F6] depends smoothly on θ∈Ω. The set Ωj={θ∈Ω:vj(θ)≠0} is open. Under the fixed real/imaginary identification CD−1≅R2D−2, the chart map fj(θ)=(vi(θ)/vj(θ))i≠j is C∞ on Ωj.

2.1givenF2step 1.1algebra

The parameter dimension q is at most pg<2D−2, so the derivative of fj has rank at most q at every point; every point is critical. With target dimension m=2D−2 and r=1, the hypothesis r>max⁡{q−m,0}=0 holds, and [F2] makes fj(Ωj) null.

3.1F3F4F7F10F11F12F13step 1.1step 2.1construct

The gate-family choices and parameter charts are countable, and at fixed W,g there are finitely many wire placements. By [F11], finite tuples of their natural codes, with their tuple length, form a countable set. For a fixed tuple, if its parameter dimension is q=0, then Ωj is empty or a singleton, whose image is compact null by [F12]; these images are indexed by the countable topology/chart-tuple codes. If q≥1, rational coordinates are coded by [F11], and [F10] gives a countable cover of the open set Ωj by rational closed cubes whose closures lie in Ωj. By [F13], each such cube is compact, so its image is compact by [F4] and null as a subset of the Sard-null image in step 2.1 by [F7]. Pairing each topology/chart-tuple code with each rational-cube code by [F11] makes this part of the entire family countable as well. Together with the q=0 singleton images, these form a countable family of compact null sets. Applying [F3] to this family shows that all exactly preparable rays in the patch have a null coordinate image.

4.1F1F5step 3.1contradiction

If every ray were exactly preparable with g gates, then the coordinate image of all rays in the chosen standard patch would be R2D−2 and hence would contain a nonempty open cube. Step 3.1 makes that image null, while [F5] says a nonempty open cube is not null. This contradiction proves the noncoverage claim for each patch.

5.1givenstep 3.1algebra∎

Set g0=⌈(2D−2)/p⌉−1. Then pg0<2D−2, so steps 1.1–2.1 with budget g0 show that the targets exactly preparable with at most g0 gates form a null set in each chart. Every target outside this null coordinate subset therefore requires at least g0+1=⌈(2D−2)/p⌉ gates. For fixed p, this is Ω(D).

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

QC24 Discrete Alphabet Approximate Preparation Lower Bound

Statement

Fix real numbers 0<δ<1/4 and 0≤ε<δ. Let integers n≥2, A≥1, k≥1, and W≥n be fixed, with D=2n, gate-alphabet size A, and maximum arity k. For an integer gate budget g≥0, every circuit starts on ∣0n⟩∣0W−n⟩ and must return the workspace exactly to zero, with its data output within projective chord distance ε of the target ray. If a circuit family prepares every D-dimensional pure-state ray and each circuit in the family has at most g gates in this model, then g=Ω(D/log⁡W) as n→∞, with constants depending on A,k,δ,ε. In particular, if W=poly⁡(n), then g=Ω(2n/log⁡n).

Facts & Assumptions

Given: The fixed finite-alphabet width model with exact clean-workspace output, fixed integers A≥1, k≥1, and fixed δ,ε in the Statement, and the ray-packing and circuit-count bounds below.

[F1]

The page contains at least exp⁡(cδD) rays pairwise separated by at least 2δ in dch (QC24 Signed Ray Packing Code).

[F2]

At width W, a length-j circuit has at most (CkAWk)j descriptions, with Ck=k+1 (QC24 Finite Width Topology Count).

[F3]

dch([u],[v])=2−2∣⟨u,v⟩root∣ and the phase-minimum is attained (Projective Chord Distance Formula).

[F4]

The Euclidean norm induced by the root inner product satisfies the triangle inequality (The inner-product norm is definite, homogeneous, and satisfies the triangle inequality).

Proof

Given: As in Facts & Assumptions.

1.1F1F3F4givenalgebracontradiction

A single output ray cannot be within ε of two distinct packed rays. Indeed, if dch([u],[q])≤ε and dch([v],[q])≤ε, [F3] gives unit phases λ,μ with ∥u−λq∥2≤ε and ∥v−μq∥2≤ε; then [F4] gives ∥u−(λ/μ)v∥2≤2ε<2δ, contradicting [F1]. Thus each circuit covers at most one packed ray.

2.1F1F2step 1.1algebra

Put B=CkAWk≥2. By [F2], the number of descriptions of length at most g is ∑j=0gBj≤Bg+1. If these circuits approximate all packed rays, step 1.1 implies exp⁡(cδD)≤Bg+1, so g≥cδD/log⁡B−1.

3.1givenF1step 2.1algebracases∎

Since A,k are fixed and W≥2, there is a constant K>0 with log⁡B=log⁡(CkA)+klog⁡W≤Klog⁡W. Put X=cδD/(Klog⁡W). Step 2.1 gives g+1≥X. If X≥2, then g≥X−1≥X/2. If X<2, a family with g=0 has only the single zero-gate output ray, whereas the packing in [F1] contains at least two rays for D≥4; hence g≥1>X/2. Thus g≥X/2=Ω(D/log⁡W). If W=poly⁡(n), then log⁡W=O(log⁡n) and also W≥n, so log⁡W=Θ(log⁡n), giving Ω(2n/log⁡n).

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

QC24 Finite Alphabet Exact Nonuniversality

Statement

Fix integers n≥1, A≥0, k≥1, and W≥n, with D=2n, a gate alphabet of size A and maximum arity k. Each circuit starts on ∣0n⟩∣0W−n⟩ and is counted as an exact state-preparation circuit only when its unconditional output is λ∣ψ⟩∣0W−n⟩ for a unit scalar λ and a unit data vector ψ∈CD. The set of data rays exactly reachable by finite circuits is countable, so it is not the full ray space.

Facts & Assumptions

Given: A finite gate alphabet of size A≥0 and maximum arity k≥1, fixed finite width W≥n, n≥1, and the stated clean-workspace output convention.

[F1]

If A≥1, at fixed width and finite alphabet there are finitely many circuit descriptions of each length (QC24 Finite Width Topology Count).

[F2]

The real numbers are uncountable, so an injective copy of R in the ray space witnesses its uncountability (R is uncountable (Cantor's nested intervals, 1874)).

[F3]

Pure-state rays identify nonzero vectors exactly up to nonzero scalar multiplication (Pure state and ray).

[F4]

A fixed bijection π:N2→N codes a pair of natural numbers as one natural (N×N≈N).

Proof

Given: As in Facts & Assumptions.

1.1givenF1F4constructcases

If A=0, the empty alphabet allows only the empty circuit, so at most one ray is reachable. If A≥1, put B=(k+1)AWk≥2. Fix a finite listing of the alphabet and order wire tuples lexicographically; then [F1] gives at most Bg descriptions of length g∈N. Code each description by its length and its base-B index, then apply the fixed pairing bijection of [F4] to these two natural numbers; this gives an injection of all finite descriptions into N. In either case the reachable rays form a countable set without a choice principle.

2.1givenF2F3step 1.1algebra∎

The map t↦[e0+te1] from R into the rays of CD is injective: if e0+te1=λ(e0+se1), comparison of the e0 coordinate gives λ=1, then comparison of the e1 coordinate gives t=s. These nonzero vectors define rays by [F3]. By [F2], the ray space is uncountable and cannot equal the countable reachable set.

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

QC24 State Preparation

Definition

Input and output. Input an integer n≥0 and an explicit exact table (ax)x∈{0,1}n in the ordered basis convention of Big-endian encoding of ordered bit strings. If the table length is not D=2n or ∑x∣ax∣2≠1, return INVALID. Otherwise return a finite continuous-gate circuit which prepares the ray [a] from ∣0n⟩, together with its classical angle table. When the table is supplied as a dense fixed-width bit encoding, read all b bits of each real and imaginary coordinate before computation. Arithmetic is ideal and exact: it supplies complex arithmetic, absolute value, exact zero tests and square roots; for x,y≥0 not both zero, atan2⁡(y,x) returns the unique ϕ∈[0,π/2] with cos⁡ϕ=x/x2+y2 and sin⁡ϕ=y/x2+y2. For z≠0, arg⁡z∈(−π,π] is the unique principal angle in the polar form of Every nonzero complex number has a unique polar form r(cos⁡θ+isin⁡θ) with r>0 and −π<θ≤π, so z=∣z∣eiarg⁡z by exp⁡(x+iy)=ex(cos⁡y+isin⁡y), ∣exp⁡(x+iy)∣=ex, and eiπ+1=0. No Turing bit-time bound is asserted.

Exact gate-family operation model. Interpret this procedure's output in the ideal continuous-angle model with exact one-qubit gates Ry(θ) and Pϕ:=diag⁡(1,eiϕ) for arbitrary real θ,ϕ, the two-qubit gate C(Ry(θ))=diag⁡(I2,Ry(θ)) with the control first, and the fixed gates X (The Pauli matrices) and Toffoli (Toffoli and Fredkin gates). Each occurrence of any of these gates costs one gate occurrence; the operation model explicitly grants controlled access to every Ry(θ) (Controlled Unitary Access). The phase gate is unitary since ∣eiϕ∣=1 (exp⁡(x+iy)=ex(cos⁡y+isin⁡y), ∣exp⁡(x+iy)∣=ex, and eiπ+1=0). This is an ideal parameterized gate-family model, distinct from a finite fixed-matrix alphabet. It does not assert that arbitrary-angle gates are exactly available from a finite alphabet or give their finite-alphabet cost.

Prefix norms and rotations. For every binary prefix p of length at most n, set

rp=∑x extends p∣ax∣2.

For θ∈R define

Ry(θ)=(cos⁡(θ/2)−sin⁡(θ/2)sin⁡(θ/2)cos⁡(θ/2))

in basis (∣0⟩,∣1⟩). This is the y-axis rotation in the QC07 exponent convention; Pauli formula for an axis rotation gives this matrix and its unitarity. Define C(U)=diag⁡(I2,U) with the control as the first wire, following Controlled Unitary Access. For each l=0,…,n−1 and each length-l prefix p in lexicographic order, skip the operation if rp=0; otherwise set θp=2atan2⁡(rp1,rp0) and apply Ry(θp) to bit l, controlled on the first l bits equaling p. Length zero means no control. Thus no division is performed on a zero-norm branch.

Exact bounded-arity control construction. For a prefix rotation with m≥2 control bits, conjugate each zero-control bit by X so the requested condition becomes all ones. Allocate m−1 clean work bits w1,…,wm−1. Compute w1=c1c2 with one Toffoli; for j=3,…,m, compute wj−1=wj−2cj with one Toffoli. Apply C(Ry(θp)) to the flag and target bits, with the flag as the control, then apply the Toffolis in reverse order and undo the X conjugations. For m=1, apply C(Ry(θp)) directly when the requested pattern is 1; for pattern 0, conjugate that controlled gate by X on its control wire. For m=0, apply Ry(θp) directly to the target bit. For a leaf phase with m≥2, use the same flag construction and apply Pϕ=diag⁡(1,eiϕ) to the final work bit instead of a controlled rotation. A one-bit leaf phase uses Pϕ directly for pattern 1 and XPϕX for pattern 0. The work bits return to zero after each operation and are reused; no multi-control gate is assumed as a primitive.

Leaf phases. For a basis string x, define Px,ϕ=I+(eiϕ−1)∣x⟩⟨x∣. Let x∗ be the lexicographically first index with ax∗≠0. Put ϕ∗=arg⁡(ax∗). For each other x with ax≠0, put ϕx=arg⁡(ax)−ϕ∗ and, unless ϕx≡0(mod2π), apply Px,ϕx using the control construction above. The reference leaf needs no phase, and zero entries and zero relative phases require no gate. Every nonzero output amplitude is then e−iϕ∗ax, including the reference leaf, so the output is the target ray. When n=0, the valid table has one unit-modulus entry and the empty circuit already prepares its unique ray.

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

Isometry Completion and Synthesis

Statement

For integers 1≤D≤M, every exact isometry V:CD→CM is completed by Isometry Unitary Completion to a unitary matrix W whose first D columns are those of V. If integers 0≤n≤w satisfy D=2n and M=2w, the full unitary WΠ acts as V on the clean-input subspace ∣x⟩∣0w−n⟩. By the exact QSD theorem Exact QSD CNOT Upper Bound, for w≥2 this uses at most 23484w−322w+43 CNOT gates plus one-qubit gates; for w=1 it uses no CNOT gates. When w=0, necessarily n=0 and WΠ is a scalar on C. The matrix completion remains valid, but the stated circuit syntax has no zero-arity gates, so the empty circuit realizes only the identity; exact circuit synthesis at width zero is asserted only when V=I. For w≥1, QSD is applied directly to WΠ, without synthesizing W and an extra permutation circuit separately. The M output coordinates are retained: extra output wires may contain part of the encoded state and are not required to return to zero. No classical synthesis bit-time bound is asserted.

Facts & Assumptions

Given: An exact matrix V with orthonormal columns, ordered qubit bases when D and M are powers of two, ideal exact arithmetic, and the exact QSD theorem described below.

[F1]

Isometry Unitary Completion initializes its list with the columns of V and appends each nonzero residual ej−∑w∈L⟨ej,w⟩rootw after normalization.

[F2]

The root inner product is linear in its first argument, conjugate-linear in its second, and induces the norm (Real and complex inner-product spaces and their induced length).

[F3]

The ordered bit-string encoding is big-endian: ∣x⟩ has index enc⁡n(x) and the word 0w−nx has that same index at width w (Big-endian encoding of ordered bit strings).

[F4]

A finite-dimensional unitary is an invertible linear isometry, and a square norm-preserving operator is unitary (Linear isometries, and orthogonal or unitary operators on finite-dimensional inner product spaces).

[F5]

An injective endomorphism of a finite-dimensional vector space is surjective (Rank-nullity: dim⁡FV=nullity⁡T+rank⁡T).

[F6]

Every gate has positive arity, so every layer on zero wires is empty and every zero-wire circuit denotes the identity (Finite circuit syntax and ordered wire labels, Denotational semantics of a finite layered circuit).

[A1]

Exact QSD CNOT Upper Bound proves the exact no-ancilla QSD CNOT bound, including terminal diagonal extraction and migration, and treats widths zero and one separately.

Proof

Given: As in Facts & Assumptions.

1.1F1F2givenalgebracases

The initial list is orthonormal by the input hypothesis. If the current list is orthonormal, then for each wi∈L the residual satisfies ⟨rj,wi⟩=⟨ej,wi⟩−∑w∈L⟨ej,w⟩⟨w,wi⟩=0 by [F2] and orthonormality. If it is nonzero, division by its positive norm gives a unit vector orthogonal to every previous column; if it is zero, ej already lies in their span. Thus each update preserves orthonormality and puts ej in the span of the updated list.

2.1F2F4F5step 1.1algebra

After the finite loop, every standard basis vector ej lies in the final span by step 1.1. The standard basis spans CM, so the final orthonormal list spans CM and has exactly M vectors. If z=∑j=1Mcjwj is its expansion in that list, orthonormality and [F2] give ∥z∥22=∑j∣cj∣2; the same coordinate calculation for the standard basis gives ∥Wc∥22=∑j∣cj∣2. Thus the column map W preserves norms and is injective by [F4]. By [F5] it is surjective in finite dimension, hence invertible; as a square norm-preserving map it is unitary by [F4]. Its first D columns are the original list, namely V.

3.1F1F3step 2.1algebra

For D=2n, M=2w, [F3] identifies ∣0w−n⟩∣x⟩ with the standard basis vector eenc⁡n(x) among the first D vectors. The declared permutation obeys Π(∣x⟩∣0w−n⟩)=∣0w−n⟩∣x⟩. The first D columns of W then give (WΠ)(∣x⟩∣0w−n⟩)=V∣x⟩ for every computational basis input x; linearity gives the identity on the entire clean-input subspace.

4.1A1F6step 3.1given∎

For w≥1, WΠ is a unitary on a positive-width register, so applying the QSD interface [A1] directly to this matrix gives the stated CNOT bound, with its one-qubit case at w=1. The permutation is absorbed into the target matrix before synthesis, so no separate permutation gate count is added. If w=0, then n=0 and WΠ=V is a scalar on C. By [F6], the only zero-wire circuit denotes 1, so a circuit realizes this scalar exactly only when V=I; the matrix completion of steps 1.1–3.1 does not itself claim a general zero-width synthesis. The construction places no condition on the M output coordinates beyond the isometry equation, so it makes no claim that the extra output wires are clean.

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

QC24 Prefix Norm Rotation Identities

Statement

For a prefix p with 0≤∣p∣<n and rp>0, the angle θp=2atan2⁡(rp1,rp0) in QC24 State Preparation satisfies

cos⁡(θp/2)=rp0/rp,sin⁡(θp/2)=rp1/rp.

Facts & Assumptions

Given: A valid normalized amplitude table and a prefix p with 0≤∣p∣<n and rp>0.

[F1]

The procedure defines rp as the square root of the sum of squared amplitudes over strings extending p, and uses θp=2atan2⁡(rp1,rp0) (QC24 State Preparation).

Proof

Given: As in Facts & Assumptions.

1.1F1givenalgebra

Every string extending p extends exactly one of p0 or p1, so splitting the finite sum in the definition of the prefix radii gives rp2=rp02+rp12. Both child radii are nonnegative and rp>0, so the pair (rp0,rp1) is not (0,0). By the declared atan2⁡ convention, ϕ=atan2⁡(rp1,rp0) lies in [0,π/2] and has cosine rp0/rp and sine rp1/rp.

2.1F1step 1.1algebra∎

Because θp/2=ϕ, substituting gives both displayed identities, including the cases where exactly one child radius is zero.

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

QC24 State Preparation Rotation Level Upper Bound

Statement

For an integer n≥0, D=2n, and a normalized explicit amplitude table, QC24 State Preparation exactly prepares the target ray using at most D−1 prefix rotations and at most D leaf phases. The specified Toffoli flag chain expands each operation into O(n+1) bounded-arity gates using at most max⁡{n−1,0} reusable clean work bits, so the complete circuit has O((n+1)D) gates and serial depth, in addition to the n data qubits. For n=0, the ray is trivial and no gate is needed.

Facts & Assumptions

Given: The exact algorithm, a normalized table (ax), and D=2n.

[F1]

The algorithm applies prefix rotations with angles determined by the child subtree norms, uses the stated clean Toffoli flag chain, and applies each nonzero relative leaf phase after subtracting the reference argument (QC24 State Preparation).

[F2]

At a positive-norm prefix, the rotation half-angle has cosine and sine equal to the child-radius ratios (QC24 Prefix Norm Rotation Identities).

[F3]

Toffoli maps ∣a,b,t⟩ to ∣a,b,t⊕ab⟩ and preserves its two control bits (Toffoli and Fredkin gates).

[F4]

A controlled operation on a control-first register applies its target unitary exactly on the control-1 subspace and the identity on the control-0 subspace (Controlled Unitary Access).

[F5]

The Pauli matrix X interchanges computational basis vectors, X∣c⟩=∣1−c⟩ for c∈{0,1} (The Pauli matrices).

[F6]

The ordered bitstring encoding places table entry ax at basis vector ∣x⟩ (Big-endian encoding of ordered bit strings).

[F7]

In the algorithm's convention, Ry(θ) has first column (cos⁡(θ/2),sin⁡(θ/2))T and is unitary (Pauli formula for an axis rotation).

[F8]

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

[F9]

A finite layered circuit denotes the chronological product of its local gate embeddings (Denotational semantics of a finite layered circuit).

Proof

Given: As in Facts & Assumptions.

1.1givenF1

Before any rotation the only nonzero prefix amplitude is the empty-prefix amplitude 1=r∅ because the table is normalized.

1.2F1F3F4F5F7F8F9F10givenconstructinduction

Consider a computational-basis control word c1,…,cm. Conjugating each zero-control by X turns the requested pattern into all ones by [F5]. Starting from zero work bits, [F3] first sets w1=c1c2 and then, successively, wj−1=wj−2cj; induction on j shows the final flag is 1 exactly on the requested control pattern. The controlled operation in [F4] therefore acts only on that branch and changes neither the controls nor the flag. The basis action [F3] shows each Toffoli is its own inverse, and [F5] shows X is its own inverse, so reversing the Toffoli list and undoing the X conjugations restores all work bits to zero. For a leaf phase, the phase gate is diagonal and also leaves the flag's bit value unchanged. For one control the direct controlled block has the same branch action, and for no controls the one-qubit block acts on every branch. The Toffoli and X are basis permutations, the rotations are unitary by [F7], and controlled blocks are unitary by [F4]; the phase gates are unitary by [F10]. The basis calculation extends linearly to superpositions under [F8] and [F9].

2.1F1F2F6F7F8F9step 1.1step 1.2algebracases

Suppose at depth l every prefix p has amplitude rp on ∣p0n−l⟩ under the basis order in [F6]. If rp>0, [F1], [F2], and [F7] split that amplitude into the nonnegative real amplitudes rp(rp0/rp)=rp0 and rp(rp1/rp)=rp1 on the two child prefixes. Step 1.2 shows the rotation is confined to the selected prefix branch; distinct length-l prefixes therefore leave each other's amplitudes unchanged. If rp=0, both children have radius zero and the zero branch remains zero without division. Thus induction gives the nonnegative real leaf amplitude rx=∣ax∣ at every leaf.

3.1F1F10step 1.2step 2.1algebra

Put ϕ∗=arg⁡(ax∗) for the first nonzero leaf. For every other nonzero leaf, [F10] gives ei(arg⁡(ax)−ϕ∗)∣ax∣=e−iϕ∗ax. The reference leaf has unchanged amplitude ∣ax∗∣=e−iϕ∗ax∗, so the same scalar multiplies every nonzero coordinate. A zero relative phase needs no gate. Its flag ladder restores the work bits by step 1.2, and a diagonal phase leaves the flag's bit value unchanged. Zero leaves stay zero. Thus the joint output is e−iϕ∗a⊗∣0s⟩ with the reused workspace zero, and its data ray is exactly [a].

4.1F1step 1.2givenalgebracases∎

The number of prefixes at depths 0 through n−1 is ∑l=0n−12l=D−1, and there are at most D leaf phases. A control of m≥2 bits uses 2(m−1) Toffolis, at most 2m X gates for zero-control conjugations, and one controlled one-qubit block; it uses m−1 clean work bits. Prefix rotations have m≤n−1 controls and leaf phases have m=n, so the maximum work count is max⁡{n−1,0}; the m=0,1 cases use constant resources. Since m≤n, each of at most 2D−1 operations costs O(n+1) gates and serial depth, and step 1.2 shows the same work bits are restored and reused. For n=0, both operation lists are empty and the normalized one-entry table has a single ray.

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

Amplitude Table Precision and Compilation

Statement

Let integer n≥0, D=2n, unit vector a∈CD, and integer b≥1 be given. Let v∈Q(i)D have each real and imaginary coordinate within 2−b of the corresponding coordinate of a. Put η=2D 2−b and assume η<1/2. Then v≠0 and ∥v/∥v∥2−a∥2≤2η. For n=0, the unique data ray is prepared by the empty circuit with zero error. For n≥1, prepare the normalized table v/∥v∥2 by QC24 State Preparation, and suppose its exact continuous circuit has an integer G≥1 of unitary blocks on the data and clean work register, each acting on at most a fixed integer k≥1 wires independent of n,D,G, with an integer s≥0 clean work qubits and G=O((n+1)D). For any 0<εc<1/2, choose a rational internal budget εc′ with εc/2<εc′<εc and compile each complete, unconditional block with projective operator-norm error at most εc′/G. Then the compiled joint output ray is within projective chord distance 2η+εc of [a⊗∣0s⟩].

For fixed block arity, the declared compiler interface yields O(Glog⁡c(G/εc)) finite-alphabet gates, with c=log⁡3/25. If the rational table v is supplied in a dense fixed-width encoding with b bits per real/imaginary coordinate, it has 2Db=Θ(Db) input bits; the preprocessing reads this encoding and computes the exact normalization internally. Table input and preprocessing are separate from coherent gate cost. The statement asserts no uniform bit-time for angle computation or SK compilation; the separate proposed supplier Finite-Precision Bit Complexity of the SU(2) Solovay–Kitaev Compiler and certified angle evaluation remain held obligations.

Facts & Assumptions

Given: A unit vector a, a rational table v, the error and block-compiler hypotheses in the Statement, an unconditional preparation circuit on n data qubits and its clean work register, and a fixed maximum block arity k≥1 independent of n,D,G.

[F1]

The preparation algorithm acts on an explicit table and produces the target ray by prefix rotations and leaf phases (QC24 State Preparation).

[F2]

Its exact circuit has G=O((n+1)D) bounded-arity gates (QC24 State Preparation Rotation Level Upper Bound).

[F3]

Projective chord distance is the infimum Euclidean distance over unit phases by definition, and this infimum is attained (QC24 Projective Chord Distance, Projective Chord Distance Formula).

[F4]

A rational table with a fixed-width encoding of b bits per real/imaginary coordinate occupies 2Db bits, and the model separates input scanning from quantum gate cost (QC24 State Preparation Cost Model).

[F5]

The Euclidean norm induced by the root inner product satisfies the triangle inequality (The inner-product norm is definite, homogeneous, and satisfies the triangle inequality).

[F6]

The operator norm is the maximum of ∥Tψ∥ over unit input vectors, and a unitary therefore has operator norm 1 (The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||).

[F8]

Between any two distinct real numbers lies a rational number (The rationals embed densely in the reals).

[F9]

The ordered tensor factors give an orthonormal product basis, and wire permutations permute that basis (Ordered tensor registers, their inner product, and wire permutations).

[A1]

Every block on r wires, 1≤r≤k, has an exact finite no-ancilla circuit over one-qubit U(2) gates and CNOTs; the stated QSD bound is at most 4r CNOTs for r≥2, and none is needed for r=1 (Exact QSD CNOT Upper Bound). Put Ck=4k and Mk=k+2Ck. Step 1.2 derives a uniform one-qubit factor bound from this CNOT bound by combining gates on each wire.

[A2]

The fixed-arity supplier Fixed-Arity Unitary Error Budget proves whole-block projective error and gate-count bounds for a supplied exact one-qubit/CNOT factorization. It accepts a real target error and uses a rational dyadic tolerance internally. No improved QSD CNOT count or compiler bit-time is inferred here.

Proof

Given: As in Facts & Assumptions.

1.1givenalgebra

Each of the 2D real coordinates differs by at most 2−b, so ∥v−a∥22≤2D 2−2b and ∥v−a∥2≤η. The reverse triangle inequality gives ∣∥v∥2−1∣≤η, hence ∥v∥2≥1−η>0.

1.2A1A2F1F2F8given

Use [F8] to choose a rational εc′ with εc/2<εc′<εc. Let the exact normalized-table circuit be UG⋯U1. Each block has positive arity rj≤k and, by [A1], an exact circuit with at most Ck CNOTs. Scan that circuit chronologically, maintaining one pending one-qubit product on each wire. At a one-qubit gate, compose it into its wire's pending product. Before each CNOT, emit the two pending products on its control and target and reset them to identity; pending products on other wires commute with that CNOT and may remain pending. At the end emit all rj pending products. This preserves the exact circuit product and uses at most 2Ck+rj≤Mk one-qubit factors, counting identities if necessary, so the one-qubit count is positive. Apply [A2] to this factorization with real target error εc′/G; it gives a compiled block U~j and a unit scalar λj with ∥Uj−λjU~j∥op≤εc′/G<εc/G. Each block includes all of its controls and targets before compilation; thus λj is a scalar on its entire support and becomes one global scalar when tensored with identities on the other wires.

2.1givenF5step 1.1algebra

Split the normalization error through v: by [F5], ∥v/∥v∥2−a∥2≤∥v/∥v∥2−v∥2+∥v−a∥2=∣1−∥v∥2∣+∥v−a∥2≤2η.

2.2F5F6F7F9step 1.2algebra

Insert the G intermediate products between UG⋯U1 and (∏jλj)U~G⋯U~1 to obtain the telescoping sum with one block difference in each term. Each support-level block difference, when extended by identity to the full ordered register, has operator norm at most its support norm: after permuting the product basis to group support and unused wires, write a vector as ∑txt⊗et in an orthonormal basis (et) of the unused wires, and use ∑t∥Axt∥2≤∥A∥op2∑t∥xt∥2. The wire permutation preserves norm by [F9]. For any unit input vector, [F5] bounds the norm of the telescoping sum by the sum of term norms; [F6] gives norm 1 for every surrounding unitary factor, so [F7] bounds each term by εc′/G. Taking the maximum over unit inputs with [F6] gives whole-circuit operator error at most ∑j=1Gεc′/G=εc′<εc. Applying this to the fixed initial vector gives projective chord error at most εc′ from the exact normalized-v output.

3.1F3F5step 2.1step 2.2algebra

By [F3], choose a phase aligning the compiled output to the exact normalized-v joint output within εc′, and a phase aligning that exact output to a⊗∣0s⟩ within 2η by step 2.1. Multiplying the second phase by the first and applying [F5] gives dch([out],[a⊗∣0s⟩])≤2η+εc′<2η+εc.

4.1A1A2F1F4step 1.2∎

For fixed maximum arity k, [A2] uses O(Mklog⁡c(MkG/εc′)+Ck) finite-alphabet gates per block at accuracy εc′/G. Since Mk,Ck are constants, εc′>εc/2, and G/εc>2, this is O(log⁡c(G/εc)) per block; hence G blocks use O(Glog⁡c(G/εc)) gates. If the rational input table v has an encoding as in [F4], it contains 2Db bits, and [F1] reads every real/imaginary coordinate in its preprocessing pass before exact normalization; this input scan is separate from quantum gate count. No angle-computation or compiler bit-time follows from these bounds.

Remarks

The compilation error is projective for each complete unconditional block. The exact QSD construction supplies the factorization needed by the fixed-arity compiler for every block in the stated arity bound. Rephasing a one-qubit gate before adding its control is not justified: that scalar becomes a relative phase between control branches. The separate bit-complexity supplier is not used as a premise here because no uniform bit-time claim is made.

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

QC24 Explicit State-Preparation Cost Guarantee

Statement

For an integer n≥0, D=2n, and target amplitudes supplied by the explicit normalized amplitude-table model of QC24 State Preparation Cost Model, QC24 State Preparation reads the dense table and produces an exact target ray using at most D−1 variable-control rotations and at most D phases. The local clean Toffoli ladder yields O((n+1)D) bounded-arity gates and serial depth using at most max⁡{n−1,0} clean work bits in addition to the data register. If an integer b≥1 specifies a dense fixed-width table with b bits for each real and imaginary coordinate that decodes exactly to the input amplitudes, it contains 2Db=Θ(Db) input bits; this procedure's explicit full-table preprocessing scan reads those bits. The statement assumes neither QRAM nor exact arbitrary-angle implementation in a fixed finite gate alphabet. It gives no uniform bit-time bound.

Facts & Assumptions

Given: The declared cost model, a valid dense table with D=2n entries, and its fixed-width encoding when a bit representation is specified.

[F1]

The model separates table length and classical preprocessing from continuous or finite-alphabet gates, width, ancillas and error metric; an encoding with b bits per real/imaginary coordinate has 2Db bits when it decodes exactly to the table (QC24 State Preparation Cost Model).

[F2]

The exact procedure reads an explicit table, computes all prefix norms and phases, and uses the specified bounded-arity flag construction (QC24 State Preparation).

[F3]

The exact target ray is prepared using at most D−1 prefix rotations and at most D leaf phases, with O((n+1)D) bounded-arity gates and serial depth and at most max⁡{n−1,0} clean work bits (QC24 State Preparation Rotation Level Upper Bound).

Proof

Given: As in Facts & Assumptions.

1.1F2F3algebra

By [F2] the table is a finite explicit classical input, and by [F3] its prefix procedure prepares the target ray. There are ∑l<n2l=D−1 prefix nodes before zero-norm branches are skipped, so the circuit uses at most D−1 rotations; there are at most D leaf phases. The same theorem supplies the bounded-arity gate, serial-depth and workspace counts.

1.2F1F2algebra

If the exact table is supplied in the fixed-width encoding of [F1], each of D entries contains b bits for its real coordinate and b for its imaginary coordinate, with no per-entry index because the order is fixed. The procedure reads each encoded coordinate in its full-table preprocessing scan to form subtree norms and phases, so it reads exactly 2Db input bits in this bit-read model. This is an input and preprocessing charge separate from coherent gate cost; no alternate oracle or compressed-input lower bound is asserted.

2.1F1F2∎

The gate construction uses continuous-angle operations under ideal exact arithmetic. A fixed finite alphabet only supplies the separate approximation claim once its compiler hypotheses are verified; the present exact gate-count statement makes no arbitrary-angle finite-set or uniform Turing-time claim.

5 · Examples, counterexamples and false statements

None yet.

Sources