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.

✓ 20 results · all verified · 16 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Quantum Optimization, Semidefinite Programs, and Variational Algorithms

1 · Prerequisites

2 · Summary

This page fixes the finite primal-dual SDP convention, proves the local strong-duality and matrix multiplicative-weights bridges, and gives finite coherent Gibbs/trace, robust two-sparse oracle and capped binary-search constructions. The sparse solver returns a high-probability additive-optimal classical dual list under its explicit normalized promises and controlled access. Its matrix-query bounds are proved with finite Hermitian value precision, listed-zero support unions and binary-time Fourier SELECT; gate, reference, coefficient, coherent arithmetic and memory costs remain explicitly charged. The membership/separation and variational portions retain their stated oracle conventions and computational-model qualifications. All current items remain draft; original native escalation decisions are preserved separately from this focused proof repair.

3 · Logical flowchart

4 · Definitions, theorems and proofs

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

Trace of a product of Hermitian matrices is real

Statement

For Hermitian matrices A,B∈Cn×n, n≥0, the trace tr⁡(AB) is real.

Facts & Assumptions

Given: A∗=A and B∗=B in an orthonormal coordinate basis; trace is the diagonal sum, including the empty sum when n=0.

[F2]

In orthonormal bases, the matrix of the adjoint is the conjugate transpose of the matrix: the matrix of an adjoint in orthonormal bases is the conjugate transpose.

[F4]

For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA): for compatible rectangular matrices, tr⁡(UV)=tr⁡(VU).

[F5]

The trace tr⁡(A) as the sum of the diagonal entries: trace is the sum of the diagonal entries, and the empty diagonal sum is zero.

Proof

technique · direct
1.1givenF2F5algebra

Conjugating the diagonal sum in [F5] entry by entry and using [F2] gives tr⁡(AB)‾=tr⁡((AB)∗). For n=0, both sides are the empty sum 0.

2.1givenF1F3F4step 1.1algebra∎

By [F1] and [F3], (AB)∗=B∗A∗=BA. Then [F4] gives tr⁡(BA)=tr⁡(AB), so step 1.1 says tr⁡(AB) equals its conjugate and is real.

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

Trace of a product of positive semidefinite matrices is nonnegative

Statement

If P,Q∈Cn×n are positive semidefinite, then tr⁡(PQ)≥0 for every n≥0.

Facts & Assumptions

Given: P,Q are self-adjoint and have nonnegative quadratic forms on a finite-dimensional complex inner-product space.

[F1]

Non-negative and positive operators: nonnegative means self-adjoint and ⟨Tx,x⟩≥0 for every vector x.

[F2]

A non-negative operator has a unique non-negative square root: a nonnegative finite-dimensional operator has a nonnegative square root R satisfying R2=P.

[F3]

For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA): tr⁡(UV)=tr⁡(VU) for compatible finite matrices.

[F4]

The trace tr⁡(A) as the sum of the diagonal entries: trace is the finite diagonal sum, with the empty sum equal to zero.

[F5]

Real and complex inner-product spaces and their induced length: the inner product is linear in the first argument, conjugate-linear in the second, and the quadratic form of a nonnegative operator is nonnegative real.

Proof

technique · direct
1.1givenF1F2F4F5algebra

Let R=P1/2 from [F2] and put T=RQR. Since Q is nonnegative by [F1], self-adjointness of R and the inner-product identity [F5] give ⟨Tx,x⟩=⟨QRx,Rx⟩≥0 for every x. Thus every diagonal entry ⟨Tej,ej⟩ in an orthonormal coordinate basis is nonnegative real; summing by [F4] gives tr⁡(T)≥0. This also holds in dimension zero because the trace is the empty sum.

2.1givenF3step 1.1algebra∎

Since P=R2, [F3] applied to U=R and V=RQ gives tr⁡(PQ)=tr⁡(R(RQ))=tr⁡((RQ)R)=tr⁡(RQR)=tr⁡(T)≥0 by step 1.1.

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

Finite capped quantum quantile minimum

Definition

Supply a finite coherent sampler V, its inverse, an exactly ordered finite score/label encoding, and a reversible exact comparison circuit. Supply controlled versions when used, the all-zero input reflection R0=I−2∣0⟩⟨0∣, and the reflection Rv=I−2Πv for the predicate score strictly smaller than an incumbent v. Each preparation retains its value/label work; every named access, comparison, reflection, gate and numerical precision cost is charged. The input quantile parameter is an integer N≥1, with rational confidence 0<δ<1.

A trial first samples an incumbent using V. Set its charged counter to one. To search for an improvement, use stages j=0,1,…, with Kj=⌈(3/2)j⌉ and worst-case stage charge 4Kj+4 for preparation/inverse/reflection calls. Before starting a stage that would exceed 100000⌈N⌉ total charge, stop the trial and return its incumbent. Otherwise charge that amount and do the following:

  1. Take one fresh direct sample. If its score is strictly smaller, replace the incumbent and restart at j=0.
  2. If not, draw at most five independent blocks of ⌈log⁡2Kj⌉ unbiased bits and use the first resulting integer q<Kj. If every draw is out of range, treat this stage as failed and increase j. For Kj=1 the zero-bit draw is q=0.
  3. If an index was accepted, prepare a fresh V∣0⟩, apply q copies of −VR0V†Rv, and measure the score/label. Verify the same exact comparison. On improvement replace the incumbent and restart at j=0; otherwise increase j.

Run R independent trials, where R is the least positive integer for which the exact rational comparison 8−R≤δ holds; find it by repeated rational multiplication and comparison. Return their least measured score and label. The loop is finite because 8R≥1+7R by the binomial theorem. Integer square-root ceilings use integer squaring comparisons; powers, ceilings, comparisons, and bit generation have their finite classical costs. The query theorem is Quantile minimum and coherent-score nondomination guarantee ↗.

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

Finite semidefinite primal-dual pair

Definition

Fix integers n≥0 and m≥0, Hermitian matrices C,A1,…,Am∈Cn×n, and b=(b1,…,bm)∈Rm. The primal semidefinite program is sup⁡{tr⁡(CX):X∈Cn×n, X⪰0, tr⁡(AjX)≤bj (1≤j≤m)}, and its declared dual program is inf⁡{b⋅y:y∈Rm, yj≥0, ∑j=1myjAj−C⪰0}. Here X⪰0 and D⪰0 mean positive semidefinite in the finite-dimensional quadratic-form sense. By Trace of a product of Hermitian matrices is real, all displayed trace objectives and constraints are real. Primal and dual feasibility, boundedness, attainment, trace bounds, sparsity, and normalizations such as A1=I,b1=R are separate promises and do not follow from this definition.

The sign convention is maximize for the primal, minimize for the dual, ≤ for primal scalar constraints, nonnegative dual multipliers, and dual slack ∑jyjAj−C⪰0.

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

Capped randomized amplitude amplification preserves a flagged output

Statement

Let V be a supplied finite-dimensional unitary preparation, Π a supplied success projector, and ∣0⟩ the declared initial vector. For every unit vector ∣ϕ⟩ on the sampler register, supply a two-outcome flag-only measurement instrument: its good outcome has probability ∥Π∣ϕ⟩∥2 and returns the normalized branch Π∣ϕ⟩/∥Π∣ϕ⟩∥ when nonzero; its bad outcome returns the normalized (I−Π)∣ϕ⟩ branch when nonzero. It leaves every score, label, and work register unmeasured, and its implementation and cost are declared. Let p=∥ΠV∣0⟩∥2≥plow>0, where plow is a supplied positive rational, and let 0<ρ<1 be a supplied rational failure target. A Grover iteration is G=(2∣ψ⟩⟨ψ∣−I)(I−2Π), where ∣ψ⟩=V∣0⟩, using the supplied exact reflections.

Set K=⌈1/plow⌉ and let N be the least positive integer for which the exact rational comparison (15/16)N≤ρ holds. These choices are finite: K is found by integer squaring comparisons, and repeated multiplication by 15/16 terminates because its powers tend to zero. If plow≥1/2, take at most N fresh preparations and apply the flag-only instrument to each, returning the first good branch or FAIL. Otherwise set b=⌈log⁡2K⌉; in each of at most N rounds, prepare V∣0⟩ and measure only the flag. Return its good branch if present. After a bad outcome, draw b fair bits to obtain J uniformly in {0,…,2b−1}. If J<K, prepare a fresh V∣0⟩, apply J Grover iterations, and measure only the flag; return its good branch if present. The events J≥K and a failed amplified flag count as a failed round. Return FAIL only after the cap. This procedure returns the normalized good projection ΠV∣0⟩/p up to global phase with probability at least 1−ρ. Its preparation, inverse, reflection, verifier, random-bit, and output costs are charged; the calls to V,V∗ and reflections are O(plow−1/2(1+ln⁡(1/ρ))).

Facts & Assumptions

Given: The declared preparation and exact reflections, the flag-only measurement instrument in the Statement, and the exact finite random bits and rational cap comparisons.

[F1]

Controlled Unitary Access: controlled uses of a supplied finite unitary are separately declared access operations.

[F2]

Inverse Unitary Access: the inverse preparation is the adjoint circuit and its calls are separately charged.

[F3]

Finite projective measurements: projective-measurement outcome weights are given by the Born rule; the flag-only branch update used here is an explicit supplied instrument in the Statement.

[F4]

Projector Reflections Are Hermitian Unitary Involutions: projector reflections are self-adjoint unitary involutions.

[F5]

The exponential function is strictly increasing: the real exponential is strictly increasing.

[F6]

The natural logarithm as the inverse of the exponential function: ln⁡ is the inverse of the positive real exponential.

[F7]

exp⁡(z+w)=exp⁡z exp⁡w, and the complex exponential extends the real exponential: the real exponential satisfies exp⁡(x+y)=exp⁡(x)exp⁡(y).

Proof

technique · direct
1.1givenF4algebrainduction

If p=1, the direct flag outcome is good. If 0<p<1, put u=1−p, v=p, z=u+iv, and ξ=z2=a+iβ, so a=1−2p and β=2p(1−p). The orthonormal vectors ∣B⟩=(I−Π)∣ψ⟩/u and ∣G⟩=Π∣ψ⟩/v give ∣ψ⟩=u∣B⟩+v∣G⟩. In this ordered basis the reflection about ∣ψ⟩ is (aββ−a) and I−2Π=diag⁡(1,−1), so one Grover iteration has matrix (a−ββa). It multiplies the complex coordinate u+iv by ξ, hence after j iterations the good amplitude is Im⁡(ξjz)=Im⁡(z2j+1).

2.1givenstep 1.1algebra

If plow<1/2, then K≥2 and minimality of b=⌈log⁡2K⌉ gives K/2b≥1/2. Conditional on J<K, the draw is uniform on 0,…,K−1. For p≤1/2, (Im⁡w)2=(1−Re⁡(w2))/2 and the finite geometric sum of ξ2j+1 give 1K∑j=0K−1(Im⁡(z2j+1))2=12−Im⁡(ξ2K)4Kβ≥12−14Kβ. Here β=2p(1−p)≥2p and K≥1/plow, so Kβ≥2 and the conditional mean success exceeds 1/8. Multiplication by Pr⁡(J<K)≥1/2 gives randomized-branch success at least 1/16. For p>1/2 the direct flag succeeds with probability greater than 1/2.

3.1givenF5F6F7step 2.1algebra

If p≤1/2, the direct-then-randomized round succeeds with probability at least 1/16 by step 2.1; if p>1/2 or plow≥1/2, its direct flag succeeds with probability at least 1/2. Independent fresh rounds therefore fail altogether with probability at most (15/16)N≤ρ by the exact cap test. The comparison loop terminates because (16/15)N=(1+1/15)N≥1+N/15 by the binomial theorem, so (15/16)N≤15/(15+N)→0. If N>1, minimality gives (15/16)N−1>ρ; applying the increasing logarithm and using ln⁡((16/15)N−1)=(N−1)ln⁡(16/15), with ln⁡(16/15)>0, gives N−1<ln⁡(1/ρ)/ln⁡(16/15). The same asymptotic bound holds for N=1, so N=O(1+ln⁡(1/ρ)). Since K=O(plow−1/2), the stated call bound follows.

4.1givenF1F2F3step 1.1algebra∎

Every successful branch is passed through the supplied flag-only instrument, so its returned state is the normalized good projection of that branch's input and no score, label, or work register is measured. Step 1.1 shows that each amplified good component is a scalar multiple of ∣G⟩; direct success has the same good ray. Thus every successful return is ΠV∣0⟩/p up to global phase. Each round uses at most K−1 Grover iterations, one direct preparation, at most one amplified preparation, and b random bits; multiplying by N proves the stated call and random-bit bounds, with each controlled, inverse, reflection, verifier, and output cost charged.

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

Normalized Hermitian observable defines a two-outcome POVM

Statement

Let M=M∗ act on a finite-dimensional nonzero complex inner-product space and suppose ∥M∥≤1. Then E+=(I+M)/2 and E−=(I−M)/2 are effects summing to I. For a density operator ρ, the two outcomes assigned values +1 and −1 have mean tr⁡(Mρ).

Facts & Assumptions

Given: A finite-dimensional nonzero complex inner-product space H, a self-adjoint operator M with ∥M∥≤1, and a density operator ρ on H.

[F3]

Real and complex inner-product spaces and their induced length: ⟨⋅,⋅⟩ is conjugate-symmetric, and the convention is linear in its first argument.

[F4]

Non-negative and positive operators: nonnegative means self-adjoint with nonnegative quadratic form.

[F5]

Finite positive effect family: an effect has both E and I−E nonnegative, and a finite complete positive family is a nonempty finite family of nonnegative operators summing to I.

[F6]

Finite POVMs and their outcome law: a finite POVM is a finite family of nonnegative operators summing to I, with outcome weights pρ(a)=tr⁡(ρEa) for a density operator ρ.

[F7]

Density operator: ρ is nonnegative and tr⁡(ρ)=1.

[F9]

Trace of a product of positive semidefinite matrices is nonnegative: the trace of a product of positive semidefinite matrices is nonnegative real.

[F10]

Trace of a product of Hermitian matrices is real: the trace of two Hermitian matrices' product is real.

[F11]

The basis-independent trace of an endomorphism of a finite-dimensional vector space: endomorphism trace is the matrix trace in any chosen basis.

[F12]

For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA): tr⁡(AB)=tr⁡(BA) for compatible finite square products.

[F13]

The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||: the operator norm bounds ∥Tv∥ for each unit vector v.

Proof

technique · direct
1.1givenF1F2F3F4F5F6F13algebra

Since M=M∗, MM∗=M2=M∗M, so [F1] gives an orthonormal eigenbasis Mek=λkek. For each unit ek, [F2] and [F3] give λk=⟨Mek,ek⟩=⟨ek,Mek⟩=λk‾, so λk is real; [F13] gives ∣λk∣=∥Mek∥≤∥M∥≤1. Thus the eigenvalues (1±λk)/2 of E± and those of I−E± are nonnegative, so both operators are nonnegative and each E± is an effect by [F4] and [F5]. Direct addition gives E++E−=I, hence the pair is a two-outcome POVM by [F6].

2.1givenF6F7F8F9F10F11F12step 1.1algebra∎

By [F6], the outcome weights are p±=tr⁡(ρE±); representing endomorphisms in the orthonormal basis from step 1.1, [F9] makes them nonnegative. By [F8], [F11], [F7], and E++E−=I, their sum is p++p−=tr⁡(ρ(E++E−))=tr⁡(ρ)=1. Their signed mean is p+−p−=tr⁡(ρ(E+−E−))=tr⁡(ρM)=tr⁡(Mρ) by [F8] and [F12], and it is real by [F10]. Thus the outcome law has mean tr⁡(Mρ).

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

Matrix multiplicative-weights game and update

Definition

For n≥1, a round count T≥1, and Hermitian losses M1,…,MT∈Cn×n with −I⪯Mt⪯I, choose 0<η≤1. Define S0=0, St=∑s=1tMs, Wt=e−ηSt−1, and ρt=Wt/tr⁡(Wt). The round cost is tr⁡(Mtρt). The exponential is the finite-dimensional Hermitian spectral functional calculus. Loss matrices, access to them, and the classical or quantum work to construct them are input costs.

Facts & Assumptions

Given: Finite Hermitian loss matrices M1,…,MT, a real parameter 0<η≤1, and the trace as the diagonal sum.

[F4]

Real and complex inner-product spaces and their induced length: the inner product is conjugate-symmetric.

[F5]

The spectral functional calculus f(T) for a normal endomorphism: for a normal S=∑kλkPk, f(S)=∑kf(λk)Pk.

[F7]

The trace tr⁡(A) as the sum of the diagonal entries: trace is the sum of diagonal entries.

[F8]

Non-negative and positive operators and Density operator: nonnegative means self-adjoint with nonnegative quadratic form; positive definite means strictly positive quadratic form on nonzero vectors; a density operator is nonnegative with trace one.

[F9]

Trace of a product of Hermitian matrices is real: the trace of a product of Hermitian matrices is real.

Verification

technique · direct
1.1givenF1F2F3F4F5F6F7algebra

Each St−1 is Hermitian by [F2] and hence normal, so [F1] gives an orthonormal eigenbasis St−1ek=λkek. For each unit ek, [F3] and [F4] give λk=⟨St−1ek,ek⟩=⟨ek,St−1ek⟩=λk‾, so λk∈R. By [F5] and [F6], the eigenvalues exp⁡(−ηλk) of Wt are positive; hence Wt is positive definite and [F7] gives tr⁡(Wt)=∑kexp⁡(−ηλk)>0. Therefore ρt is defined.

2.1givenF7F8F9step 1.1algebra∎

Scaling the positive operator Wt by its positive trace gives ρt⪰0, and the diagonal-sum definition of trace gives tr⁡(ρt)=tr⁡(Wt)/tr⁡(Wt)=1. Thus each update is a density matrix by [F8]. Since Mt and ρt are Hermitian, their product has real trace by [F9], so the round cost is a well-defined real number.

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

Normalized Hermitian inequality SDPs have equal primal and dual values

Statement

Let n≥0 and m≥1 be finite integers. Consider the Hermitian inequality-form primal and dual of Finite semidefinite primal-dual pair, with ∥Aj∥,∥C∥≤1, A1=I, and b1=R>0. Suppose the primal feasible set is nonempty. Then that set is compact, the primal supremum is attained, and the primal and dual values satisfy p∗=d∗∈[−R,R]. The dual has a feasible point whose coordinates are all strictly positive and whose matrix slack is positive definite. No strict primal feasibility is required. Dual optimal attainment remains a separate promise: if a dual optimum y∗ with ∥y∗∥1≤r, r≥1, is supplied, then b⋅y∗=p∗ with the same norm bound.

Facts & Assumptions

Given: The finite Hermitian primal-dual pair, normalization, and primal nonemptiness in the Statement.

[F1]

Finite semidefinite primal-dual pair and Trace of a product of Hermitian matrices is real: the primal maximizes tr⁡(CX) subject to X⪰0 and tr⁡(AjX)≤bj; the dual minimizes b⋅y subject to y≥0 and ∑jyjAj−C⪰0. All these trace quantities are real.

[F2]

Non-negative and positive operators and 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: a finite complex Hermitian positive semidefinite matrix has an orthonormal eigenbasis with nonnegative eigenvalues; positive definite means a strictly positive quadratic form on every nonzero vector.

[F3]

The trace tr⁡(A) as the sum of the diagonal entries: trace is the diagonal sum, including the empty sum for n=0.

[F7]

A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value: a continuous real function on a nonempty compact metric space attains its extrema, without choice.

[F8]

Interior, closure, boundary, limit point, isolated point and dense subset of a metric space: a point lies in a set's closure exactly when every neighborhood meets the set.

[F9]

A point outside a nonempty closed convex set is strictly separated from it: a point outside a nonempty closed convex subset of Rk, k≥1, has a strict separating real linear functional.

Proof

1.1givenF1F2F3algebra

If n=0, there is one matrix X, all traces are zero, and primal nonemptiness implies bj≥0 for every j. The primal singleton is compact with optimum 0, while every y≥0 is dual feasible and b⋅y≥0, with equality at y=0. The vector q1=m+1, qj=1 for j≥2 is strictly positive and its empty matrix slack is positive definite in the quadratic-form sense, since there is no nonzero vector. Thus all conclusions hold. Henceforth assume n≥1.

1.2F1F2F3algebra

Regard the Hermitian matrices Hn as a real space with coordinates the n real diagonal entries and the real and imaginary parts above the diagonal, giving Rn2. Direct diagonal summation yields tr⁡(UV)=∑iUiiVii+2∑i<jRe⁡(UijVij‾) for Hermitian U,V. This is a real inner product, with norm ∥U∥F=(∑i,j∣Uij∣2)1/2; all finite linear maps below are continuous in these coordinates. The cone K={X∈Hn:X⪰0} is convex and closed, being the intersection over v∈Cn of the closed real half-spaces v∗Xv≥0.

2.1F2F3F4step 1.2algebra

Direct summation gives tr⁡(Dvv∗)=v∗Dv. For X∈K, write X=∑iλivivi∗ in an orthonormal eigenbasis, with λi≥0. Then tr⁡(X)=∑iλi and ∥X∥F2=tr⁡(X2)=∑iλi2, so ∥X∥F≤tr⁡(X). For D∈K, tr⁡(DX)=∑iλivi∗Dvi≥0. Conversely, a Hermitian D pairing nonnegatively with every X∈K has v∗Dv≥0 by testing X=vv∗, so D∈K. Thus K is self-dual for the real trace pairing. If D is Hermitian with ∥D∥≤1, [F4] gives ∣v∗Dv∣≤∥v∥2, whence −I⪯D⪯I and ∣tr⁡(DX)∣≤tr⁡(X) for X∈K.

3.1givenF1F5F7step 1.2step 2.1algebra

The first constraint gives 0≤tr⁡(X)≤R for every primal feasible X. That feasible set is nonempty, closed by step 1.2 and continuity of its finitely many constraints, and bounded by ∥X∥F≤R. Hence [F5] and [F7] give compactness and attainment of the primal maximum. Step 2.1 with D=C gives ∣tr⁡(CX)∣≤R, so p∗∈[−R,R].

4.1givenF1F2step 2.1step 3.1algebraconstruct

Set q1=m+1 and qj=1 for j≥2. Step 2.1 gives S0:=∑jqjAj−C⪰((m+1)−(m−1)−1)I=I, so q has strictly positive coordinates and positive definite matrix slack. For primal feasible X and dual feasible y, self-duality gives b⋅y−tr⁡(CX)=∑jyj(bj−tr⁡(AjX))+tr⁡((∑jyjAj−C)X)≥0. Thus p∗≤d∗≤b⋅q, and the dual infimum is finite.

5.1F5F6F8step 1.2step 2.1step 4.1algebraconstruct

Put A(X)=(tr⁡(AjX))j and Φ(X,s,a)=(A(X)+s,tr⁡(CX)−a). The image S=Φ(K×R+m×R+) is a nonempty convex cone containing (0,0). To prove it closed, fix z=(u,t)∈S‾ and the open neighborhood V={(u′,t′):∣uj′−uj∣<1 for all j, ∣t′−t∣<1}. For every point of S∩V and every witness (X,s,a), step 4.1 gives tr⁡(X)+∑jsj+a≤tr⁡(S0X)+q⋅s+a=q⋅u′−t′≤∑jqj(∣uj∣+1)+∣t∣+1. With B=∑jqj(∣uj∣+1)+∣t∣+2, all these witnesses belong to the closed bounded set E={(X,s,a):X∈K, tr⁡(X)≤B, 0≤sj≤B, 0≤a≤B} in Rn2+m+1. By [F5] and [F6], Φ(E) is compact and closed, and S∩V⊆Φ(E)⊆S. Every neighborhood U of z has U∩V meeting S, so [F8] gives z∈S∩V‾⊆Φ(E)⊆S. Thus S is closed; no sequence of witness selections was used.

6.1givenF1F9step 3.1step 5.1algebrachoose

Fix γ>p∗. If A(X)+s=b with X∈K,s≥0, then X is primal feasible and tr⁡(CX)−a≤p∗<γ for a≥0. Hence (b,γ)∉S. By [F9] there are w∈Rm and α,β∈R with w⋅u+αt≤β<w⋅b+αγ for every (u,t)∈S. The points (0,−a)∈S for all a≥0 force α≥0. Fix one primal feasible Xf and set sf=b−A(Xf)≥0; then (b,tr⁡(CXf))∈S. If α=0, that point gives the contradiction w⋅b≤β<w⋅b. Thus α>0, using no strictness of Xf or its scalar inequalities.

7.1F1step 2.1step 3.1step 4.1step 5.1step 6.1algebra∎

The coordinate rays (s,0)∈S force wj≤0. Scaling (A(X),tr⁡(CX))∈S by arbitrarily large nonnegative scalars forces tr⁡((∑jwjAj+αC)X)≤0 for every X∈K. Self-duality therefore makes y=−w/α≥0 dual feasible. Since (0,0)∈S, separation gives 0≤β<w⋅b+αγ, so b⋅y<γ. Consequently every γ>p∗ exceeds some dual feasible objective. If d∗>p∗, taking γ=(p∗+d∗)/2 contradicts the definition of d∗. Thus d∗≤p∗, and weak duality gives equality. Step 3.1 supplies primal attainment and the interval. An additionally promised optimal dual witness satisfies b⋅y∗=d∗=p∗ and retains its promised norm bound.

Remarks

The trace bound and norm normalization establish primal compactness and the search interval directly. Strict dual feasibility closes the product-cone image used for separation. Primal nonemptiness alone ensures a nonzero objective coefficient in that separation. The argument proves no unconditional dual attainment; the source's bound r is explicitly a promise about an attained dual optimum.

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

Quantile minimum and coherent-score nondomination guarantee

Statement

For the finite sampler in Finite capped quantum quantile minimum, with integer quantile parameter N≥1 and rational confidence 0<δ<1, put q(v)=Pr⁡(score<v). With probability at least 1−δ the returned score v satisfies q(v)<1/N. If the minimum score has probability at least 1/N, the returned score is a minimum. The algorithm uses O(N(1+ln⁡(1/δ))) preparation/inverse/reflection calls on every branch; comparisons, finite arithmetic, gates and output are additional charged coordinates.

For the coherent-score version, suppose V preserves a uniform index j∈[m] and its estimate is bad with probability at most ν on each index. Let Q bound all sampler, inverse and controlled sampler calls in the algorithm at confidence δ/2. If ν≤(δ/(16Q))2, running with N=m returns, with probability at least 1−δ, a good label whose score is not strictly greater than every good label at any one index. Individual good labels need not have appreciable probability. This guarantee uses the actual coherent sampler and its inverse; it does not supply them or infer inverse access from postselection.

Facts & Assumptions

Given: The supplied coherent access, exact comparisons, independent fresh samples and random bits, and numerical/implementation errors already included in the sampler contract.

[F1]

Finite capped quantum quantile minimum specifies the bounded stages, direct samples, five bit attempts, independent trials and charged cap.

[F2]

The finite good/bad decomposition and reflection rotation preserve the normalized good projection up to global phase (Capped randomized amplitude amplification preserves a flagged output); the two-dimensional calculation is also recorded below.

[F3]

The exponential function is strictly increasing: exp⁡ is strictly increasing on R.

[F4]

The natural logarithm as the inverse of the exponential function defines log⁡y as the inverse of exp⁡ for y>0; here ln⁡ denotes that natural logarithm.

[F5]

exp⁡(z+w)=exp⁡z exp⁡w, and the complex exponential extends the real exponential: exp⁡(x+y)=exp⁡(x)exp⁡(y) for real x,y.

Proof

Given: The sampler, exact comparison/reflections and finite algorithm of [F1].

1.1F1F2givenalgebra

Write p=Pr⁡(score<v) for an incumbent. By the good/bad decomposition in [F2], after q Grover iterations the success probability is ∣Im⁡(z2q+1)∣2 for z=1−p+ip; the same exact two-coordinate recurrence as in that lemma applies. The flag-only good branch has the normalized good projection, whose score/label measurement is therefore distributed as the original sampler conditioned on score <v. Direct successes have this same conditional distribution. Thus every verified improvement has that conditional distribution, with probability zero of improvement when p=0. For 0<p<1, the finite geometric sum in [F2] also gives the random-iteration average 12−Im⁡(z4K)/(4Kβ), where β=2p(1−p) and K is the current stage cap.

1.2givenF1constructalgebra

Suppose the sampler preserves a uniform input index j∈[m] and has bad-estimate probability at most ν for each j. In analysis only, replace its per-index output by the normalized good projection. The good subspace can depend on the true value; no implementation of that projector is assumed. For each j, a two-dimensional rotation takes the actual unit output to its good normalization with operator distance at most 2ν: its angle has cosine 1−pbad, so 2sin⁡(γ/2)≤2ν. The direct sum of these rotations over the preserved index gives a unitary sampler replacement with the same operator bound. Inverses and controlled versions have the same bound. For at most Q sampler calls, telescoping products gives output-vector error at most 2Qν, and any measured event changes by at most 4Qν. This also covers adaptive classical branches by retaining measurement results as orthogonal history registers.

2.1step 1.1algebra

If p=0, no improvement is possible and the incumbent already has strict-lower mass zero. For 0<p≤1/2, put β=2p(1−p)≥2p, t=5/(2β)≥5/2, and let J be the first stage with KJ≥t. For every subsequent stage, step 1.1 gives conditional Grover success at least 2/5; five bounded bit attempts make the random part accepted with probability at least 31/32, so stage survival is at most 49/80. The pre-threshold charge is at most 42t: use ∑j≤J(4Kj+4)≤12(3/2)J+8(J+1), (3/2)J<(3/2)t, and J+1≤3t. The remaining expected charge is at most ∑h≥0(49/80)h(6t(3/2)h+8)=960t/13+640/31. Together these are below 128t, hence below 256/p. If p>1/2, the direct sample alone makes stage survival at most 1/2, and total expected charge is at most ∑j≥02−j(4(3/2)j+8)=32≤256/p. Thus every verified improvement has expected charge at most 256/p.

3.1step 1.1step 2.1algebra

For clarity choose dyadic rank bands [a,2a), a=2ℓ/N, truncated at one. If an incumbent lies in such a band, the next improvement has probability at least 1/2 of having rank below a. Indeed, under the distribution conditioned below the incumbent, the total mass of scores whose strict lower cumulative mass is less than a is at least a; an atom crossing that cumulative threshold is included, so discreteness cannot reduce that mass. The conditional mass is at least a/q(v)≥1/2. Ranks decrease, so each band is entered at most once and has at most two visits in expectation. The expected charge until rank is below 1/N is therefore at most 1+512N∑ℓ≥02−ℓ/2<2048N. Markov's inequality at the declared finite cap 100000⌈N⌉ gives trial failure below 1/8. Truncation is coupled to the precharged unbounded procedure: on paths whose hitting charge is within the cap, no precharge check stops the trial before its successful incumbent.

4.1givenF1F3F4F5step 3.1algebra

Independent trials each succeed with probability at least 7/8. Returning their smallest score preserves success whenever one trial succeeds, so the all-failure probability is at most 8−R≤δ by the exact rational cap test in [F1]. If R>1, minimality gives 8−(R−1)>δ; applying the increasing logarithm and using ln⁡(8R−1)=(R−1)ln⁡8 yields R−1<ln⁡(1/δ)/ln⁡8, with ln⁡8>0 since 8>1. This also gives R=O(1+ln⁡(1/δ)) when R=1. A cutoff with q(v)<1/N is at or below any score whose cumulative mass is at least 1/N; this proves the minimum specialization. No probability of an exact score atom is assumed beyond the stated quantile/minimum promise.

5.1givenstep 4.1step 1.2algebra∎

Run the quantile algorithm with N=m and confidence δ/2 on that ideal cleaned sampler, and choose ν≤(δ/(16Q))2. The ideal output is good and has less than 1/m strict-lower score mass. Thus no index can have every good output score strictly below the returned score: that one index alone would contribute probability 1/m. The hybrid bound transfers this good-output/nondomination property to the implemented sampler with failure at most δ. It does not require the selected score atom to have probability 1/m, does not union-bound unmeasured branches as classical samples, and does not infer a simultaneous deterministic table of all estimates. The separate planar oracle proof handles compatible completion of its two score orders.

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

Weak duality for the finite SDP pair

Statement

For every primal-feasible X and dual-feasible y in Finite semidefinite primal-dual pair, tr⁡(CX)≤b⋅y. More precisely, b⋅y−tr⁡(CX)=∑j=1myj(bj−tr⁡(AjX))+tr⁡ ⁣((∑j=1myjAj−C)X), and every term on the right is nonnegative.

Facts & Assumptions

Given: X⪰0, tr⁡(AjX)≤bj, yj≥0, and D:=∑jyjAj−C⪰0.

[F1]

Finite semidefinite primal-dual pair: these are the exact primal and dual feasibility conditions and trace sign convention.

[F3]

Trace of a product of positive semidefinite matrices is nonnegative: for positive semidefinite P,Q, tr⁡(PQ)≥0.

Proof

technique · direct
1.1givenF1F2F3algebra

Expand D=∑jyjAj−C and use [F2] to obtain the displayed identity. Each scalar term is nonnegative because both yj and bj−tr⁡(AjX) are nonnegative by [F1]. The remaining term is nonnegative by [F1] and [F3] applied to D,X.

2.1step 1.1F1algebra∎

The right side of the identity in step 1.1 is a sum of nonnegative real numbers, so b⋅y−tr⁡(CX)≥0, which is the claimed inequality. No feasibility beyond [F1], optimizer, or strong-duality assumption is used.

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

Scalar exponential bound for bounded losses

Statement

For 0<η≤1 and x∈[−1,1], exp⁡(−ηx)≤1−ηx+η2. Consequently, if M=M∗ and −I⪯M⪯I, then exp⁡(−ηM)⪯I−ηM+η2I.

Facts & Assumptions

Given: 0<η≤1, x∈[−1,1], and a Hermitian matrix M with −I⪯M⪯I. The order inequalities mean that I−M and I+M have nonnegative quadratic forms.

[F3]

The spectral functional calculus f(T) for a normal endomorphism: if M=∑jλjPj, then f(M)=∑jf(λj)Pj for f on its spectrum.

[F4]

The real exponential function and the number e by a power series and The exponential series converges absolutely for every real argument: exp⁡(u)=∑k≥0uk/k!, and this series converges absolutely for every real input, so consecutive tails may be grouped.

[F5]

The factorial n! and the falling factorial nk‾, defined by recursion in N, Integer powers am, and Monotonicity of x↦xn and of n↦an: (k+1)!=(k+1)k!, powers satisfy an+1=ana, and 0≤u≤1 implies un≤1.

[F7]

Non-negative and positive operators and Finite semidefinite primal-dual pair: nonnegative and positive-semidefinite operators have the stated quadratic-form meanings.

Proof

technique · direct
1.1givenF4F5F6algebra

Put u=−ηx, so ∣u∣≤1. From [F5] and 2!=2, induction gives k!≥2k−1 for k≥2: if it holds at k≥2, then (k+1)!=(k+1)k!≥3⋅2k−1>2k, so the bound is strict for k≥3. Thus [F6] gives ∑k≥21/k!≤1/2+1/6+∑k≥42−(k−1)=1/2+1/6+(1/8)∑j≥02−j=11/12<1. If u=0, [F4] gives exp⁡(u)=1=1+u+u2. If 0<u≤1, then uk=u2uk−2≤u2 for k≥2 by [F5], so [F4] gives exp⁡(u)=1+u+∑k≥2uk/k!≤1+u+u2∑k≥21/k!<1+u+u2. If u=−v≤0 with 0≤v≤1, the absolute convergence in [F4] allows consecutive grouping because the partial sums after each pair are a subsequence of the ordinary partial sums and hence have the same limit; each pair after the quadratic term is −v2j+3/(2j+3)!+v2j+4/(2j+4)!=−v2j+3(2j+3)!(1−v2j+4)≤0 for j≥0. Hence exp⁡(−v)≤1−v+v2/2≤1−v+v2. In every case, exp⁡(u)≤1+u+u2.

2.1givenF1F2F3F7step 1.1algebra∎

The scalar bound in step 1.1 gives exp⁡(−ηx)≤1−ηx+η2x2≤1−ηx+η2. Since M=M∗, it is normal, so [F1] gives an orthonormal eigenbasis Mek=λkek. For each unit ek, [F2] gives λk=⟨Mek,ek⟩=⟨ek,Mek⟩=λk‾, hence λk is real; testing the order bounds on ek gives 1−λk≥0 and 1+λk≥0, so λk∈[−1,1]. By [F3], exp⁡(−ηM) and I−ηM+η2I are diagonal in this basis, and applying the scalar bound to each eigenvalue shows their difference is positive semidefinite by [F7].

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

Matrix multiplicative-weights regret bound

Statement

Let n≥1, T≥1, 0<η≤1, and let M1,…,MT be Hermitian with −I⪯Mt⪯I. For the update of Matrix multiplicative-weights game and update, ∑t=1Ttr⁡(Mtρt)≤λmin⁡ ⁣(∑t=1TMt)+ηT+ln⁡nη.

Facts & Assumptions

Given: The MMW update, Golden–Thompson for finite Hermitian matrices, and the local exponential and positive-trace lemmas.

[F1]

Matrix multiplicative-weights game and update: St=∑s≤tMs, ρt=e−ηSt−1/tr⁡(e−ηSt−1), and its verification proves each ρt is positive with trace one.

[F2]

Scalar exponential bound for bounded losses: e−ηMt⪯I−ηMt+η2I.

[F3]

Finite-dimensional Golden–Thompson trace inequality: for Hermitian H,K, tr⁡(eH+K)≤tr⁡(eHeK).

[F4]

Trace of a product of positive semidefinite matrices is nonnegative: the trace of a product of positive semidefinite matrices is nonnegative.

[F5]

Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely: the eigenvalues of a Hermitian matrix are real, and its trace and exponential are the corresponding eigenvalue sums.

[F6]

Trace of a product of Hermitian matrices is real: the trace of two Hermitian matrices product is real.

[F7]

For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA): trace is invariant under unitary conjugation and cyclic for compatible products.

[F8]

The real exponential function and the number e by a power series defines the scalar exponential by its factorial series, The exponential series converges absolutely for every real argument gives absolute convergence, and The factorial n! and the falling factorial nk‾, defined by recursion in N gives the factorial recursion used to group its tail under the canonical real embedding.

[F9]

Trace is a linear functional on Mn(F): trace distributes over finite sums and scalar multiples.

[F10]

The natural logarithm as the inverse of the exponential function defines ln⁡x as the inverse of exp⁡ for x>0.

[F11]

The exponential function is strictly increasing makes this inverse strictly increasing, and exp⁡(z+w)=exp⁡z exp⁡w, and the complex exponential extends the real exponential supplies exp⁡(x+y)=exp⁡(x)exp⁡(y) for real inputs.

Proof

technique · direct
1.1givenF1F2F3F4F5F6F7F8F9algebra

Put Zt=tr⁡(e−ηSt) and mt=tr⁡(Mtρt). By [F5], write Mt=Udiag⁡(λ1,…,λn)U∗; the loss bounds imply λk∈[−1,1]. The matrix σ=U∗ρtU is positive with trace one by [F1] and [F7]. Thus qk=σkk≥0 and ∑kqk=1. Trace cyclicity and the diagonal-sum formula give mt=∑kλkqk∈[−1,1], consistently with [F6]. Hence 1−ηmt+η2≥1−η+η2=(η−1/2)2+3/4>0. Since St is Hermitian, Golden–Thompson [F3] gives Zt≤tr⁡(e−ηSt−1e−ηMt). By [F2], (I−ηMt+η2I)−e−ηMt⪰0; [F4] compares its trace product with the positive matrix e−ηSt−1, and [F9] expands the result as Zt≤Zt−1(1−ηmt+η2). Put s=−ηmt+η2, so s≥η2−η≥−1/4. If s≥0, the series [F8] gives exp⁡(s)≥1+s. If s=−v with 0<v≤1/4, absolute convergence [F8] permits pairing the tail after its linear term as ∑j≥0v2j+2(2j+2)!(1−v2j+3)≥0, so again exp⁡(s)≥1+s. Therefore Zt≤Zt−1exp⁡(−ηmt+η2).

2.1givenF5F10F11step 1.1algebra∎

Iterating step 1.1 from Z0=n gives ZT≤nexp⁡(−η∑tmt+η2T). If ST has eigenvalues λ1,…,λn, [F5] gives ZT=∑ke−ηλk≥exp⁡(−ηλmin⁡(ST)). Since n>0, [F10]–[F11] give nexp⁡(−η∑tmt+η2T)=exp⁡(ln⁡n−η∑tmt+η2T). Strict increase of exp⁡ and the inverse relation in [F10] therefore imply −ηλmin⁡(ST)≤ln⁡n−η∑tmt+η2T. Rearranging and dividing by η>0 proves the inequality.

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

No-failure MMW rounds yield an approximate dual-feasible vector

Statement

Let n,m≥1 and consider a primal-dual pair with A1=In, b1=R>0, ∥Aj∥,∥C∥≤1, and a dual optimum attained by some vector of ℓ1 norm at most r≥1. Set w=r+1. Suppose for t=1,…,T the MMW update uses losses Mt=∑jyt,jAj−Cw, where yt≥0, ∥yt∥1≤r, b⋅yt≤α, and supplied estimates satisfy ∣a~t,j−tr⁡(Ajρt)∣≤θ, ∣c~t−tr⁡(Cρt)∣≤θ, and ∑jyt,ja~t,j−c~t≥−wθ. If 0<η≤1 and γ≥w(2θ+η+ln⁡(n)/(ηT)), then yˉ=γe1+T−1∑tyt is dual feasible and b⋅yˉ≤α+γR.

Facts & Assumptions

Given: The normalized finite SDP, each round's multiplier vector and trace estimates, and the MMW regret bound.

[F1]

Finite semidefinite primal-dual pair: dual feasibility requires nonnegative coordinates and positive semidefinite slack ∑jyjAj−C.

[F2]

Matrix multiplicative-weights game and update: the round density matrix is ρt and the round loss is tr⁡(Mtρt).

[F3]

Matrix multiplicative-weights regret bound: ∑ttr⁡(Mtρt)≤λmin⁡(∑tMt)+ηT+ln⁡(n)/η.

Proof

technique · direct
1.1givenF2algebra

By ∥Aj∥,∥C∥≤1 and ∥yt∥1≤r, the triangle inequality gives ∥Mt∥≤(r+1)/w=1, so the regret bound applies. The trace-estimate assumptions and ∑jyt,j≤r give ∣∑jyt,ja~t,j−c~t−tr⁡ ⁣((∑jyt,jAj−C)ρt)∣≤(r+1)θ=wθ. Together with the shifted-oracle inequality, this implies tr⁡(Mtρt)≥−2θ.

2.1givenF3step 1.1algebra

Sum the lower bounds from step 1.1 and combine them with [F3]. Writing S=∑tMt, we get −2θT≤λmin⁡(S)+ηT+ln⁡(n)/η, hence λmin⁡(S/T)≥−(2θ+η+ln⁡(n)/(ηT)).

3.1givenF1step 2.1algebra∎

The dual slack of yˉ is ∑jyˉjAj−C=γI+(w/T)S, because the identity coefficient contributes γA1=γI. Step 2.1 and the lower bound on γ make this matrix positive semidefinite. Also yˉ≥0 and b⋅yˉ=γR+T−1∑tb⋅yt≤γR+α. These are exactly the dual feasibility and objective claims in [F1].

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

Parameterized variational quantum objective

Definition

A finite variational quantum algorithm (VQA) specifies a parameter domain Θ⊆Rp, a supplied parameterized finite circuit U(θ), finitely many prepared density operators ρk, Hermitian observables Ok, real-valued functions fk on the corresponding expectation ranges, and the objective C(θ)=∑k=1Nfk ⁣(tr⁡(OkU(θ)ρkU(θ)∗)). The convention is root inner product linear in the first argument and Dirac expectation ⟨ψ∣O∣ψ⟩D=tr⁡(Oρ). State how each ρk is prepared, the measurement/shot model and finite precision, the classical optimizer, its stopping rule, the output, and every circuit, inverse, controlled access, observable, measurement, arithmetic, and state-preparation cost. The definition asserts no optimizer existence, convergence, global optimality, or quantum advantage.

Facts & Assumptions

Given: Finite density operators, Hermitian observables, and supplied unitary circuits.

[F1]

Density operator: ρ⪰0 and tr⁡(ρ)=1.

[F3]

Trace of a product of Hermitian matrices is real: the trace of a product of Hermitian matrices is real.

Verification

technique · direct
1.1givenF1F2algebra

For unitary U, UρkU∗ is nonnegative because its quadratic form on x is that of ρk on U∗x, and its trace is tr⁡(UρkU∗)=tr⁡(ρkU∗U)=1 by [F1] and [F2]. Thus it is again a density operator.

2.1givenF3step 1.1algebra∎

Since Ok and UρkU∗ are Hermitian, [F3] makes their trace product real. Applying the real-valued fk and summing shows C(θ)∈R; the specified preparation, measurement, and optimizer data are additional algorithm inputs and imply no convergence conclusion.

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

Estimated SDP polytopes and sound bounded-dual threshold exclusion

Statement

Let n,m≥1 and let C,A1,…,Am∈Cn×n be Hermitian with ∥Aj∥,∥C∥≤1, A1=In, and b1=R>0, as in the primal-dual pair definition. Suppose the dual minimum is attained by y∗≥0 with ∥y∗∥1≤r, r≥1, and write vD=b⋅y∗. Fix a threshold α and tolerance θ≥0, and put w=r+1. For any density matrix ρ, set aj=tr⁡(Ajρ) and c=tr⁡(Cρ). Given estimates satisfying ∣a~j−aj∣,∣c~−c∣≤θ, define Pq(ρ)={y≥0:b⋅y≤α, a⋅y−c≥−q}, P~(ρ)={y≥0:b⋅y≤α, ∥y∥1≤r, a~⋅y≥c~−wθ}. Then P0(ρ)∩{∥y∥1≤r}⊆P~(ρ)⊆P2wθ(ρ)∩{∥y∥1≤r}. If X=Rρ, the rightmost trace slack is 2Rwθ≤4Rrθ. If P~(ρ) is empty, then α<vD.

For the MMW conclusion, fix T≥1 and 0<η≤1. At each round t=1,…,T, let ρt be the exact MMW density matrix generated from the preceding losses with parameter η, and set at,j=tr⁡(Ajρt), ct=tr⁡(Cρt). Suppose the estimates obey ∣a~t,j−at,j∣,∣c~t−ct∣≤θ. Define P~t=P~(ρt) using these estimates. If every round returns yt∈P~t, use losses Mt=(∑jyt,jAj−C)/w and the exact Gibbs update, and take γ≥w(2θ+η+ln⁡(n)/(ηT)), then yˉ=γe1+T−1∑tyt is dual feasible with objective at most α+γR. More generally, if a round oracle returns a vector in P~t or returns EMPTY only when P~t=∅, every all-good threshold execution either has an EMPTY round certifying α<vD, or has all rounds produce that feasible dual vector. No dense primal-output assertion is inferred from bounded-polytope emptiness.

For adaptively chosen thresholds, losses, states and repeated subroutines, if every invoked classical-output block has its asserted conditional good probability and the predictable per-call bad-probability budgets sum to at most δ on every execution, all of these implications hold simultaneously with probability at least 1−δ. Independence is not needed.

Facts & Assumptions

Given: The normalized finite Hermitian SDP, bounded attained optimal dual, the exact/estimated polytopes for each density matrix, exact MMW updates, and each invoked block's conditional error guarantee.

[F1]

Finite semidefinite primal-dual pair fixes nonnegative dual multipliers and positive semidefinite dual slack.

[F2]

Trace of a product of positive semidefinite matrices is nonnegative gives nonnegative trace for a product of positive semidefinite matrices.

[F3]

No-failure MMW rounds yield an approximate dual-feasible vector proves the no-failure MMW certificate and the required identity shift.

Proof

Given: The hypotheses and exact/estimated polytopes just defined.

1.1givenalgebra

For every nonnegative y with ∥y∥1≤r, the estimate discrepancy is bounded by ∣(a~−a)⋅y−(c~−c)∣≤θ∥y∥1+θ≤wθ. Hence an exact nonnegative trace slack implies a~⋅y−c~≥−wθ, proving the first inclusion. Conversely an estimated slack at least −wθ implies a⋅y−c≥−2wθ, proving the second. Multiplication by R gives the statement for X, and w=r+1≤2r gives 2Rwθ≤4Rrθ. All objective, sign and norm constraints are retained exactly.

1.2givenalgebra

Index all actually invoked blocks in execution order by i=1,2,… and let Hi−1 record their prior classical history and the event that block i is reached. Its input may depend on that history. Suppose its bad-output event Bi satisfies Pr⁡(Bi∣Hi−1, i reached)≤δi(Hi−1) for every admissible history. Then Pr⁡(i reached and Bi)≤E[1i reachedδi] by conditioning. A union bound and nonnegative sums give Pr⁡(⋃i{i reached and Bi})≤E∑i1i reachedδi≤δ. For a known cap B one may allocate δi=δ/B; without a known cap use δi=δ2−i. This covers adaptive threshold/refinement paths without multiplying independent probabilities or union-bounding unmeasured quantum branches as if they were classical samples. Deterministic operator/numerical approximation errors must already have been included in each block's guarantee.

2.1givenF1F2step 1.1algebracontradiction

The dual slack D∗=∑jyj∗Aj−C is positive semidefinite. The positive-product trace lemma [F2] gives a⋅y∗−c=tr⁡(D∗ρ)≥0. Thus if α≥vD, then y∗∈P0(ρ) and ∥y∗∥1≤r; step 1.1 implies y∗∈P~. Taking the contrapositive proves P~=∅⇒α<vD, including the equality endpoint. This argument works for every density matrix and therefore for a state selected adaptively from earlier rounds. It uses the bounded attained optimal dual itself; it does not assert that every unbounded-polytope feasible vector has bounded norm.

3.1givenF3step 2.1algebra

On the good event a returned multiplier has all the finite hypotheses of [F3]: nonnegative coordinates, norm at most r, objective at most α, the shifted estimated-trace inequality, and the exact MMW states and losses specified in the Statement. That lemma therefore gives a feasible averaged dual vector with objective at most α+γR if all T rounds return multipliers. If an oracle instead returns its sound EMPTY outcome, step 2.1 gives α<vD. These are precisely the threshold alternatives needed for binary search on the dual optimum. Statistical failures outside the good event may produce either outcome incorrectly; their probability is budgeted rather than declared impossible.

4.1step 3.1step 1.2∎

On the complement of that union, every invoked oracle has its stated complete/sound contract and step 1.1 and step 2.1 and step 3.1 apply to every reached threshold. In particular a cap/search miss is permitted to generate the probabilistic HIGHER outcome only after proving that the complete round oracle's bad-output probability is included in the conditional budget. A low-level timeout or unresolved numerical comparison for which no such guarantee has been established remains a separate failure, not an emptiness certificate. This distinguishes a legitimate bounded-error threshold algorithm from either an unconditional emptiness assertion or an always-aborting threshold search.

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

Classical optimizer interface for hybrid algorithms

Definition

A classical optimizer interface for a hybrid algorithm is a finite classical procedure that receives a specified set of finite-precision estimates of an objective C(θ) or its derivatives, chooses the next parameter query, and terminates under a stated stopping rule with a declared output. Its interface records query precision, output encoding, classical operation/bit costs, initialization, and stopping behavior. Any convergence or sample-complexity theorem must separately state and prove assumptions such as convexity, smoothness, parameter-domain geometry, bounded noise, and initialization. A generic VQA objective is not assumed convex, and the existence of an optimizer interface supplies no rate.

This is an abstract contract: it does not select gradient descent, certify a global minimum, or provide an optimization oracle without an explicit finite procedure.

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

QAOA circuit and expected combinatorial objective

Definition

Let G=(V,E) be a finite simple undirected graph, p≥1, and γ1,…,γp,β1,…,βp∈R. On ∣V∣ qubits define CG=∑(u,v)∈EI−ZuZv2,BG=∑v∈VXv. Prepare ∣+⟩⊗∣V∣ and apply, in the declared right-to-left product convention, UG,p(γ,β)=∏j=p1e−iβjBGe−iγjCG. The output state is ∣ψG,p(γ,β)⟩=UG,p∣+⟩⊗∣V∣ and the objective is ⟨ψ∣CG∣ψ⟩D. Measuring every qubit in the computational basis returns a random bitstring, hence a cut. Each cost and mixer exponential, graph-input access, parameter encoding, state preparation, measurement, repetition, and classical optimizer cost must be supplied and charged; this definition is not a guarantee of a maximum cut or approximation ratio.

Facts & Assumptions

Given: Computational-basis bitstrings x∈{0,1}∣V∣ and the Pauli Z eigenvalue convention.

[F1]

The Pauli matrices: Z∣b⟩=(−1)b∣b⟩ for b∈{0,1}.

[F2]

Projective measurement outcome weights are probabilities: the finite computational-basis measurement probabilities sum to one and determine the outcome law.

Verification

technique · direct
1.1givenF1algebra

On ∣x⟩, the edge term (I−ZuZv)/2 has eigenvalue (1−(−1)xu+xv)/2, which is 1 exactly when xu≠xv and 0 otherwise. Thus CG∣x⟩ has eigenvalue equal to the cut size of x.

2.1givenF2step 1.1algebra∎

The finite projective measurement law assigns probabilities qx≥0 summing to one, so the expectation of the measured cut size is ∑xqxCG(x)=⟨ψ∣CG∣ψ⟩D by the diagonal spectral expansion. Each output is therefore a feasible cut with the stated score observable.

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

Variational eigenvalue objective

Definition

Let H=H∗ be a Hermitian matrix on a nonzero finite-dimensional complex space, let ∣ψ0⟩ be a unit vector, and let U(θ) be a supplied unitary ansatz. The variational eigenvalue objective is E(θ)=⟨ψ(θ)∣H∣ψ(θ)⟩D,∣ψ(θ)⟩=U(θ)∣ψ0⟩. The target ground energy is E0=min⁡σ(H). The spectral theorem makes E0 well-defined and each normalized state energy real. No ansatz coverage or optimizer convergence follows from this objective definition. Charge input-state preparation, each ansatz and observable call, measurements, shots, optimizer arithmetic, and output precision.

Facts & Assumptions

Given: A finite Hermitian H, normalized ∣ψ(θ)⟩, and the Dirac/root conversion convention.

[F2]

Dirac Notation Conversion: ⟨ψ∣H∣ψ⟩D=⟨Hψ,ψ⟩root.

Verification

technique · direct
1.1givenF1F2algebra

Expand ∣ψ(θ)⟩=∑jcj∣ej⟩ in the orthonormal eigenbasis from [F1], with eigenvalues λj. The root convention in [F2] gives E(θ)=∑jλj∣cj∣2, a real number because each λj is real.

2.1givenstep 1.1algebra∎

The coefficients satisfy ∑j∣cj∣2=1. Therefore E(θ) is a convex combination of eigenvalues and is at least their minimum E0. This defines a variational upper estimate of the ground energy, without asserting that the ansatz attains it.

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

Two-sparse estimated SDP oracle from coherent labels

Statement

Consider the normalized SDP of Finite semidefinite primal-dual pair, with m≥1, A1=I, b1=R>0, ∥Ai∥,∥C∥≤1, and a dual optimum vD attained by a nonnegative vector of norm at most r≥1. Fix a density matrix ρ, let ai=tr⁡(Aiρ) and c=tr⁡(Cρ), and supply rational α,r,θ,bi,c~ with θ≥0 and ∣c~−c∣≤θ. At each index i, a coherent sampler, preserving its work and supplying its inverse, has a nonempty set Si of supported rational good labels ai′ satisfying the uniform indexed bound ∣ai′−ai∣≤θ. Put c′=c~−(r+1)θ.

Use the good-label robust-minimum guarantee of Quantile minimum and coherent-score nondomination guarantee for each of the two finite score orders defined in the proof: its selected good score s∗ satisfies, for every index i, the existence of a label in Si with score at least s∗. The theorem's operator-norm cleaning and hybrid prerequisites for sampler errors must be supplied; mere high marginal probability of a good trace label is not substituted for them.

There is a finite procedure using two such minima and rational comparisons which, on their joint good event, returns either:

  • a rational y≥0 with at most two nonzero coordinates, ∥y∥1≤r, b⋅y≤α, and a⋅y−c≥−2(r+1)θ; or
  • EMPTY, implying α<vD.

More strongly, a nonempty set {y≥0:b⋅y≤α, ∥y∥1≤r, a⋅y≥c} rules out EMPTY on that event. EMPTY need not mean emptiness for every good estimate table. Multiplying the trace residual by R gives slack at most 2R(r+1)θ≤4Rrθ. If each supplied robust minimum costs O~(m) coherent sampler and inverse calls, the procedure has the same query order. Charge those calls, their controlled versions and reflections, scalar-estimate preparation, exact score arithmetic, and output arithmetic at their supplied costs; no sampler, reflection or memory interface is free. Failure probabilities include both minimum calls and the scalar/cleaning events.

For fixed rational point data, the same geometry gives a complete two-sparse feasibility procedure using one membership search and two exact minima. Every feasible vector of prescribed positive norm N has a two-sparse feasible replacement of the same norm.

Facts & Assumptions

Given: The SDP promises, rational encodings, coherent sampler and inverse, good-label sets, supplied good scalar estimate, and robust-minimum prerequisites in the Statement.

[F1]

Estimated SDP polytopes and sound bounded-dual threshold exclusion: every exact bounded trace-feasible witness belongs to every θ-good estimated polytope {y≥0:b⋅y≤α, ∥y∥1≤r, aˉ⋅y≥c′}. In particular, if α≥vD, the bounded optimal dual belongs to every such polytope. A feasible estimated multiplier has original trace slack at most 2(r+1)θ.

[F2]

Quantile minimum and coherent-score nondomination guarantee supplies each good selected label and the numeric nondomination property stated above, with its declared conditional probability and charged costs, under its cleaning/hybrid hypotheses.

Proof

technique · direct finite planar geometry followed by vertical interpolation of good estimates
1.1givenF1algebra

If α≥0 and c′≤0, return y=0; it meets the estimated inequality and [F1] gives the trace conclusion. Otherwise define v=(α/r,c′/r) and G=⋃0<N≤r{(b,a):b≤α/N, a≥c′/N}. A convex combination p=∑iqi(bi,ai′) belongs to G exactly when some y=Nq satisfies the bounded estimated constraints, since a nonzero feasible vector has N=∥y∥1>0 and q=y/N. The zero vector is impossible in the present branch.

2.1givenstep 1.1algebra

The following are exact closed halfspace descriptions and ordered ray generators u,w for G=v+K, where K={su+tw:s,t≥0}: if α<0,c′<0, use b≤α/r, a≥(c′/α)b, u=(0,1), w=(α,c′); if α<0,c′≥0, use b≤α/r, a≥c′/r, u=(0,1), w=(−1,0); if α>0,c′>0, use a≥c′/r, a≥(c′/α)b, u=(α,c′), w=(−1,0); if α=0,c′>0, use b≤0, a≥c′/r, u=(0,1), w=(−1,0). Each follows from the union's inequalities by multiplying with positive N. For the converse, the first row admits N=α/b∈(0,r]; the second admits N=r; the last two admit N=c′/a∈(0,r]. Substitution verifies both scaled inequalities. Thus scale recovery is explicit and rational, including c′=0 in the second row. In every row det⁡(u,w)>0, so the counterclockwise cone angle β lies in (0,π). The bypassed zero-vector branch requires no claim that its union is the whole plane.

3.1givenstep 2.1constructalgebra

For a point p∉G, write z=p−v≠0 and let t(p)∈(β,2π) be its unique counterclockwise angle from u. Define A(p)=2π−t(p)>0 and B(p)=t(p)−β>0 outside G, and define both scores to be zero inside G. This is an exact finite order on encoded labels without trigonometric computation: for nonzero rational z, let H(z)=0 if det⁡(u,z)>0, or if det⁡(u,z)=0 and u⋅z>0, and let H(z)=1 otherwise. Compare H first; within either half a positive det⁡(z,z′) means the first angle is smaller, and determinant zero means equal angles. Opposite rays are in different halves. This orders angles in [0,2π); reverse it for positive A and retain it for positive B, placing the zero sentinel first in both orders. Index ties can be lexical. Membership, half-plane tests and determinants use exact rational arithmetic.

4.1step 2.1step 3.1algebra

For a fixed deterministic table of points, search for a point in G. If none exists, let tmin⁡,tmax⁡ be its extreme exterior angles, obtained by separately minimizing B and A. If D=tmax⁡−tmin⁡<π, all translated points lie in the closed sector [tmin⁡,tmax⁡], the intersection of its two inward linear halfplanes. Dot product with the direction at the sector's middle angle is strictly positive on every nonzero vector there. Thus every convex combination remains nonzero in that sector and outside K, so the original convex hull misses G. If D=π, its extreme vectors are opposite; writing zj=−λzk with λ>0 gives (zj+λzk)/(1+λ)=0, hence a segment through the corner. The scalar λ is rational from either nonzero coordinate.

4.2givenstep 2.1step 3.1algebra

At fixed first coordinate b, the set Ib={a:(b,a)∉G} is empty, the whole line, or an open lower interval, because each description in step 2.1 cuts that vertical line in either an empty set or a closed upper interval. On Ib, the exterior angle t is continuous: normalization of (b,a)−v is continuous away from zero, and the unit-circle arc outside the closed cone has continuous angle coordinate in (β,2π). Its removed cone arc contains the possible branch cut. If b=vb, every outside vector is vertically downward, since every listed cone contains the upward vertical ray; the angle is then constant and the origin is excluded. The intermediate value theorem therefore realizes every angle between two outside points on a fixed vertical line by interpolation of their second coordinates. The interpolation stays outside G and stays θ-good if both endpoint estimates are θ-good.

5.1step 2.1step 4.1algebraconstruct

If D>π, take h=u+w in the interior of K and the vectors zj,zk at tmax⁡,tmin⁡. Necessarily tmin⁡<π and tmax⁡>β+π, so all three determinants det⁡(zj,zk), det⁡(h,zk), det⁡(zj,h) are positive. The identity h=Lzj+Mzk, with L=det⁡(h,zk)/det⁡(zj,zk)>0 and M=det⁡(zj,h)/det⁡(zj,zk)>0, gives a segment point h/(L+M)∈K. Thus the extreme pair works exactly when D≥π, including the antipodal equality case. Operationally, intersect [0,1] with the two rational linear halfspace inequalities on λpj+(1−λ)pk. A constant inequality is either always satisfied or impossible; otherwise divide with the correct sign. The intersection is closed, so a nonempty interval has a rational least endpoint. Use it and the scale from step 2.1. No open endpoint, numerical angle tolerance or unnamed geometry primitive is needed.

6.1step 4.1step 5.1constructalgebra

For prescribed norm N>0, repeat step 3.1 and step 4.1 and step 5.1 with corner (α/N,c′/N) and quadrant rays (0,1),(−1,0). If a convex combination lies in that quadrant, the disjoint-sector alternative is impossible, so a single point or the extreme pair gives a new convex combination there. Multiplication by N preserves the norm and all inequalities. Norm zero is the zero vector and needs no division. This proves the fixed-norm sparsity assertion without an LP theorem.

6.2F2step 3.1step 4.1step 5.1construct

Run [F2] for the two sentinel scores. If either selected good point lies in G, return its scaled one-coordinate vector. Otherwise let pj∗,pk∗ be the selected good points and put T=t(pj∗), S=t(pk∗). Their scores are positive. For every index i, numeric nondomination for A supplies a good point pi− outside G with t(pi−)≤T, since a zero sentinel cannot witness a score at least the selected positive score. Likewise nondomination for B supplies a good outside point pi+ with t(pi+)≥S. These witnesses may differ and need not have appreciable probability. If S≤T and T−S≥π, step 4.1 and step 5.1 show that the two selected points yield a successful rational segment test.

7.1step 4.1step 6.2step 4.2constructalgebra

Suppose S≤T and T−S<π. At index i, the interval between the witness angles in step 6.2 meets [S,T]: its lower endpoint is at most T and its upper endpoint is at least S. Step 4.2 supplies an interpolated θ-good estimate aˉi outside G with angle in [S,T]. All points of this good table lie in one exterior sector of aperture less than π, so step 4.1 proves its convex hull misses G. If instead S>T, fix any t0∈(T,S); the witness angles at every index straddle t0, so step 4.2 supplies good estimates all on that one exterior ray. Their convex hull again misses G. These real interpolated estimates are existential witnesses; they need not be sampled labels or encoded outputs.

7.2givenstep 2.1step 5.1step 6.2algebra

For a successful pair let qj=λ, qk=1−λ and recover N≤r by step 2.1. Then y=Nq has exact nonnegativity, norm and objective bounds. The selected good estimates give a⋅y≥c′−θ∥y∥1≥c~−(2r+1)θ≥c−2(r+1)θ. If j=k but the selected labels differ, merge their weights and use the estimate λaj∗+(1−λ)ak∗, still θ-good and preserving the interpolated inequality. Thus duplicate indices cause no incompatible assignment or extra support. Multiplication by R and r+1≤2r give the displayed scaled slack.

8.1F1step 1.1step 6.2step 7.1contradiction

In either case of step 7.1, step 1.1 gives an empty estimated polytope for one θ-good table. If α≥vD, [F1] puts the bounded optimal dual into every such polytope, a contradiction. Thus a failed rational segment test on the joint good event implies α<vD, and the procedure may return EMPTY. The same argument with any exact bounded trace-feasible witness proves the stronger completeness assertion. There is no assertion that all good tables are empty, nor any assumption that the two selected minima extend to a common deterministic table preserving their labels.

9.1givenF2step 8.1step 7.2algebra∎

The coherent procedure uses only two robust minima; a preliminary membership search may find an earlier verified good return but is unnecessary for completeness, so a search miss need not be interpreted as absence of all in-region labels. Two calls retain the supplied O~(m) query order. Score evaluation is reversible rational membership and determinant comparison on finite encodings; charge its arithmetic, the sampler and inverse, cleaning/hybrid errors, controlled operations, reflections and scalar preparation as stipulated in [F2]. Budget the two conditional minimum failures and all supplied scalar/cleaning failures by a union bound; independence is unnecessary. On the joint good event step 8.1 and step 7.2 establish exactly the stated alternatives. An unproved timeout supplies no additional emptiness certificate.

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

Parameter-shift derivative for a Pauli generator

Statement

Suppose one parameter occurs in exactly one gate Uj(θ)=e−iθP/2 with P=P∗ and P2=I, while all other circuit factors, the input state, and the Hermitian observable are independent of θ. Then for each linear expectation term C(θ), ∂θC(θ)=12(C(θ+π/2)−C(θ−π/2)). The identity is exact. Finite-shot estimates of the two shifted terms have separate sampling and measurement costs.

Facts & Assumptions

Given: P2=I, finite-dimensional unitary factors, a fixed density operator, and a Hermitian observable.

[F1]

Denotational semantics of a finite layered circuit: circuit composition denotes the corresponding finite product of operators.

[F2]

Dirac Notation Conversion: Dirac expectations agree with the root-space matrix coefficient convention.

[F3]

Finite Hermitian matrix dynamics and The spectral functional calculus f(T) for a normal endomorphism define e−itP by the finite spectral functional calculus.

[F5]

Euler's formula: exp⁡(iθ)=cos⁡θ+isin⁡θ for every real θ: exp⁡(ix)=cos⁡x+isin⁡x for real x.

[F6]
[F7]

The addition formulas for sine and cosine gives the double-angle identities.

[F8]

The derivatives of sine and cosine are cosine and minus sine gives (sin⁡x)′=cos⁡x and (cos⁡x)′=−sin⁡x.

[F9]

Quarter-turn values and shifts by pi/2 and pi gives the shifts by ±π/2 used in the centered difference.

Proof

technique · direct
1.1givenF1F2F3F4F5F6F7algebra

By [F3]–[F4], write the spectral projections of P as Π+,Π− (either may be zero), so e−iθP/2=exp⁡(−iθ/2)Π++exp⁡(iθ/2)Π−. Euler's formula [F5] and parity [F6] give e−iθP/2=cos⁡(θ/2)I−isin⁡(θ/2)P. Absorb all other fixed circuit factors into fixed vectors/operators and expand the expectation bilinearly. Products of the two trigonometric factors reduce by [F7] to C(θ)=a+bcos⁡θ+csin⁡θ for constants independent of θ.

2.1givenF8F9step 1.1algebra∎

By [F8], differentiation gives C′(θ)=−bsin⁡θ+ccos⁡θ. The shift formulas [F9] give C(θ+π/2)−C(θ−π/2)=2(−bsin⁡θ+ccos⁡θ), proving the formula. For a finite sum of such expectation terms, differentiation and the shifted difference both distribute linearly.

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

QAOA objective is an expected feasible score only

Statement

For the finite graph and circuit of QAOA circuit and expected combinatorial objective, the QAOA objective lies between the minimum and maximum feasible cut sizes, and each computational-basis measurement returns a feasible cut. This expected-value statement alone implies no universal approximation ratio, global optimizer, or advantage guarantee.

Facts & Assumptions

Given: A finite computational-basis measurement distribution and the cut-size observable.

[F1]

QAOA circuit and expected combinatorial objective: the objective is the expectation of the cut-size operator and measured strings are cuts.

[F2]

Projective measurement outcome weights are probabilities: each finite projective outcome has its Born probability, and these probabilities sum to one.

Proof

technique · direct
1.1givenF1F2

Write qx for the probability of bitstring x. By [F2], qx≥0 and ∑xqx=1. By [F1], every value CG(x) is a feasible cut size and lies in [Cmin⁡,Cmax⁡].

2.1givenF1step 1.1algebra∎

Multiply the pointwise inequalities by qx and sum over the finite bitstring set. This gives Cmin⁡≤∑xqxCG(x)≤Cmax⁡; [F1] identifies the middle term with the QAOA objective. The argument supplies no positive ratio when Cmax⁡=0 and no optimization conclusion.

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

VQE Rayleigh–Ritz upper bound and equality case

Statement

For every ansatz parameter θ, E(θ)≥E0, with equality exactly when ∣ψ(θ)⟩ lies in the ground eigenspace of H. Thus a VQE evaluation gives an upper bound on the ground energy, but an ansatz family or classical optimizer need not reach E0.

Facts & Assumptions

Given: A finite-dimensional Hermitian H and a normalized ansatz state.

[F1]

Variational eigenvalue objective: E(θ)=⟨ψ∣H∣ψ⟩D and E0=min⁡σ(H).

[F3]

Dirac Notation Conversion: the Dirac expectation is the root-convention matrix coefficient.

Proof

technique · direct
1.1givenF1F2F3algebra

Let ej be an orthonormal eigenbasis with eigenvalues λj≥E0, and write ψ=∑jcjej. By [F1]–[F3], E(θ)−E0=∑j(λj−E0)∣cj∣2≥0. The coefficients have squared magnitudes summing to one.

2.1givenstep 1.1algebra∎

Every summand in step 1.1 is nonnegative. The sum is zero exactly when cj=0 for each λj>E0, which is exactly the condition that ψ belongs to the eigenspace for E0, allowing any degeneracy there.

DefinitionDefinition: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

SDP maximally entangled reference-state access

Definition

For an integer matrix dimension d≥1, define the maximally entangled reference vector ∣Φd⟩=d−1/2∑i=0d−1∣i⟩∣i⟩ on two ordered d-dimensional registers. The access contract supplies a finite preparation unitary VΦ, its inverse, width/ancillas, input encoding, and costs CΦ, satisfying VΦ(∣0⟩∣0⟩∣0a⟩)=∣Φd⟩∣0a⟩ exactly in the declared encoding. Its action on other inputs is any supplied unitary completion; the inverse is that of the complete unitary. When d=2q, a concrete preparation applies H to each of the q first-register qubits and then CNOT from each first-register qubit to its matching second-register qubit, using exactly q Hadamards and q CNOTs on 2q wires. For other d, VΦ and its cost are supplied inputs satisfying the same preparation equation; unused encoded labels have zero output amplitude, and no padding is allowed unless its effect on traces is accounted for.

Facts & Assumptions

Given: Ordered computational-basis registers and the finite tensor-product basis convention.

[F1]

Finite registers and their ordered computational bases: basis labels determine the ordered register states.

[F2]

The computational basis is orthonormal: the computational basis is orthonormal.

[F3]

Denotational semantics of a finite layered circuit: Hadamard and CNOT layers denote their finite unitary products.

Verification

technique · direct
1.1givenF1F2F3algebra

Applying H⊗q to ∣0q⟩ gives 2−q/2∑i=02q−1∣i⟩ by the one-qubit formula and tensor expansion. The subsequent CNOT layer maps each basis vector ∣i⟩∣0q⟩ to ∣i⟩∣i⟩, so the output is exactly 2−q/2∑i∣i,i⟩=∣Φd⟩ when d=2q.

2.1givenstep 1.1algebra∎

The construction in step 1.1 has one Hadamard and one CNOT for each of q bit positions and acts on the two declared q-qubit registers. For non-power-of-two d, the separately supplied VΦ contract is the entire preparation claim, and its cost is retained as CΦ.

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

A finite-grid quantum subgradient from approximate values

Statement

Let 1≤d≤n, let C⊆Rd, and let f:C→R be convex. Let r1,L>0 and suppose f is L-Lipschitz on a neighborhood of [−2r1,2r1]d⊂C, with every point there having a subgradient in Rd of norm at most L. Let 0<ρ≤1/3, ρ0=99ρ/100, 0<δ≤nr1L/ρ0, and r2=δr1ρ0/(nL). A deterministic clean value oracle approximates f to error at most δ on the finite query grids.

Choose a finite uniform grid of cell centers of [−r1,r1]d, with 2b cells per coordinate and mesh h0=2r1/2b≤(ρ/1000)r22/(8n2r1). Sample one center z uniformly using b independent fair bits per coordinate, and keep it fixed across all subsequent runs. Put a=2r2/n, B=La, m=max⁡{5,⌈log⁡2(B/(28πδ))⌉}, M=2m, and B∗=28πδM. On each independent run prepare the uniform product grid ui=(ji+1/2)/M−1/2, apply phase exp⁡(2πiMf~(z+au)/(3B∗)) with clean uncomputation, apply the negative-sign QFT to each coordinate, and decode signed integers yi as 3B∗yi/(aM). Use N=⌈18ln⁡(1000n/ρ)+3⌉ independent runs and coordinate medians. A total implemented-phase operator error at most 1/1000 per run is permitted.

With probability at least 1−ρ, the resulting vector v∈Rd satisfies, simultaneously for every y∈C, f(y)≥f(0)+⟨v,y⟩−(23n)2δLρ0r1∥y∥−2Ln r1. The number of value-oracle and inverse calls is O(log⁡(n/ρ)). Random bits, phases, QFT gates, arithmetic, and output costs are separate.

Facts & Assumptions

Given: The hypotheses and the finite procedure in the Statement; all repetitions use the same chosen z and the same completed value oracle.

[F1]

Iterated Riemann integration agrees with the multiple integral for a Riemann-integrable function on a product rectangle. (Riemann--Fubini on product rectangles, with lower and upper section integrals and content-zero exceptional sections)

[F2]

Independent Bernoulli trials obey Pr⁡(∣S−ES∣≥t)≤2e−2t2/N. (Chernoff bound for independent bernoulli trials)

[F3]

The exact power-of-two QFT has the positive Fourier kernel, and its inverse the negative kernel. (Exact binary QFT circuit correctness, Positive-sign cyclic quantum Fourier transform)

[F5]

A subgradient has the supporting-inequality convention of Subgradients and the subdifferential of a convex function.

Proof

1.1givenF1algebra

Put τ=r2, Di(z)=(f(z+τei)−2f(z)+f(z−τei))/τ2, D=∑iDi, and pi(z)=(f(z+τei)−f(z−τei))/(2τ). The bound on δ gives τ≤r1. Convexity makes every Di≥0. On the query rectangle each Di and D is a finite linear combination of translates of the L-Lipschitz function f, hence is Lipschitz there; all sections are likewise Lipschitz and Riemann integrable. Uniform grid Darboux sums have gaps bounded by the Lipschitz constant times cell diameter times total volume, so [F1] applies. For d=1, use the one-dimensional integral directly; for d≥2, apply [F1] to the first coordinate and the remaining d−1 coordinates. On any coordinate line, cancellation of shifted integrals leaves two pairs of boundary strips of length τ. The absolute value of each pair is at most Lτ2, so ∫−r1r1(f(t+τ)−2f(t)+f(t−τ))dt≤2Lτ2. Thus ED(Z)≤dL/r1≤nL/r1 for uniform Z.

2.1step 1.1givenalgebra

Coupling Z to its cell center z, each of the four terms in a second difference moves by at most its Lipschitz constant times d h0/2. Thus ∣D(z)−D(Z)∣≤4n2Lh0/τ2≤(ρ/1000)L/(2r1). For the finite uniform center distribution, Markov's inequality follows by summing its nonnegative weights. Therefore D(z)≤2nL/(ρ0r1) except with probability at most ρ0/2+(ρ/1000)ρ0/(4n).

3.1step 2.1givenalgebra

Fix such a good center. On the symmetric points ±τei, the convex function q(u)=f(z+u)−f(z)−⟨p(z),u⟩ has value τ2Di(z)/2≤τ2D(z)/2. Every point of the ℓ1 ball of radius τ is a convex combination of these points. Convexity gives the upper bound there; applying convexity to u,−u and q(0)=0 gives the same lower bound. Hence ∣q(u)∣≤τ2D(z)/2≤δ on that ball. The cube a[−1/2,1/2]d lies in it. Lipschitzness gives ∣pi(z)∣≤L.

4.1F3step 3.1algebra

Put γ=ap(z)/(3B∗); then ∥γ∥∞≤1/3. The ideal affine phase on the product grid produces independent one-coordinate Fourier distributions centered at Mγi. For an integer output at circular distance D from this center, summing the geometric progression gives probability sin⁡2(πMγi)/(M2sin⁡2(πD/M))≤1/(4D2) for 0<D≤M/2. Thus the probability of circular error greater than four is at most 12∑j≥4j−2≤1/6, since j−2≤1/(j(j−1)) for j≥4 and ∑j≥41/(j(j−1))=1/3 by telescoping. Because M≥32 and ∣γi∣≤1/3, the signed interval endpoints are farther than four from the center; circular error at most four therefore also gives ordinary signed error at most four.

5.1step 4.1givenalgebra

The affine error from step 3.1 plus value error is at most 2δ. Since B∗=28πδM, the phase angle perturbation is at most 1/21 at every address. The Euclidean distance of the resulting unit vectors is at most 1/21; a measurement event changes by at most that distance, as follows by resolving the two pure states in their two-dimensional span and maximizing the projection difference. The allowed implemented-phase operator error adds at most 1/1000. Each coordinate therefore has ordinary signed error at most four with probability greater than 1−1/6−1/21−1/1000>2/3. The decoded gradient error on this event is at most 12B∗/(aM)=336πδ/a.

6.1F2step 5.1givenalgebra

For fixed z, the runs are independent trials for this same coordinate, not independently sampled target functions. A median fails only if at least half the runs fail. The bound from [F2] is at most 2e−N/18, because the expected bad count is at most N/3 and the excess is at least N/6. The chosen count and a union bound give simultaneous coordinate accuracy except with probability at most ρ/500. Every phase run uses one value query and its inverse, giving 2N≤36ln⁡(1000n/ρ)+8=O(log⁡(n/ρ)) calls combined.

7.1F4F5step 2.1step 6.1algebra

Let s be any subgradient at the good center. Applying [F5] at the two coordinate offsets yields ∣si−pi(z)∣≤τDi(z)/2, hence ∥s−p(z)∥∞≤nLτ/(ρ0r1). Add the gradient error from step 6.1 and use τ2=δr1ρ0/(nL). This gives ∥s−v∥∞≤(1+168π)δn3L/(ρ0r1)<232δn3L/(ρ0r1) by [F4].

8.1step 2.1step 6.1step 7.1F5F6algebra∎

The subgradient inequality gives f(y)≥f(z)+⟨s,y−z⟩. Both ∣f(z)−f(0)∣ and ∣⟨s,z⟩∣ are at most Lnr1. Replacing s by v costs at most ∥s−v∥∞∥y∥1≤n∥s−v∥∞∥y∥. Step 7.1 gives exactly the displayed inequality. The total failure is at most ρ0/2+(ρ/1000)ρ0/(4n)+ρ/500<ρ. The query count is that of step 6.1; choosing the finite shift costs no function query.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Flagged trace ratio returns a Gibbs-state observable mean

Statement

Let G=G∗ and M=M∗ be d×d matrices with d≥1 and ∥M∥≤1. Set g=e−G/2, B>0, and ρG=e−G/tr⁡(e−G). Prepare ∣Φd⟩, apply a block whose top-left amplitude is g/B to the first register, then a block whose squared top-left compression is (I+M/2)/4 to that register. Let pM be the probability that all work flags are zero. Let p0 be the corresponding probability when M=0. Then p0>0 and pMp0=1+12tr⁡(MρG).

Facts & Assumptions

Given: The maximally entangled vectorization identity, trace cyclicity, and the finite positive square root for the observable block.

[F1]

SDP maximally entangled reference-state access: ∣Φd⟩=d−1/2∑i∣i,i⟩.

[F4]

Trace of a product of Hermitian matrices is real: the trace ratio terms involving Hermitian matrices are real.

Proof

technique · direct
1.1givenF1F2algebra

For any d×d matrix X, direct expansion of [F1] gives ⟨Φd∣(X⊗I)∣Φd⟩D=d−1∑i⟨i∣X∣i⟩D=tr⁡(X)/d. If F is the second block's top-left amplitude, then F∗F=(I+M/2)/4. The composite success operator on the first register is Fg/B, so pM=1dB2tr⁡(gF∗Fg)=14dB2tr⁡(e−G(I+M/2)), where the second equality follows from [F2].

2.1givenF3F4step 1.1algebra∎

With M=0, step 1.1 gives p0=tr⁡(e−G)/(4dB2)>0, since every eigenvalue of e−G is strictly positive. Linearity [F3] and the definition of ρG now give pM/p0=1+tr⁡(e−GM)/(2tr⁡(e−G))=1+12tr⁡(MρG). The traces are real by [F4].

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

Quantum convex membership and weak-separation model

Definition

Let B(x,t)={z∈Rn:∥z−x∥2≤t} and let B(K,t)=⋃x∈KB(x,t) for t≥0; B(K,−t) denotes the inward erosion consisting of points whose radius-t ball is contained in K. A convex body is a closed convex set with nonempty interior. Assume rationally encoded 0<r≤R and B(0,r)⊆K⊆B(0,R). The deterministic weak-membership oracle MEMε,0(K) is queried at a finite-precision point y and must correctly assert either y∈B(K,ε) or y∉B(K,−ε). In the overlap it may return either valid assertion. The coherent interface is a supplied reversible Boolean unitary with a fixed deterministic completion on every encoded input, together with its inverse and any controlled forms used.

A weak separation oracle SEPη,ρ(K), queried at y, with probability at least 1−ρ, either asserts y∈B(K,η) or asserts y∉B(K,−η) and returns a unit vector g satisfying ⟨g,z⟩≤⟨g,y⟩+η for every z∈B(K,−η). The membership-to-separation algorithm is promised only on the query domain in its theorem; no unique answer is required in the boundary bands. A finite unit-normal encoding may be a nonzero rational vector v with the normalization g=v/||v|| interpreted exactly; rational bisection supplies an upper norm bound N between ||v|| and2||v|| when a classical reduction requires rational halfspaces. Radius, point, unit-normal and offset encodings and all query/inverse/gate/bit costs are part of the contract.

This specifies oracle behavior; a membership-to-separation theorem and any separation-to-optimization composition are separate claims with their own hypotheses.

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

Sparse SDP matrix access and computational model

Definition

For d×d matrices with at most s nonzero entries in each row, fix a padded slot set {1,…,s} and an invalid-slot sentinel ⊥. The index oracle is the basis permutation OI∣k,ℓ,z⟩=∣k,ℓ,zXORjk,ℓ⟩, where jk,ℓ is the encoded column of the ℓth nonzero in row k, or ⊥ for padding. The value oracle XORs the finite binary encoding of the real and imaginary parts of the matrix entry into a target register. Specify the completion on invalid row/slot encodings, arithmetic precision/rounding, and whether inverse/controlled calls and reverse-location queries are supplied. Sparse sums ∑jyjAj require a separate access implementation; entry oracles do not automatically supply it.

Record matrix sparsity and norms, classical input/preprocessing/output time, matrix-entry queries, sparse-sum and QRAM access, circuit gates, width, ancillas, state preparation, and coefficient-bit costs separately. If QRAM is used, state its unitary address/memory action and charge its construction, updates and queries. Query complexity is not standard-gate complexity without an implementation of each oracle.

Facts & Assumptions

Given: A finite reversible basis encoding, XOR into a target register, and an explicitly supplied completion on every basis input.

[F1]

Coherent XOR function oracle: a reversible function oracle acts as a basis permutation by XORing its encoded function value.

[F2]

Inverse Unitary Access: inverse access is separately declared and implemented by the adjoint circuit.

Verification

technique · direct
1.1givenF1algebra

For each fixed pair (k,ℓ), the padded value jk,ℓ is a fixed encoded string. XOR by that same string is an involution, so applying OI twice restores every basis state, including a slot whose value is the sentinel.

2.1givenF1F2step 1.1algebra∎

The value oracle has the same basis-permutation form with the fixed encoded entry in its target XOR. It too is an involution on every valid or explicitly completed input basis state. Therefore both maps extend linearly to unitaries, and an inverse/controlled version is available only when supplied as in [F2].

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

Quantum membership-to-separation procedure

Definition

This finite algorithm takes a convex body, a rational query point and radii, a precision/failure budget, and supplied coherent deterministic weak-membership access with inverse. It returns IN when the membership interface certifies that branch; otherwise it returns a finite-precision weak separating normal and halfspace or an explicitly distinguished INVALID, RANDOM_FAIL, or FAILURE branch. The algorithm charges the membership oracle and inverse, all controlled queries, point rotations, numerical arithmetic, random sampling, phase estimation, QFTs, output bits, and every gate.

OP0 — Numerical arithmetic, roots, coefficient generation and finite amplification

Certified elementary evaluation. For rational x and error 2^-b, evaluate exp, sin and cos by their rational Taylor sums until the absolute remainder bound 3^ceil(|x|+1)|x|^(N+1)/(N+1)! is below the error budget; sine/cosine may first reduce the argument by a certified interval for π. Compute π by the arctangent identity π=16 arctan(1/5)−4 arctan(1/239) with alternating-series bounds. For x≥0 compute square roots by rational bisection between 0 and max(1,x); x=0 returns0 and x<0 returns INVALID in the real routine. For x>0 compute log x with 2Σ_(j=0)^(N−1)y^(2j+1)/(2j+1), y=(x−1)/(x+1), and tail 2|y|^(2N+1)/((2N+1)(1−y²)). Each loop increases N or b until its explicit rational remainder test passes. Store the interval, not an uncertified floating result. Complex exponentials use the resulting sine/cosine intervals. For atan2(y,x), the zero vector returns INVALID; otherwise select its quadrant by certified signs (exact zero coordinates use their explicit axis angles), and bisect an angle interval in that quadrant using monotonic sine/cosine comparisons with the normalized vector until its width meets the requested error. If an interval straddles an equality, retain the adjoining angle intervals rather than request a real zero test. Return the midpoint plus its error interval. Whenever a numerical logarithm/angle appears in a ceiling or resource cutoff, compute an upper rational enclosure of width≤1/4 and take its ceiling; this defines a terminating conservative integer rule even at exact integer boundaries. Norms are square roots of explicit sums of squared coordinates; a zero norm takes the separately stated zero-output/INVALID branch before division. Bounds on the number/size of these operations are separate classical bit-cost obligations.

OP7 — Quantum membership-to-separation with an explicit finite grid

Binds alg-qa-30-quantum-membership-to-separation and its radius/precision/query result.

Inputs. Rationally encoded query point x∈R^n, radii 0<r≤R, η∈(0,R],ρ∈(0,1/3], and coherent MEM_(ε,0) plus inverse, with the exact weak-boundary promise in QA30. Require ε≤ε_adm=η(58n)^(-9/2)(r/R)^3(η/R)^2ρ. Use the positive allowance ε_work=max(ε,ε_adm/2); an oracle with a smaller boundary width also satisfies this larger-width promise, including an exact ε=0 oracle. In the remaining numerical instructions ε denotes ε_work; rounding the encoded point and emitted hyperplane consumes an explicit share of η, so use exact-algebraic arithmetic or a requested membership precision sufficient for that share. The zero failure parameter refers to oracle correctness outside its ε boundary band, not to a unique answer inside that band. All queried addresses have fixed-point encodings and the same declared deterministic oracle completion.

  1. Query MEM at x. An inside answer returns the allowed IN label. If x=0 return IN under the interior-ball promise. For n=1, return the outward signed normal sign(x) after OUT; the interval/inner-ball promise and ε<r place x within ε of or beyond that same signed endpoint. No zero-dimensional gradient circuit is invoked. For n≥2 use a finite list of coordinate-plane rotations to send x to −||x||e_n, zeroing coordinates one at a time. Store both the rotation and inverse; charge their arithmetic.
  2. In rotated coordinates let h(y)=inf{z:(y,z)∈K}, y∈R^(n−1). Set ρ₀=99ρ/100, r₁=rη/(12sqrt(n)R), δ=ηρ₀ n^(-9/2)(rη/R²)^2/(96·23^4), L=2R/r and r₂=sqrt(δr₁ρ₀/(nL)). The source input bound implies ε≤rδ/(3R); check this interval inequality with certified arithmetic. If an input encoding cannot certify its promised bounds, return INVALID rather than silently tighten the promise.
  3. h-value oracle. On each y∈B(0,r/2), initialize low=−R,high=−r/2. For q=ceil(log₂(3R/δ))+2 iterations compute mid=(low+high)/2, query MEM at (y,mid), and set high=mid on an inside answer, low=mid otherwise. Return high. In the coherent version retain branch bits, copy the fixed-point high value, then reverse the whole computation and oracle calls to erase workspace. The final bracket has width≤δ/3. The weak-boundary inequalities, rather than exact membership, justify its δ value error. h is evaluated only on the declared transverse ball.
  4. Finite random shift. Set σ_grid=ρ/1000. Choose b by increasing integers so that the mesh h₀=2r₁/2^b satisfies h₀≤σ_grid r₂²/(8n²r₁), by repeated halving. Draw b independent uniform bits per transverse coordinate to select its cell center; retain the resulting finite algebraic description of z. There are exactly 2^b cells in each coordinate, so this step has no rejection tail. All subsequent oracle addresses are rounded coherently to the fixed-point query encoding with the deterministic accuracy budget below. Continuous uniform sampling is not an instruction to a discrete computer. The discrete Laplacian changes by at most 4n²L h₀/r₂² within a mesh cell, which is the local proof route controlling this replacement.
  5. Set a=2r₂/n, B=La and m=max(5,ceil(log₂(B/(28πδ)))). Let M=2^m and B=28πδM*; this ≥B normalization handles non-dyadic source M without invalidating the phase tolerance. On each of ceil(18 ln(1000n/ρ))+3 independent gradient runs, prepare a uniform m-bit register for each transverse coordinate. Decode each address as u_i=(j_i+1/2)/M−1/2, compute the h approximation at z+a u, apply phase exp(2πi M h_tilde(z+a u)/(3B*)), and uncompute h. Apply the negative-sign QFT separately to every coordinate and measure. Decode each y_i to signed y_i/M∈[-1/2,1/2), and output g_i=3B* y_i/(aM) when y_i denotes the signed integer. Equivalently multiply the signed fraction by 3B*/a. Take each coordinate's median across the runs. Phase/value/gate implementation error is separately summed into the gradient tolerance. No eigenstate resampling issue occurs: these are repeated estimates of a fixed gradient at the same z.
  6. Form s′=(−g,1), normalize s=s′/||s′|| and apply the stored inverse rotation. Internally s satisfies the inward inequality ⟨s,z_K⟩≥⟨s,x⟩−η. Emit its NEGATIVE as the outward normal G, so the library contract is ⟨G,z_K⟩≤⟨G,x⟩+η. Represent G by a nonzero rational direction v and the normalization G=v/||v||; refine the output rounding until its angular error on B(0,R) and x uses at most η/100. Record a rational N with ||v||≤N≤2||v|| for classical rational halfspace arithmetic. Encoded output errors consume the reserved slack; they are not ignored.

Deterministic precision budget. Refine rotated point/address coordinates until their total Euclidean error per membership query is at most min(ε/1000,δ/(1000L)); refine coherent phase synthesis until the accumulated per-run operator error is at most1/1000. The strict slack in the displayed ε bound makes the effective weak-membership tolerance, including address error, less than0.98·rδ/(3R). In the height search, the resulting boundary error plus the final bracket and value rounding is therefore belowδ. Rotations and emitted direction rounding use the remaining η/100 output budget. Every refinement is a finite rational interval calculation on the named input quantities; its bit cost is additional.

This is a finite procedure. The local proof combines h's convexity/Lipschitz and weak-boundary search, the finite mesh error, Jordan's phase-grid law, coordinate medians, and the normalized separator. B*=28πδM ensures the phase approximation condition at a power-of-two M; replacing the source non-dyadic M by a larger M with unchanged B would not. The chosen ρ₀ leaves slack for mesh and random-sampler failure; the exact constants and finite-bit budgets are proved in the local suppliers and query theorem, not accepted from a source citation. Source: van Apeldoorn et al. Lemmas14–15,18–21 and Theorem23, PDF pp.10–18. Rotation, coherent h-evaluation, logarithmic arithmetic, data/query bits and the emitted n-dimensional normal all contribute costs.

Remarks

The query and correctness claims are proved separately in Quantum weak-separation query bound. The proof suppliers are the local height-geometry, finite-grid subgradient, and centroid weak-optimization items; a citation to the source is not substituted for those arguments.

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

Query-only optimization from weak separation by centroid cuts

Statement

Assume countable choice, with positive rationally encoded radii and accuracy/failure parameters. Let B(0,r)⊆K⊆B(0,R) be a closed convex body, let 0<ζ≤R, 0<ν≤1/3, and let c be a unit objective vector with supplied finite rational approximations to any requested error. Put τ=ζ/8,s=rτ/(16R),η=s/(100n). Let T be the least integer with (3/4)T(2R)n<(2s/n)n, and B the least positive integer with 2Bτ≥8R. There is a finite classical procedure using at most BT=O(nlog⁡(nR/s)(1+log⁡(R/ζ))) calls to SEPη,ν/(2BT)(K) that, with probability at least 1−ν, returns y∈B(K,ζ) with ⟨c,y⟩≥max⁡x∈K⟨c,x⟩−ζ. The normal encoding must supply a nonzero rational direction u for its unit normal u/∥u∥; a rational N with ∥u∥≤N≤2∥u∥ can be computed by bisection. Query points and polytope arithmetic are rational. Computing exact centroids by exhaustive finite triangulation is allowed and charged separately: this result asserts no polynomial arithmetic, gate, or bit-time bound.

Facts & Assumptions

Given: The body, radii, approximate objective access, and weak-separation contract in the Statement.

[A1]

Countable choice is assumed only for the Lebesgue-volume suppliers. (The Axiom of Countable Choice (ACω))

[F1]

For compact convex sets in Rd, Brunn–Minkowski gives concavity of volume to the power 1/d under Minkowski interpolation. (Brunn–Minkowski inequality for compact convex sets)

[F2]

Jensen's inequality applies to an integrable variable and a convex function with integrable composition. (Jensen's inequality for expectation)

[F4]

A successful weak separation answer at p is IN with p∈B(K,η), or a unit g with ⟨g,x⟩≤⟨g,p⟩+η on B(K,−η). (Quantum convex membership and weak-separation model)

Proof

1.1A1F1F2F3constructalgebra

Let P be a full-dimensional compact convex body and X uniform on P. For any unit a, the survival function S(t)=Pr⁡(⟨a,X⟩≥t) is log-concave on the open projection interval: the Minkowski interpolation of the two caps at t0,t1 lies in the cap at their interpolated threshold, so [F1] gives concavity of S1/n, and the increasing concave logarithm gives concavity of log⁡S. Slices and [F3] show that the projected distribution has continuous strictly increasing cumulative distribution on that interval and no atoms. Consequently S(⟨a,X⟩) is uniform on (0,1), by inverting this strictly monotone continuous function. Thus E[−log⁡S(⟨a,X⟩)]=∫01−log⁡t dt=1. Jensen [F2] yields S(⟨a,EX⟩)≥e−1. Applying this to −a shows that either halfspace through the centroid contains at least 1/e of the volume.

1.2F1F3givenalgebra

If P contains a radius-s ball, its width in every direction is at least 2s. The projected density is at most n/(2s). Indeed, for n≥2 the (n−1)-slice area to the power 1/(n−1) is concave by [F1]. A slice of area A at position t therefore gives cone lower bounds A((v−a)/(t−a))n−1 to its left and A((b−v)/(b−t))n−1 to its right, where [a,b] is the projection interval. Integrating gives vol⁡(P)≥A(b−a)/n. Taking limits at endpoints proves the density bound for every interior slice. For n=1 the density is 1/(b−a) directly. A slab of thickness h thus has relative volume at most nh/(2s).

1.3F4givenconstructalgebra

Choose a rational vector v with ∥v−c∥≤ζ/(64R), so ∥v∥≤2. For a rational threshold γ, initialize a localization polytope P=[−R,R]n and make at most T iterations. If it is empty or lower-dimensional, return FAIL. Otherwise compute its exact centroid p0 and round to a fixed-point rational p with ∥p−p0∥≤η. If ⟨v,p⟩<γ, keep P∩{x:⟨v,x⟩≥⟨v,p⟩} without an oracle call. Otherwise query weak separation at p: IN returns p as a witness; on an OUT answer in rational direction u, keep P∩{x:⟨u,x⟩≤⟨u,p⟩+ηN}. After T iterations without a witness, return FAIL. All constraints are rational. Every retained polytope contains Fγ=B(K,−η)∩{x:⟨v,x⟩≥γ} whenever the oracle answers succeed. The oracle cut has geometric displacement at most 3η from the true centroid, including point rounding; the objective cut has displacement at most η. Common fixed-point query registers can therefore be chosen from the bounded initial box and this explicit rounding precision, despite growth of the internal exact centroid denominators.

2.1F3step 1.3constructalgebra

This is a finite arithmetic procedure. Vertices of a bounded rational polytope are found by enumerating all subsets of n defining hyperplanes, solving each nonsingular linear system, and retaining feasible solutions. A nonempty full-dimensional bounded polytope has vertices, since successively minimizing coordinates on a minimizing face eventually gives a zero-dimensional face. Supporting facets can be enumerated from its finite vertex list and checked by rational sign tests. Triangulate a facet inductively by choosing one vertex and coning its nonincident boundary facets; then cone the resulting boundary simplices to a rational interior point such as the average of all vertices. This partitions P up to common faces. A simplex has volume ∣det⁡(v1−v0,…,vn−v0)∣/n! and centroid (v0+⋯+vn)/(n+1): the first identity is [F3], and the second follows by permutation symmetry of barycentric coordinates and their sum being one. The volume-weighted average of these simplex centroids is the exact rational centroid of P. Dimensions, incidences, and zero determinants are decided by finite rational elimination. No efficiency of this enumeration is asserted.

2.2givenstep 1.3algebra

Put h=max⁡x∈K⟨v,x⟩ and take a maximizer x∗. If γ≤h−τ, let α=τ/(8R) and z=(1−α)x∗. Convexity gives B(z,αr)⊂K. Since s=αr/2 and η≤s, the ball B(z,s) lies in B(K,−η). Also ⟨v,z⟩≥h−α∣h∣≥h−τ/4, and its value on that ball drops by at most 2s≤τ/8. Therefore Fγ contains this radius-s ball.

3.1step 1.1step 1.2step 1.3step 2.2algebra

Under this condition, every localization polytope contains the ball from step 2.2. The rounded-centroid objective and oracle cuts remove at least 1/e−n(3η)/(2s)=1/e−3/200>1/4 of the volume by step 1.1 and step 1.2. Thus each nonterminating iteration leaves at most 3/4 of the volume. But the radius-s ball contains a cube of side 2s/n, whereas after T cuts the volume is less than (2s/n)n by the defining rational test for T. This is impossible. Hence FAIL implies γ>h−τ on successful oracle answers; IN returns a witness in B(K,η) with ⟨v,p⟩≥γ.

4.1step 3.1givenconstructalgebra

Maintain an upper bound H=2R≥h, a lower threshold L=0, and its witness y=0. Repeatedly test γ=(L+H)/2. A witness sets L=γ and saves it. FAIL sets H=min⁡{H,γ+τ}, preserving H≥h by step 3.1. Stop when H−L≤4τ, and in any event after B iterations. The width obeys wj+1≤wj/2+τ; hence wB≤2R/2B+2τ<4τ. A saved witness satisfies ⟨v,y⟩≥L≥h−4τ and y∈B(K,η). If a successful witness threshold exceeds h, the same conclusion holds and early stopping is valid; no assumption L≤h was used. There are at most BT separation calls, and T=O(nlog⁡(nR/s)), B=O(1+log⁡(R/ζ)) follow from their geometric tests.

5.1step 4.1givenalgebra∎

The failure probability of any successful-answer guarantee among these adaptive calls is at most BT⋅ν/(2BT)=ν/2, conditioning on previous outputs and using a union bound. On the complement, ∥y∥≤R+η≤2R, so changing from v to c costs at most 3R∥v−c∥≤3ζ/64 in the difference between the optimum and output objective. The remaining gap is at most 4τ=ζ/2. Thus y∈B(K,ζ) and ⟨c,y⟩≥max⁡K⟨c,x⟩−ζ with probability at least 1−ν. All omitted operations are the explicitly charged arithmetic of step 2.1 and the oracle encoding; they are not hidden query calls.

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

Height geometry and weak-membership binary search

Statement

Let B(0,r)⊆K⊆B(0,R) be a closed convex body in Rn, n≥2. In any rotated coordinates set C={y:∃t,(y,t)∈K} and h(y)=min⁡{t:(y,t)∈K}. Then h is convex, finite on B(0,r), and L=2R/r-Lipschitz on B(0,r/2). Every interior point of C has a subgradient, and every such subgradient at a point in the interior of this ball has norm at most L.

For ∥y∥≤r/2, a MEMε,0 query at (y,t), t≤−r/2, has these implications: an IN answer implies t≥h(y)−3Rε/r; an OUT answer implies t≤h(y)+2Rε/r. Hence binary search on [−R,−r/2], returning its final upper endpoint when its width is at most δ/3, approximates h(y) within δ if ε≤rδ/(3R). It uses O(1+log⁡(R/δ)) membership queries and has a clean coherent implementation using the same order of queries and inverse queries.

Finally, let a≥0. If x=−∥x∥en receives OUT and h(y)≥h(0)+⟨v,y⟩−a∥y∥−b on C, then s=(−v,1)/∥(−v,1)∥ satisfies ⟨s,z⟩≥⟨s,x⟩−aR−b−2Rε/r for every z∈K.

Facts & Assumptions

Given: The body, radii, height, deterministic weak-membership completion, and positive precision parameters in the Statement.

[F1]

Quantum convex membership and weak-separation model specifies the two valid weak-membership assertions and the radius sandwich.

[F2]

A nonempty closed Euclidean convex set has a unique nearest point to each point. (Every point has a unique nearest point in a nonempty closed Euclidean convex set)

[F3]

A bounded Euclidean sequence has a convergent subsequence. (For n≥1 every bounded sequence in Rn has a convergent subsequence)

[F4]

A subgradient p at y means h(z)≥h(y)+⟨p,z−y⟩ throughout the domain. (Subgradients and the subdifferential of a convex function)

Proof

1.1givenF1F5algebra

Compactness of K makes each nonempty vertical section compact, so its minimum exists; projection makes C compact and convex. Convex combinations of two minimizing boundary points show convexity of h. For ∥y∥≤r, the inner ball supplies a point at height zero, while the outer ball bounds all heights below by −R. Thus −R≤h(y)≤0 on that ball.

2.1step 1.1algebra

More generally on B(0,d), 0<d<r, let y,y′ be distinct and extend the directed line from y through y′ by r−d to p=y′+(r−d)(y′−y)/∥y′−y∥. Then p∈B(0,r) and convexity on the segment [y,p] gives h(y′)−h(y)≤R∥y′−y∥/(r−d). Exchange y,y′ and put d=r/2 to obtain the Lipschitz claim.

2.2F1step 1.1algebra

The ball B((y,0),r/2) lies in K. Its convex hull with (y,h(y)) contains a ball of radius θr/2 about (y,(1−θ)h(y)) for every 0≤θ≤1: combine the vertex with every point of that ball. Consequently all heights between h(y)(1−2ε/r) and −r/2 lie in the inward ε-erosion, whenever this interval is nonempty. If ε≥r/2 the claimed OUT bound is automatic from h(y)≥−R and t≤−r/2. For 0<ε<r/2, write H=−h(y)≤R. If the interval is empty, then H(1−2ε/r)<r/2, so H−r/2<2Hε/r≤2Rε/r; every t≤−r/2 therefore satisfies t<h(y)+2Rε/r. If the interval is nonempty, OUT excludes its heights, so t≤h(y)(1−2ε/r)≤h(y)+2Rε/r. This uses an inclusion of balls, not an incorrect identity for the erosion of a cone.

3.1F2F3F4step 1.1step 2.1constructalgebra

For completeness, subgradients here need no arbitrary selection. The truncated epigraph E={(y,t):y∈C, h(y)≤t≤R+1} is compact and convex: it is the image of the compact set of pairs consisting of a point of K and a permitted upward vertical displacement. Fix interior y and p=(y,h(y)). Let pj=p−en/j, and let qj be its unique nearest point in E by [F2]. Minimality along a segment gives ⟨qj−pj,w−qj⟩≥0 for all w∈E, by expanding squared distance and taking the right derivative at zero. Moreover ∥qj−p∥≤2/j. A subsequence of the unit normals (qj−pj)/∥qj−pj∥ converges by [F3] to a unit normal (u,t) with ⟨(u,t),w−p⟩≥0 on E. Upward vertical segments imply t≥0; if t=0, interior displacements of y in both horizontal directions force u=0, a contradiction. Thus t>0 and −u/t is a subgradient of h on C. At a point where the Lipschitz bound holds on a neighborhood, applying the subgradient inequality in the directions ±p/∥p∥ gives ∥p∥≤L.

4.1F1F5step 2.1step 3.1algebra

Fix ∥y∥≤r/2. A subgradient p of norm at most 2R/r gives the supporting inequality ⟨(−p,1),(z,t′)−(y,h(y))⟩≥0 on K. If (y,t) is within ε of K, Cauchy–Schwarz gives t≥h(y)−ε∥(−p,1)∥≥h(y)−3Rε/r. This proves the IN implication, also at the transverse-ball boundary by the bound from step 2.1 on slightly larger balls and passage to its limit.

5.1F1step 4.1step 2.2constructalgebra

Maintain endpoints ℓ,u. Initially ℓ=−R≤h(y)+2δ/3 and u=−r/2≥h(y)−δ. An IN answer replaces u by the midpoint and preserves its lower bound by step 4.1; OUT replaces ℓ and preserves its upper bound by step 2.2. When u−ℓ≤δ/3, these invariants give h(y)−δ≤u≤h(y)+δ. Each iteration halves the bracket, proving the logarithmic query count. Fixed finite arithmetic and the deterministic oracle completion make the whole binary-search transcript a function of the input label. Store its transcript, copy its output, and reverse its computation and oracle calls; this implements that value oracle with clean work and only a constant factor more queries.

6.1step 2.2givenalgebra∎

Write z=(y,t)∈K. Evaluating the approximate-subgradient premise at y=0 gives b≥0. Since a≥0 and ∥y∥≤R, that inequality gives ⟨(−v,1),z⟩=t−⟨v,y⟩≥h(0)−aR−b. At x=(0,−∥x∥) the OUT implication gives h(0)≥−∥x∥−2Rε/r; if its height is below −R, this inequality follows directly from h(0)≥−R. If ∥x∥<r/2, an OUT answer requires ε≥r/2 by the inner ball, and the same inequality again follows from h(0)≥−R. Divide by ∥(−v,1)∥≥1 to obtain the stated separation inequality.

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

Quantum weak-separation query bound

Statement

Let n≥1, with rationally encoded radii, precision and failure budgets as in the model, and let B(0,r)⊆K⊆B(0,R) be a closed convex body, 0<η≤R, and 0<ρ≤1/3. The completed deterministic coherent oracle MEMε,0(K) and its inverse are supplied, with ε≤η(58n)−9/2(r/R)3(η/R)2ρ. Under the finite encoding and numerical-error budgets of Quantum membership-to-separation procedure, that procedure implements SEPη,ρ(K) using O ⁣(log⁡(n/ρ)log⁡ ⁣((n/ρ)(R/η)(R/r))) membership and inverse queries combined. The promise applies to all encoded query points; in particular it applies throughout the bounded rational localization queries used below. The oracle completion need not be unique in the weak boundary band.

For the optimization composition assume countable choice. Given 0<ζ≤R, 0<ν≤1/3, and a unit objective with costed rational approximations, use τ,s,η∗,T,B from Query-only optimization from weak separation by centroid cuts and ρ∗=ν/(2BT). Membership access at any precision ε∗≤η∗(58n)−9/2(r/R)3(η∗/R)2ρ∗ then returns, with probability at least 1−ν, a point y∈B(K,ζ) satisfying ⟨c,y⟩≥max⁡x∈K⟨c,x⟩−ζ, with at most BT times the preceding per-separation membership-query bound, evaluated at (η∗,ρ∗). This is O~(n) membership queries, where the suppressed factors are logarithmic in n,R/r,R/ζ,1/ν. It implies the corresponding weak-optimization guarantee over B(K,−ζ). Output, QFT/phase gates, rotations, numerical precision, centroid computation, and all classical arithmetic/bit costs are additional. No polynomial-time centroid implementation is asserted.

Facts & Assumptions

Given: The body, radii, weak-membership completion, inverse access, and finite procedure specified in the Statement.

[F1]

The local height lemma proves convexity, Lipschitz constant 2R/r, weak-membership value search, clean query implementation, and conversion of an approximate subgradient to an inward separator. (Height geometry and weak-membership binary search)

[F2]

The local finite-grid lemma proves the full Fourier-tail, mesh, median, approximate-subgradient and value-query bounds. (A finite-grid quantum subgradient from approximate values)

[F3]

The weak-separation contract uses an outward unit normal and an upper halfspace inequality. (Quantum convex membership and weak-separation model)

[F4]

The explicit OP7 chooses its finite mesh, power-of-two Fourier grid, encoded output and deterministic error budgets. (Quantum membership-to-separation procedure)

[F5]

Under countable choice the local centroid reduction proves the stated weak-separation precision, adaptive call count and optimization guarantee with separately charged arithmetic. (Query-only optimization from weak separation by centroid cuts, The Axiom of Countable Choice (ACω))

Proof

1.1givenF3F4algebra

If the supplied boundary width is smaller than half its positive admissible upper bound, regard the same oracle as having that larger width. Its two assertions remain valid because outer bands enlarge and inward erosions shrink; the same is true for an exact zero-width oracle. Write ε>0 for this working allowance, which still satisfies the displayed input bound. First query membership at x. IN implies x∈B(K,ε)⊆B(K,η), which is a permitted output. OUT implies x∉B(K,−ε), hence x∉B(K,−η) since inward erosions decrease with their radius. For n=1, K is an interval containing [−r,r] and ε<r/2. A positive OUT point must be at or beyond the positive endpoint minus ε; a negative one has the analogous property. Its outward signed normal therefore satisfies the separation contract with slack at most ε. The point zero necessarily has an IN answer. This proves the scalar case with a single query.

1.2F1F2F4givenalgebra

Suppose n≥2 and OUT occurs. Rotate x to −∥x∥en and use the height function of [F1]. Set L=2R/r, ρ0=99ρ/100, r1=rη/(12nR) and δ=ηρ0n−9/296⋅234(rηR2)2. Then [−2r1,2r1]n−1⊆B(0,r/2) since 2nr1≤r/6. Moreover δ≤nr1L/ρ0, by substituting r1,L, r≤R, η≤R and ρ0≤1/3. Thus the height and grid lemma hypotheses hold.

2.1F1F4step 1.2algebra

Substitution of the input bound shows ε<0.97 rδ/(3R): squaring verifies 589>(300⋅234)2, while the remaining factor is at most 288/(300⋅0.99)<0.97. The deterministic address perturbation in [F4] is at most ε/1000 and its height displacement at most δ/1000. Thus effective membership uncertainty is less than 0.98 rδ/(3R). The lower height error is less than 0.98δ, and the upper one is at most 2(0.98)δ/3+δ/3<0.987δ before the additional δ/1000 value rounding. Hence the implemented clean height-value oracle has uniform error below δ. Binary search and its inverse use O(1+log⁡(R/δ)) membership/inverse calls by [F1]. This explicit slack also permits the certified rotation/address rounding in [F4]; those are bit costs, not uncounted queries.

3.1F2step 1.2step 2.1algebra

Apply [F2] to the transverse dimension d=n−1, using its finite shift and M≥32 grid. With failure probability at most ρ, it returns g satisfying h(y)≥h(0)+⟨g,y⟩−(23n)2δL/(ρ0r1)∥y∥−2Lnr1. The parameter substitutions are exact: 2Lnr1=η/3 and (23n)2δL/(ρ0r1)=η/(2R). No differentiability of h or exact membership at boundary points is used.

3.2F2F4step 1.1step 1.2step 2.1algebra

The finite shift uses no membership query. There are O(log⁡(n/ρ)) phase/median runs by [F2], each using a height query and its inverse; step 2.1 supplies their logarithmic membership cost. Since R/δ is a fixed constant times a product of powers of n, 1/ρ, R/r and R/η, its logarithm is O(log⁡((n/ρ)(R/η)(R/r))). Initial queries and the scalar branch are absorbed because the displayed logarithms are bounded below by positive constants. This proves the first bound, counting forward and inverse calls separately and then adding them.

4.1F1F3F4step 1.1step 3.1algebra

The separator conversion [F1] therefore gives, on this event, a unit inward normal s with ⟨s,z⟩≥⟨s,x⟩−5η/6−2Rε/r on all of K. The input precision implies 2Rε/r<η/100, so the additional encoded direction/rotation slack η/100 in [F4] still leaves error below η. Emit G=−s in the original coordinates. This gives ⟨G,z⟩≤⟨G,x⟩+η on K, in particular on its inward η-erosion, with the OUT assertion already justified in step 1.1. Together with the IN branch this is exactly [F3]. The rational-direction encoding in [F4] specifies an exact unit normal by normalization; its output approximation was charged in the displayed slack.

5.1F5step 3.2algebra∎

For optimization, [F5] makes at most BT adaptive weak-separation calls at precision η∗ and per-call failure ρ∗. Each is implemented by the first part with the stated ε∗; the conditional oracle guarantee is uniform over its input point and completed membership oracle, so the classical adaptive reduction applies. Its failure accounting and output guarantee are exactly those proved in [F5]. Now BT=O(nlog⁡(nR/s)(1+log⁡(R/ζ))) and s=rζ/(128R), while 1/η∗ and 1/ρ∗ have only polynomial dependence on these radius/precision ratios, n, and 1/ν. Multiplying by step 3.2 therefore gives the claimed O~(n) membership queries. This multiplication charges every call; it imports neither the stronger arithmetic bound from a cited cutting-plane paper nor a free centroid operation.

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

Certified finite smooth Fourier approximation and LCU normalization

Statement

Let r,Δ,B>0, 0<e≤B/2, and f(x0+x)=∑k≥0akxk with ∑k∣ak∣(r+Δ)k≤B. Put ν=Δ/(r+Δ), x=ln⁡(32B/e), and choose K=⌈ν−1ln⁡(16B/e)⌉+2,L=⌈ν−2x⌉+2,M=⌈ν−1x⌉+2. Use the exact finite arcsine convolutions and binomial expansion in OP8 SmoothFourier. The exact truncated coefficients cs have ∑s∣cs∣≤B, ∣s∣≤2M, and give an approximation to f within e/8 throughout [x0−r,x0+r]. Rounding all complex coefficients with total absolute error at most e/16 gives error below e/4 and coefficient norm at most B+e/16. There are O(M+1) distinct signed frequencies. In an LCU SELECT their largest evolution time is O(Δ−1ln⁡(B/e)).

Facts & Assumptions

Given: The absolutely convergent Taylor coefficient budget, positive parameters, exact finite convolution rules, coefficient precision, and supplied evolution/LCU circuits.

[F1]

Principal inverse sine inverts sine on its principal interval and has derivative (1−y2)−1/2 (Principal inverse sine and inverse cosine, For −1<y<1, (arcsin⁡y)′=1/1−y2 and (arccos⁡y)′=−1/1−y2).

[F2]

The sine and cosine derivatives give the elementary trigonometric estimates used below (The derivatives of sine and cosine are cosine and minus sine).

[F3]

Finite LCU compression is the normalized coefficient-weighted sum (LCU projected-block correctness).

[F4]

A Hermitian matrix has an orthonormal eigenbasis, so a uniform scalar error on its spectrum bounds the corresponding operator norm (Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely).

Proof

Given: The convergent coefficient bound and positive input parameters.

1.1F1F2givenconstructalgebra

Set t=(z−x0)/(r+Δ), so ∣t∣≤1−ν, and bk=ak(r+Δ)k. The omitted Taylor terms have modulus at most ∑k≥K∣bk∣(1−ν)k≤Be−νK≤e/16. Let u2j=0 and u2j+1=(2/π)(2jj)/(4j(2j+1)). These are nonnegative and ∑ℓuℓ=1, while ∑ℓuℓyℓ=(2/π)arcsin⁡y for ∣y∣<1. One direct derivation is to solve (1−y2)h′(y)=yh(y) with h(0)=1 by coefficients, obtaining h(y)=∑j(2jj)y2j/4j=(1−y2)−1/2; coefficient integration gives the inverse-sine derivative and its value zero at zero. Letting y increase to one, nonnegativity and finite partial sums give total sum (2/π)arcsin⁡1=1. Thus for y=sin⁡(πt/2), t=∑ℓuℓyℓ.

2.1step 1.1algebra

Let uℓ(k) be the coefficients of the kth power of this series, with u0(0)=1. They are nonnegative with sum one. Convolution truncated above L computes their exact coefficients through L: all degrees are nonnegative, so discarded high degrees cannot contribute to a lower degree in a later convolution. For ∣t∣≤1−ν, ∣y∣≤cos⁡(πν/2)≤e−ν2. The last inequality follows by integrating (ln⁡cos⁡v)′=−tan⁡v≤−v on [0,π/2) and using π2/8>1. Hence the omitted degrees ℓ>L in every power have absolute contribution at most e−ν2L. Summing with weights ∣bk∣ gives error at most Be−ν2L≤e/32.

3.1step 1.1step 2.1algebra

With v=πt/2, the exact identity sin⁡ℓv=(i/2)ℓ∑j=0ℓ(−1)j(ℓj)ei(2j−ℓ)v has coefficient absolute sum one. For the omitted terms ∣j−ℓ/2∣>M, their absolute sum is a fair-binomial tail at most 2e−2M2/ℓ. To prove that bound directly, for a fair-binomial J, Ees(J−ℓ/2)=cosh⁡(s/2)ℓ≤eℓs2/8; the inequality follows termwise from (2j)!≥2jj!. Markov's inequality with s=4M/ℓ gives the upper tail e−2M2/ℓ, and symmetry gives the other tail. The case ℓ=0 has no omitted terms. Since L≤ν−2x+3 and M≥ν−1x+2, M2≥xL (the excess 4ν−1x+4 dominates 3x). Thus every retained degree's omitted Fourier tail is at most 2e−2x. After the coefficient weights the error is at most 2Be−2x=e2/(512B)≤e/512.

4.1step 1.1step 2.1step 3.1algebra

Combining the errors gives e/16+e/32+e/512<e/8. Every frequency is s=2j−ℓ with ∣j−ℓ/2∣≤M, so ∣s∣≤2M. Multiplication by e−iπsx0/(2(r+Δ)) converts the variable t Fourier series to the OP8 evolution eiπsz/(2(r+Δ)). This phase has modulus one. The exact total coefficient norm is at most ∑k<K∣bk∣∑ℓ≤Luℓ(k)≤B: expanding sine powers has norm one, and truncation cannot increase their individual absolute sums. Collisions among signed frequencies can only reduce the norm by the triangle inequality. Rounding the final coefficients, including these phases, with total error at most e/16 adds at most that much uniform error and gives norm at most B+e/16.

5.1F3F4step 4.1constructalgebra

Choose a certified normalization B+∈[B+e/16,B+e/8] containing the rounded coefficient norm below it; when B=1 one may take B+=1+e/8, which is rational only when e is rational. LCU followed by flag dilution has clean compression equal to the rounded Fourier sum divided by B+. Its error from f(H)/B+ is at most e/(4B+) for a Hermitian H whose spectrum is in the stated interval, by diagonalization. Approximate SELECT evolutions or PREPARE/dilution operations add their declared operator errors through the usual finite product telescoping and weighted block sum. No normalized postselected-state inverse is used.

6.1step 2.1step 3.1step 4.1algebra∎

The largest evolution time is πM/(r+Δ)=O(Δ−1ln⁡(B/e)), since x≥ln⁡64 and 0<ν<1. There are at most 4M+1 distinct frequencies. The finite convolution arrays need at most O(KL2+KL2)=O(KL2) arithmetic operations (direct truncated convolution, then the binomial coefficients and frequency accumulation); their actual numerical precision and classical bit costs are separate and explicit. Thus this construction proves the scalar and coefficient claims without an uncharged coefficient oracle or a citation-only supplier.

Remarks

For shifted positive Gibbs G with 1<=lambda_min(G)<=2 and ||G||<=2K_G, choose x0=K_G+1/2,r=K_G,Delta=1/2. The exponential coefficients have absolute B=exp(-x0/2) exp((r+Delta)/2)=1. For the observable square root, x0=0,r=1,Delta=1/2 and coefficients (1/2) binom(1/2,k)2^-k have absolute sum at r+Delta bounded by one: the sum at 3/4 is (1/2)(2-sqrt(1-3/4))=3/4. These elementary series follow by differentiating and the same coefficient-recurrence argument as above.

Use the SAME observable normalization B_A,+ for numerator and M=0 baseline; the baseline is I/(2 B_A,+), not the unnormalized I/2 unless B_A,+=1. The Gibbs normalization is also fixed in both branches. This gives exact normalization cancellation before finite approximation errors are bounded.

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

Coherent spectral minimum and a frozen Gibbs energy shift

Statement

Let H=H∗ have dimension d≥1, with supplied rational K≥0 and ∥H∥≤K. Supply a costed exact preparation of ∣Φd⟩, controlled Hamiltonian evolutions, their inverses, and the input and success reflections used by generalized minimum finding. Let rational 0<δ<1, T=2K+1, and let Qcap bound the sampler, inverse and controlled sampler calls of Quantile minimum and coherent-score nondomination guarantee at confidence δ/2. Choose 0<ν≤δ21012d(Qcap+1)2. There is a finite coherent spectral sampler whose rational label is within 1/8 of its eigenvalue with bad probability at most ν at every preserved spectral index. Generalized minimum finding with N=d returns, with probability at least 1−δ, a rational s satisfying λmin⁡(H)−1/8≤s≤λmin⁡(H)+1/8. Measure s once, put λ~=s−1/8, and freeze G=H−(λ~−3/2)I. On that event I⪯G, λmin⁡(G)≤2, and ∥G∥≤K+∣λ~−3/2∣. This one measurement and its resulting parameters are fixed before the round's coherent indexed trace circuits are constructed.

The minimum step uses O(d(1+ln⁡(1/δ))) complete spectral-sampler, inverse and reflection calls. Each sampler includes repeated costed reference preparation where invoked, all QPE powers, controlled gates, coherent decoding, median computation and history storage. One QPE trial has total physical Hamiltonian-evolution time O(1) in the power-evolution model. A sparse-simulation substitution such as O~(dHK) per trial is conditional on an independently supplied evolution-cost theorem and does not acquire a second factor of K from this application. Query counts imply no unproved total quantum-gate bound.

Facts & Assumptions

Given: The finite Hermitian matrix, rational norm bound, confidence, supplied controlled access and inverses, costed reference preparation, and finite precision budgets stated above.

[F1]

QPE output law and conditional state for a spectral input gives the eigenphase output kernel and its orthogonal spectral decomposition; SDP maximally entangled reference-state access supplies Φd=d−1/2∑k∣k,k⟩ with its declared preparation cost.

[F2]

Phase-estimation nearest-grid and tail bounds: for dyadic M and L=⌊Mη⌋≥2, the probability of circular phase error at least η is at most 1/[2(L−1)].

[F3]

Additive spectral-estimation accuracy and cost records the principal-branch spectral decoder, finite certified scheduling, conditional eigenstate median argument, and the controlled-power resource model. Its least-schedule Statement is not used to assert a guarantee for a different QPE size; the bounds for the schedule here are proved below.

[F4]

Quantile minimum and coherent-score nondomination guarantee supplies its finite call cap and the good-label nondomination conclusion for a preserved uniform index when ν≤(δ/(16Qcap))2. Its per-index cleaning and controlled/inverse hybrid are part of that theorem, not free implementation of a spectral projector.

[F7]

The finite rational bounds 3<π<22/7<4 follow from Rational bounds for pi used in finite schedules.

Proof

Given: The data and supplied access in the Statement.

1.1givenF3F7constructalgebra

Let U=exp⁡(iH/T). Its signed eigenphase is ϕ=λ/(2πT), with ∣ϕ∣<1/(4π) because ∣λ∣≤K and T=2K+1. Thus the principal representative is injective on the promised spectrum. By [F7], choose a certified rational π+∈(π,4) (for example 22/7) and let M be the least dyadic integer at least 128π+T, so 128πT≤M<256π+T. Choose an odd r≥8ln⁡(1/ν)+8 using a certified rational logarithm upper enclosure of additive width at most one, with the least such odd choice giving r=O(1+ln⁡(1/ν)). Doubling and integer comparisons give finite schedules as in [F3].

2.1F1step 1.1constructalgebra

Prepare Φd once. Apply r QPE trials to its same first factor, with fresh phase registers; preserve all phase outputs and arithmetic history. In an orthonormal eigenbasis uj, Φd=d−1/2∑juj⊗uj‾. The second factor is untouched and supplies a uniform orthogonal index in analysis. Conditional on j, controlled evolutions preserve uj and each fresh phase register has the kernel of [F1]; their conditional joint law is its r-fold product. Thus the median estimates one eigenvalue repeatedly, rather than independently redrawing spectral eigenvalues. No eigenbasis knowledge is required; repeated eigenvalues use any orthonormal basis within their eigenspaces.

2.2F2F7step 1.1algebra

Set η=1/(32πT). Then Mη≥4, so [F2] bounds one trial's circular error probability by 1/6<1/4. On circular success its signed estimate has distance below η from ϕ and lies in (−1/2,1/2): indeed ∣ϕ∣+η<1/(4π)+1/(32π)<1/2. Hence it is exactly the principal representative, and decoding by 2πT gives error below 1/16. This derives the trial bound for this actual M directly, without substituting it into a least-M theorem.

3.1F3F5F6step 2.1step 2.2algebra

Conditional on an eigenindex, let Xi indicate an accurate exact trial and S=∑iXi. By step 2.1 and step 2.2 the indicators are independent and each has success probability at least 3/4. Markov's inequality applied to 3−S gives Pr⁡(S≤r/2)≤3r/2E3−S≤(3/2)r. For the elementary exponential estimate, apply [F5] on [1,8/7]: some c∈(1,8/7) satisfies ln⁡(8/7)=L(8/7)−L(1)=1/(7c)>1/8. Since 2/3>8/7, monotonicity of ln⁡ (also immediate from [F5] and the mean value theorem) gives ln⁡(2/3)>1/8, so [F6] gives (3/2)r≤exp⁡(−r/8)≤νexp⁡(−1). Applying [F5] on [1,2] gives ln⁡2=1/c2<1 for some c2∈(1,2), hence [F6] gives exp⁡(−1)<1/2. The conditional failure is therefore below ν/2. An inaccurate odd median requires at least half the trials to be inaccurate. Therefore the exact decoded median has error at most 1/16 with conditional failure below ν/2. This is the explicit conditional median argument also used in [F3].

4.1givenstep 3.1constructalgebra

For each phase output y, set z=y/M if y/M<1/2, and z=y/M−1 otherwise. Approximate 2πTz using a certified rational approximation to π of error at most 1/(32T), followed by rational rounding of error at most 1/32, and clip to [−K,K]. Since ∣z∣≤1/2, the first error is at most 1/32 and the total is at most 1/16. Clipping cannot increase distance from the true eigenvalue. The median of entries each perturbed by at most h changes by at most h: at least half the new entries remain below the old median plus h, and at least half remain above the old median minus h. Thus the rational median label has error at most 1/8 on the event of step 3.1. Retain all rounded values, comparison bits and scratch for reversible computation.

5.1givenstep 2.1step 3.1step 4.1constructalgebra

Allocate total operator-error sum at most ν/4 to the implemented controlled evolutions and other synthesis slots of a complete spectral sampler. With S0 slots, error at most ν/(4S0) per slot suffices. Telescoping unitary products bounds conditional output-vector error by that sum, and measured total variation by at most twice the sum. Together with step 3.1, the bad-label probability is at most ν at every spectral index. Exact reference preparation is assumed; an approximate reference may instead be covered by a separately allocated whole-algorithm hybrid since its error can destroy exact index preservation. Retain every QPE target, phase register, arithmetic register and coin, so reversing the whole finite circuit, including reference preparation, provides its inverse. Controlled implementations are supplied or constructed gatewise with their actual costs.

6.1givenF4step 2.1step 5.1algebra

The uniform-index cleaning proof of [F4] is basis independent: in analysis its per-index rotations can act in the orthogonal uj‾ reference sectors from step 2.1. No such unknown-basis rotation or spectral projector is implemented. The declared ν is smaller than (δ/(16Qcap))2. Apply [F4] with N=d. With probability at least 1−δ, it returns a good rational score s not strictly larger than every good label at any one index. Its goodness gives s≥λmin⁡(H)−1/8. At an index of minimum eigenvalue, every good label is at most λmin⁡(H)+1/8; a larger selected score would contradict nondomination. Thus the stated two-sided bound on s holds without a probability lower bound on any individual label.

6.2givenF3step 1.1step 5.1algebra

In power-evolution access, a QPE trial uses controlled exp⁡(iH2ℓ/T) for 0≤ℓ<log⁡2M. Their total physical evolution time is ∑ℓ2ℓ/T=(M−1)/T<256π+, and each individual time is bounded by this constant. Thus each trial has total physical time O(1). With repeated base-U access there are instead M−1=O(K+1) base calls; the two models have distinct costs. One must not multiply the power-time sum by another factor M. With supplied evolution cost CH(t,ε), the precise charge is ∑ℓCH(2ℓ/T,εℓ) per trial with slot errors summed as in step 5.1, plus QFT, control and decoding work.

7.1step 6.1constructalgebra

Measure s once and put λ~=s−1/8. Step 6.1 implies λmin⁡(H)−1/4≤λ~≤λmin⁡(H), so λmin⁡(G)=λmin⁡(H)−λ~+3/2∈[3/2,7/4]. In particular I⪯G, its smallest eigenvalue is at most two, and the triangle inequality gives the finite norm bound in the Statement. Optionally ⌊8s⌋/8−1/8 yields the weaker lower estimate greater than λmin⁡(H)−3/8 and hence λmin⁡(G)<15/8, still sufficient. The formulas include K=0 and rational rounding ties.

8.1step 7.1constructalgebra

Freeze this measurement, the shift, the norm certificate and all ensuing coefficient encodings, cutoffs and synthesis precisions once per MMW round, before making coherent indexed trace circuits. These later circuits use one fixed G; they do not rerun or remeasure the spectral minimum. Since an identity energy shift multiplies numerator and partition function by the same positive scalar, e−G/tr⁡(e−G)=e−H/tr⁡(e−H). The spectral good-event failure remains part of the round's confidence budget.

9.1givenF4step 1.1step 5.1step 7.1step 6.2algebra∎

The minimum theorem charges O(d(1+ln⁡(1/δ))) complete sampler, inverse and reflection accesses. Each sampler includes its reference preparation at declared cost CΦ, r QPE trials and all coherent decoding, comparisons, median arithmetic and history storage; inverses reverse all of this work and include reference unpreparation. These are charged quantum gates and workspace, not free classical preprocessing. If an independently proved sparse-simulation theorem bounds the sum in step 6.2 by O~(dHK), substitute that cost to obtain O~(d dHK) evolution cost, adding preparation and every other charged coordinate; at K=0 retain any supplied nonzero overhead. This conditional substitution supplies neither an unproved simulation theorem nor a total-gate guarantee, and introduces no K2 factor. The finite Qcap is chosen first, then ν, then the confidence and synthesis budgets, so no unknown stopping time sets precision retrospectively. Together with step 7.1 this proves the claims.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableOpen item page →

Sparse-oracle Gibbs-state purification

Definition

Input a finite Hermitian matrix H, a nonnegative coefficient η, a rational certified bound K≥∥ηH∥, dimension d≥1, costed reference preparation Φd, controlled sparse evolution circuits and their inverses, an output accuracy, and shift-confidence and implementation budgets. For the optional normalized-output branch, supply εout>0 and a rational amplification failure target 0<ρ<1. All access, coefficient generation, rotations, arithmetic, precision synthesis, reference preparation and memory operations have declared costs. The supplied finite decoded matrix may approximate the target matrix only with a stated operator-norm error budget included below.

  1. Freeze the energy shift. Choose 0<e≤1/2 and an exact finite decoded Hermitian L^ with ∥L^−ηH∥≤δ≤min⁡(1/8,e/100) and certified norm bound K+δ. Run the explicit finite coherent spectral sampler and capped generalized minimum procedure in Coherent spectral minimum and a frozen Gibbs energy shift on L^. Measure its rational output once, set λ~=s−1/8, and freeze the decoded G^=L^−(λ~−3/2)I and target G=ηH−(λ~−3/2)I, their norm certificates and all ensuing circuit parameters. On the shift good event the decoded minimum is in [3/2,7/4]; the variational bound ∣λmin(L^)−λmin(ηH)∣≤δ puts the target minimum in [1,2]. For η=0 the normalized output is the supplied Φd directly. A shift failure belongs to the declared confidence budget.
  2. Generate the finite block. Choose 0<e≤1/2 and a rational KG≥max⁡(∥G∥,∥G^∥)/2. Construct the block for G^ and include its target perturbation ∥e−G^/2−e−G/2∥≤δ/2 in the allocated error. For f(x)=e−x/2 use x0=KG+1/2, r=KG, Δ=1/2, B=1. Its Taylor coefficients are ak=e−x0/2(−1/2)k/k!. Execute the finite arcsine convolution, truncation, signed-binomial coefficient construction, coefficient rounding and normalization in Certified finite smooth Fourier approximation and LCU normalization. Use its explicit finite K,L,M cutoffs, enlarged by certified upper enclosures when necessary. Prepare the finite coefficient vector, apply the signed-frequency controlled evolutions, unprepare it and dilute the clean flag to common normalization BG+=1+e/8. Allocate coefficient, rotation, evolution and decoded-matrix errors so the final successful compression differs from e−G/2/BG+ by at most e. Their sum is an input certificate, and every circuit is retained with its actual adjoint and controlled implementation.
  3. Unmeasured flag interface. Prepare Φd and apply the block on its first factor. The ideal zero-work vector is ((e−G/2/BG+)⊗I)Φd, with probability tr⁡(e−G)/[d(BG+)2]. Return this entire unmeasured circuit and its actual inverse when a coherent flagged sampler is requested. A caller constructing indexed trace samplers reuses these frozen parameters; it does not rerun ShiftMin within that sampler.
  4. Optional normalized output. To output a normalized purification, use step 2 with accuracy 0<e≤min⁡(1,εout)/(10000d), invoke the finite direct-sample/random-iteration capped amplification construction of Capped randomized amplitude amplification preserves a flagged output with lower floor 1/(64d) and failure target ρ, and measure only its supplied good/bad flag. On a good outcome return the normalized flag branch; on cap failure return explicit FAIL. Do not measure score, label, or work registers in this branch. The amplification lemma supplies the finite success and branch-state contract; no exact Grover peak or unbounded rejection loop is used. A caller needing an inverse uses the unmeasured circuit from step 3, rather than an inverse of this measured conditional output.

The identity energy shift changes no normalized Gibbs state. Non-power-of-two dimensions use the declared CΦ input. The algorithm supplies no uncharged matrix exponential, spectral projector, coefficient oracle or sparse-sum oracle. Its successful-vector and normalized-state bounds are proved separately in Gibbs purification error and resource bound ↗.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Gibbs purification error and resource bound

Statement

Let the ideal unnormalized Gibbs amplitude on the reference state be ∣v⟩=((e−G/2/B)⊗I)∣Φd⟩ with ideal flag probability pG=∥v∥2>0, where B>0 is the declared block-encoding normalization. Suppose the implemented flagged preparation has good-branch vector ∣v~⟩ with ∥v~−v∥≤ζ, and assume 0≤ζ≤pG/2. Then its normalized conditional state is within 2ζ/pG in vector norm of the ideal Gibbs purification. Its actual success probability is at least pG/4. There exists a positive rational q with pG/8<q<pG/4. CapAmplify supplied any certified such q returns that implemented good ray with probability at least 2/3 using O(pG−1/2) preparation, inverse, and reflection calls. The floor certificate is a supplied input to this call; obtaining and verifying it are separately charged and are not an exact trace oracle. The total cost also includes QSVT/block access, phase compilation, reference preparation, and all gate/precision costs.

Facts & Assumptions

Given: The ideal and implemented flagged vectors, the additive error bound, and the finite cap-amplification lemma.

[F1]

Sparse-oracle Gibbs-state purification: the ideal postselected branch is proportional to (e−G/2⊗I)∣Φd⟩ and every preparation/access call is supplied.

[F2]

Capped randomized amplitude amplification preserves a flagged output: with a supplied positive rational lower bound on flag probability and rational failure target, capped amplification returns the normalized good projection with stated confidence and preserves its ray.

[F3]

The rationals embed densely in the reals: strictly between any two real numbers lies a rational.

[F4]

The real exponential function and the number e by a power series defines the real exponential by its factorial series, The factorial n! and the falling factorial nk‾, defined by recursion in N gives the factorial recursion, and exp⁡(z+w)=exp⁡z exp⁡w, and the complex exponential extends the real exponential gives the exponential addition law and agreement of real and complex exponentials; The exponential function is strictly increasing gives monotonicity on real arguments, and The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x) gives positivity and exp⁡(−x)=1/exp⁡(x).

Proof

technique · direct
1.1givenF1algebra

By the reverse triangle inequality, ∥v~∥≥∥v∥−∥v~−v∥≥pG−ζ≥pG/2, so the implemented branch is nonzero and its probability is at least pG/4. Also ∥v~∥v~∥−v∥v∥∥≤∥v~−v∥+∣∥v∥−∥v~∥∣∥v∥≤2ζpG. This proves the conditional-state bound.

2.1givenF2F3step 1.1choosealgebra

Since pG>0, [F3] supplies a rational q strictly between pG/8 and pG/4. Supply this finite rational together with its lower-bound certificate to [F2]; step 1.1 shows q is below the implemented success probability. Apply [F2] with plow=q and rational failure target 1/3. It returns the same normalized good projection as the conditional branch from step 1.1 with probability at least 2/3. Since q−1/2<8 pG−1/2, its preparation/reflection call count is O(pG−1/2) for this fixed confidence; supplied QSVT, block, reference-state, inverse, compilation and precision costs, including acquisition and verification of the rational floor certificate, remain additional. Rational density establishes existence, not a free algorithm for comparing an exact real trace.

3.1givenF1F2F4F5step 1.1choosealgebra∎

For the optional normalized branch of [F1], condition on the shift good event. The algorithm gives λmin⁡(G)≤2, B=BG+=1+e/8≤17/16, and pG=tr⁡(e−G)/[d(BG+)2]. For completeness, choose the orthonormal eigenbasis in [F5], listing eigenvalues with multiplicity as λ1,…,λd, with λ1=λmin⁡(G)≤2. Then tr⁡(e−G)=∑j=1de−λj≥e−λ1≥e−2 by [F4] and [F5], so pG≥e−λmin⁡(G)/[d(BG+)2]. The factorial recursion in [F4] gives k!≥2k−1 for k≥2, with 1/3!=1/6 smaller than 2−2=1/4 by 1/12. For every integer M≥3, the finite geometric identity ∑k=2M21−k=1−21−M follows by subtracting half the finite sum from itself. Hence ∑k=0M1/k!≤2+(1−21−M)−1/12≤35/12. The convergent exponential series in [F4] therefore has exp⁡(1)≤35/12<3: a larger limit would contradict that bound on all sufficiently late partial sums. The addition law gives exp⁡(2)<9 and exp⁡(−2)=1/exp⁡(2)>1/9, using exp⁡(0)=1 from its series. Consequently pG>1/[9d(17/16)2]>1/(16d). The algorithm now chooses e≤min⁡(1,εout)/(10000d); its successful-vector error is at most e, so e<pG/2. Step 1.1 gives actual probability greater than 1/(64d) and normalized vector error at most 8ed≤εout. Hence [F2] applies to its declared rational floor 1/(64d). For failure target ρ, this branch uses O(d(1+ln⁡(1/ρ))) amplification calls, conditional on the shift good event; shift failure and all supplied implementation costs are accounted for separately. This fixed floor is not asserted to be a constant fraction of pG.

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

Flagged Gibbs trace estimation: errors, probability floors and charged access

Statement

Let d≥1, 0<θ≤1/4, and let a frozen finite Hermitian matrix G satisfy 1≤λmin⁡(G)≤2 and a supplied finite norm bound. Let A=A∗ with ∥A∥≤1, Z=tr⁡(e−G), ρG=e−G/Z, and FA=12I+A/2. Choose 0<e≤min⁡(1/2,θ/(100000d)) and the common normalizations BG+=BA+=1+e/8. Supply finite successful blocks approximating e−G/2/BG+ and FA/BA+ in operator norm within e. The baseline observable block approximates I/(2BA+) within e, using the same normalizations. Supply their unitary circuits, inverses, controlled versions, and the reference preparation ∣Φd⟩=d−1/2∑k=1d∣k,k⟩ at declared cost CΦ.

Let VA prepare the reference and apply the Gibbs block followed by the observable block on its first factor, with distinct work registers; success means both work registers zero. Define V0 with the baseline observable block. Supply a rational crel satisfying θ/72<crel≤θ/36 and rational failure budgets in (0,1). Apply Relative estimation of a promised coherent success probability separately to their actual probabilities qA,q0, with floor 1/(1024d) and relative tolerance crel. Form 2(q^A/q^0−1), allowing additive rounding error at most θ/4, and clip to [−1,1]. On the joint relative-estimation good event, the result estimates tr⁡(AρG) within θ.

The ideal probabilities satisfy p0≥1/(64d) and pA≥1/(128d); the actual probabilities both exceed 1/(1024d). ShiftMin's measured parameters must be frozen once per MMW round before making an indexed trace sampler. A finite coherent implementation retains every internal history and provides an inverse of its entire circuit, without an inverse of a normalized postselected Gibbs state.

With primitive cost Qflag for each complete preparation, inverse or controlled preparation, including reference preparation inside each call, the number of primitive accesses is O~(d/θ) with confidence logarithms. Thus their charged cost is O~((d/θ)Qflag). Controlled reflections, all AE/QFT operations and coherent arithmetic, comparisons, divisions, rounding and history work are additional charged quantum operations unless included in the declared primitive cost. This query bound alone implies no matching total quantum-gate bound; that stronger profile requires efficient implementations of every such operation and its precision budget.

Facts & Assumptions

Given: The matrices, spectral promises, precision, common normalization, finite block-error bounds, reference circuit, controlled access, inverse access and declared costs in the Statement. The supplied reference is exact; if its state has error eΦ, add eΦ to each successful-vector error below and tighten the numerical budgets accordingly.

[F1]

Flagged trace ratio returns a Gibbs-state observable mean gives the maximally entangled trace identity and the ideal Gibbs observable ratio by finite trace cyclicity.

[F2]

Certified finite smooth Fourier approximation and LCU normalization supplies finite Fourier/LCU blocks with certified normalization 1+e/8 for the exponential and observable square root after their declared synthesis errors are allocated. Its remarks give their analytic coefficient budgets; the operator error required here includes every implementation contribution.

[F3]

Relative estimation of a promised coherent success probability and Relative probability estimation with a charged finite cap apply to a finite unitary with supplied controlled sampler, inverse and reflection access and a promised positive probability floor. They return rational relative estimates with the stated confidence, a finite padded cap and the declared sampler query cost. Their retained exact-cyclotomic mode has its charged finite comparison cost; the supplied efficient-grid mode uses polynomial-in-logarithmic-scale reversible rounding. Every other arithmetic cost remains charged.

Proof

Given: The data and finite-circuit access above.

1.1givenF1algebra

On disjoint initially zero work registers, projection of both flags after the sequential blocks gives the product of their successful compressions: the second block does not act on the first work register, so a nonzero first-work component cannot contribute to joint success. For any matrix M, direct expansion of the orthonormal reference labels gives ∥(M⊗I)Φd∥2=tr⁡(M∗M)/d. Using FA2=(I+A/2)/4, trace cyclicity and the common normalizations therefore yields p0=Z/[4d(BG+)2(BA+)2] and pA=p0[1+12tr⁡(AρG)]. No commutation of A with G is needed. Thus x=pA/p0∈[1/2,3/2]. The cancellation depends on the baseline being I/(2BA+), with the same BA+ as the numerator.

1.2givenF2constructalgebra

Condition on one good ShiftMin measurement for the MMW round. Freeze its energy shift, the resulting matrix G, its norm bound, all Fourier cutoffs and coefficient encodings, normalizations and synthesis parameters before constructing indexed TraceMean. Shifting the energy by a scalar multiple of the identity changes no normalized Gibbs density matrix. Every indexed Ai and the separate scalar C estimate use this same frozen Gibbs block. The scalar estimate may be measured once before defining the geometric oracle's region. Repeating or measuring ShiftMin inside an indexed sampler is not justified by the present construction. The Fourier theorem [F2] supplies the finite analytic blocks conditional on these frozen parameters and declared implementation errors.

1.3givenF3constructalgebra

To implement finite adaptive RelProb coherently, copy each would-be measured computational-basis outcome to a fresh retained history register, perform all subsequent arithmetic reversibly and condition further operations on that history. Pad stopped branches by identities to the supplied finite worst-case cap. Fresh repetition workspaces and retained coin registers reproduce independent repetitions. Orthogonal history labels prevent distinct classical branches from interfering, so measuring the final estimate gives the classical procedure's distribution. Retain every AE/QPE target, stop flag, rounded value, comparison bit, arithmetic scratch and coin; reversing the entire padded circuit gives its inverse. Controlled versions require the supplied controlled access or controlled explicit gates and their charged costs. No normalized postselected-state inverse occurs. In this implementation every arithmetic, exact algebraic comparison, division and rounding operation is coherent quantum work, not free classical preprocessing.

2.1givenstep 1.1algebra

At least one eigenvalue of G is at most two, so Z≥exp⁡(−2)>1/8. For an elementary numerical bound, the exponential series through degree three sums to 8/3 and its remaining tail is at most (1/24)∑j≥05−j=5/96, giving exp⁡(1)≤87/32<11/4, hence exp⁡(2)<121/16<8. Since e≤1/2, (BG+)2(BA+)2≤(17/16)4<2. Step 1.1 gives p0≥1/(64d) and pA≥p0/2≥1/(128d). The ideal block operators are contractions because G⪰I, ∥A∥≤1 and their normalizations exceed one.

3.1givenstep 2.1algebra

Write ideal blocks as D,C and their actual successful compressions as D+ED,C+EC, with both error norms at most e. Then ∥(C+EC)(D+ED)−CD∥≤∥ECD+CED+ECED∥≤2e+e2. The same holds for the baseline. Consequently each actual successful vector differs from its ideal vector by at most 2e+e2≤(5/2)e. Since the ideal vector has norm at most one, its probability differs by at most 2(5e/2)+(5e/2)2≤15e. Thus, putting Δ=15e, ∣qs−ps∣≤Δ for s=A,0. The errors compare ideal blocks against the actual finite circuits whose probabilities are estimated, rather than being ignored at each estimator invocation.

4.1F3step 1.1step 2.1step 3.1algebra

The actual floor follows from qs≥1/(128d)−15θ/(100000d)>1/(1024d), so [F3] applies to both calls. Put κ=Δ/p0≤960de≤θ/100≤1/400. Cross multiplication and x≤3/2 give ∣qA/q0−x∣≤(Δ+xΔ)/(p0−Δ)≤(5κ/2)/(1−κ)≤3κ≤3θ/100. In particular qA/q0<2.

5.1F3step 4.1algebra

On both relative-estimation good events, crel≤θ/36≤1/144, so ∣q^s−qs∣≤crelqs and q^0>0. Therefore ∣q^A/q^0−qA/q0∣≤(qA/q0)2crel/(1−crel)≤5crel≤5θ/36. Combining this with step 4.1, the unrounded trace estimate has error at most 2(3θ/100+5θ/36)<θ/2. Rational division and final rounding with error at most θ/4 leave error below θ. Clipping cannot increase distance from the true trace in [−1,1]. The denominator cannot vanish on this good event.

6.1givenstep 4.1step 5.1step 1.3algebra

The floors and caps are uniform in the basis index. Thus step 4.1 and step 5.1 apply conditionally to each index with the allocated good-output probability. They do not assert that every supported label is good. A robust-minimum consumer needs its separate operator-norm cleaning and whole-circuit hybrid theorem; uniform marginal trace accuracy alone does not imply those hypotheses.

7.1givenF3step 1.2step 1.3step 6.1algebra

If finite implementations further approximate the declared access unitaries, let the padded circuit have at most L such slots. Allocate operator error ζ≤δhyb/(4L) per slot, or nonuniform errors summing to at most δhyb/4. Telescoping the product of unitaries bounds final vector error by the error sum, and measurement total variation by at most twice that sum, hence at most δhyb/2. Inverse errors have the same norm, and controlled errors obey the same bound when their operator estimates hold uniformly over the controlled index blocks. Apply any coherent robust-minimum consumer's stronger operator-cleaning and global hybrid budget separately. A union bound combines the two relative-estimation failure budgets, scalar/shift failures and these implementation budgets; independence is unnecessary.

8.1F2F3step 5.1step 1.3step 7.1algebra∎

The floor 1/(1024d) and rational tolerance θ/72<crel≤θ/36 in [F3] give O~(d/θ) sampler-plus-inverse accesses for each probability, including its finite cap and confidence logarithms. Two calls preserve this order. Each complete flag preparation, inverse or controlled preparation costs its supplied Qflag, including reference preparation of cost CΦ inside each invocation, both finite blocks, flag handling and scratch. Add controlled input/success reflections and control phases where not included. All AE/QFT gates and the reversible arithmetic, algebraic comparisons, divisions, rounding, history storage and precision synthesis in step 1.3 and step 7.1 are charged quantum gates and work. [F3] retains a finite but potentially expensive exact-cyclotomic mode, and also supplies efficient-grid rounding with polynomial-in-logarithmic-scale reversible resources. Use the actual selected mode and charge every other arithmetic operation; mere finiteness does not establish polylogarithmic gate complexity. A source-like total gate profile therefore remains conditional on efficient implementations of every charged primitive, including sparse access and memory if used. The access bound and step 5.1 establish the theorem without any such unproved efficiency inference.

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

Coherent SDP matrix-expectation oracle

Definition

Input rational parameters 0<τ≤2 and 0<δ<1, a choice of repeated controlled-Q or supplied controlled-power QA13 access with its declared costs, and an explicit finite purification circuit Vρ preparing a unit vector whose reduced state on register S is ρ, together with its inverse and any controlled versions. Also supply a finite unitary dilation WM of the two-outcome POVM E±=(I±M)/2 for a Hermitian contraction M, with an output bit and all work registers. Prepare the purification, apply WM to S, and keep the outcome bit coherent; the resulting finite sampler has values +1 and −1. Supply this signed sampler’s inverse, controlled calls, good and initial-state reflections, observable access, and all value/output encodings. Apply Amplitude-estimation expectation estimator to this sampler on [−1,1] with rational target ε=τ/2 and failure probability δ, using the selected access mode. Return its classical estimate μ~ together with the constructed coherent signed-sampler circuit and its declared access/cost description. The sampling tolerance τ/2 reserves the other half of the requested tolerance τ for a purification-bias allowance in the consuming theorem. No inverse preparation is inferred from a measured postselected Gibbs state.

This procedure is distinct from the flagged-trace ratio route inside the sparse SDP solver; that route is specified by the solver's frozen round factory and trace-label construction. Every purification, observable, inverse, controlled call, dilation, measurement and compilation cost is separately charged.

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

Matrix-weights regret implies SDP threshold feasibility

Statement

Consider a nonempty normalized finite Hermitian SDP with n,m≥1, R>0, A1=I, b1=R, ∥Aj∥,∥C∥≤1, and a dual optimum attained by a vector of ℓ1 norm at most r≥1. For the finite threshold construction require rationally encoded bj,R,r,e, with 0<e<R/4. Write v for its common primal/dual optimum and set w=r+1, with ℓ=ln⁡(max⁡(2,n)),θ=e/(24Rr),T=⌈36w2R2ℓ/e2⌉,η=ℓ/T. For a rational threshold α, use exact losses Mt=(∑jyt,jAj−C)/w and ideal round densities ρt∝exp⁡(−η∑s<tMs). Implement the round trace labels by the frozen flagged-trace construction and its controlled/inverse access from Flagged Gibbs trace estimation: errors, probability floors and charged access, including the bad-label/operator-hybrid budget required by Two-sparse estimated SDP oracle from coherent labels. On the joint good event, the finite threshold loop has exactly these alternatives:

  • A round returns EMPTY, which implies α<v; its HIGHER response is a threshold exclusion.
  • All T rounds return two-sparse weights. Then yˉ=(e/R)e1+T−1∑tyt is dual feasible, its matrix slack is at least (e/(2R))I, and b⋅yˉ≤α+e.

Exact rational returned weights and their finite average may be retained without coefficient rounding. If the predictable conditional bad-probability budgets of the actual adaptive calls sum to at most δ, both implications hold simultaneously with probability at least 1−δ. Unproved numerical failures or absent access implementations are not covered by this probability premise. Bounded-dual emptiness is used for threshold exclusion; it does not assert an unproved dense primal certificate.

Facts & Assumptions

Given: The normalized SDP, exact round updates, finite trace/score implementations and their supplied conditional guarantees.

[F1]

Normalized Hermitian inequality SDPs have equal primal and dual values identifies the two optimal values and puts them in [−R,R] without strict primal feasibility.

[F2]

Two-sparse estimated SDP oracle from coherent labels gives a nonnegative two-sparse vector with ℓ1 norm at most r, objective at most α, and true round trace slack at least −2(r+1)θ, or a good-event threshold exclusion.

[F3]

Matrix multiplicative-weights regret bound gives ∑ttr⁡(Mtρt)≤λmin⁡(∑tMt)+ηT+ln⁡n/η for the exact MMW densities and contractions.

[F4]

Estimated SDP polytopes and sound bounded-dual threshold exclusion proves the estimated-polytope inclusions, bounded-optimum contrapositive, and adaptive conditional union bound.

[F5]

Flagged Gibbs trace estimation: errors, probability floors and charged access gives θ-good labels from fixed coherent flag samplers, with its explicit norm, confidence, work and access conditions.

Proof

1.1givenF1F2F4F5algebra

The rational input data give rational θ=e/(24Rr), so the scalar labels and round parameters satisfy [F2]'s rational-input requirements; e/R and every returned finite average are rational as well. The ideal η and Gibbs densities may be real, since their finite implementations carry the declared error budgets. On the supplied good event, [F5] and [F2] apply to every reached density. If the oracle reports EMPTY, [F2] and [F4] imply α<v. Otherwise its exact finite weights have yt≥0, ∥yt∥1≤r, and b⋅yt≤α; their true trace residual is at least −2wθ, hence tr⁡(Mtρt)≥−2θ. Also ∥Mt∥≤(∑jyt,j+1)/w≤1. If two selected labels have the same index, [F2] merges their weights and takes a good convex-averaged estimate; this leaves the same bounds.

2.1givenF3step 1.1algebra

The parameter choice gives η≤e/(6wR)<1 and ln⁡n/(ηT)≤ℓ/(ηT)=η. Since w/r≤2, w(2θ+η+ln⁡n/(ηT))≤we/(12Rr)+e/(3R)≤e/(2R). By [F3] and step 1.1, λmin⁡(T−1∑tMt)≥−2θ−η−ln⁡n/(ηT). Multiplying by w makes the unshifted average dual slack at least −(e/(2R))I. Adding (e/R)e1 therefore gives matrix slack at least (e/(2R))I and keeps all coordinates nonnegative. Its objective is e+T−1∑tb⋅yt≤α+e. This proves the precise no-failure dual alternative and its reserve margin.

3.1givenF4step 1.1step 2.1∎

Every reached input is determined by the prior finite history. Apply [F4]'s conditional union bound to the actual supplied call budgets; it needs no independence of adaptively chosen matrices or thresholds. Outside their union of bad events, steps 1.1–2.1 establish all claimed alternatives. A capped minimum may be wrong only within its proved budget; a timeout lacking such a contract remains a separate failure. The returned sparse rational list already has a finite encoding and does not require a dense spectral feasibility check or an unsupported rounding step.

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

Binary search converts certified SDP thresholds to additive optimization

Statement

For the normalized nonempty SDP and bounded attained dual optimum of Matrix-weights regret implies SDP threshold feasibility, let 0<ε<2R, supply a rational ε0 with ε/2<ε0≤ε, set e=ε0/8, and supply that lemma's finite threshold oracle. On its good event LOWER supplies a feasible dual of objective at most α+e, and HIGHER implies α<OPT. Initialize lo=−R,hi=R, obtain a LOWER vector at threshold R+e, and store it. For at most L=⌈log⁡2(16R/ε0)⌉+2 midpoint calls, stop when hi−lo≤ε0/2; on LOWER store its vector and put hi=min⁡(hi,α+e), and on HIGHER put lo=max⁡(lo,α−e). Then the stored vector is dual feasible and has objective at most OPT+ε. There are O(1+log⁡(R/ε)) threshold calls. Per-call conditional bad probability at most δ/(L+1) gives total failure at most δ, even for adaptive inputs.

An uncertain result with no proved oracle guarantee returns explicit FAIL. No tolerance refinement is required on a good execution. For ε≥2R return e1 directly. If R=0 and the primal is nonempty, the same vector has objective zero and is optimal. In dimension zero return the zero dual vector. These branches precede every division by R.

Facts & Assumptions

Given: The normalized SDP promises, finite threshold oracle and the stated conditional budgets.

[F1]

Normalized Hermitian inequality SDPs have equal primal and dual values gives primal/dual equality and OPT∈[−R,R] when R>0.

[F2]

Matrix-weights regret implies SDP threshold feasibility gives the good-event threshold alternatives and feasible sparse dual certificate.

[F3]

Finite semidefinite primal-dual pair fixes dual feasibility and the identity trace constraint.

Proof

1.1givenF1F2algebra

By [F1], the first threshold R+e exceeds the optimum, so [F2] cannot return HIGHER on its good event. It supplies a stored feasible vector with objective B≤R+2e. Thus the invariant lo≤OPT≤hi and B≤hi+2e holds initially. At a LOWER midpoint, OPT≤Bnew≤α+e; replacing hi by its minimum with α+e keeps the optimum bracketed. If that endpoint changes, Bnew≤hi; if clamping leaves it unchanged, Bnew≤α+e≤hi+e. Thus storing the new vector still gives B≤hi+2e. At HIGHER, α<OPT, so the lower-endpoint update preserves the bracket and changes no stored certificate.

2.1givenF2step 1.1algebra

With W=hi−lo, either update gives Wnew≤W/2+e. Induction gives Wj≤2e+2R2−j. At j=L this is at most ε0/4+ε0/32<ε0/2. While the stopping test fails, W>4e, so Wnew≤W/2+e<3W/4<W; clamping cannot prevent contraction. Hence every good execution reaches the stopping width within the fixed cap without refinement. At exit the stored vector remains feasible and B−OPT≤hi−lo+2e≤3ε0/4<ε0≤ε. Since ε0>ε/2, its call cap is O(1+log⁡(R/ε)). This includes the case of only HIGHER midpoint responses, using the initial certificate.

3.1givenstep 1.1step 2.1algebra

Condition on each reached history before the first bad complete threshold call. Until then steps 1.1–2.1 show there are at most L+1 calls and no refinements. Summing their conditional probabilities gives first-bad-call probability at most (L+1)δ/(L+1)=δ. Additional operations on an already bad path do not add a second probability for that same bad event. This is valid without independence. A declared unresolved numerical failure is not interpreted as a threshold exclusion; the final high-probability conclusion requires the supplied complete oracle's good-event contract.

4.1givenF1F3algebra∎

Since ∥C∥≤1, I−C⪰0 and e1 is dual feasible with objective R. For ε≥2R, [F1] gives R≤OPT+ε. For R=0, the identity constraint and nonnegative eigenvalues force every feasible primal X to be zero; weak duality and the feasible zero-objective vector e1 give optimum zero directly. For dimension zero, primal nonemptiness implies bj≥0, so the zero vector is feasible and optimal. These branches establish the remaining cases without using the positive-R formulas.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

SDP matrix-expectation estimation error and cost

Statement

Let M=M∗ with ∥M∥≤1, and let the coherent signed sampler from Coherent SDP matrix-expectation oracle be supplied. For additive tolerance 0<τ≤2 and failure 0<δ<1, supply rational τ/2<t≤τ and δ/2<β≤δ, and run that procedure at inputs (t,β). The QA29 estimator returns an estimate of tr⁡(Mρ) within τ with probability at least 1−δ in either declared QA13 access mode. In repeated controlled-Q access it uses O(τ−1(1+ln⁡(1/δ))) coherent sampler/reflection rounds; in supplied controlled-power access sum the separately declared power-query costs. When the supplied purification is itself an approximate Gibbs purification at vector error ξ≤τ/4, the expectation bias is at most 2ξ; use its rational sampling tolerance t/2≤τ/2 to keep total error at most τ. In an SDP iteration, use a union bound across all m observables and charge each Gibbs preparation/inverse, observable access, controlled call, and state/phase implementation.

Facts & Assumptions

Given: The signed variable lies in [−1,1], QA29's expectation guarantee, and the purification error bound. The sampler/reflection-round bound uses repeated controlled-Q access; the accuracy and bias assertions permit either declared access mode.

[F1]

Coherent SDP matrix-expectation oracle: the encoded variable has mean tr⁡(Mρ) and range [−1,1].

[F2]

Quantum bounded-expectation guarantee and query cost: for an encoded variable in [a,b], error ϵ and failure δ, the median estimator has error ϵ with probability 1−δ in either mode and query order (b−a)ϵ−1(1+ln⁡(1/δ)) in repeated controlled-Q access. Supplied controlled-power access instead charges its actual power queries separately.

[F3]

Gibbs purification error and resource bound: vector error ξ≤τ/4 bounds the conditional purification deviation.

[F4]

Cauchy–Schwarz: ∣⟨u,v⟩∣≤∥u∥∥v∥, with equality exactly for linearly dependent vectors: ∣⟨u,v⟩∣≤∥u∥ ∥v∥ in finite-dimensional complex inner-product spaces.

[F5]

Dirac Notation Conversion identifies Dirac pairings with the root inner product; The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv|| gives ∥Mu∥≤∥M∥ ∥u∥.

Proof

technique · direct
1.1givenF1F2algebra

Apply [F2] to the interval [−1,1] with rational tolerance t/2 and rational failure budget β; its interval width is 2, so it returns the approximate-purification mean estimate within t/2≤τ/2 with probability at least 1−β≥1−δ and, in repeated controlled-Q access, uses O(τ−1(1+ln⁡(1/δ))) coherent rounds, since t>τ/2 and β>δ/2. In supplied-power access the same accuracy holds with the separately priced power-query implementation in [F2].

2.1givenF3F4F5algebra∎

For unit vectors ∣u⟩,∣v⟩ and a contraction M, expand ⟨u∣M∣u⟩D−⟨v∣M∣v⟩D=⟨u−v∣M∣u⟩D+⟨v∣M∣u−v⟩D. Cauchy–Schwarz [F4], the Dirac conversion and operator norm [F5], and unit norms bound its absolute value by 2∥u−v∥∥M∥≤2ξ. Thus the chosen rational tolerance gives total error at most t/2+2ξ≤τ when the target is the ideal Gibbs mean; a union bound makes m simultaneous estimates fail with probability at most the sum of their declared failure budgets.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableOpen item page →

Sparse-oracle quantum SDP algorithm

Definition

Input finite binary Hermitian matrices A1,…,Am,C and rational b,R,r,ε, with ε>0, m≥1, A1=I, b1=R≥0, ∥Aj∥,∥C∥≤1, a nonempty primal, and an attained optimal dual of ℓ1 norm at most r≥1. Supply the total finite sparse XOR location/value interfaces of Sparse SDP matrix access and computational model, the costed reference preparation Φn, and declared finite reversible arithmetic, controlled evolution, inverses, reflections and synthesis budgets. The output is a classical sparse dual list or explicit FAIL; the confidence target is rational 0<δ<1 (use δ=1/3). Every memory, QRAM, reference, arithmetic and output cost is recorded. The separate resource theorem substitutes actual sparse-evolution implementations; no matrix function or sparse-sum oracle is implicit.

Boundary branches. In dimension zero return the zero dual vector. For R=0 or ε≥2R return e1. These branches precede all divisions by R. Otherwise put e=ε/8, L=⌈log⁡2(16R/ε)⌉+2, w=r+1, and ℓ=ln⁡(max⁡(2,n)),θ=e/(24Rr),T=⌈36w2R2ℓ/e2⌉,η=ℓ/T. Computable-real constants such as η are not exact value-oracle outputs: choose certified finite rational enclosures and round common scalar coefficients to the precision allocated to each decoded Hermitian sum and its simulated evolutions. Integer cutoffs use certified upper enclosures, so a conservative larger T is allowed with the same η=ℓ/T. No equality comparison with a transcendental number is required. The ideal densities and regret argument use the displayed real parameters; every decoded-matrix error is included in the finite block-error and whole-circuit hybrid budgets below.

Derived sparse access. At round t, store the previous two-sparse rational lists and form St−1=∑u<tMu, Mu=(∑jyu,jAj−C)/w. To answer a row query, enumerate all constituent support lists and the identity column, sort their finite column labels, merge duplicates and retain every distinct union column, including columns whose combined value is zero. Pad with distinct labels. Never test a real sum for exact zero. Round common real scalar coefficients with certified total norm error and compute exact finite decoded entry sums; this preserves Hermiticity and transposed support lists. The sorted-support construction of Clean sparse-state preparation from sorted XOR locations allows these listed zeros and constructs the clean block access. Actual row scanning, sorting, value arithmetic and inverse/control calls are charged. Allocate decoded-matrix error before each evolution so its Duhamel error ∣u∣∥H−H~∥ and all simulation errors meet the allocated circuit slot budget. The clean-subspace hybrid in Unitary hybrids on a preserved clean-work subspace applies to the actual finite implementations. A QRAM profile supplies its address/memory unitary and its construction/update costs explicitly.

Frozen round factory. At the start of each round, choose the exact finite Hermitian decoded L^t with ∥L^t−ηSt−1∥≤δt≤min⁡(1/8,ef/100). Run the finite ShiftMin construction of Coherent spectral minimum and a frozen Gibbs energy shift on L^t with its certified norm bound, measure its rational lower shift once and freeze both G^=L^t−(λ~−3/2)I and the target G=ηSt−1−(λ~−3/2)I, their norm bounds, Fourier lists, normalization and all precisions. The minimum-eigenvalue variational bound transfers the shift margin to the target: both minima lie in [1,2]. Implement the decoded block, including its at-most-ef/200 positive-exponential perturbation against the target in the final block-error budget. Execute steps 2–3 of Sparse-oracle Gibbs-state purification with these frozen matrices and shift to build the unmeasured Gibbs block; do not repeat its shift-measurement step. For each observable A, build the finite Fourier block for FA=12I+A/2 with x0=0,r=1,Δ=1/2,B=1 and coefficients ak=12(1/2k)2−k. Use ef≤min⁡(1/2,θ/(100000n)) and the SAME BA+=BG+=1+ef/8 in numerator and baseline. The baseline block is I/(2BA+).

Trace label. Compose the frozen Gibbs block and observable block on the first half of Φn, with distinct work registers. Estimate the two actual all-zero probabilities with Relative estimation of a promised coherent success probability, floor 1/(1024n) and relative tolerance θ/36. Return 2(q^A/q^0−1) rounded with error at most θ/4 and clipped to [−1,1]; a zero denominator on a bad path returns the fixed label zero. Use its finite worst-case cap and the supplied efficient-grid fixed-precision rounding mode. For an indexed trace sampler preserve the uniform index, all AE/QPE targets, comparison bits, stop flags, coins, rounded values and history; defer internal measurements and pad stopped branches by identities. Its inverse is the reverse of this entire circuit. No inverse of a normalized postselected state is used. All coherent division, comparison, rounding and history are quantum gates and work, separately charged. Flagged Gibbs trace estimation: errors, probability floors and charged access supplies the conditional accuracy and probability floors.

Diagonal mode. When every input is diagonal, the caller may select the scalar flag implementation instead of Fourier evolution. Evaluate the finite decoded round energy L^t(i) using the stored sum of at most 2t+1 diagonal values. Round to absolute error at most 1/8, retain the uniform index, run the same capped robust minimum, measure its label s once, and freeze g^i=L^t(i)−s+3/2. Its confidence uses the round's shift budget. Set the common coefficient approximation error δt≤min⁡(1/8,μ/100), μ≤θ/(100000n). On the shift good event target and decoded minima are in [1,2]. For observable entry ai, prepare a scalar flag with probability within μ of (1+ai/2)e−gi/4, using the finite decoded energy; the baseline uses ai=0 and the same shift. Compute the exponential as follows. Put B=⌈log⁡2(32/μ)⌉ by rational doubling comparisons. For g^i≥B use zero. Otherwise double an integer h from two until 3BBh/h!≤μ/64, then evaluate its exact rational Taylor polynomial through degree h−1 and round once. Clip to [0,1]. To implement the flag, bisect an angle interval [0,π/2] using fixed absolute-μ/32 Taylor enclosures of its midpoint sin⁡2; stop on comparison overlap or after the fixed O(log⁡(1/μ)) width cap, then implement the finite encoded angle by binary-controlled rotations with its allocated synthesis error. Retain/uncompute all arithmetic as stipulated for the full inverse. The factorial test passes by h=O(log⁡2(1/μ)); the cost theorem proves this schedule and its ratio/error budget. Use the same RelProb floor, relative tolerance, coherent history, score oracle and outer loop as in general mode. This diagonal factory replaces the spectral/Fourier factory; its arithmetic costs remain explicitly charged.

Two-sparse round oracle. First measure a scalar trace label c~ for C. Put c′=c~−wθ. Execute the explicit rational region, membership, determinant-based angular order, interpolation and scale recovery in the proof of Two-sparse estimated SDP oracle from coherent labels. If α≥0,c′≤0, return zero. Otherwise run Finite capped quantum quantile minimum twice with N=m on the two score orders of that lemma. Both orders assign score zero to every point inside its region; outside points use the oppositely oriented angular orders, compared by rational half-plane and determinant tests. No arctangent equality test or preliminary search miss is needed. If either selected point lies in the region, return its scaled one-coordinate vector. Otherwise intersect its selected pair's segment with the closed rational halfspaces and recover its positive scale by the lemma's explicit formulas. If the segment interval is empty return EMPTY. If successful return its rational weights, merging repeated indices. EMPTY is a bounded-error complete-oracle response: on the joint good event it implies α<OPT. A low-level failure with no proved contract returns FAIL instead.

Threshold(α,e,δcall). Initialize S0=0. Set β=δcall/(10T). For t=1,…,T:

  1. Build the frozen round factory with shift failure at most β and scalar C trace failure at most β.
  2. Let Qmin be the deterministic sampler-call cap of one generalized minimum at confidence β/2. Give each indexed trace label bad probability at most ν≤(β/(16Qmin))2, by allocating its relative-estimation and implementation errors accordingly. Retain its history and fixed-index access as above. Allocate any remaining whole-minimum implementation hybrid error within its β failure budget. Run both minima at total failure at most β each. These are the good-label/cleaning hypotheses of Quantile minimum and coherent-score nondomination guarantee, rather than a union bound over unmeasured labels.
  3. On EMPTY return HIGHER. On a successful weight list store yt, compute Mt, and update its sparse list. An absent access certificate or other unsupported numerical failure returns FAIL.

After T successful rounds return LOWER with the exact rational sparse list yˉ=(e/R)e1+T−1∑tyt. Retain its finite rational coefficients; no feasibility-preserving rounding is inferred. The oracle's conditional bad probability is at most δcall by the adaptive union bound. Its HIGHER implication and LOWER reserve margin are Matrix-weights regret implies SDP threshold feasibility.

Outer search. Set lo=−R, hi=R, δcall=δ/(L+1). Call Threshold at R+e and store its LOWER vector; any other outcome returns FAIL. For at most L midpoint calls, stop when hi−lo≤ε/2. At α=(lo+hi)/2, on LOWER store its vector and put hi=min⁡(hi,α+e); on HIGHER put lo=max⁡(lo,α−e); on FAIL return FAIL. Return the stored vector, or FAIL if the fixed cap is exhausted before the stopping test. The invariant and finite cap are proved in Binary search converts certified SDP thresholds to additive optimization; no tolerance refinement is needed on a good path. Check finite rational nonnegativity and objective arithmetic before output; PSD feasibility is supplied by the proved MMW reserve, without a free dense spectral checker.

Confidence budgets are predictable functions of finite prior histories. The first-bad-call union bound covers the adaptive search. Capped search/statistical errors belong to their proved bad events; unproved access or arithmetic failures do not certify infeasibility. Output contains at most 2T+1 nonzero coordinates after merging, and no dense primal matrix is produced.

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

Quantum SDP additive-optimality guarantee

Statement

For rational accuracy ε>0 and the normalized sparse finite SDP promises specified by QA30—∥Aj∥,∥C∥≤1, A1=I, b1=R≥0, nonempty primal (whose trace is therefore at most R), attained dual optimum with an optimal vector of ℓ1 norm at most r≥1, and maximum matrix sparsity s—Sparse-oracle quantum SDP algorithm, with its declared finite precision, controlled/inverse access, reference preparation, arithmetic and synthesis implementations, returns with probability at least 2/3 a feasible dual vector of objective at most OPT+ε. More generally its declared rational confidence target 0<δ<1 gives probability at least 1−δ.

It outputs a classical sparse dual list, with at most 2T+1 nonzero coordinates before merging across the final threshold's rounds. It does not output a dense primal matrix. Finite arithmetic, state preparation, memory and controlled/inverse operations have their actual costs; the resource theorem states the resulting query profile and its separate gate-cost boundary. No unproved numerical or access implementation is a premise supplied by a source title alone.

Facts & Assumptions

Given: The normalized nonempty SDP, bounded attained dual optimum, finite input encoding and the explicit finite implementations and budgets of the algorithm.

[F1]

Normalized Hermitian inequality SDPs have equal primal and dual values gives primal/dual equality and the value interval [−R,R] for R>0.

[F2]

Coherent spectral minimum and a frozen Gibbs energy shift gives a finite high-confidence energy shift frozen once per round; Certified finite smooth Fourier approximation and LCU normalization gives the local finite analytic coefficient construction and normalization with all implementation errors allocated.

[F3]

Flagged Gibbs trace estimation: errors, probability floors and charged access proves the actual flag probability floors, common-normalization trace ratio and uniform indexed trace-label error for the supplied fixed coherent samplers and their whole-circuit inverses.

[F4]

Quantile minimum and coherent-score nondomination guarantee and Two-sparse estimated SDP oracle from coherent labels give bounded-error complete two-sparse oracle responses under their explicit good-label cleaning/hybrid hypotheses.

[F5]

Matrix-weights regret implies SDP threshold feasibility gives the threshold alternatives and dual reserve from the exact MMW losses.

[F6]

Binary search converts certified SDP thresholds to additive optimization gives the stored-certificate invariant, fixed call cap and adaptive first-bad-call argument, including the boundary cases.

Proof

1.1givenF2F3construct

For a reached positive-R, positive-dimension round, condition on its prior history. By [F2], except on its allocated shift event the single measured shift produces a fixed G with minimum eigenvalue in [1,2]. Its scalar identity shift changes no normalized Gibbs density. The finite Fourier coefficient construction and all evolution/decoded-value errors meet the allocated successful-block error. The numerator uses FA/BA+ and the baseline uses I/(2BA+), so [F3] applies to the same frozen Gibbs block. Its actual probabilities exceed 1/(1024n) and the returned trace label is θ-good except on the declared event. Retaining every internal branch as orthogonal history and padding the finite cap supplies the coherent indexed circuit and its true inverse; no normalized-state postselection inverse is assumed.

2.1givenF1F3F4step 1.1

The scalar estimate is measured once. For either minimum the declared deterministic call cap is known before choosing ν≤(β/(16Qmin))2. Step 1.1 gives a bad probability at most ν on every preserved index. [F4]'s per-index good-component rotation is used only in analysis; its controlled/inverse operator-norm hybrid proves the required selected-label nondomination for the actual finite circuit. Both angular score orders assign sentinel zero inside the region. Thus the two selected labels either yield the exact rational nonnegative two-sparse weight list, with objective at most α, norm at most r and true trace residual at least −2(r+1)θ, or return EMPTY, implying α<OPT by the bounded-optimal-vector contrapositive. No uniform probability lower bound for an individual good label or simultaneous deterministic estimate table is assumed.

3.1givenF5step 1.1step 2.1algebra

In each threshold call the algorithm allocates β=δcall/(10T) to the shift, scalar estimate and each of the two complete minima, with all implementation hybrids included in the stated budgets. Summing conditional bad probabilities over at most T reached rounds gives at most 4Tβ≤δcall. This is a predictable adaptive union bound, not an independence assumption. On the complementary event every returned loss has norm at most one and the true round trace bound of step 2.1. Hence [F5] applies to the ideal densities, whose finite implementations were compared with them in step 1.1: EMPTY may return HIGHER, whereas T weights give a LOWER certificate yˉ=(e/R)e1+T−1∑tyt with matrix slack at least (e/(2R))I and objective at most α+e. Exact rational weights and their average retain that margin without a rounding inference.

4.1givenF1F5F6step 3.1

By [F1], the initial threshold R+e has a LOWER response on the good event. By [F6], at most L+1 good threshold calls suffice; their stored certificate has objective within ε of the optimum. Conditional bad probability δ/(L+1) at each reached call bounds the probability of a first bad call by δ. Operations on a history that already contains a bad event do not require an unbounded additional union bound. Thus with probability at least 1−δ the finite algorithm returns the claimed feasible vector. An unsupported failure has no exclusion implication; the supplied proved complete implementations ensure such a failure does not occur on this good event. Taking δ=1/3 proves the stated probability.

5.1givenF6step 3.1algebra∎

Each of the T weights is two-sparse and the identity shift adds at most one index, so the final certificate has support at most 2T+1 before merging. Its rational finite list and objective are computed classically at their actual cost. Dimension zero, R=0, and ε≥2R use the direct boundary branches proved in [F6], preceding all positive-R formulas. These complete the claimed scope.

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

Sparse evolution substitution gives the quantum SDP and diagonal LP query bounds

Statement

Consider the finite sparse input and normalized SDP promises of Sparse-oracle quantum SDP algorithm, with dimension n≥1, m≥1, sparsity capacity s≥1, R>0, r≥1, and nontrivial accuracy 0<ε<2R. Put Q=Rr/ε. Supply successful certified implementations of the sparse encoding, controlled evolution, finite rotations and arithmetic, with their error budgets as in that algorithm. Its matrix input-query bound, including the derived sparse sums, is O~(nm s2Q8). For diagonal input matrices there is a scalar flagged-trace implementation with matrix input-query bound O~(nm Q5). The tilde suppresses logarithms in dimension, sparsity, accuracy and the declared failure budgets. The zero-dimension and coarse-accuracy boundary branches have the direct costs stated by the algorithm. The diagonal improvement uses scalar entry evaluation and approximate minimum finding, rather than substituting s=1 in the general bound.

These are matrix-query bounds. Let Nf,t=O~(nm/θ) count complete flag-circuit accesses in threshold round t, and let Ns,t=O~(n) count its spectral-shift sampler accesses. Every access includes its actual forward, inverse or controlled implementation. If CΦ prices each reference preparation or reversal, Ft is the once-per-round factory cost, Gf,t,Gs,t price the remaining gates of those complete primitives, and At prices the remaining estimator/minimum/score arithmetic and classical control, the corresponding charged gate/time record is ∑t=1T[Ft+Nf,t(CΦ+Gf,t)+Ns,t(CΦ+Gs,t)+At]+GQRAM+W, times the declared number of threshold calls. Here GQRAM is the actual memory construction, update and access cost if QRAM is used, and W is output and record writing. Omit a separately written cost if it is already included in a primitive price. In particular reference preparation is repeatedly charged, totaling O~(nmQ3CΦ) per threshold run. Phase-list generation, coefficient bits, finite value arithmetic, preparation, precision synthesis, work and descriptions are included at their actual prices. The source's same-order gate conclusion holds when these explicit costs fit its stated model and the respective query envelope; no such fit follows from matrix-query counts alone.

Facts & Assumptions

Given: The finite encoded Hermitian input matrices, norm and sparsity promises, declared successful implementations and precision budgets, and the complete sampler/inverse/control/reflection interfaces in the Statement.

[F1]

Sparse-oracle quantum SDP algorithm, Matrix-weights regret implies SDP threshold feasibility and Binary search converts certified SDP thresholds to additive optimization supply at most two new matrix indices per round, T=O~(Q2), η=O~(Q−1), θ−1=O(Q), and logarithmically many threshold calls. The exact target Gibbs exponent Lt has norm at most ηt.

[F2]

Sparse SDP matrix access and computational model supplies total finite XOR location/value access. Clean sparse-state preparation from sorted XOR locations permits distinct sorted support unions containing zero-valued columns, gives normalization dh for the exact decoded matrix with entry bound h, and costs O(log⁡(d+1)) location calls and O(1) value calls, including controls and adjoints.

[F3]

Qubitization query and gate resources and Correctness of the small-time-aware simulator give successful certified simulation with clean-input error ζ using O(α∣u∣+log⁡(1/ζ)) signal calls at normalization α; this loose bound retains their sharper degree estimate. Unitary hybrids on a preserved clean-work subspace extends clean-input errors to actual inverses, controls, references and products.

[F4]

Certified finite smooth Fourier approximation and LCU normalization gives finite Fourier coefficients, norm at most 1+e/8 after declared rounding/dilution, largest time O(Δ−1log⁡(1/e)), frequency count O~(K) for Gibbs spectral width O(K) and fixed margin, and coefficient generation in O~(K5) arithmetic operations.

[F5]

Coherent spectral minimum and a frozen Gibbs energy shift gives a measured rational approximate minimum frozen once per round, using O~(n) complete spectral samplers whose QPE power times sum to O(1) per trial. SDP maximally entangled reference-state access supplies the original-label reference state at price CΦ; for n=2q its explicit circuit costs q Hadamards and q CNOTs.

[F6]

Flagged Gibbs trace estimation: errors, probability floors and charged access gives common-normalization probability floors and trace-label cost O~(n/θ) complete flag accesses when the two successful blocks have error at most e≤θ/(100000n). Quantile minimum and coherent-score nondomination guarantee and Two-sparse estimated SDP oracle from coherent labels give two robust minima costing O~(m) trace-label accesses per round, with their cleaning and confidence budgets.

Proof

1.1F1F2constructalgebra

At round t≥1, retain a list of at most kt=2t+1 original constituent matrices; repetitions may remain. An identity shift adds at most one column per row, so use capacity Dt=skt+1=O(st). A derived sorted row query scans all kts raw slots, masks missing entries, sorts column records, merges duplicate columns and sums their coefficient-weighted values. Retain every distinct union column, including summed value zero, and pad missing slots by the supplied sentinel. No real value zero test occurs. The input Hermitian supports and the diagonal are transposition-compatible, so their union is also. A fixed sorting network and finite scans compute the requested answer, XOR-copy it, then reverse the retained history. This is a total reversible oracle with O(st) original location/value calls, including reversal and masked invalid-input handling. A derived entry query sums kt entries with O(t) value calls. Sorting an individual observable row similarly costs O(s) raw queries. These operations work coherently in row and observable indices.

1.2F2F3algebra

For a decoded Hermitian F of capacity dF and entry bound hF>0, [F2] and [F3] simulate signed time u with error ζ in O((dFhF∣u∣+log⁡(1/ζ))log⁡(dF+1)) derived location calls and O(dFhF∣u∣+log⁡(1/ζ)) value calls. A supplied upper bound suffices; no global maximum-entry computation is needed. The actual inverse and controlled implementations retain this order. Arithmetic, slot preparation, phases, precision and work remain priced separately.

2.1givenF1F2F7step 1.1constructalgebra

The coefficient η and hence the target entries need not be rational. Write Lt=∑ℓ≤ktcℓBℓ, with ∥Bℓ∥≤1. Freeze real rational c^ℓ with ∣c^ℓ−cℓ∣≤δt/kt, and decode the exact finite matrix L^t=∑ℓc^ℓBℓ. Then L^t is exactly Hermitian and ∥L^t−Lt∥≤δt. Common real coefficient rounding, rather than independent conjugate-entry rounding, preserves Hermiticity. The row union is independent of cancellation and its value oracle agrees exactly with this decoded matrix. Certified coefficient enclosures and exact rational sum arithmetic are factory/bit costs, without matrix queries. If an input oracle itself approximates a different target, add its certified operator error; entrywise error u gives operator error at most nu by the Frobenius bound. Absent such a certificate, the exact decoded input is the input matrix.

2.2F3F4F7step 1.2constructalgebra

Write the Fourier times as qω, ∣q∣≤J, ω=π/(2(rF+Δ)). Implement SELECT by signed binary digits of q: at place ℓ, apply the evolution at 2ℓω controlled on the digit and sign. The ideal factors commute and multiply to eiqωF. There are O(log⁡(J+2)) slots and their absolute times sum to less than 2(J+1)∣ω∣ per sign branch. Assign each slot error ζ/O(log⁡(J+2)). The clean-subspace hybrid proves total SELECT error at most ζ, including shared retained simulator work, inverses and references, without asserting actual work is clean. To use rational times, replace ω by rational ω^ with error at most ζ/[4(J+1)max⁡(1,∥F∥)]; the spectral scalar inequality ∣eia−eib∣≤∣a−b∣ bounds its additional error, and split the slot budget accordingly. Thus SELECT costs O~(dFhF(J+1)∣ω∣+1) derived queries. For fixed Δ=1/2, [F4] makes (J+1)∣ω∣=O(log⁡(1/e)), giving O~(dFhF+1), without multiplying by the frequency count.

3.1F3F7step 2.1algebraconstruct

For Hermitian F,F^, differentiating ei(u−v)FeivF^ and integrating its finite matrix entries gives ∥eiuF−eiuF^∥≤∣u∣∥F−F^∥, for either sign of u. For positive G,G^, differentiating e−(a−v)Ge−vG^ on [0,a] similarly gives ∥e−aG−e−aG^∥≤a∥G−G^∥, since spectral calculus makes both factors contractions. No commutation is used. Choose δt≤min⁡(1/8,e/100); target Gibbs-amplitude error at a=1/2 is at most e/200. If comparing individual target evolutions, also impose δt≤ζ/(4(Ut+1)) for total absolute time bound Ut and SELECT budget ζ. This increases certified coefficient precision logarithmically, without adding matrix queries. Allocate finite signal and rotation synthesis within the remaining block and hybrid budgets.

3.2F2F3F5step 2.2algebra

The sparse bridge encodes a padded F⊕0. Prepare Φn on the original labels, rather than a uniform reference on the enlarged register. Ideal evolutions preserve that original subspace, so Fourier accuracy is needed only on the original spectrum; padded zeros outside the Gibbs approximation interval cause no change. Include padded-system and simulator-work leakage in the clean-input isometry error. The hybrid in [F3] then controls it throughout repeated calls.

4.1F1F5F7step 1.1step 2.1step 3.1step 1.2algebraconstruct

Apply [F5] once to L^t. Its rational lower shift λ~ lies between λmin⁡(L^t)−1/4 and λmin⁡(L^t) on the good event. Put G^t=L^t−λ~I+3I/2 and Gt=Lt−λ~I+3I/2. The variational quadratic-form characterization gives ∣λmin⁡(L^t)−λmin⁡(Lt)∣≤δt. Hence both minima lie in [1,2], and ∥Gt∥,∥G^t∥≤2ηt+2=2Kt for Kt=1+ηt: the decoded spectral diameter is at most 2ηt+2δt with minimum at most 7/4, while the target diameter is at most 2ηt with minimum at most 7/4+δt. A common scalar shift changes no target normalized Gibbs density. Freeze it and all coefficient, norm, cutoff and synthesis data before constructing indexed trace labels. Constant-total-time QPE and [F5] cost O~(nDtKt) derived queries, or O~(ns2t2Kt) raw queries by step 1.1.

4.2F5F6step 2.1step 3.1constructalgebra

For diagonal inputs, evaluate the finite scalar L^t(i) using O(t) original diagonal-value queries and no sparse locations. Round its value to error at most 1/8, preserve the uniform index, and apply the robust minimum from [F6]. Its good selected label s is at least λmin⁡(L^t)−1/8 by goodness and at most that minimum plus 1/8 by nondomination at a minimizing index. It costs O~(n) scalar evaluations; comparisons are finite rational comparisons, not exact irrational-energy comparisons. Measure once and freeze this shift. With g^i=L^t(i)−s+3/2, gi=Lt(i)−s+3/2, and δt≤min⁡(1/8,μ/100), both minima lie in [1,2] and ∣gi−g^i∣≤δt. Thus Z=∑ie−gi≥e−2 and the target Gibbs ratio is unchanged.

5.1F4F6step 3.1step 4.1constructalgebra

Use [F4] for G^t with analytic error parameter e/10, fixed extension margin 1/2, and interval parameters x0=Kt++1/2,rF=Kt+, where a certified rational enclosure chooses Kt≤Kt+≤Kt+1. Its coefficient budget is one, and Kt+=O(Kt) preserves every count. The natural normalization 1+e/80 is further diluted by the known scalar (1+e/80)/(1+e/8) to the trace-common BG+=1+e/8. The analytic approximation, coefficient rounding, finite SELECT, PREPARE and dilution errors are allocated to less than e/2; step 3.1 contributes at most e/200 against the target block. Thus [F6]'s final error at most e holds. The observable FA=12I+A/2 uses the fixed interval [−1,1], margin 1/2, coefficient budget one and the same final BA+=1+e/8. Its baseline is I/(2BA+), with the same frozen Gibbs block and normalization. Rational upper enclosures hG≥2Kt with hG=O(Kt) suffice.

5.2F6step 3.1step 4.2constructalgebra

Given diagonal ai∈[−1,1], compute an approximation to fi=(1+ai/2)e−gi/4 from the finite values g^i,ai, then rotate a flag to that probability with absolute error at most μ. Allocate μ/2 to finite arithmetic/rotation; the energy perturbation adds at most (3/8)δt<μ/2 by step 3.1. Prepare the original reference, retain arithmetic work, and reverse the entire circuit for its inverse. Orthogonal index labels make its success probability an additive-μ approximation of pA=(4n)−1∑i(1+ai/2)e−gi; use ai=0 and the same shift for p0=Z/(4n). Then p0>1/(32n), pA≥p0/2, and pA/p0=1+tr⁡(Aρ)/2. With μ≤θ/(100000n) the same elementary ratio-stability and relative-estimation argument of [F6] applies, with floor 1/(1024n) and O~(n/θ) complete scalar flag calls.

6.1F6step 1.1step 2.2step 4.1step 5.1algebra

Step 2.2 and step 5.1 give O~(DtKt) derived Gibbs queries and O~(s) observable queries per complete flag circuit. Their raw costs are respectively O~(DtKtst) and O~(s2) by step 1.1, so Qf,t=O~(s2t2Kt). Inverses, coherent controls and the baseline have the same order. By [F6], one trace label costs O~(ns2t2Kt/θ) raw queries, and two sparse replies cost O~(nms2t2(1+ηt)/θ) per round. The separate scalar C trace and once-only shift are dominated. Every Gibbs/reference preparation inside relative estimation is counted, using the inverse of its whole circuit, without a normalized postselected-state inverse.

6.2F1F4step 4.1step 5.1constructalgebra

Generate Gibbs Fourier coefficients once per round: their arithmetic count is O~(Kt5), summing to O~(T+η5T6)=O~(Q7). Their actual bit costs and simulator phase generation remain in Ft. The observable coefficient pattern is common to every index and is also generated once; only its evolution SELECT depends on j. A length-Jt=O~(Kt) coefficient table has a binary-tree PREPARE with O(Jt) conditional rotations: each node splits its incoming amplitude in the ratio of its two subtree weights, giving square-root leaf weights by induction, with fixed completion at zero-weight nodes. Its phases are in SELECT and its norm slack is diluted. This is an explicit rotation/table-use count, with weight arithmetic, precision and synthesis separately charged; its arithmetic order is dominated by DtKt. Each round adds only a constant number of new coefficient records, and no dense list of all matrix rows is materialized.

6.3F7step 4.2step 5.2constructalgebra

The scalar exponential requires no factor max⁡igi. Put B=⌈log⁡2(32/μ)⌉, found by rational doubling comparisons. When g^i≥B, use zero, with error e−B≤2−B≤μ/32. Otherwise 1≤g^i≤B. Starting with n0=2, double n0 until the exact rational test 3BBn0/n0!≤μ/64 passes, then evaluate the Taylor polynomial through degree n0−1. Its remainder is at most eBBn0/n0!≤μ/64; the elementary exponential series gives 2≤e<3. For even n0≥4B2, the final half of the factorial gives Bn0/n0!≤(2B2/n0)n0/2≤2−n0/2. Thus any even n0≥max⁡(4B2,2⌈log⁡2(64⋅3B/μ)⌉) passes, and doubling selects O(log⁡2(1/μ)) terms. Exact rational evaluation followed by one rounding controls cancellation without assuming unit-cost long integers; bit lengths and work are polynomial in this term count and the actual energy encoding length. Clip the probability to [0,1].

7.1F1step 6.1algebra

Summing step 6.1 over at most T rounds gives O~(nms2θ−1(T3+ηT4)). Insert [F1]'s T=O~(Q2), η=O~(Q−1), and θ−1=O(Q) to obtain O~(nms2Q8). Since the present nontrivial regime has Q>1/2, the Q7 term is also O(Q8); equivalently use max⁡(1,Q) without changing the order. The outer threshold count is logarithmic. The early-time 1 in Kt therefore creates no missing query factor.

7.2F7step 5.2step 6.3constructalgebra

To implement a finite probability rotation, bisect [0,π/2], approximate its midpoint sin⁡2 to fixed error μ/32 by bounded-argument Taylor arithmetic, and compare the resulting interval with the target rational probability. If they overlap, that midpoint already has probability error at most μ/16 after target rounding; otherwise the comparison identifies the correct half. After O(log⁡(1/μ)) iterations its width also suffices, since ∣sin⁡2x−sin⁡2y∣≤2∣x−y∣. Certified rational enclosures for π and finite rotations have their actual arithmetic/synthesis price. Reversibly compute the angle, apply its binary-controlled rotations, and retain or uncompute scratch as declared. There is a fixed finite cap and no equality-dependent refinement. This supplies the scalar flag with O(t) matrix queries, including its actual inverse/control forms; large energies affect encoding/comparison costs rather than matrix-query count.

8.1F2F3F5F6step 1.1step 7.1step 6.2algebra

The primitive counts are Nf,t=O~(nm/θ) and Ns,t=O~(n). Multiplying them by their actual complete-circuit prices and adding factory, estimator, score-comparison, memory, output, arithmetic and history costs gives exactly the additive record in the Statement. In particular reference preparation contributes O~(nmθ−1TCΦ)=O~(nmQ3CΦ) per threshold run, rather than one CΦ. For power-of-two n, [F5] supplies CΦ=O(log⁡n); otherwise retain its supplied repeated price and separately budget any reference error. The scan/sort implementation uses O(stlog⁡2(st+2)) compare/exchanges per derived row call by padded bitonic sorting, whose recursive half-sorts and logarithmic merge give that recurrence. Each comparison, rational multiplication/addition and reversible history has its actual bit/gate price. A chosen QRAM implementation instead includes its actual construction/update/address-unitary prices. Therefore the stated conditional gate boundary follows, without deriving bit efficiency from an oracle count.

9.1F1F6step 8.1step 4.2step 5.2step 7.2algebra∎

The diagonal trace label consequently costs O~(n t/θ) raw queries. The once-per-round approximate minimum costs O~(n t) and is dominated. Two robust minima give round cost O~(nm t/θ), so summation yields O~(nmθ−1T2)=O~(nmQ5). This scalar construction removes both sparse-row growth and the Kt evolution factor; it is not a consequence of setting s=1 in step 7.1. All repeated reference, scalar arithmetic, compilation, comparison, classical control, output and optional memory prices remain in step 8.1's additive record. The source-like same-order diagonal gate conclusion is therefore conditional on these prices fitting that model and envelope. This proves both query bounds and the stated gate-cost boundary.

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

Quantum SDP query bound and QRAM cost boundary

Statement

For rational accuracy ε>0, under the normalized finite sparse-input promises and complete finite implementations of Quantum SDP additive-optimality guarantee, the solver uses O~ ⁣(nm s2max⁡(1,Rr/ε)8) queries to the original matrix input oracles. For diagonal LPs its separate scalar flag implementation uses O~(nmmax⁡(1,Rr/ε)5) queries. Logarithms in dimensions, precision and confidence, including the outer threshold calls, are suppressed. The direct boundary branches require only their stated output costs.

The source's same-order gate conclusion holds in its stated computational model only when all actual nonquery costs fit that envelope. A standard-circuit implementation must charge the derived sparse-row scans/sorts and value arithmetic, simulator phase generation and precision synthesis, repeated reference preparation, coefficient tables and PREPARE, reversible probability rounding/division and comparisons, history and control, QRAM construction/update/access if used, output bits and classical preprocessing. Query complexity alone does not prove this gate bound. For arbitrary n, the reference price is repeated O~(nmmax⁡(1,Rr/ε)3) times per threshold run, rather than incurred once.

Facts & Assumptions

Given: The normalized promises, finite raw matrix interfaces, actual controlled/inverse circuit implementations, declared precision budgets and successful certified simulation/rotation compilation of the algorithm.

[F1]

Sparse-oracle quantum SDP algorithm specifies the finite rounds, sparse updates, frozen trace samplers, complete two-sparse oracle and capped outer search.

[F2]

Quantum SDP additive-optimality guarantee proves that these implementations yield the claimed high-probability sparse feasible certificate under their explicit error budgets.

[F3]

Sparse evolution substitution gives the quantum SDP and diagonal LP query bounds gives the aggregate general and diagonal matrix-query bounds, repeated reference count, and complete additive gate/time record under the algorithm's actual finite sparse-input and implementation promises.

[F4]

Sparse SDP matrix access and computational model separates queries, gates, coefficient precision, memory and preprocessing; SDP maximally entangled reference-state access supplies the exact power-of-two preparation or an explicitly priced general-dimension circuit.

[F5]

Certified finite smooth Fourier approximation and LCU normalization gives the finite Taylor, arcsine-degree and frequency cutoffs and the truncated convolution construction for the coefficient list.

Proof

1.1givenF1F3algebra

Write Q=max⁡(1,Rr/ε). On the nontrivial branch of [F1], T=O~(Q2), η=O~(Q−1) and θ−1=O(Q). Its rational finite data and certified implementations meet [F3]'s hypotheses. That supplier's aggregate bound is O~(nms2(Rr/ε)8), already including derived sparse-row construction, spectral shifts, all coherent estimator/minimum caps and the outer threshold calls. Since Rr/ε≤Q, it is at most the claimed general query bound.

1.2givenF1F3algebra

For diagonal inputs, [F3] exports its separate scalar flag construction's aggregate query bound O~(nm(Rr/ε)5). The inequality Rr/ε≤Q gives O~(nmQ5). That supplier includes finite scalar exponential and probability-rotation arithmetic, frozen approximate minima, the common-normalization ratio, and all threshold repetitions. This profile uses that separate diagonal construction rather than substituting s=1 in the general bound.

2.1givenF1F2F3step 1.1algebra

The output guarantee is [F2]. No further factor for the outer search, Fourier frequency count or sparse-row construction multiplies the aggregate query bound in step 1.1: those costs are already included in [F3]. Nontrivial accuracy has Rr/ε>1/2, so replacing it by Q only changes a fixed constant there. The boundary branches of [F1] precede the positive-R formulas and retain their stated direct output costs.

2.2givenF1F3F4F5step 1.1algebra

Let Ft be once-only factory generation/certification/storage, Nflag,t=O~(nm/θ) and Nshift,t=O~(n) the complete preparation/inverse call counts, and Gflag,t,Gshift,t their actual nonquery gate prices excluding reference preparation. Let At charge the remaining coherent AE/QFT arithmetic, rounding, division, comparison, histories, capped-minimum coins and classical control; let GQRAM and W charge actual optional memory and output/record operations. [F3] gives the actual additive record ∑t ⁣[Ft+Nflag,t(CΦ+Gflag,t)+Nshift,t(CΦ+Gshift,t)+At]+GQRAM+W, with the threshold repetition factor. Include input-query gate prices when translating queries to gates, and avoid double counting when a primitive already includes reference preparation. The summed reference term is O~(nmQ3CΦ); the Gibbs coefficient factory has the following direct count. At round t, [F1] bounds the exponent norm by ηt, so its shifted Gibbs interval has radius Kt=O(1+ηt) and extension margin 1/2. The cutoffs in [F5] have Taylor length O~(Kt) and arcsine degree O~(Kt2). Computing each truncated convolution by its finite double sum, then all signed-binomial accumulations, takes O~(Kt5) arithmetic operations. Summing gives O~(T+η5T6)=O~(Q7); actual bit and phase-generation costs remain separately charged. Coherent operations in At are quantum gates/work even when a classical description of their arithmetic is available.

3.1givenF3F4step 1.1step 1.2step 2.2algebra∎

In the power-of-two case [F4] gives the explicit O(log⁡n) reference circuit. In general retain the actual repeated CΦ price and any separately allocated preparation error. The unit-cost QRAM profile and a direct reversible sorted-row implementation have different actual prices, each covered by step 2.2. Therefore the source's same-order gate profile follows precisely if these prices fit its stated envelope; otherwise step 1.1 and step 1.2 are query bounds with the explicit additional record of step 2.2. This retains the rich source scope and its computational-model qualification without treating expensive exact arithmetic or an undeclared oracle as free.

5 · Examples, counterexamples and false statements

None yet.

Sources