Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-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.

Finite CKS sparse QLSP with variable-time inverse estimation

Definition

Inputs. A finite Hermitian d-sparse A with ∥A∥op≤1, normalized ∣b⟩ supported on eigenvalues ∣λ∣≥1/κ, rational 0<e<1 and rational failure budget 0<ρ<1/3, the full reversible row/reverse-location and entry-value access of Childs–Kothari–Somma sparse QLSP oracle model, and supplied B,B† preparing ∣b⟩. The preparation contract is B(∣0⟩I∣0⟩WB)=∣b⟩I∣0⟩WB for a declared preparation-work register WB; stage lists act as identity on WB. Every controlled, inverse, state-preparation, simulation, reflection, arithmetic, classical table, precision, and compilation cost is an input coordinate.

Modes. The input selects efficient-qsvt or the original fourier-table inverse constructor, and retains its declared capped or uncapped construction policy. The Fourier table, coefficient-generation and common-normalization instructions below are the complete original alternate mode. Their generic table/preparation costs remain charged. The complexity guarantee uses efficient-qsvt; no such guarantee is inferred for an arbitrary supplied Fourier SELECT circuit or generic coefficient table.

Finite-precision matrix and simulation budget (both modes). Let A~ be the Hermitian sparse matrix decoded from the finite-precision value oracle, and require a certified induced error ∥A−A~∥op≤ϵval; exact value access is the case ϵval=0. Require A~ij=0 whenever (i,j) is absent from the supplied location lists; the lists must cover every nonzero decoded entry. A decoded entry outside those lists, a non-Hermitian decoded table, an entry with ∣A~ij∣>1, or a missing error certificate returns INVALID_ACCESS. Construct the exact sparse block encoding with compression A~/d and normalization d by the QA25 supplied-permutation UL†UR circuit using the known entry bound h=1 (not the unknown maximum entry). Use the Hermitian row-location and reverse-location permutations on swapped system registers to supply the column enumerations; charge the swaps and every inverse/control form. The value flag circuit is: On a valid value slot use the flag rotation (A~ij−1−∣A~ij∣21−∣A~ij∣2A~ij‾), with value query/unquery as in that circuit. This changes only the value amplitude in the QA25 supplied-permutation circuit, so its row/reverse-location, value-query, uniform-state-preparation, inverse, and controlled-call counts are unchanged and separately charged. The location maps enumerate the support of A and may therefore list additional zero-valued entries of A~; their flag-zero contribution is zero. In efficient-qsvt mode, for each QSVT stage, ϵBE,j is a certified bound on its actual PUE compression error relative to A/d, including at least ϵval/d and any block-circuit error; the stage is admissible only if 4DjϵBE,j≤ηI/8.

Let Q be the finite multiset of simulator-call sites in one complete A list and one complete A′ list, including every dyadic QPE power and coherent repetition. At call site q, the QA25 circuit uses the exact encoding of A~/d to simulate e±iA~tq, and has a certified clean-input isometry error ξq relative to that unitary; the actual controlled or inverse form has the same bound and is separately charged. Choose the value precision and simulator precisions so that ∑q∈Qξq+ϵval∑q∈Q∣tq∣≤ηS. Here ηS is the total clean-subspace error for the two base lists, not an error claim on arbitrary dirty work inputs. The matrix term follows from the finite-dimensional Duhamel bound ∥e±iAt−e±iA~t∥op≤∣t∣ϵval; the clean-subspace unitary hybrid then sums all call-site errors. If these value, block, or simulation budgets cannot be certified, return INVALID_ACCESS before production. Their bit precision and access costs remain explicit.

Efficient inverse mode. Put m=⌈log⁡2κ⌉+1 and e∗=min⁡(e,ρ) and use this strengthened accuracy in all efficient-mode budgets below. Set n=m+1, ϕj=2−j and αmax⁡=2/ϕm. Use the exact QA25 sparse block encoding of A~/d specified above, with every inverse/control form used and its precision/cost; its relative error to the ideal A/d is charged in ϵBE,j. For each stage generate the OP1A polynomial from QSVT regularized pseudoinverse transformation with gap δj=ϕj/d and error ej=min⁡(δj/2,ηI/8); this invokes its scalar generation instructions only, rather than assuming the stage input has a global gap ϕj. Execute the QA24 real odd QSVT circuit on the adjoint encoding, with its actual real-part-extraction control and zero-workspace success projector. Write pj for the generated OP1A polynomial. Before phase-synthesis shrink/round and implementation errors, the real odd QSVT compression on the ideal block A/d has eigenvalue multiplier sgn⁡(λ)pj(∣λ∣/d), which approximates ϕj/(2λ) within ej for ∣λ∣≥ϕj. The actual compression additionally incurs the certified QSVT input-block, phase-synthesis and implementation errors; off that supported subspace it is simply the declared bounded circuit. Compute a success flag for the whole zero-workspace projector, and dilute its successful component by a separately supplied/constructed flag rotation of amplitude ϕm/ϕj. The diluted target multiplier is 1/(αmax⁡λ) on ∣λ∣≥ϕj, with total compression error at most ηI under the combined budget below; it is an approximation even with exact block access. No unspecified PREPARE or SELECT operation occurs in this mode.

In this mode choose the least admissible dyadic QPE scales and least admissible odd repetition counts, and construct the corresponding simulator circuits at their declared precision. Set ηI=e∗/(4096mαmax⁡). Choose ζ=ηS as the largest dyadic number no greater than min⁡(e∗/(4096mαmax⁡),1/(4096mκ2)), so each is greater than half that minimum. In the finite call-site multiset Q, let Q0=∣Q∣ and T0=∑q∣tq∣. Request the same simulator tolerance ξ=ηS/(2max⁡(1,Q0)) at every call site and require ϵvalT0≤ηS/2 as well as the stage block-error tests. Use the least admissible simulator degrees for these requested tolerances. Smaller actual certified errors are allowed, but do not cause a smaller tolerance to be requested or additional simulator repetitions. For each stage j, pass phase-synthesis tolerance ej/100 to its QSP call and allocate the scalar approximation error ej, QSVT input-block error, polynomial shrink, angle, compiler and circuit errors jointly so the actual diluted inverse compression error relative to the target multiplier is at most ηI. The ϵBE,j constraint above includes the actual generated degree Dj and the finite-value/block error of A~/d relative to A/d. For a stage with Nj≥1 implemented phase/flag/projector slots, request tolerance ηI/(8Nj) at each such slot (including errors from phase descriptors, angles and compilation in this allocation). Sum their actual errors within this budget. These concrete tolerance choices are part of the efficient constructor; higher implementation costs supplied by the access model remain separately charged. If an OP1A polynomial/phase constructor returns a declared non-success status, propagate it before any QSVT call or success flag; the theorem's success guarantee applies when uncapped construction completes. The QA25 small-time-aware simulator is invoked only through its clean-input isometry contract, with an initially clean embedding and the controlled/inverse clean-subspace hybrid of Unitary hybrids on a preserved clean-work subspace. Within repeated calls and reversal, retain the actual work coherently; only the ideal comparison trajectory has clean work, and actual approximate work is not reset or discarded. Numerical accuracy, all signal/query/gate counts, coefficient/phase generation and arithmetic bit implementation are separate input cost coordinates. The QA23 efficient numerical arithmetic mode grants its stated ideal exact-algebraic operation count only.

Registers and stopping semantics. Put m=⌈log⁡2κ⌉+1. Use clock bits C1,…,Cm, success bit F, system register I, separate phase workspaces Pj, and coefficient workspace Q. Once a clock bit first records a stopped branch, every later stage is controlled on all earlier clock bits being zero. All clock, outcome, and step branches are orthogonal; there are no intermediate measurements in a branch later inverted.

Finite Fourier inverse (fourier-table mode). For each requested ϕ∈(0,1] and error e0>0, GenerateInverse(φ,e₀) chooses rational Y,Z>0 by increasing integer squares until e−ϕ2Y2/2/ϕ≤e0/8,2Ye−Z2/2/2π≤e0/8. Set Ly=Z2, Lz=1+Z2+YZ, and choose positive dyadic Δy,Δz with 2YZ(LyΔy+LzΔz)/2π≤e0/8. Increase Y,Z to multiples of those steps and recheck. For j=0,…,J−1, J=Y/Δy, and k=−K,…,K−1, K=Z/Δz, use yj=jΔy, zk=kΔz, and cjk=iΔyΔzzke−zk2/2/2π for the controlled simulator e−iAyjzk. Round the coefficients to exact rational complex values c~jk with total absolute error at most e0/8. In lexicographic (j,k) order, omit zero rounded coefficients and call the remaining list βℓ, retaining each associated simulation time. Put λϕ=∑ℓ∣βℓ∣ and choose a certified rational upper bound αϕ≥max⁡(1,λϕ) for this rounded list. Execute the normalized coefficient construction below with normalization a=αϕ; the coefficient phases belong to SELECT, not PREPARE. If c~jk are the used rounded coefficients and ξjk bounds the clean-input simulation error relative to e−iA~yjzk, require 1αϕ∑j,k∣c~jk∣(ξjk+∣yjzk∣ϵval)≤e0/16. This includes both the simulator's own precision error and the value-table error by the Duhamel bound. Allocate all other PREPARE/SELECT and controlled/inverse implementation errors jointly to at most e0/16, so their total normalized LCU-block error is at most e0/8. If these finite budgets cannot be certified, return INVALID_ACCESS (or the declared construction timeout when its cap is reached). The analytic identity being discretized is 1x=i2π∫0∞ ⁣dy∫Rze−z2/2e−ixyz dz(∣x∣≥ϕ). The coefficient PREPARE/SELECT block is the conditional identity proved in Projected block identity for a supplied LCU circuit. The chosen cutoffs and finite coefficients do not by themselves certify the approximation or its gate/bit cost.

Normalized coefficient construction (fourier-table mode). Given the retained rounded list and a normalization a≥λϕ, a>0, append two distinct identity-term labels with coefficients +(a−λϕ)/2 and −(a−λϕ)/2 if a>λϕ; append neither if equality holds. Keep the original ordered labels followed by the positive and negative padding labels, without merging their cancelling terms. Denote this nonzero coefficient list by (γℓ,Vℓ)ℓ<M, where an original Vℓ is its indicated simulation and a padding Vℓ is the identity. Even when the rounded list is empty, the two padding terms give M≥1 and total absolute coefficient sum a. Choose q=⌈log⁡2M⌉, or a larger declared common index width, and D=2q. Form the exact positive normalized table aℓ={∣γℓ∣/a,0≤ℓ<M,0,M≤ℓ<D. Use this table, whose squared amplitudes sum to one, in QC24 State Preparation, following the unit-component-scale LCU interface of LCU block-encoding construction. Its first nonzero amplitude is positive real, so its omitted reference phase is zero. Supply exact arithmetic descriptors for the amplitudes and angles in that supplier's ideal continuous-gate model; square roots need not have exact finite rational coordinate encodings. Include the actual PREPARE work in a declared clean register WP within Q, so P∣0q,0WP⟩=∑ℓ<Maℓ∣ℓ,0WP⟩. Retain the complete unitary circuit, not only its zero-input state, and use its literal reversed adjoint circuit for P†.

Supply the full SELECT unitary on all physical index labels: for ℓ<M it applies (γℓ/∣γℓ∣)Vℓ to the system and its declared simulation work, and for M≤ℓ<D it applies identity. It acts as identity on WP; all component work spaces are embedded in a common register with unused wires idle. In particular the two slack labels apply +I and −I, respectively. Coefficient phases are not loaded into PREPARE or unprepare, where they would cancel. The returned LCU circuit is P†SELECTP, with its success projector testing the coefficient index, WP and component work all zero. After this block, coherently XOR that all-zero predicate into the initially zero success bit F, using a supplied or explicit reversible predicate circuit and its charged control/work costs; this flagged circuit is the Fourier inverse call used by the stage list. Apply the conditional LCU identity to the actual component compressions with scale one; their deviations from the ideal evolutions are charged by the weighted simulation budget above, without assuming full-space simulation accuracy on dirty work. Retain all work coherently, and supply every controlled or adjoint form actually used, including the coefficient phases under an outer control; reverse the complete circuits for adjoints rather than an ideal postselected state.

Charge the complete explicit table's generation, exact descriptors, reading, storage and angle arithmetic, each PREPARE/SELECT/adjoint/control call, register and clean-work width, and precision and compilation separately. The QC24 expanded circuit uses O((q+1)D) ideal bounded-arity occurrences and serial depth per generic PREPARE, with at most max⁡(q−1,0) reusable clean work bits; it grants no finite-alphabet exactness or bit-time bound. A finite implementation instead supplies certified table/angle/whole-circuit errors, including controlled and adjoint forms, within the already allocated e0/16 nonsimulation LCU error budget. For example, whole-unitary PREPARE error δP and additional SELECT error δsel must include 2δP+δsel in that budget; compile complete controlled blocks so no discarded scalar becomes a relative phase. A raw rounded table without these certificates is not an implementation. This construction adds no efficient coefficient-generation, Fourier-approximation or uncapped-termination guarantee.

Common normalization (fourier-table mode). Set L=⌈log⁡2(1024mκ/e)⌉ and ζ=e/2L. Generate at every ϕj=2−j with error mζ and set αmax⁡=max⁡jαϕj. Rebuild each stage from its original rounded coefficient list (discarding its earlier slack labels) by the normalized coefficient construction with a=αmax⁡: append the explicit pair ±(αmax⁡−λϕj)I/2 when its slack is positive. Use the maximum of the resulting index widths as a common q and zero-pad every amplitude table to D=2q; embed all stage work in the common Q. Rebuild PREPARE, SELECT and their required adjoint/control circuits at these sizes and recheck their actual error and cost certificates. The weighted simulation error uses denominator αmax⁡ for these rebuilt blocks; the added identity terms have no simulation error. If mαmax⁡ζ>e/256, increment L and regenerate. Also require ηS≤min⁡(e/(4096mαmax⁡),1/(4096mκ2)) in the finite-precision simulator budget above. A declared finite cap returns CONSTRUCTION_TIMEOUT; an uncapped run relies on the separate termination and growth proof.

Gapped phase estimation and stages. Use QPE on controlled eiA~ with its dyadic powers constructed through the actual QA25 clean-work simulator. For each ϕj, GPE(φ_j,ζ) uses a dyadic phase scale at least 64π/ϕj, an odd number r≥8ln⁡(1/ζ2)+8 of coherent QPE repetitions on the same eigencomponent, and reversible majority comparison of the unwrapped phase magnitude with 3ϕj/2. Threshold equality selects the large branch. The ideal comparison is QPE for A with promise cases ∣λ∣≤ϕj and ∣λ∣≥2ϕj; the transition band is unconstrained. The finite-precision implementation uses A~, and its entire call-site error relative to that ideal QPE is bounded by the ηS allocation above. Retain all phase work in Pj and make no intermediate measurement.

At stage j, conditional on the active prefix C1=⋯=Cj−1=0, run GPE into Cj,Pj. On the same prefix and Cj=1, execute the common-normalized inverse circuit of the selected mode on F,Q,I; otherwise leave the branch unchanged. Let Aj be this stage list, A=Am⋯A1, and let Aj′ replace its inverse call by a flip of F, with A′=Am′⋯A1′. The inverse lists are literal reversal with the corresponding inverse calls. The Q-budget in the finite-precision contract includes the simulator call sites of both complete lists.

Terminal bad branch (both modes). Add a clean terminal bit T. After the last GPE/inverse stage, coherently set T=1 on the branch with all clock bits zero and leave its success flag zero. This branch is stopped and bad at the final stopping time; it is no longer unfinished. Append the same terminal-bit computation to A′ and reverse it inside (A′)†. Thus all branches stop by tm, including phase-test failures; the last stopping subspace is the orthogonal union of the ordinary last-stage stop and this terminal-bad branch. For 1≤i≤m, define the good-or-unfinished projector as the orthogonal sum of (a) branches with F=1, T=0, and first-stop clock word C1=⋯=Cj−1=0,Cj=1 for some j≤i (later clock bits remain zero), and (b) branches with F=0, T=0, and C1=⋯=Ci=0. Previously stopped bad branches and the terminal branch T=1,F=0 are excluded. Since T is set after stage m, the unfinished term is empty at i=m. The final target is only F=1. These projectors act as identity on the clean WB factor.

Finite variable-time amplification wrapper (both modes). Pad cumulative stage counts to increasing dyadic stopping times, preserving stopped branches. Each interval budget includes the supplied input/selected reflections, controlled/inverse list implementations and reversible clock predicates; their costs remain explicit. Form the first sampler by preparing B∣0⟩ and running the first interval. Later Bi runs the prior amplified list and the original continuation on unfinished branches only. The initial reflection is about the all-zero state before B; A′ contains the eigenvalue stages and does not undo B. The preparation-work factor WB stays zero throughout.

Let n=m+1, c=1/100 and pmin⁡=1/(256nαmax⁡2). Use Relative estimation of a promised coherent success probability with Bi, the good-or-unfinished projector (the final target is F=1), relative error c, failure ρ/(16n) and floor pmin⁡. The efficient-QSVT mode selects its efficient-grid rounding branch; the Fourier-table mode retains its declared rounding branch. This is an arbitrary-sampler estimate, not a Boolean marked-count estimate. Every controlled sampler/inverse and reflection is supplied or built gatewise from an explicit circuit and charged; missing access returns INVALID_ACCESS. All estimator registers are fresh construction data, discarded before fresh production execution. A returned estimate q^i=0 gives ESTIMATION_FAIL. If q^i>1/(9n), use Vi=Bi. Otherwise choose the least nonnegative integer k with (2k+1)2q^i≥1/(9n), within k≤⌈1/pmin⁡⌉; exact rational comparisons or integer binary search implement this selection. A missing crossing gives ESTIMATION_FAIL. Execute exactly k ordinary iterates with this sampler and projector. The inequality (2k+1)2q^i≤1/n concerns the estimate; no identical actual-success upper bound is assumed.

At the final interval apply Finite amplification from a supplied success lower bound to the selected sampler with lower bound 1/(18n) and failure ρ/4. Copy/measure a separate success record before applying (A′)† to erase internal phase/clock/flag work on the successful branch. In efficient-qsvt mode also apply the supplied/constructed projective instrument onto zero for every work/clock/internal-flag register, including WB, after this uncompute; return the system only if every tested register is zero, and set the external herald to failure otherwise. This makes the conditional returned system state pure; its work-check error/failure is budgeted with e∗. The instrument and its controlled-zero reflection/cost are included in H. Return the system and external heralding record; a failed branch returns FAIL.

For each chosen quantum resource coordinate, construct an integer H≥1 from the actual original-stage, controlled/inverse, selected/input-reflection, dilution and predicate lists, so their interval cost is at most H2j−1; enlarge H to include all actually needed gatewise-control depths. For gate coordinates also include the uniform upper bound for the finite estimator's QFT, efficient-grid rounding, rational medians and loop/predicate overhead over every allowed scale through its declared cap; these scales are a finite explicit function of pmin⁡,c,ρ. Since each sampler-list cost is at least one, this common per-call polynomial-logarithmic factor absorbs that ordinary overhead without treating it as an oracle call. Pad cumulative original stage times to tj=H2j. Let r be the actual median repetition count of the shared estimator, using its floor and confidence. In efficient-qsvt mode impose the additional total primitive-cost cap K=⌈230(r/c)Hαmax⁡n4⌉. Count construction estimation, list invocations, production, inverse/control/reflection calls and final amplification against this cap and return RESOURCE_TIMEOUT before exceeding it. Each coordinate uses its actual H and corresponding cap. Classical coefficient/phase construction, exact algebraic comparisons, output rounding, compiler construction and arithmetic bit work keep their own charged coordinates. The original Fourier mode retains its original declared construction/estimation caps; its distinct table and SELECT costs are not hidden by the efficient-mode quantum cap.

Remarks

This is the binding OP6 constructor with its declared additional efficient inverse mode. It defines a finite capped procedure and a separate uncapped source mode; the source CKS theorem does not automatically prove the capped wrapper's failure probability, success amplitude, or resource bounds. Every sparse simulation must use the explicitly supplied reversible location permutations and the QA25 simulator access chain; QA20 XOR row/value access alone does not supply those permutations. The efficient-QSVT mode has its separate local common-scale, stopping, estimated-amplification and quantum-resource proofs. The retained Fourier-table mode keeps all of its coefficient-generation/table/SELECT costs. Both modes charge classical generation, comparison, compiler construction and arithmetic bit work separately; quantum gate efficiency does not imply a total bit-time bound.

Depends on

Used by

Dependency tree · two levels

153 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources