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.

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.

Depends on

Used by

Dependency tree · two levels

65 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