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.

Phase-Estimation Linear-System Algorithms

1 · Prerequisites

2 · Summary

This page specifies the state-output QLSP task, a rectangular Hermitian dilation, and the finite sine-window HHL circuit in the signed-eigenvalue convention. It proves the sine-window kernel moment, reciprocal-filter stability, postselection normalization, capped amplification, and the resulting conditional state error under explicit preparation and simulator error budgets. The direct simulator resource sum is proved. The sparse-row query specialization follows from the explicit sorted-XOR access bridge and the clean-workspace simulation mode.

The sparse-query specialization is proved through the costed sorted-XOR block encoding and the QA25 clean-input simulator. The access definition retains full-operator simulation and additionally permits the explicit clean-workspace mode; its proof includes actual inverse circuits and error accumulation without assuming intermediate work is clean. Classical table generation, arithmetic, phase compilation, gate and bit-time resources remain separate.

3 · Logical flowchart

4 · Definitions, theorems and proofs

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

Odd-well and even-ill reciprocal filter

Definition

For κ≥1 and real estimate z, put u=∣z∣ and define the odd well amplitude fκ and even ill amplitude gκ by fκ(z)={sgn⁡(z)/(2κu),u≥1/κ,12sgn⁡(z)sin⁡(πκ(u−1/(2κ))),1/(2κ)≤u<1/κ,0,u<1/(2κ),gκ(z)={0,u≥1/κ,12cos⁡(πκ(u−1/(2κ))),1/(2κ)≤u<1/κ,1/2,u<1/(2κ), where sgn⁡(z)=1 for z>0, −1 for z<0, and 0 for z=0. The three flag amplitudes are (h(z),fκ(z),gκ(z)), where h(z)=1−fκ(z)2−gκ(z)2. Labels are nothing, well, ill, respectively. This definition applies to every real decoded grid point, including points outside the supported spectrum.

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

Finite sine-window phase state

Definition

For a power of two T≥2, the sine-window vector is ∣ΨT⟩=2T∑τ=0T−1sin⁡ ⁣(π(τ+1/2)T)∣τ⟩. For any integer interval 0≤a≤b≤T, define its unnormalized sine mass WT(a,b):=∑τ=ab−1sin⁡2 ⁣(π(τ+1/2)T). The closed trigonometric formula for WT(a,b) is proved by the assigned prefix-mass lemma. The chosen OP5 table variant stores these interval masses and their conditional split angles; it charges its full O(T) table and rotation size, arithmetic, interval-refinement, angle-bit, and finite gate-synthesis costs. This definition does not assign a polylogarithmic implementation cost.

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

Hermitian dilation for a rectangular linear system

Statement

For A:Cn→Cm, define HA:Cm⊕Cn→Cm⊕Cn using the adjoint A∗ of The adjoint T∗:W→V is characterised by ⟨Tv,w⟩W=⟨v,T∗w⟩V by HA(x,y)=(Ay,A∗x). Then HA is Hermitian; its nonzero eigenvalues are +σj,−σj for the positive singular values of A, its kernel is ker⁡(A∗)⊕ker⁡(A), and HA+(b,0)=(0,A+b). When A has positive rank, its nonzero condition number is preserved; the output is tagged in the domain summand.

Facts & Assumptions

Given: A finite-dimensional map A and its singular system.

[F1]

Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition: A has orthonormal singular pairs (uj,vj) with positive values σj; in these bases its matrix is diagonal with entries σj and zero on the remaining coordinates.

[F2]

The adjoint T∗:W→V is characterised by ⟨Tv,w⟩W=⟨v,T∗w⟩V: ⟨Ax,y⟩=⟨x,A∗y⟩, so the adjoint of a block matrix swaps the blocks and takes their adjoints.

[F3]

The Moore--Penrose pseudoinverse A+ as the solution of the four Penrose equations: a pseudoinverse G satisfies HGH=H, GHG=G, and HG,GH are self-adjoint; Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse: each finite matrix has exactly one such pseudoinverse.

Proof

1.1givenF2algebra

The block matrix of HA is (0AA∗0). Its adjoint, by [F2], is the same block matrix, so HA∗=HA.

1.2F1algebra

Multiplying the SVD in [F1] gives Avj=σjuj and A∗uj=σjvj. Therefore HA(uj,vj)=σj(uj,vj) and HA(uj,−vj)=−σj(uj,−vj). After division by 2 these are unit eigenvectors. Orthonormality of the singular pairs makes all such vectors mutually orthogonal.

1.3F1F3algebra

In the SVD bases, write A=UΣV∗ with positive diagonal entries σj. The diagonal matrix Σ+ that replaces each positive entry by 1/σj and leaves zero entries zero satisfies ΣΣ+Σ=Σ, Σ+ΣΣ+=Σ+, and both products ΣΣ+ and Σ+Σ are diagonal projections. Unitary transport shows VΣ+U∗ satisfies the four equations in [F3], so uniqueness gives A+=VΣ+U∗ and A+uj=vj/σj.

2.1step 1.2algebra

The equation HA(x,y)=0 is equivalent to Ay=0 and A∗x=0, so ker⁡HA=ker⁡(A∗)⊕ker⁡(A). Together with step 1.2, the nonzero eigenvalue magnitudes are exactly the positive singular values, each appearing with both signs. Thus when there is positive rank their maximum-to-minimum ratio is unchanged.

3.1F1F3step 1.2step 2.1step 1.3algebra∎

The vectors from step 1.2 together with orthonormal bases of ker⁡(A∗) and ker⁡(A) form an orthonormal eigenbasis of the direct sum. Define G on this basis by Gwj,+=wj,+/σj, Gwj,−=−wj,−/σj, and G=0 on the kernel. Then HAG and GHA are self-adjoint projections, while diagonal multiplication gives HAGHA=HA and GHAG=G. Thus G satisfies [F3], and uniqueness gives G=HA+. Since (uj,0)=(wj,++wj,−)/2, this definition gives HA+(uj,0)=(0,vj/σj). Complete the positive left singular vectors to the left singular basis from [F1]. The remaining basis vectors have zero singular coordinates, so the diagonal SVD gives A∗uj=0 for each; hence they span the complementary part ker⁡(A∗). Thus every b∈Cm has a decomposition b=∑j:σj>0βjuj+b0 with b0∈ker⁡(A∗). Since A∗b0=0, its positive left-singular coordinates vanish, so Σ+U∗b0=0 and the formula in step 1.3 gives A+b0=0. By step 2.1 (b0,0)∈ker⁡(HA), so HA+(b0,0)=G(b0,0)=0. Applying the positive-pair calculation to the other summands gives HA+(b,0)=(0,A+b) for arbitrary b, including b∉ran⁡(A).

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

The reciprocal filter defines valid three-outcome amplitudes

Statement

For every real z and κ≥1, fκ(z)2+gκ(z)2≤1/4. Hence h(z) in Odd-well and even-ill reciprocal filter is real, and the three displayed amplitudes have squared moduli summing to one.

Facts & Assumptions

Given: The piecewise functions in Odd-well and even-ill reciprocal filter.

[F1]

Odd-well and even-ill reciprocal filter and Parity and the Pythagorean identity for sine and cosine: in the transition band the two nonzero functions are one half times sine and cosine of the same angle; on each plateau they are constants or one reciprocal term.

Proof

1.1F1algebra

If ∣z∣≥1/κ, then gκ(z)=0 and ∣fκ(z)∣=1/(2κ∣z∣)≤1/2, so their squared sum is at most 1/4.

2.1F1algebra∎

If 1/(2κ)≤∣z∣<1/κ, the identity sin⁡2θ+cos⁡2θ=1 gives fκ(z)2+gκ(z)2=1/4. If ∣z∣<1/(2κ), the sum is 0+(1/2)2=1/4. Thus all cases give the bound, and 1−f2−g2≥3/4>0.

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

Quantum linear-systems state-output task

Definition

Let A:Cn→Cm be a finite-dimensional linear map, m,n≥1, and let b∈ran⁡(A)∖{0}, where ran⁡(A) is the image defined in Kernel and image of a linear map. The quantum linear-systems state-output task (QLSP) is to prepare the normalized domain-register state ∣x⟩:=A+b∥A+b∥∈Cn, where A+ is the Moore–Penrose pseudoinverse. By Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition, write b=∑j:σj>0βjuj in left singular vectors; the promised support gap is a supplied rational or exactly represented γ>0 such that every j with βj≠0 has singular value σj≥γ. The input includes a costed unitary B mapping its designated all-zero input to ∣b/∥b∥⟩ in the codomain register, tensored with a fixed work state. Its inverse, controlled access, and resource coordinates are specified in the separate HHL access model. If b is multiplied by c≠0, the normalized representative is multiplied by c/∣c∣, so its pure-state ray is unchanged. The task returns a quantum state (and may return a success flag); it does not promise a classical list of coordinates.

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

Relative stability of the HHL filter on supported eigenvalues

Statement

Let κ≥1, t0>0, and λ,δ∈R with 1/κ≤∣λ∣≤1. Set λ~=λ−δ/t0. For the well/ill amplitude pair m(z)=(fκ(z),gκ(z)) from Odd-well and even-ill reciprocal filter, ∥m(λ~)−m(λ)∥2≤10κ∣δ∣t0∣fκ(λ)∣.

Facts & Assumptions

Given: The supported eigenvalue and filter definition.

[F1]

Odd-well and even-ill reciprocal filter and The reciprocal filter defines valid three-outcome amplitudes: ∥m(z)∥2≤1/2; on the transition band its coordinates are one half times sine and cosine with angle slope πκ.

[F2]

Sine and cosine are 1-Lipschitz on R: each of sine and cosine changes by at most the change in its real argument.

[F4]

Quarter-turn values and shifts by pi/2 and pi: sin⁡(π/2)=1 and cos⁡(π/2)=0.

[F5]

Proof

1.1F1F2F3F4F5algebra

At u=1/(2κ) the transition angle is 0, so [F5] makes the transition values (0,1/2), matching the lower plateau; at u=1/κ the angle is π/2, so [F4] makes them (sgn⁡(z)/2,0), matching the reciprocal branch. Hence m is continuous on each fixed-sign half-line. On the reciprocal branch, for u,u′≥1/κ, ∣12κu−12κu′∣=∣u−u′∣2κuu′≤κ2∣u−u′∣. On the transition branch, [F2] bounds each coordinate change by (πκ/2)∣u−u′∣, so the two-coordinate norm changes by at most (πκ/2)∣u−u′∣. The lower plateau is constant, and κ/2≤πκ/2 by [F3]. Splitting any same-sign interval at the two breakpoints and adding these bounds proves the global same-sign Lipschitz estimate ∥m(z)−m(z′)∥2≤(πκ/2)∣z−z′∣.

2.1F1step 1.1algebra

Write Δ=∣λ~−λ∣=∣δ∣/t0. If λ~ has the same sign as λ and ∣λ~∣≥1/κ, both values use the reciprocal branch, and ∥m(λ~)−m(λ)∥2∣fκ(λ)∣=Δ∣λ~∣≤κΔ. If the signs differ (including zero), then Δ≥∣λ∣, and the norm difference is at most 1/2+∣fκ(λ)∣ by [F1]. Dividing by ∣fκ(λ)∣=1/(2κ∣λ∣) gives at most 1+κ∣λ∣≤2κΔ.

3.1F1F2F3step 1.1algebra∎

It remains that the signs agree and ∣λ~∣<1/κ. If ∣λ∣≤2/κ, step 1.1 gives a norm difference at most πκΔ/2. Since ∣fκ(λ)∣=1/(2κ∣λ∣)≥1/4, the ratio is at most 22πκΔ<(48/5)κΔ<10κΔ, using 2<3/2 and [F3]. If ∣λ∣>2/κ, crossing below 1/κ implies Δ>∣λ∣/2 and κΔ>1. By [F1] the ratio is at most 1+κ∣λ∣<1+2κΔ<3κΔ<10κΔ. These cases establish the claimed inequality.

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

Sine-window normalization and positive prefix weights

Statement

For a power of two T≥2 and integers 0≤a≤b≤T, WT(a,b)=b−a2−sin⁡(2πb/T)−sin⁡(2πa/T)4sin⁡(π/T). In particular, WT(0,T)=T/2, so ∣ΨT⟩ is normalized, and every nonempty interval has WT(a,b)≥T−2.

Facts & Assumptions

Given: The sine window and interval mass in Finite sine-window phase state.

[F1]

Finite geometric sum for phase-estimation amplitudes: finite geometric sums satisfy ∑j=0n−1zj=(1−zn)/(1−z) when z≠1.

[F2]

Finite sine-window phase state: WT(a,b) is the sum of the indicated nonnegative sine squares.

[F3]

Double-angle and quadratic power-reduction identities: sin⁡2x=(1−cos⁡(2x))/2.

[F5]

Sine chord and linear bounds: sin⁡(πu)≥2u for 0≤u≤1/2.

Proof

1.1F1F2F3F4F5algebra

Put z=e2πi/T. By [F4], zT=e2πi=1. Also [F5] gives sin⁡(π/T)≥2/T>0, so 1−z≠0. Reindexing [F1] gives ∑τ=ab−1e2πi(τ+1/2)/T=e2πi(a+1/2)/T1−zb−a1−z=eiπ(a+b)/Tsin⁡(π(b−a)/T)sin⁡(π/T). The real part of the last expression is [sin⁡(2πb/T)−sin⁡(2πa/T)]/[2sin⁡(π/T)] by the sine addition formula [F4]. Applying [F3] to the defining sum [F2] proves the displayed formula for WT(a,b).

2.1step 1.1algebra

Setting a=0,b=T in the formula of step 1.1 makes its sine difference zero, so WT(0,T)=T/2. The squared norm of ∣ΨT⟩ is (2/T)WT(0,T)=1.

3.1F2F5F6algebra∎

If a<b, choose an integer τ in [a,b). Then τ+1/2 lies between 1/2 and T−1/2, so its angle lies in [π/(2T),π−π/(2T)]. The chord bound [F5] gives sin⁡(π/(2T))≥1/T, and [F6] reflects this lower bound to the upper half of the interval. That summand is at least T−2 and all other summands are nonnegative by [F2].

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

The QLSP target is nonzero

Statement

Under the hypotheses in Quantum linear-systems state-output task, A+b≠0, so the normalized target is well-defined.

Facts & Assumptions

Given: A finite-dimensional map A and b∈ran⁡(A)∖{0}.

[F1]

Kernel and image of a linear map: b∈ran⁡(A) means that some x satisfies b=Ax.

Proof

1.1givenF1F2choosealgebra

By [F1], choose x with b=Ax. The Penrose equation in [F2] gives AA+b=AA+Ax=Ax=b.

2.1givenstep 1.1algebra∎

If A+b=0, then AA+b=0, contradicting step 1.1 and the hypothesis b≠0. Hence A+b≠0 and the normalized QLSP target is defined.

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

Operator error for the finite sine-prefix rotation table

Statement

Let T=2L≥2, and let WT(a,b) and ∣ΨT⟩ be as in Finite sine-window phase state. In the binary prefix tree, order the register bits from root to leaf. At level ℓ=0,…,L−1, each interval node [a,b) has midpoint m=(a+b)/2 and split r=WT(a,m)/WT(a,b). Apply Ry(2arcsin⁡r) to the next bit, controlled on the preceding prefix that names [a,b), encoding bit 1 as the left child and bit 0 as the right child. Starting from ∣0L⟩, this ideal prefix circuit prepares ∣ΨT⟩. If a finite state-preparation circuit contains N controlled Y rotations and each implemented rotation differs from its ideal rotation by operator norm at most δ, the product unitary differs from the ideal product by operator norm at most Nδ. In the OP5 table variant let ϵΨ>0, N=T−1 and δ=ϵΨ/(100T), so the preparation error is less than ϵΨ/100; using the same bound for its inverse gives the stated unpreparation cost.

Facts & Assumptions

Given: A finite list of controlled rotations and a per-rotation operator-error bound.

[F2]

The inner-product norm is definite, homogeneous, and satisfies the triangle inequality: the norm of a finite sum is at most the sum of the norms.

[F3]

Sine chord and linear bounds: sin⁡x≤x for x≥0, and sin⁡x≥2x/π for 0≤x≤π/2.

[F4]

Parity and the Pythagorean identity for sine and cosine: sine is odd and sin⁡2u+cos⁡2u=1.

[F5]

The addition formulas for sine and cosine: the sine and cosine addition formulas hold; substituting them into the displayed rotation matrices gives the corresponding angle-addition rule.

[F6]

Finite sine-window phase state: the leaf weights are wτ=sin⁡2(π(τ+1/2)/T) and the target amplitudes are 2/Tsin⁡(π(τ+1/2)/T).

[F7]

Sine-window normalization and positive prefix weights: WT(0,T)=T/2, and every nonempty interval has positive mass.

Proof

1.1givenF1F3F4F5algebra

The real Y-rotation matrix is Ry(θ)=(cos⁡(θ/2)−sin⁡(θ/2)sin⁡(θ/2)cos⁡(θ/2)). For any unit vector x, [F5] and [F4] give ∥(Ry(β)−Ry(α))x∥2=∥(Ry(β−α)−I)x∥2=4sin⁡2((β−α)/4). Taking the supremum over unit x and using [F3] and [F4] yields ∥Ry(β)−Ry(α)∥≤∣β−α∣. A controlled rotation is block diagonal with identity and this rotation on its control subspaces, so its operator error obeys the same bound.

1.2givenF3F6F7F8algebrainduction

For each leaf τ, put xτ=π(τ+1/2)/T∈(0,π). If xτ≤π/2, [F3] gives sin⁡xτ≥2xτ/π>0; if xτ>π/2, [F8] reduces positivity to π−xτ∈(0,π/2) and the same bound. Thus each leaf weight is positive, and [F7] makes every split ratio lie in (0,1). The rotation sends ∣0⟩ to 1−r∣0⟩+r∣1⟩, so its branch amplitudes are exactly the square roots of the right- and left-child mass fractions. Induction from the root shows that leaf τ has amplitude wτ/WT(0,T)=2/Tsin⁡xτ, by [F6] and [F7]. With left encoded by 1, interval leaf τ has computational label T−1−τ. Its amplitude equals that of label τ because xT−1−τ=π−xτ and [F8] gives sin⁡xT−1−τ=sin⁡xτ. Hence the ideal circuit prepares ∣ΨT⟩.

2.1F1F2step 1.1step 1.2algebra∎

For products U~N⋯U~1 and UN⋯U1, insert and subtract one factor at a time. This writes their difference as a sum of N terms, each containing one U~j−Uj between unitary products. By [F1] the outer products preserve norm, and [F2] bounds the sum by Nδ. For ϵΨ>0, N=T−1 and δ=ϵΨ/(100T) this is less than ϵΨ/100. Applying the same estimate to the inverse rotation list, whose ideal angles are negated and whose synthesis uses the same per-angle tolerance, gives the same bound for inverse preparation.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

HHL state-preparation and simulation access model

Definition

For a Hermitian H on a finite-dimensional register, with operator norm as in The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||, the HHL access instance supplies: (i) a unitary B with B∣0I,W⟩=∣b/∥b∥⟩I∣gB⟩W for a fixed normalized work state ∣gB⟩ (which may be ∣0W⟩) and declared costs for B,B† and any controlled forms used; (ii) for every requested real t and tolerance η, a controlled simulation circuit SH(t,η) with operator-norm error at most η from e+iHt, and separately declared inverse/negative-time costs; and (iii) separate actual resource functions CB,CB†, Csim(t,η), CΨ(T,ϵΨ) for each forward or inverse sine-table preparation, GΨ(T,ϵΨ) for its one-time classical table generation/data bits, CQFT+/−(T), Cflag(κ,ηR), Carith(T,κ,ϵ), Cref, and Cver, and costs for reversible arithmetic, registers and finite-precision gate synthesis. Here CQFT− is the negative-sign Fourier circuit and CQFT+ its positive-sign inverse, Carith is the per-attempt reversible decode/filter arithmetic cost, and Cref,Cver are the per-call reflection and well-verification costs. These functions count the stated circuit implementation in the chosen gate/access model; they assert no polylogarithmic bound on table generation or rotation synthesis. The positive exponential sign is the OP5 convention. An implementation of H from matrix entries or a sparse oracle is additional data and must include its own proof and cost. A bare matrix, sparsity promise, or list of amplitudes is not a circuit. A rational scale Λ≥∥H∥ may be supplied; after replacing H by H/Λ, the supported gap γ gives κ=Λ/γ.

Clean-workspace simulation mode. The original full-operator-norm access mode remains admissible. Alternatively, supply a unitary dilation S with a fixed clean-work embedding J and ∥SJ−Je+iHt∥op≤η, including arbitrary timing/control/reference registers. The ideal operation leaves this simulator workspace in zero; other ideal HHL operations do not touch it. Actual output work may be dirty. Supply actual circuit inverses and controls and charge their full workspace and query costs. Unitary hybrids on a preserved clean-work subspace proves the same clean-input error for the actual adjoint, coherent controls and arbitrary references, and proves accumulation along the ideal all-clean trajectory. The inverse used in HHL uncomputation/amplification is the literal reverse physical circuit, not a separately approximated negative-time routine. Include simulator work in the joint output comparison and the ideal all-zero algorithm registers. A full-space error on arbitrary dirty inputs is neither required nor inferred in this alternative mode.

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

Second moment of the signed sine-window phase kernel

Statement

Let t0=2048κ/ϵ, 0<ϵ≤1, κ≥1, and let T be the least power of two at least 8(t0+1). For any λ∈[−1,1], prepare Finite sine-window phase state, apply the controlled phases eiλτt0/T and the negative-sign Fourier transform, then decode y to signed k. With probability pk(λ), put δk=λt0−2πk. Then ∑k=−T/2T/2−1pk(λ) δk2<300.

Facts & Assumptions

Given: The sine-window circuit and OP5 parameter range.

[F1]

Exact binary QFT circuit correctness: the negative-sign Fourier transform has basis amplitudes T−1/2e−2πikτ/T, so the measured amplitude is the finite Fourier sum of the prepared coefficients.

[F2]

Finite geometric sum for phase-estimation amplitudes: finite exponential sums equal their geometric-series quotient when the ratio is not one; the coincident-ratio case is their continuous finite-sum limit.

[F3]
[F4]

Sine chord and linear bounds: sin⁡v≤v for v≥0.

[F5]

Sine and cosine are 1-Lipschitz on R: cosine changes by at most the change in its real argument.

[F7]

Sine chord and linear bounds: sin⁡(πu)≥2u for 0≤u≤1/2.

Proof

1.1givenF1F2algebra

Put θ=λt0/(2π) and δ=2π(θ−k). Expanding sine into its two exponentials and summing the two geometric series from [F2] gives the amplitude αk=−2Teiδ(1−1/T)/2 cos⁡(δ/2)cos⁡(δ/(2T))sin⁡(π/(2T))sin⁡((δ+π)/(2T))sin⁡((δ−π)/(2T)). At a removable zero this formula means its continuous limit. By [F1], pk=∣αk∣2 and ∑kpk=1.

2.1F3F4F5F6F7step 1.1algebra

For ∣δ∣≥2π, set x=∣δ∣/(2T) and a=π/(2T). Signed decoding and ∣λ∣≤1 give x≤π/2+t0/(2T)<π/2+1/16; also x≥2a. Since t0≥2048, a<1/100, hence x+a<π/2+1/10. On [0,π/2+1/10] one has sin⁡u≥u/2: on [0,π/2] put s=v/π∈[0,1/2] and apply [F7] to get sin⁡v≥2v/π>v/2 using [F3]; on the remaining interval, sin⁡u=cos⁡(u−π/2)≥1−1/10=9/10 by [F5] and [F6], while u/2<(16/5)/4+1/20=17/20<9/10. Therefore ∣sin⁡2x−sin⁡2a∣=sin⁡(x+a)sin⁡(x−a)≥14(x2−a2)≥3δ264T2. Using ∣cos⁡∣≤1 and sin⁡a≤a in step 1.1 yields pk≤(2048π2/9)δ−4.

3.1F3step 2.1algebra∎

The outcomes with ∣δ∣<2π contribute at most 4π2 because their total probability is at most one. For the rest, group integers by n≤∣θ−k∣<n+1, n≥1; each shell has at most two integers. Step 2.1 gives ∑∣δk∣≥2πpkδk2≤2048π2924π2∑n=1∞1n2≤20489, where ∑n≥1n−2≤1+∫1∞x−2dx=2. By [F3], 4π2<4(16/5)2<41, so the total is less than 41+2048/9<300.

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

Signed phase decoding has no alias on the promised spectrum

Statement

Let 0<ϵ≤1, κ≥1, t0=2048κ/ϵ, and let T be the least power of two with T≥8(t0+1). For H=H∗ with ∥H∥≤1, phase estimation using powers of e+iHt0/T has exact eigenphase angle λt0/T on an eigenvector of eigenvalue λ. This lies strictly in (−π,π); signed decoding k=y for y<T/2 and k=y−T otherwise uses the unique centered representative. Its eigenvalue grid is λ~=2πk/t0, with spacing 2π/t0.

Facts & Assumptions

Given: A self-adjoint finite-dimensional H, the OP5 scale, and T as above.

[F1]

Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely: a normal finite-dimensional complex endomorphism has an orthonormal eigenbasis; H=H∗ implies H is normal.

[F2]

Unitary and differential identities for finite matrix dynamics: UH(t)=e−itH; on an eigenvector with eigenvalue λ, replacing t by −s gives e+isλ.

[F3]

Quantum phase estimation and Exact binary QFT circuit correctness: phase estimation uses Fourier-basis labels modulo T.

Proof

1.1givenF1algebra

By [F1], choose an orthonormal eigenbasis and let H∣u⟩=λ∣u⟩. The root inner product is linear in its first argument and conjugate-linear in the second (Dirac Notation Conversion). Self-adjointness therefore gives λ∥u∥2=⟨Hu,u⟩=⟨u,H∗u⟩=⟨u,Hu⟩=λ‾∥u∥2, so λ is real. Also ∣λ∣∥u∥=∥Hu∥≤∥H∥∥u∥≤∥u∥, so λ∈[−1,1].

2.1F2F3step 1.1

On this eigenvector, e+iHt0/T has eigenvalue eiλt0/T=e2πiθ, where θ is the unique representative of λt0/(2πT) modulo 1 in [0,1). Each controlled power has eigenphase λ2jt0/T, so phase estimation encodes this same phase modulo one.

3.1givenF4step 1.1step 2.1algebra∎

Since T≥8(t0+1), ∣λt0/T∣≤t0/T<1/8<π by [F4]. Thus the centered representative of the phase angle is exactly λt0/T, with no alias by a multiple of 2π. Centered decoding gives the stated signed integer k and adjacent eigenvalue grid values differ by 2π/t0.

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

Finite capped amplification succeeds with a supplied lower bound

Statement

Let a unitary flagged preparation V have well probability p≥p0:=1/(16κ2), κ≥1, and exact inverse access. Set K=⌈4κ⌉, R=⌈16ln⁡(1/ρ)⌉+16 for 0<ρ<1. In each of R fresh rounds, draw b=⌈log⁡2K⌉ uniform bits; reject the round without queries if the resulting integer j≥K, and otherwise run j amplitude-amplification iterations from V∣0⟩, then verify the well flag. The probability that all rounds fail is at most ρ. The conditional well state in every successful round is the same pure-state ray as the normalized well component of V∣0⟩. The total number of V,V† calls is at most 2RK.

Facts & Assumptions

Given: A fixed unitary state preparation, its inverse, and an orthogonal well-flag projection.

[F1]

Amplitude-amplification invariant plane: the initial good and bad components span an invariant plane for the amplification iterate.

[F2]

Exact success probability after amplitude amplification: if p=sin⁡2θ, after j rounds the success probability is sin⁡2((2j+1)θ).

[F3]

Amplitude amplification with a fixed integer iteration count: one iterate consists of the supplied preparation, its inverse, and the two declared reflections.

[F4]

Inverse Unitary Access: every inverse call is an explicitly supplied access with a separately chargeable cost.

[F5]

Sine chord and linear bounds: sin⁡v≥2v/π for 0≤v≤π/2.

[F6]

The addition formulas for sine and cosine and Double-angle and quadratic power-reduction identities: sine addition gives sin⁡(a+b)−sin⁡(a−b)=2cos⁡(a)sin⁡(b), and the double-angle formulas give sin⁡2x=(1−cos⁡(2x))/2 and cos⁡2x=(1+cos⁡(2x))/2.

Proof

1.1givenF2F5F6algebra

For 0<sin⁡(2ϕ), the addition identity in [F6] gives sin⁡((4j+4)ϕ)−sin⁡(4jϕ)=2cos⁡((4j+2)ϕ)sin⁡(2ϕ). Summing over j=0,…,K−1 telescopes, so ∑jcos⁡((4j+2)ϕ)=sin⁡(4Kϕ)/(2sin⁡(2ϕ)). The double-angle identities in [F6] therefore give ∑j=0K−1sin⁡2((2j+1)ϕ)=K/2−sin⁡(4Kϕ)/(4sin⁡(2ϕ)), and the corresponding cosine-square sum has a plus sign. Here the denominators are positive except at the separately treated endpoint p=1. Put θ=arcsin⁡p. For p≤1/2, sin⁡(2θ)=2p(1−p)≥2p≥1/(22κ). The finite sine-square identity from [F6] gives average success 1K∑j=0K−1sin⁡2((2j+1)θ)=12−sin⁡(4Kθ)4Ksin⁡(2θ)≥12−14Ksin⁡(2θ)≥12−142>14. For 1/2<p<1, put θ′=π/2−θ∈[0,π/4). The cosine-square version of [F6] gives average success 12+sin⁡(4Kθ′)4Ksin⁡(2θ′). If its sine numerator is nonnegative this is at least 1/2. If it is negative, then 4Kθ′>π, and [F5] gives sin⁡(2θ′)≥4θ′/π, so the magnitude of the fraction is at most π/(16Kθ′)<1/4. The average is again greater than 1/4. At p=1, every iteration succeeds. Thus uniform accepted j has average success at least 1/4 for every p≥p0.

2.1givenF7step 1.1algebra

Since K≤2b<2K, the random-bit draw is accepted with probability K/2b>1/2 and, conditioned on acceptance, is uniform on {0,…,K−1}. Each fresh round therefore succeeds with probability at least 1/8. Independence of fresh preparation, bits and verification gives total failure at most (7/8)R≤e−R/8, since [F7] gives ln⁡(8/7)=∫18/7dt/t≥(1/7)(7/8)=1/8 and R≥16ln⁡(1/ρ). Therefore the failure is at most e−2ln⁡(1/ρ)=ρ2≤ρ.

3.1F1F2F3F4step 2.1algebra∎

At most K−1 iterations occur in one round, each using one V and one V† besides the initial V; hence each call count is at most RK, and their sum is at most 2RK. The good component remains collinear by [F1, F3]; its scalar rotation coefficient may be negative, but every positive-probability well branch therefore has the same pure-state ray as the normalized initial well component.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableOpen item page →

HHL finite sine-window phase-estimation algorithm

Definition

Input a self-adjoint H with ∥H∥≤1, a unit input state ∣b⟩ supported only on eigenvalues satisfying 1/κ≤∣λ∣≤1, and a supplied finite exact representation of the cutoff κ≥1 that supports certified arithmetic and rational comparisons. Supply costed B,B† and controlled/inverse simulation access as in HHL state-preparation and simulation access model. The accuracy and failure inputs are exact rational values ϵ=pϵ/qϵ and ρ=pρ/qρ, with positive binary-encoded integers and 0<pϵ≤qϵ, 0<pρ<qρ. Rectangular systems A:Cn→Cm use Hermitian dilation for a rectangular linear system: choose a supplied rational scale Λ≥∥HA∥, use H=HA/Λ, and set κ=Λ/γ from the QLSP support gap γ. The QLSP definition supplies σj≥γ whenever the left singular coefficient of b is nonzero; the dilation eigenvalues on this input support are ±σj/Λ, so 1/κ≤∣λ∣≤1. On (Cm⊗W)⊕(Cn⊗W) prepare the normalized codomain-supported input (b/∥b∥,0) with the tagged preparation BA:=B⊕ICn⊗W. Implement its B block with the supplied tag-controlled form of B and charge that controlled preparation cost. The QLSP promise b∈ran⁡(A) removes the kernel component, and the output is tagged in the domain summand. All parameter comparisons, reversible arithmetic and finite-precision synthesis use the separately charged routines in the access model. The algorithm is the finite OP5 program:

  1. Apply the supplied B (or BA for a rectangular system) to prepare the input and its fixed work state, set t0=2048κ/ϵ, choose the least power of two T≥8(t0+1) by certified comparisons, and let L=log⁡2T. Initialize the phase register to ∣0L⟩ in big-endian order qL−1⋯q0. This carrier chooses OP5's explicit table variant for preparing Finite sine-window phase state. Build the complete binary prefix tree on the T leaves. At each level ℓ=0,…,L−1 and for each interval node [a,b) at that level, put m=(a+b)/2 and compute the child masses WT(a,m) and WT(m,b) from the formula in Sine-window normalization and positive prefix weights. Store r=WT(a,m)/WT(a,b) and apply Ry(2arcsin⁡r) to wire qL−1−ℓ, controlled on the preceding ℓ wires matching the path to [a,b); encode bit 1 as the left child and bit 0 as the right child. The root has no controls. Thus the ideal circuit prepares ∣ΨT⟩ by Operator error for the finite sine-prefix rotation table. Put ϵΨ=ϵ/(4096κ). Each nonempty mass is at least T−2 by Sine-window normalization and positive prefix weights. Use certified interval arithmetic with absolute mass error at most ϵΨ2/(106L2T4); refine until each stored angle and its finite gate synthesis together give controlled-rotation operator error at most ϵΨ/(100T). The cases r=0 and r=1 use the identity and π rotations, respectively. Store each other angle with at least ⌈log⁡2(100πT/ϵΨ)⌉+2 bits. There are T−1 rotations; Operator error for the finite sine-prefix rotation table bounds their total operator error by ϵΨ/100 from the displayed combined per-node operator tolerance. The table contains O(Tlog⁡(T/ϵΨ)) bits and T−1 controlled rotations. Charge its one-time construction/data cost GΨ(T,ϵΨ) and each forward/inverse preparation cost CΨ(T,ϵΨ) from HHL state-preparation and simulation access model, including reversible lookup, control and finite gate synthesis. Thus the sine-preparation unitary and its inverse each have operator error at most ϵΨ; this variant pays linear-in-T table and rotation resources rather than assuming a loaded amplitude table.

  2. In either the original full-space or alternative clean-workspace simulation mode, initialize all simulator work in zero and retain it coherently. For j=0,…,L−1, set tj=2jt0/T and allocate ηj=ϵ/(8192κL) to both its forward controlled call SH(tj,ηj) and its reverse call. Apply SH(tj,ηj) to the system controlled on wire qj being 1, and act as identity on its 0 branch. In the declared order qL−1⋯q0, a phase label τ has bits xj with τ=∑j=0L−12jxj, so the ideal controlled list applies e+iHτt0/T. Apply the negative-sign QFT, decode y to signed k=y for y<T/2 and k=y−T otherwise, and set λ~=2πk/t0. The total forward evolution time is ∑j<Ltj=t0(1−1/T)<t0, and the sum of the 2L simulation error allocations is ϵ/(4096κ). This uses the signed convention in Signed phase decoding has no alias on the promised spectrum.

  3. Reversibly compute the flag angles and sign from λ~ using Odd-well and even-ill reciprocal filter. Use the two-qubit computational basis ∣q1q0⟩ with labels ∣nothing⟩=∣00⟩, ∣well⟩=∣01⟩, ∣ill⟩=∣10⟩, and unused label ∣11⟩. Write p=∣fκ(λ~)∣, r=1−p2, α=2arcsin⁡p, and β=2arcsin⁡(gκ(λ~)/r). These are defined at every decoded grid point because The reciprocal filter defines valid three-outcome amplitudes gives p≤1/2, 0≤g≤1/2, and r≥3/2, so g/r≤1/3<1. First apply Ry(α) to q0 conditioned on q1=0, acting as identity on the q1=1 subspace. Next apply Ry(β) to q1 conditioned on q0=0, acting as identity on the q0=1 subspace. Here Ry(θ)=exp⁡(−iθY/2) with the exact convention and unitary formula of Exact one-qubit gates and rotations and Pauli formula for an axis rotation. Finally apply Ds=diag⁡(1,s,1,1) in the ordered flag basis, where s=−1 if λ~<0 and s=+1 otherwise (in particular at zero, where fκ(0)=0). The resulting full flag unitary is DsG02(β)G01(α): the two conditional rotations act as Ry on the indicated two-label subspaces and as identity on their orthogonal complements, and Ds is diagonal unitary. All three factors fix the unused label ∣11⟩. On ∣00⟩ the product gives h(λ~)∣00⟩+fκ(λ~)∣01⟩+gκ(λ~)∣10⟩, since cos⁡(β/2)=h/r and sin⁡(β/2)=g/r. Uncompute the arithmetic. Synthesize the phase-controlled map with uniform operator error at most ηR:=ϵ/(4096κ), charged through Cflag and Carith.

  4. Reverse the QFT, every actual controlled simulation circuit, and sine preparation, retaining the flag and all simulator work. In clean-workspace mode the ideal trajectory has this work in zero; Unitary hybrids on a preserved clean-work subspace bounds the complete attempt on that ideal trajectory without assuming actual intermediate work is clean. This gives a unitary flagged preparation V and its exact circuit inverse V†. Let Πgood be the well-flag projection in Hermitian mode and the product of the well-flag projection and tagged domain projection in rectangular mode; these two projections act on distinct registers and commute. Let p=∥ΠgoodV∣0⟩∥2. Apply the finite capped amplification procedure proved in Finite capped amplification succeeds with a supplied lower bound with success projection Πgood, lower bound plow=1/(16κ2) and failure target ρ. Its success reflection and verification test both the well flag and the domain tag in rectangular mode; charge their actual costs to Cref and Cver. Measure {Πgood,I−Πgood} and return the conditional state, tagged output and success bit on success; return FAIL otherwise.

The circuit uses no uniform-register phase-tail estimate: its phase distribution is the sine-window kernel proved in Second moment of the signed sine-window phase kernel. Its GΨ,CΨ,Csim,CQFT+/−,Cflag, reflection, verification and B/B† costs remain separate inputs.

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

Ideal inverse amplitude and HHL postselection probability

Statement

For the ideal exact-eigenvalue version of HHL finite sine-window phase-estimation algorithm, on a normalized ∣b⟩ supported on 1/κ≤∣λ∣≤1, the well-flag vector is v=(2κ)−1H+∣b⟩. Its probability p=∥v∥2 satisfies 1/(4κ2)≤p≤1/4, and its normalized state is the QLSP target.

Facts & Assumptions

Given: A self-adjoint H, a normalized ∣b⟩, and the support promise.

[F1]

Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely: a normal finite-dimensional complex endomorphism has an orthonormal eigenbasis; H=H∗ implies H is normal.

[F2]

The Moore--Penrose pseudoinverse A+ as the solution of the four Penrose equations and Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse: the pseudoinverse is the unique matrix satisfying HH+H=H, H+HH+=H+, and self-adjointness of HH+ and H+H.

[F3]

Odd-well and even-ill reciprocal filter: on the supported spectrum fκ(λ)=1/(2κλ) and gκ(λ)=0.

[F4]

Quantum linear-systems state-output task: the target is the normalized pseudoinverse action on the supported input.

[F5]

The adjoint T∗:W→V is characterised by ⟨Tv,w⟩W=⟨v,T∗w⟩V and Dirac Notation Conversion: ⟨Hx,y⟩=⟨x,H∗y⟩, and the root inner product is linear in its first argument and conjugate-linear in its second.

Proof

1.1F1F2F5algebra

In the eigenbasis from [F1], if Huj=λjuj, self-adjointness and [F5] give λj∥uj∥2=⟨Huj,uj⟩=⟨uj,H∗uj⟩=⟨uj,Huj⟩=λj‾∥uj∥2, so every λj is real. Define Guj=λj−1uj for λj≠0 and Guj=0 for λj=0. Diagonal multiplication gives HGH=H, GHG=G, and HG=GH equal to the orthogonal projection onto the nonzero-eigenvalue span; both products are self-adjoint. Thus G satisfies [F2], and uniqueness gives H+=G.

2.1F1F3F4step 1.1algebra

Expand ∣b⟩=∑jβj∣uj⟩ in [F1], with ∑j∣βj∣2=1. Put J={j:βj≠0}; then ∑j∈J∣βj∣2=1 and every j∈J has 1/κ≤∣λj∣≤1, so [F3] multiplies it by (2κλj)−1. Step 1.1 therefore gives the well vector v=∑j∈Jβj(2κλj)−1∣uj⟩=(2κ)−1H+∣b⟩. Its normalization is the state in [F4].

3.1step 2.1algebra∎

Orthonormality gives p=∑j∈J∣βj∣2/(4κ2∣λj∣2). For j∈J, 1≤∣λj∣−1≤κ, so each weight factor lies in [1/(4κ2),1/4]. Their convex average lies in the same interval, proving 1/(4κ2)≤p≤1/4.

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

HHL capped postselection amplification cost

Statement

For the OP5 HHL attempt with p≥1/(16κ2) and failure target 0<ρ<1, the capped schedule uses at most 2RK=O(κ(1+log⁡(1/ρ))) calls in total to V and V†, where K=⌈4κ⌉ and R=⌈16ln⁡(1/ρ)⌉+16. Thus it uses O(κ(1+log⁡(1/ρ))) calls to the supplied preparation form (the tagged BA in dilation mode) and separately to its inverse, multiplied by their actual supplied costs.

Facts & Assumptions

Given: OP5 access costs and the lower success bound.

[F1]

Finite capped amplification succeeds with a supplied lower bound: each round uses at most K calls to V and at most K calls to V†, over R rounds.

[F2]

HHL finite sine-window phase-estimation algorithm: each V contains one call to the supplied preparation form and each V† one call to its inverse. In rectangular mode this form is the tagged BA from the Definition, and its controlled/gate cost is the actual declared cost for that access.

[F3]

Circuit-family and computation cost model: sequential costs add and every inverse or controlled access has its own declared cost.

Proof

1.1F1algebra

By [F1], the total number of preparation and inverse-preparation calls is bounded separately by RK each. Since K=⌈4κ⌉≤5κ for κ≥1 and R≤16ln⁡(1/ρ)+17, each count is O(κ(1+log⁡(1/ρ))) with an absolute constant.

2.1F2F3step 1.1algebra∎

Each preparation call invokes the supplied preparation form once, and each inverse preparation invokes its actual inverse once by [F2]. Their circuit/query/gate costs therefore multiply the two counts separately and add by [F3]. No call to a controlled form, simulator, reflection, or verifier is included unless it appears in the declared circuit.

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

HHL cost under direct controlled-simulation access

Statement

Let L=log⁡2T, tj=2jt0/T, K=⌈4κ⌉, and R=⌈16ln⁡(1/ρ)⌉+16. The capped HHL circuit uses at most RK calls to each of V and V†, at most RK calls to each supplied preparation form (the tagged BA in dilation mode) and its inverse, and one table construction GΨ(T,ϵΨ). Each V or V† contains two sine-table preparation/unpreparation circuits, one forward and one inverse QFT, the flag circuit, and 2L controlled simulation calls at signed times ±tj; its absolute evolution times sum to less than 2t0. Therefore the total absolute simulation time is less than 4RKt0=O(κ2ϵ−1(1+log⁡(1/ρ))). More precisely, the simulation charge is the actual sum over all V,V† calls of ∑j<L(Csim(tj,ηj)+Csim(−tj,ηj)). The remaining charge is GΨ(T,ϵΨ)+nVCB+nV†CB†+2(nV+nV†)CΨ(T,ϵΨ)+(nV+nV†)(CQFT+(T)+CQFT−(T)+Cflag(κ,ηR)+Carith(T,κ,ϵ))+NrefCref+NverCver, where nV,nV†≤RK and Nref,Nver are the actual reflection and verification counts. The table itself has O(Tlog⁡(T/ϵΨ)) data bits and T−1 controlled rotations; no polylogarithmic table-generation or finite-rotation synthesis bound is asserted.

Facts & Assumptions

Given: The finite OP5 circuit and its declared simulator resource function.

[F1]

HHL finite sine-window phase-estimation algorithm: the attempt uses the signed times tj=2jt0/T, reverses each phase and prepares/unprepares the sine table.

[F2]

Finite capped amplification succeeds with a supplied lower bound: at most RK calls are made in each direction.

[F3]

Hamiltonian simulation error and resources, Circuit-family and computation cost model, and HHL state-preparation and simulation access model: simulator, the actual supplied preparation form (including BA in dilation mode), QFT, table, reflection, verifier, and gate resources are separate additive cost coordinates.

Proof

1.1F1F2algebra

The geometric sum of forward times is ∑j=0L−12jt0/T=(T−1)t0/T<t0. The reverse list has the same absolute times, so one V or V† call uses less than 2t0. By [F2], there are at most RK calls in each direction, giving total absolute time below 4RKt0. Since K≤5κ, R≤16ln⁡(1/ρ)+17, and t0=2048κ/ϵ, the stated order follows.

2.1F1F3step 1.1algebra∎

Each V or V† circuit contains one forward and one inverse QFT, two sine-table circuits, one flag circuit, and one forward/reverse simulation list by [F1]. Multiplying their actual counts by the separate cost functions in [F3] gives the displayed additive charge; the fixed table GΨ is generated once, and every B, inverse B, reflection, and verifier use is counted in its own coordinate.

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

Normalization is stable under a small flagged-vector error

Statement

Let v be an ideal flagged vector with ∥v∥≥1/(2κ). If 0<ϵ≤1 and either ∥u−v∥≤ϵ/(8κ) or ∥u−v∥≤(9ϵ/100)∥v∥, then u≠0 and ∥u/∥u∥−v/∥v∥∥≤ϵ.

Facts & Assumptions

Given: The two vectors and the stated lower and error bounds.

[F1]

Ideal inverse amplitude and HHL postselection probability: the ideal well vector has norm at least 1/(2κ).

[F2]

The inner-product norm is definite, homogeneous, and satisfies the triangle inequality: ∥x+y∥≤∥x∥+∥y∥; applying it to u=(u−v)+v and v=(v−u)+u gives ∣∥u∥−∥v∥∣≤∥u−v∥.

Proof

1.1givenF1F2algebra

Under the absolute-error alternative, the reverse triangle inequality from [F2] gives ∥u∥≥∥v∥−∥u−v∥≥(1/2−1/8)/κ=3/(8κ)>0. Under the relative alternative, ∥u∥≥(1−9ϵ/100)∥v∥>0 because 9ϵ/100<1. Thus both normalizations exist.

2.1givenF1F2step 1.1algebra∎

Add and subtract u/∥v∥ and use [F2]: ∥u∥u∥−v∥v∥∥≤∣∥v∥−∥u∥∣∥v∥+∥u−v∥∥v∥≤2∥u−v∥∥v∥. The absolute alternative makes this at most 2(ϵ/(8κ))/(1/(2κ))=ϵ/2. The relative alternative makes it at most 18ϵ/100<ϵ.

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

OP5 HHL returns the QLSP state within the requested error

Statement

Under the promises and precision allocations in HHL finite sine-window phase-estimation algorithm, let u=ΠgoodV∣0⟩ be the actual joint success vector for one prepared attempt, where rectangular-mode success includes the domain-tag projection. Write vsys=(2κ)−1H+∣b⟩ and v=vsys⊗∣gB⟩⊗∣0alg⟩⊗∣well⟩ for the ideal joint vector, including the unchanged preparation work and clean algorithmic registers. For 0<ϵ≤1 and 0<ρ<1, the conditional returned joint pure-state ray (including unchanged preparation work) has a unit representative within vector norm ϵ of the normalized QLSP target tensored with the preparation work, clean algorithmic registers and well flag, and the capped amplification returns FAIL with probability at most ρ. The same assertion holds for the Hermitian dilation, with the output in its tagged domain summand.

Facts & Assumptions

Given: The OP5 algorithm, a normalized input supported on 1/κ≤∣λ∣≤1, and the stated ideal simulator and circuit-error contracts.

[F1]

Ideal inverse amplitude and HHL postselection probability: vsys=(2κ)−1H+∣b⟩ and ∥vsys∥≥1/(2κ); tensoring the unit work, clean-register and well-flag factors gives ∥v∥=∥vsys∥.

[F2]

Second moment of the signed sine-window phase kernel: conditional on each eigenvalue, the signed kernel obeys Eδ2<300.

[F3]

Relative stability of the HHL filter on supported eigenvalues: the well/ill flag-amplitude perturbation is at most 10κ∣δ∣/t0 times the ideal well amplitude.

[F4]

Finite capped amplification succeeds with a supplied lower bound: probability at least 1−ρ of a verified well outcome, and its normalized good component is preserved.

[L1]

Normalization is stable under a small flagged-vector error: relative flagged-vector error at most 9ϵ/100 gives normalized-vector error at most ϵ.

[F5]

HHL finite sine-window phase-estimation algorithm: the forward and actual inverse simulation calls have total full-space operator error, or total clean-input isometry error in the alternative mode, at most ϵ/(4096κ) and the flag rotation has operator error at most this amount.

[F6]

Operator error for the finite sine-prefix rotation table: the sine preparation and its inverse each have operator error at most ϵΨ=ϵ/(4096κ).

[F7]

Unitary hybrids on a preserved clean-work subspace accumulates local clean-input errors along the ideal all-clean workspace trajectory, including actual adjoints, controls and reference systems.

[F8]

Hermitian dilation for a rectangular linear system: HA+(b,0)=(0,A+b). For H=HA/Λ, Λ>0, the diagonal Penrose construction gives H+(b,0)=Λ(0,A+b). Thus the ideal well vector is fixed by the domain-tag projection.

Proof

1.1F1F2F3algebra

First take the exact sine preparation, exact simulations and exact flag rotation. Before reversing phase estimation, different decoded labels are orthogonal. For a fixed eigenvalue λ, the well-flag projection keeps only the fκ coordinate, so the squared error is ∑ypy(λ) ∣fκ(λ~y)−fκ(λ)∣2≤∑ypy(λ) ∥m(λ~y)−m(λ)∥22. By [F2] and [F3], this is at most (10κ/t0)2 300 ∣fκ(λ)∣2. Summing with the eigenbasis weights shows that the exact-kernel well vector differs from v by at most (10300κ/t0)∥v∥. Reversing the phase transform is unitary and preserves this norm bound.

2.1F1F5F6F7F8step 1.1algebra

Replacing the exact preparation, simulations and flag map by their implementations changes the attempt on its clean initial input by at most the sum of their norm errors. In the full-space mode this is ordinary unitary telescoping; in the clean-workspace mode [F7] applies because all ideal other gates leave simulator work untouched and ideal simulations return it to zero. The actual intermediate work need not be clean. In either mode the sum consists of two sine-table preparation uses, the total forward/reverse simulation budget, and one flag map, at most 4ϵ/(4096κ). The success projection is contractive and fixes v: in rectangular mode this follows from [F8], and otherwise it is just the well flag. Applying it to both the exact-kernel comparison and the implementation error therefore gives ∥u−v∥∥v∥≤10300κt0+4ϵ/(4096κ)1/(2κ)<(1802048+1512)ϵ<0.09ϵ=:q, using t0=2048κ/ϵ and 300<18. Hence ∥u∥≥(1−q)∥v∥>1/(4κ) and the implemented well probability exceeds 1/(16κ2).

3.1F1F4F8L1step 2.1algebra∎

The exact filter on supported eigenvalues is v=(2κ)−1H+∣b⟩, so v/∥v∥ is the target. The normalization inequality in [L1] applies because step 2.1 gives relative error below 0.09ϵ: directly, ∥u/∥u∥−v/∥v∥∥≤2q/(1−q)<ϵ. By [F4], every successful amplified branch is the same ray as u/∥u∥; choose the representative u/∥u∥ to obtain the stated distance. The preparation work factors as ∣gB⟩ and is untouched by the HHL circuit; the ideal uncomputation leaves the other algorithmic registers zero and the measured flag in ∣well⟩. Tensoring these unit vectors does not change any norm above. For a rectangular map with H=HA/Λ and Λ>0, Hermitian dilation for a rectangular linear system gives HA+(b,0)=(0,A+b); the singular values of the scaled dilation are σj/Λ, so H+(b,0)=Λ(0,A+b). This positive scalar cancels on normalization, leaving the ideal QLSP ray in the tagged domain summand. The actual successful vector u also lies in that summand because Πgood includes its domain projection. Tracing out work gives the corresponding output density state.

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

HHL sparse-query and state-preparation cost

Statement

With the exact sorted QA20 XOR location/value interface and separately supplied uniform preparation, value-decoding, flag arithmetic and the certified QA25 phase-generation mode, the sparse-oracle specialization is: for a d-sparse Hermitian instance with ∥H∥≤1, supported gap 1/κ, and target state error ϵ, the phase-estimation HHL method uses O(dκ2ϵ−1polylog⁡(2+dκ/ϵ)) sparse-row/value queries and O(κ(1+log⁡(1/ρ))) calls to B and separately to B†, multiplied by their supplied costs. For fixed constant ρ, this specializes to the displayed query order without an additional failure logarithm; for variable ρ, include the factor 1+log⁡(1/ρ). Arithmetic, gate/bit time, phase generation, uniform preparation, reflections and the OP5 sine table remain separately charged; the displayed asymptotic concerns sparse-oracle calls. Padding to the register of the sorted-access construction extends H by zero, and the supplied input preparation remains supported on the original labels. Under direct simulation access, the simulator contribution is instead the explicit sum in HHL cost under direct controlled-simulation access.

Facts & Assumptions

Given: The finite OP5 parameters, exact sorted sparse access, norm/gap promise, and separately charged operations in the Statement.

[F1]

Clean sparse-state preparation from sorted XOR locations constructs an exact block encoding of H⊕0 with normalization d by taking entry bound h=1, using O(log⁡(d+1)) location calls and O(1) value calls per encoding, adjoint or coherent control.

[F2]

Qubitization query and gate resources and Correctness of the small-time-aware simulator give clean-input simulation error at most η and O(d∣t∣+log⁡(1/η)) signal calls for each nontrivial signed time, with exact identity on the stated small-time branch. Classical phase generation and other gate costs are separate.

[F3]

Unitary hybrids on a preserved clean-work subspace supplies coherent-control, reference and actual-adjoint bounds and a hybrid along the ideal clean-work trajectory.

[F4]

HHL finite sine-window phase-estimation algorithm and HHL cost under direct controlled-simulation access give t0=2048κ/ϵ, T the least power of two at least 8(t0+1), L=log⁡2T, K=⌈4κ⌉, R=⌈16ln⁡(1/ρ)⌉+16, fewer than 2t0 absolute simulation time per V or V†, and at most RK calls in each direction.

[F5]

OP5 HHL returns the QLSP state within the requested error gives the requested state and amplification success guarantee with the declared OP5 precision budgets, including clean-workspace simulation.

[F6]

Unitary and differential identities for finite matrix dynamics: e+iHt=UH(−t) is unitary and differentiable with derivative iHe+iHt. With ∥H∥≤1, the inner-product norm triangle inequality (The inner-product norm is definite, homogeneous, and satisfies the triangle inequality) gives ∥e+iHt−e+iHq∥op≤∣t−q∣ by integrating the derivative on each unit vector and taking the operator-norm supremum.

[F7]

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

Proof

1.1givenF1algebra

Apply [F1] with h=1, valid because ∣Hij∣≤∥H∥≤1. The extra padded system labels carry zero eigenvalues; the input remains in the original supported subspace, so its nonzero gap and inverse-state target do not change. The full unitary oracle circuits, controls and reversals act on all physical labels, including invalid labels, as constructed in [F1]; no padded-branch overlap contributes a matrix value.

2.1F2F3F4F5F6F7step 1.1algebra

Put η=ϵ/(8192κL). For each phase time tj, certified arithmetic selects a rational qj∈[0,tj] with tj−qj≤η/2 and a rational simulator tolerance ζj with η/4≤ζj≤η/2; their construction cost remains in the separately charged arithmetic/phase-generation coordinates. Invoke QA25 at rational signed time −qj and tolerance ζj. By [F2], its clean-input error from e+iHqj is at most ζj, and by [F6]–[F7] the time-rounding error from e+iHtj is at most tj−qj. Thus each effective forward call has clean-input error at most η. Use its actual adjoint for the reverse call; [F3] gives the same clean-input error without assuming full-space accuracy on dirty inputs. The 2L effective errors sum to ϵ/(4096κ) as required in OP5, so [F5] applies with the stated state and failure guarantees.

3.1F1F2F3F4step 2.1algebra

In one V or V†, sum the loose signal-call bound in [F2] over all signed rational times ±qj. Since qj≤tj, their absolute values sum to less than 2t0 by [F4], so this uses O(dt0+Llog⁡(32768κL/ϵ)) signal calls; also ζj≥η/4 makes log⁡(1/ζj)=O(log⁡(1/η)). Multiplying by [F1]'s location/value conversion and then by the at most 2RK preparation/inverse-preparation calls gives O ⁣(Rκ[dt0+Llog⁡(32768κL/ϵ)]log⁡(d+1)) sparse-oracle calls, with a possibly smaller constant value-query count. Literal reversals and coherent controls change only constants already covered by [F1]–[F3].

4.1givenF1F4F5step 3.1algebra∎

Since T<16(t0+1), L=O(log⁡(2+κ/ϵ)). With d,κ≥1, 0<ϵ≤1, and t0=2048κ/ϵ, the expression in step 3.1 is O(dκ2ϵ−1(1+log⁡(1/ρ))polylog⁡(2+dκ/ϵ)). For fixed constant ρ this gives the displayed order. The separate B and B† counts are at most RK each by [F4]. Padding only appends clean high index bits to their input/output register convention; no extra sparse query is needed for this embedding. Their actual implementation and any controls used remain charged as supplied costs. All other direct-simulation resource coordinates stay in [F4]'s explicit sum, so no table, phase-generation, gate or bit-time claim is inferred from the sparse-query bound.

5 · Examples, counterexamples and false statements

None yet.

Sources