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.
Block-Encoding Linear Systems and Variable-Time Amplification
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Amplitude Amplification
- Amplitude Estimation and Counting
- Analyticity of Holomorphic Functions; Liouville and Morera
- Arc Length and Rectifiable Curves
- Binary Operations, Monoids, Groups and Subgroups
- Block Encodings
- Boolean Circuits and Nonuniform Complexity
- Bounded Linear Operators and Quotient Spaces
- Bounded Variation and the Riemann–Stieltjes Integral
- Channels, Kraus, Choi, and Stinespring Representations
- Circuit Syntax, Denotational Semantics, and Measurement
- Classical and Quantum Error-Correcting Codes
- Clifford+T Exact and Approximate Synthesis
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Coordinate and Path Transport
- Complex Differentiability and the Cauchy–Riemann Equations
- Complex Norms and Realification
- Complex Power Series and Analytic Functions
- Complexification, Realification and Real Structures
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Computational Problems, Promises, and Cost Models
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Connectedness
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Continuous-Gate Universality and Exact Synthesis
- Continuous-Time Quantum Walks
- Contour Integration
- Controlled Gates, Phase, and Entanglement
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Darboux, L'Hôpital, and Taylor's Theorem
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Effective Numberings, Reductions, Resources, and Randomness
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Equivalent Forms of Completeness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Dimensional Normed Spaces and Riesz Lemma
- Finite Fields and Cyclotomic Extensions
- Finite Fourier Analysis and the Fast Fourier Transform
- Finite Probability and the Probabilistic Method
- Finite Probability Spaces and Random Variables
- Finite-Dimensional Complex Inner-Product Spaces and Matrix Interfaces
- Formal Languages, Encodings, and Decision Problems
- Foundations of the Real Numbers for Analysis
- Free Modules, Exact Sequences, Projective and Injective Modules
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Further Trigonometric Identities and Inverse Functions
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Goursat's Theorem and Cauchy's Theorem in a Convex Domain
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hamiltonian Simulation and Product Formulas
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Isolated Singularities and Laurent Series
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Line Integrals and the Gradient Theorem
- Linear Combinations of Unitaries and Taylor Simulation
- Linear Independence, Bases and Dimension
- Linear Recurrences and Rational Generating Functions
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurements, POVMs, and Instruments
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Modules, Submodules, Quotient Modules and the Isomorphism Theorems
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Partitions of Unity and Paracompactness
- Phase-Estimation Linear-System Algorithms
- pi: the Equivalent Characterizations
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Properties of the Integral and the Working FTC
- Pure and Mixed States, Ensembles, and Schmidt Decomposition
- Quantum Fourier-Transform Circuits
- Quantum Phase Estimation
- Quantum Signal Processing
- Quantum Singular-Value Transformation
- Qubitization and Near-Optimal Hamiltonian Simulation
- Qubits, Bloch Sphere, Pauli Algebra, and One-Qubit Gates
- Registers, Tensor Products, and Partial Trace
- Relations, Functions, and Quotients
- Resource Bounds and Machine Invariance
- Reversible Arithmetic and Oracle Conversion
- Reversible Computation, Ancillas, and Coherent Oracles
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- State Preparation, Isometry Synthesis, and Limits
- Strongly Continuous Semigroups and Hille Yosida
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Symmetric Polynomials and the Fundamental Theorem of Symmetric Functions
- Tensor Products of Modules
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Fundamental Theorems of Calculus
- The Galois Correspondence
- The Identity Theorem, the Maximum Principle and the Open Mapping Theorem
- The Inverse and Implicit Function Theorems
- The Logarithm and General Powers
- The Moore--Penrose Pseudoinverse and Regularised Least Squares
- The Polynomial Hierarchy and Relativization
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The Winding Number and the Global Cauchy Theorem
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Trigonometric and Oscillatory Examples in One Variable
- Turing Machines, Configurations, and Computation
- Uniform Circuit Families, Promise Problems, and Complexity
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page fixes the block-encoded QLSP promise, its normalization , and the required state-preparation and controlled/inverse access. The supported pseudoinverse target is established in finite singular coordinates. The fixed-time QSVT route applies the odd transform to the adjoint projected-unitary encoding, preserving its domain and codomain. Its finite polynomial generator includes a binomial reciprocal approximation, an erf/Chebyshev sign approximation, a corrected even cutoff, and strict range and reciprocal certificates. Its success probability depends on the input state.
The variable-time route uses orthogonal stopped branches and their root-mean-square stopping time. Generic relative-probability estimation and finite lower-bound amplification retain explicit inverse/control/reflection access, confidence budgets and finite caps. The tight variable-time production expression uses supplied finite probability/schedule certificates and charges their construction, including any probability-acquisition oracle calls. A distinct finite uniform implementation states its positive probability floor, confidence, estimation overhead and resource cap. The explicit estimated CKS construction specifies the good-or-unfinished projector, requires clean state-preparation work, and budgets simulator and finite-value errors across every QPE call site before using its local low-target, probability-estimation and finite-cap suppliers.
The sparse CKS constructor retains its finite Fourier-table mode with explicit positive normalized PREPARE amplitudes, distinct cancelling identity terms at both local and common normalization, and coefficient phases in SELECT. Its table generation, clean work, actual adjoint/control circuits and implementation errors are separately charged; this construction alone does not certify Fourier approximation, efficient table generation or uncapped termination. It also provides an explicit efficient QSVT inverse mode. The latter uses actual sparse block encodings, gapped phase tests, common normalization, a terminal bad branch, reversible bucket erasure, and a final clean-work success test. Its local stopping, output-error and resource proofs give the nearly linear condition-number query bound; the gate bound is stated only with explicit uniform costs for preparation, sparse access, controlled/inverse circuits, reflections, simulation, and phase implementation. QSVT execution checks the exact returned phase product before use. All coefficient and phase generation, exact algebraic comparison, arithmetic bit implementation and compiler construction costs remain separate; no total bit-time bound follows from the quantum count. The conditional LCU identity does not construct an unspecified SELECT circuit.
3 · Logical flowchart
4 · Definitions, theorems and proofs
A bounded even window from an odd sign approximant
Statement
Let , , and satisfy . Let be an odd real polynomial such that for and whenever and . Define for . Then and are even polynomials, each has degree at most , and for all . On , and . On , and . Globally, The inner or outer interval may be empty, in which case its corresponding assertion is vacuous.
Facts & Assumptions
Given: satisfy the hypotheses in the Statement; for and for .
is odd and on .
For with , differs from by at most .
Proof
Replacing by interchanges the two summands in each definition, so and are even. Each summand is a translate of and has degree at most ; addition and scalar multiplication do not increase that bound.
Put and . Since and , each of is at most and at least ; also . If both , [A2] gives . Otherwise one of them, say , is less than , and then ; [A1]–[A2] give . In every case [A1] also gives . Thus , and substitution into the formula for yields , which implies .
If , both and are at least . Their sign approximations lie in by [A1]–[A2], so . Substituting gives , hence . Since , the interval gives .
If , then and . By [A1]–[A2], and , so . Evenness gives the same conclusion for . Substitution into gives . The identity for in step 2.1 then gives .
Step 1.2 gives . Using , its minimum over that interval is and its maximum is . This proves the global bound.
Remarks
With , the OP1A expression is the above after substituting for the lemma variable and for . The lemma domain uses , so , and gives ; its inner and outer thresholds are and . For OP1A, take with its parameter ; then the required approximation error is . Subject to the OP1A SignPoly certificate proving that error and the bound , all evaluations stay on , where OP1A states those properties. It does not prove the separate Chebyshev interpolation, inverse approximation, Bernstein-refinement termination, or bit-cost obligations of OP1A. The displayed formula in Gilyén et al. Lemma 29 is not invoked here.
Coherent variable-time algorithm model
Definition
A finite coherent variable-time algorithm has a finite family of stopping times , a designated output space, and a finite clock/step register. A run is unfinished at stage if it has not entered a stopping subspace by ; otherwise it is stopped. The stopping subspaces are pairwise orthogonal, and the output register labels each stopped branch as good or bad. Every later stage is controlled on the unfinished projector, so a stopped branch is not advanced. Admissibility requires the first-stop subspaces to exhaust the reachable state at for every allowed input; no branch remains unfinished after the final stage. The input specifies each stage unitary, its inverse and every controlled form used, and the gate/query cost for each.
For a normalized input state, let be the Born probability mass in the subspace that first stops at . These are nonnegative masses of orthogonal subspaces whose sum is the reachable state at the final time, so and . Define the root-mean-square stopping time Let be the total Born probability of the good-output subspace. When , the good output means the normalized conditional state of the declared good projector; it is defined only on that positive-probability branch. The mean stopping time is a different quantity and is not substituted for .
A measured adaptive procedure qualifies only if it has a finite coherent implementation with the same stopped/unfinished branch semantics and the required inverse/coherent access. Measurement records used to choose a circuit may be classical construction data; no intermediate measurement is inserted into a branch whose later inverse must erase that record. All stopping times, branch probabilities, reflections, inverses, controlled calls, and state preparation remain explicit resource inputs. Complexity statements use an actual normalized primitive-operation coordinate: positive counts are at least one, and the declared interval budgets include the preparation, controlled/inverse and input/selected-reflection operations used in the construction. Other weighted time coordinates may be recorded, but arbitrary uncharged subunit weights do not inherit logarithmic operation-count bounds.
A supplied-probability production regime must specify finite probability/schedule certificates rather than infer them from black-box unitary access. For dyadic intervals indexed , initialize and require . The original good-or-unfinished masses satisfy and , so is defined. Supply odd multipliers and certificates for the actual amplified selected masses satisfying and ; an unamplified interval has and . Supply also a rational with . These are the finite schedule inequalities for the supplied-data production regime. Data may use exact rational/algebraic representations, certified rational enclosures with the stated valid inequalities, or a separately declared exact-real representation/comparison resource. The finite construction and verification cost includes every oracle call used to acquire or certify probability information, as well as classical arithmetic, list generation and output costs. No zero-query method obtaining these data is assumed. A uniform regime without those certificates must instead state its supplied probability floor, confidence and complete estimation/production costs. Branch probabilities defined above remain valid analysis quantities even when they are unknown to the implementation.
Block-encoded QLSP input and singular-gap promise
Definition
Let with , , and . The input is an exact or approximate block encoding of under the access contract of Block-encoding oracle and implementation cost model, together with the QLSP state-output data of Quantum linear-systems state-output task. The latter means a supplied unitary prepares a normalized from a designated zero input, , the target is on the domain register, and every singular vector with nonzero coefficient in has singular value at least .
Put and . The support-gap promise then says every nonzero supported singular value of is at least ; it makes no promise about singular values in outside the support of . In the QSVT branch below we use and as additional algorithm inputs. The block-encoding approximation and all phase, inverse, controlled, reflection, and state-preparation access costs are separate input data. A finite polynomial or a matrix alone is not an oracle.
The QSVT target map is . It has the same normalized output on as because . The scale conversion and nonzero normalization of this target are established by Normalization and nonzero success weight of the supported pseudoinverse target ↗.
Projected block identity for a supplied LCU circuit
Statement
Let have exact block encodings , let , and put . Set and extend each component to the common ordered ancilla/system register by , with unused ancillas preceding its original ancillas. Let be a supplied unitary with , and let the separately supplied unitary SELECT act as with phase on index . With , the all-zero coefficient and component-ancilla block of is This is a conditional matrix identity. It does not construct SELECT from an XOR-valued function oracle or assign a cost to any supplied operation.
Facts & Assumptions
Given: Finite square matrices , their exact block encodings, nonzero coefficients , and the supplied unitaries and SELECT.
, SELECT applies on index , and .
Finite block encoding: for an exact block encoding, the all-zero ancilla compression of is .
Block-encoding oracle and implementation cost model: access to SELECT and its component circuits is separately supplied and costed.
Dirac Notation Conversion: the ket denotes vector , and the bra denotes the functional .
Proof
Put and . The weights are nonnegative and sum to one by the definition of . By [A1], the initial coefficient register is , and SELECT applies in the orthogonal index- subspace, so on the component and data registers. This is an identity on already supplied operations; [F2] keeps SELECT construction and component costs separate.
Project the common -ancilla register onto its all-zero input and output. The identity extension contributes one on the unused zero ancillas, so by [F1] each extended component still compresses to . Hence the resulting data block is . The coefficient and component registers were both projected onto their specified zero states, so this is exactly the claimed all-zero block.
Normalization and nonzero success weight of the supported pseudoinverse target
Statement
In the block-encoded QLSP model, let be the normalized codomain input, let , and suppose is supported on positive singular values . Then In particular the ideal inverse-branch success probability is positive and has the stated crude lower bound.
Facts & Assumptions
Given: The finite-dimensional map and singular-gap promise of Block-encoded QLSP input and singular-gap promise, with .
Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition: there are orthonormal singular vectors and positive singular values with on the supported singular subspace.
Quantum linear-systems state-output task: the normalized input has , , and every nonzero supported singular coefficient has .
The Moore--Penrose pseudoinverse as the solution of the four Penrose equations: exactly when , , and are self-adjoint.
Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse: the matrix satisfying the four Penrose equations exists and is unique.
The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||: on a nonzero finite-dimensional domain, is the maximum of over unit vectors .
Proof
By [F1], in ordered orthonormal singular bases write with positive diagonal entries . Define by replacing each positive with and leaving zeros zero. Direct multiplication gives , , and , both self-adjoint. Thus [F3] makes a Moore–Penrose inverse, and [F4] gives .
Since is normalized and its coefficients in the orthonormal singular vectors are , . Each is a unit vector and , so [F1] and [F5] give . Step 1.1 therefore yields . Thus its normalized state is defined.
The singular values of are with the same left and right vectors. Repeating the construction in step 1.1 gives because . Hence , and multiplication by the positive scalar preserves the normalized vector.
By [F2], coefficients outside the supported positive singular subspace vanish. By [F1] and [F5], each unit right singular vector satisfies . Since , step 2.2 gives . This is the ideal QSVT flag weight; any implementation error requires a separate error budget.
QSVT regularized pseudoinverse transformation
Definition
Input. An exact or approximate projected-unitary encoding of , its supplied inverse and every controlled form used, left/right singular-space projectors, a unitary preparing normalized in the promised left singular space, rational , and explicit block, phase, reflection, state-preparation, arithmetic, and gate costs. The algorithm returns a success flag and the conditional right-space state, or the declared failure result.
Bare-gap generation branch (binding OP1A). Run the finite InversePoly($\delta,e$) construction in the binding OP1A section of research/quantum-algorithms-planning/operational-contracts.md: set , , , and using certified upper endpoints. Generate the finite binomial sums and by the Chebyshev recurrence. Retain as the declared coarse bound.
Run SignPoly(g,v) from OP1A with , , , and . The routine evaluates the declared erf Chebyshev interpolant with its finite node, tail, coefficient-rounding, and division steps and returns its rational odd polynomial and ellipse/tail certificate. Form
Generate every product coefficient with the stated total rounding budget. Check exact odd parity and degree. Run the OP1 exact critical-point check for on . Construct the reciprocal certificate on by the specified dyadic rational partitions and nonnegative Bernstein coefficients for both . Refine precision when intervals are undecided; on an actually failed certificate halve and regenerate. Any declared cap returns CONSTRUCTION_TIMEOUT; any failed exact certificate returns its stated non-success branch.
On a successful polynomial certificate, set the rational phase-synthesis tolerance to and call Real bounded-polynomial QSP phase synthesis in efficient-numerical mode with the checked real odd polynomial , its degree, and that tolerance. Retain the exact pre-angle target produced by its deterministic shrink/round rule, complementary pair , exact phase-scalar descriptors, and numerical phase certificates. Charge its target shrink/round error and numerical-angle/compiler errors to the separate phase term in the supplied error budget. Before any QSVT call, form the ordered matrix product from the returned exact phase-scalar descriptors, using the recurrence in QSP signal matrix and ordered phase sequence and coefficient arithmetic in the basis . Compare its four entries coefficientwise with
This finite exact check validates the phase list actually returned by the peeling routine, rather than relying on existence of some phase list. Charge its arithmetic and certificate output with phase generation. If any comparison fails, return PHASE_PRODUCT_ERROR with the generated polynomial record and mismatch witness, and do not execute QSVT. Only after the check passes may the execution use the returned phase list. The subsequent rational-angle and optional compiler errors remain separately bounded by the returned phase certificates and the supplied error budget; the exact product check does not replace those bounds. No exact phase rotation or finite-basis compiler is free.
Execution. Execute the QA24 odd QSVT sequence on the adjoint projected-unitary encoding of , with left and right projectors swapped, using the generated phase list and the separately supplied controlled/inverse access. The ideal supported singular-value multiplier is ; the intended target is . Apply the declared success projector and return its conditional state only on a positive-probability success branch. The scalar polynomial, block-encoding, phase-synthesis, and circuit-implementation errors are separate terms in the supplied error budget.
An optional certified-input branch accepts finite polynomial, phase, and reciprocal-certificate lists; it verifies their parity, interval, identity, and Bernstein checks before execution and returns INVALID if a check fails. It does not prove that bare rational inputs can be converted into such a certificate.
Remarks
This is the binding OP1A procedure, not merely an existence-based choice of polynomial. lem-qa-27-even-sign-window proves a bounded-window estimate for its declared sign approximant and shows why the printed formula of Gilyén et al. Lemma 29 is unnecessary for this cutoff. The separate polynomial-degree result establishes its uncapped termination, interpolation, coefficient/cutoff margins, certificate refinement, degree, and the exact link from the returned phase list to its completed polynomial pair. Finite caps retain their timeout result. Exact-root/phase generation and implementation use the actual QA23 contract; all generation, comparison and arithmetic bit costs stay separately charged, with no total bit-time bound inferred from this Definition.
Childs–Kothari–Somma sparse QLSP oracle model
Definition
Fix , a sparsity bound , and an Hermitian matrix with . The sparse QLSP promises that the normalized input state is supported on eigenvectors with for some declared ; equivalently these are singular values at least . The QLSP target is the normalized state proportional to from Quantum linear-systems state-output task. The zero matrix is excluded by the nonzero supported-state promise.
The access input supplies the following reversible operations and records every forward, inverse, and controlled call separately.
- Row location. For each row and slot , a total finite function returns the th nonzero column in that row, or a designated invalid sentinel for a padded slot. The input supplies a reversible in-place row permutation implementing on valid slots, together with a completion on every padded basis input and its inverse.
- Reverse location. For each valid nonzero entry , a reversible map returns its unique slot . Its completion on invalid and padded inputs is specified and charged. This reverse map is an explicit capability; it is not inferred from forward XOR access.
- Values. A finite-precision reversible oracle returns the encoded complex entry at valid pairs and zero at invalid pairs. Its value precision and the induced matrix approximation error are stated separately.
- Input preparation. A supplied unitary prepares from a designated zero state. , , controlled calls, and their circuit/query/gate costs are explicit. No state loading, QRAM, or coordinate list is free.
The paper's row-location and value XOR oracles may be included as component access, but they do not by themselves certify the in-place reversible permutations, reverse map, or their implementation costs. In particular Sparse Hamiltonian row and value oracles defines total XOR row-location and value maps; this item requires the stronger reversible-location capabilities above whenever the sparse block-encoding construction is used. The parameter , support condition number , value precision, oracle query count, gate cost, and classical data cost remain separate.
Gapped pseudoinverse polynomial degree and error
Statement
For rational , the uncapped bare-gap OP1A construction terminates and returns an odd real polynomial of degree satisfying on , , and For a normalized block whose supported singular values lie in , this gives the singular-space approximation on the supported input, where .
In the uncapped phase-generation route, the exact phase list returned by QSVT regularized pseudoinverse transformation has ordered QSP product equal to the completed polynomial pair used by its generator, and the algorithm's coefficientwise product check passes before QSVT execution. Numerical angle and compiler errors remain subject to their separate certificates; a failed exact product check returns PHASE_PRODUCT_ERROR and is never treated as a successful transform.
Facts & Assumptions
Given: Rational and the uncapped OP1A construction. Certified upper endpoints for the integer bounds are chosen within one of their real ceilings; arbitrary larger endpoints have their actual degree charged separately.
OP1A specifies the finite binomial sums, odd Chebyshev interpolant, cutoff, exact range test, reciprocal Bernstein subdivision, and returned-phase product check (QSVT regularized pseudoinverse transformation).
The real-polynomial extraction acts by the declared polynomial on the supported singular vectors (Real bounded polynomial extraction in QSVT).
The Gaussian normalization is (The Gaussian integral ).
A holomorphic function on an annulus has its locally uniformly convergent Laurent expansion and contour coefficient formula (Laurent expansion on an annulus, Laurent coefficients are given by contour integrals and are unique).
Proof
Put , and , with its polynomial value at zero. For , . To identify its Chebyshev coefficients, expand , obtained by expanding . Multiplying by and using telescopes the binomial tails to . This proves the stated coefficient formula.
Write , , and . The defining erf series is entire by the ratio test, and [F3] gives on the real line. On the ellipse of parameter , . Integrating vertically from the real axis gives . The Laurent expansion of and [F4] give Chebyshev coefficients bounded by . Put and . At these nodes, , , and . Repeated reduction therefore interpolates every unresolved as for , or as zero; each folded mode has sup norm at most one. Subtracting the original mode costs at most twice its coefficient, so summing the omitted modes bounds interpolation error by , at most under OP1A's stopping condition. Odd symmetrization cannot increase this error because is odd. The declared aggregate evaluation and rounding errors contribute at most more, so the pre-rescaled interpolant differs uniformly from by at most . After division by , its output satisfies , and differs from by at most . The Gaussian tail inequality for follows, for , by differentiation of , and thereafter by the integral bound . Hence when .
For completeness, if is a sum of independent fair bits, : the last inequality follows by integrating for . Markov's inequality and minimization at yield . Consequently the omitted coefficient sum beyond is at most , and on proves uniform truncation error at most . Thus differs from by at most on , and globally.
For , , monotonicity of gives on : nonnegativity uses , and the upper bound uses in step 1.2. If , the two shifted arguments have opposite signs and magnitude at least , so . If , their signs agree and . Therefore inside , ; outside it, . Division by gives a strict global bound below . The total coefficient error preserves a strict range margin. On , the unrounded reciprocal error after division is at most ; rounding retains error below . Both reciprocal certificate polynomials are therefore strictly positive, by at least . Parity-preserving coefficient rounding leaves odd, hence .
All generation loops terminate. The binomial and Chebyshev sums are finite; makes the interpolation tail test terminate; and the explicit entire-function Taylor remainder tends to zero by the ratio test. Certified arithmetic refines positive strict inequalities finitely. For any fixed certificate polynomial of degree and a cell , its Bernstein coefficient is . On the compact interval, the absolute difference from tends uniformly to zero as . Thus the positive margin in step 3.1 guarantees a finite dyadic level with every coefficient positive. The exact critical-point test succeeds by the strict global margin, and no actual failed-certificate regeneration is needed at adequate precision. This proves deterministic termination in the uncapped mode; a declared finite cap retains its timeout branch.
Since , , , and . Also , , and ; therefore the least interpolation degree is . Multiplication adds degrees and rounding does not increase them, proving the stated degree bound. This does not assign a bit-time or gate bound to the coefficient generation or Bernstein refinement. On each supported singular vector, apply [F2] to this odd polynomial; the finite SVD then turns the uniform scalar error into operator error at most . Finally gives .
It remains to link the phase list emitted by the QA23 peeling procedure to the exact completed pair. At each nonconstant peel, its unit scalar is chosen with ; the explicit square-root formula and coefficient checks give this identity exactly. The simultaneous updates in that procedure are the coefficients of right multiplication of the current source-convention matrix by . Therefore the saved peel is reversed by multiplication by . At the terminal constant pair, the stored base phase gives its exact diagonal matrix; each degree-padding block is the exact identity. Induction over the finite peel list, followed by reversing its stored order, reconstructs the original source-convention matrix. The stated convention conversion then gives the exact reflected QSP product with upper-left entry and the other three entries of the returned completed pair. Thus the coefficientwise product check in [F1] passes for every uncapped promised construction. It uses finitely many coefficient-array operations, all charged to the phase-generation/certificate arithmetic coordinate; exact arithmetic failures still return PHASE_PRODUCT_ERROR before execution. Numerical angle and compiler certificates concern later implementations and are not part of this exact identity.
Efficient coherent amplitude-grid rounding
Statement
For every integer , put . There is a deterministic uniformly generated finite reversible circuit with the action
for every -bit integer and every -bit target , where is an integer satisfying
Circuit generation time, gate count in , CNOT and Toffoli, serial depth, and clean workspace are all polynomial in . The identity holds on arbitrary coherent inputs and with finite reference registers. Its actual inverse and coherent controls have the same polynomial resource order. The algorithm uses only bounded exact integer/rational arithmetic with fixed loop counts depending on ; it performs no real equality test or equality-dependent precision refinement. The output encodes the rational by its numerator and the known fixed denominator.
Facts & Assumptions
Given: , , and a -bit input .
The principal arctangent has derivative and its integral formula. (Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series).
Principal inverse tangent uses the injective increasing tangent branch; tangent addition and doubling hold. (The principal inverse tangent , Tangent is a continuous strictly increasing bijection from onto , Addition and subtraction formulas for tangent, cotangent, secant, and cosecant on their exact domains).
Sine and cosine have their derivative, parity, Pythagorean and quarter-turn/cofunction identities. (The derivatives of sine and cosine are cosine and minus sine, Pythagorean and parity identities for all six trigonometric functions on their natural domains, Cofunction, supplementary, quarter-turn, and reflection identities for the six trigonometric functions).
The finite Taylor remainder is bounded by the derivative bound times . (A uniform derivative bound gives a uniform Taylor remainder bound).
The real mean value theorem controls increments by a first-derivative bound. (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ).
A finite Boolean DAG admits compute-copy-reverse with the declared linear gate/work overhead. (Reversible embedding of a Boolean circuit, Gate, workspace, and serial-depth costs of reversible embedding).
Proof
Put and . Principal monotonicity and give . The tangent double-angle formula gives , so and . A second doubling gives , hence . The subtraction formula gives All denominators are positive, and . Injectivity of the principal tangent branch therefore proves , or . This is a local proof of the needed Machin identity.
For and any integer , the exact finite geometric identity is Integrating from zero to and using the arctangent integral yields This is a finite bound, requiring no limit test during the algorithm. Set and form the exact rational Step 1.1 and the finite integral estimate above give because and . In particular : for the lower bound, gives ; for the upper bound, step 1.1 and give , and the displayed error is below .
Set , so , and set the even integer . Compute the exact rational sine polynomial Every derivative of sine has absolute value at most one. The Taylor remainder bound at degree gives Indeed the last factors in are at least , so , and . Finally gives the stated precision.
All rational computations above have polynomial bit length in . For the arctangent sum at , one may take as an unreduced common denominator , whose bit length is . Obtain each numerator by exact division of this known multiple, then sum with the indicated signs. A common denominator for is , still of bits; the same bound holds for its numerator. Therefore can be written with integer , of bits, without rational reduction.
The derivative bound for sine and the mean value theorem give . Put and . Step 3.1 implies and . Consequently Thus the exact rational square approximates the desired probability with absolute error strictly below .
If , set explicitly. Otherwise write the exact rational with integers and , without requiring cancellation to lowest terms. Use integer division to compute The floor rule is deterministic nearest-grid rounding, breaking rational half-grid ties upward. Hence . Clipping to cannot increase distance from the true probability . Step 4.1 therefore gives For , the exact target is zero, so the bound also holds. Every comparison in this procedure compares finite integers, including any tie; there is no comparison against an exact transcendental number.
A common denominator for the sine polynomial is . Its th integer numerator term is All exponents are nonnegative and every indicated division is exact. The powers, factorials, terms, common denominator, and signed partial sums have bits: , , and . Summing terms adds only extra bits. Thus can be computed with -bit signed integers; , , and the final integer division in step 5.1 have the same bit-length order.
There are only polynomially many arithmetic operations: products for the two denominators, powers and factorials, Taylor terms and their exact divisions, and one final quotient/clamp. Schoolbook addition, subtraction and comparison of -bit integers use elementary Boolean operations, multiplication uses operations by summing shifted partial products, and long division uses operations by shift/compare/subtract stages. Signed integers can use a sign bit and a magnitude of the fixed safe length; all denominators are known positive. The operation counts and safe register lengths depend only on . Unroll their loops and implement data branches by Boolean selection between the two computed results. Thus a deterministic classical generator produces a Boolean DAG for of polynomial size and description length in , in polynomial time. This also covers generation of the rational constants; no constant table of exponential length or unit-cost unbounded integer arithmetic is assumed.
Apply compute-copy-reverse to that Boolean DAG: evaluate its nodes in fresh clean bits, XOR-copy its output bits to , and reverse every evaluation gate. The inspected reversible embedding theorem gives the asserted XOR action, polynomial elementary gate count, serial depth and clean workspace, all restored to zero. The Boolean circuit's uniform generation proof in step 7.1, followed by the finite node-gadget compiler, gives polynomial-time generation of the actual reversible gate list. The clean identity extends by linearity to coherent inputs and finite references. Its actual reversal has identical gate count. For an external control, either use a compute/controlled-copy/uncompute construction on the same Boolean function, or control the fixed reversible gate list; the former directly gives a constant-factor resource increase and restores all scratch. No real-number refinement or measurement occurs. This proves the Statement.
Relative estimation of a promised coherent success probability
Definition
Rounding mode. Select exact-cyclotomic (the original finite comparison mode below) or efficient-grid. In efficient-grid mode replace only RoundedAE output rounding: run Efficient coherent amplitude-grid rounding on the measured -bit label , with , and return . Its range is , zero label returns zero, and absolute error is at most . All following thresholds, medians, caps and scale choices are unchanged. The helper supplies actual uniform polynomial-in- generation, elementary reversible gates and work, with actual inverse/control versions; use those costs in this mode.
Input. An arbitrary finite-dimensional amplitude-estimation instance from Amplitude estimation and counting input/output contract, with unitary sampler , initial vector , supplied orthogonal success projection , and unknown probability ; rational parameters , , and ; and the promise or .
Use the repeated controlled-unitary access mode with from that task definition. Controlled , controlled , controlled , controlled , and the control phase are explicitly supplied or implemented with declared costs. An ordinary preparation is also available and charged. Ordinary uncontrolled sampler access alone does not supply these controlled capabilities.
Output. A rational estimate . The procedure uses independent fresh estimator workspaces, measures and discards them, and returns only classical data. Any subsequent use of a sampler starts a fresh execution from its declared initial vector.
Instructions. Set . Determine the least integer with by doubling and rational comparison. Set . Choose the least positive odd integer with , using rational multiplication and comparison.
For each dyadic integer , define the following two subprocedures.
- runs QFT-based amplitude estimation with label size , obtaining the exact real cyclotomic output . If , return zero. Otherwise use Finite exact comparison of real cyclotomic values and binary search among the integers to find the largest with , and return . Equality is decided by the same exact comparison procedure; returns .
- runs independent copies of and returns their middle order statistic, using rational comparisons.
For in order, compute . If , stop this loop at , choose the least power of two , and return the output of a fresh . If no such detection occurs through , return zero without a final estimation call.
Query, preparation, ordinary-gate, measurement and classical-bit costs are separate coordinates. All exact comparisons, cyclotomic encoding, rational arithmetic, sorting, and output writing are charged as classical bit operations under Classical bit-operation cost. The comparison supplier asserts termination, without a polynomial bit-cost bound.
Relative probability estimation with a charged finite cap
Statement
For every promised input of Relative estimation of a promised coherent success probability, the procedure terminates. If , it returns with certainty. If , then
Let count all invocations of the declared sampler and inverse capabilities: each controlled , controlled , and initial ordinary preparation is counted once in this total, while their individual resource coordinates remain distinct. Put , and let be the algorithm's finite parameters. Then Every execution satisfies the charged cap With probability at least , both and hold; when , both hold deterministically. Thus the expected sampler-and-inverse count is
These bounds require the algorithm's explicit controlled-access contract. They do not identify a controlled black-box call with an ordinary uncontrolled black-box call. Controlled reflections, control phases, QFT and other ordinary gates, measurements, and classical postprocessing retain separate charged costs. In the retained exact-cyclotomic mode, rounding uses finitely many exact algebraic comparisons and produces a rational with bits in each of numerator and denominator at a final scale ; no polynomial or polylogarithmic classical-bit bound is asserted. The optional efficient-grid mode instead has the helper's uniform polynomial-in- rounding gates, work and generation, while preserving every probability/query bound. Estimation measures only its own construction workspaces, so a subsequent fresh sampler execution, conditional on the returned classical transcript, retains that sampler's prescribed output state and conditional good state.
Facts & Assumptions
Given: A promised input and all access capabilities of Relative estimation of a promised coherent success probability, with rational in its stated ranges. All estimator preparations and measurements use independent fresh workspaces, as required by that algorithm.
The finite schedule, rational rounding grid, medians, detection threshold and final scale are defined in Relative estimation of a promised coherent success probability.
The generic coherent sampler, success projection and signed iterate, including their separately declared controlled and inverse accesses, are defined in Amplitude estimation and counting input/output contract.
For dyadic , the raw QFT estimator outputs , with its exact cyclotomic representation (QFT-based amplitude estimation).
The raw output satisfies with probability at least , and equals zero with certainty at (Amplitude-estimation additive error and success probability).
The circle constant satisfies (Rational bounds for pi used in finite schedules).
One raw estimator uses exactly controlled- calls; each has one controlled , controlled , controlled , controlled and control phase. Its initial state preparation is separate (Amplitude-estimation query and precision complexity).
Real cyclotomic values admit a terminating exact comparison procedure, including equality, without an asserted polynomial bit-cost bound (Finite exact comparison of real cyclotomic values).
Classical comparisons, encoding, arithmetic and output writing are charged separately from quantum query and gate costs (Classical bit-operation cost).
The efficient-grid helper returns a rational in , is exactly zero for , has output error at most , and has uniform polynomial-in- reversible resources (Efficient coherent amplitude-grid rounding).
Proof
The dyadic sequence has unbounded squares, so its positive rational threshold in [F1] is eventually reached. Since , its least cap index has , and minimality gives , hence . The geometric sequence tends to zero, so the least positive odd in [F1] exists. The final scale is a finite dyadic ceiling of a rational number and satisfies . Every raw call has dyadic size at least four. Thus all schedule choices are executable by finite rational arithmetic.
For each raw output , the rounding instruction finds by finite binary search with [F7], including equality and the endpoint . Its returned rational satisfies , with equality when is integral, and returns exactly zero when . Binary search uses comparisons. Its rational output has numerator and denominator bits. Every comparison terminates by [F7], and all its internal refinement and output operations remain charged under [F8]. In efficient-grid mode [F9] supplies the same range, zero branch and error directly, with its separately proved finite polynomial resource bound; no exact-comparison refinement is used in that mode. There are at most detection medians and one final median, each with finitely many calls, so the entire procedure terminates.
By [F6], one rounded call at size uses controlled calls, controlled calls and one ordinary preparation, for sampler-and-inverse invocations. A median costs at most such invocations, with separately charged occurrences of each controlled reflection and control phase. Since , detection costs less than . A final median, if invoked, has size and costs less than . Thus every execution, including unsuccessful estimates reaching the cap, has , because .
By [F5], , , and . Therefore [F4] and step 2.1 imply that each rounded output lies in the interval with failure probability at most . Let indicate failure of copy in a median, and put . Independence gives . Since , taking expectations gives . If fewer than half of the samples miss , their middle order statistic lies in : an order statistic outside that interval would put at least samples on the same outside side. Consequently each median misses with probability at most . This also holds conditional on every earlier classical transcript, because the chosen size is then fixed and this median uses independent fresh workspaces.
Call a median good when it belongs to , and put . At a good detection stage, . A good stage that detects therefore has , since for its upper bound is at most . A good stage with certainly detects, since is increasing there and is at least . For a positive promised , , so a good cap stage detects.
If detection occurs at a good stage , then the fresh final scale has . When its final median is good, , using . At most medians are invoked, and each has conditional failure probability at most by step 3.1. The union bound therefore makes the probability of any invoked bad median at most . On the complementary event, a positive input detects by the cap and satisfies the relative estimate just proved. At , [F4] gives raw output zero with certainty; step 2.1 and the algorithm's zero-label branch make every rounded value and median zero. No positive threshold is met, so the algorithm returns zero exactly.
Suppose . Let be the first index with . It exists by the promise and satisfies , , and . For analysis, preassign independent hypothetical median outcomes to all detection stages, and reveal them only if reached; this finite product of independent experiments has exactly the procedure's law. To reach stage , every one of the preceding stages beginning at must have a bad median, since a good one at these scales would detect by step 4.1. Thus . If is the sum of sizes of invoked detection stages, finite summation and give . The infinite geometric sum here is only an upper bound on a finite expected cost.
Detection costs at most . If detection occurs, and the final median costs less than ; otherwise that cost is zero. Hence . If , there is no final median and . Both cases imply . On the probability- event of step 5.1, a positive input stops by , so the deterministic calculation of step 2.2, with replacing , gives . For the deterministic cap already gives the claimed bound. This establishes the simultaneous probability assertion.
Minimal dyadic threshold choice gives . Since is the least positive odd integer with , it is at most two above the real threshold , apart from the harmless minimum value one. Also , so . Substituting into step 6.1 gives the stated expected bound. Rounding's precision and finite comparison count are those of step 2.1, and [F8] keeps their actual bit costs, along with the ordinary quantum resources in [F6], separate from this query bound. Finally, by [F1] every measured estimation workspace is discarded and the output is classical. Conditional on any resulting transcript, a subsequent fresh execution initializes its own declared input and applies its own prescribed sampler. Its output state, and therefore its conditional good state when that event has positive probability, is precisely that prescribed for the fresh sampler; the measured construction registers are not inputs to it.
Finite amplification from a supplied success lower bound
Definition
Input a finite-register coherent preparation with good projection , as in Prepared unitary and success subspace for amplitude amplification, and represented rational parameters and . The success promise is . Supply under Inverse Unitary Access, the reflections and under Orthogonal-Projector Reflection and Access Contract, and the controlled versions of all operations used under Controlled Unitary Access. The good/bad instrument is the projective measurement of Finite projective measurements. It may be supplied directly or implemented by preparing an ancillary control in , applying controlled , applying a Hadamard to the control and measuring it, with outcome designated good. These implementations and register initialization have their actual declared costs.
By exact rational comparisons compute the least power of two satisfying , and the least positive integer satisfying . Set . More general exact parameter representations are allowed only when they support these finite comparisons.
For trials , carry out the following instructions, stopping at the first return.
- Prepare on a fresh register and perform the good/bad instrument. On a good outcome, return that register. On a bad outcome, discard it.
- Draw exactly fresh independent unbiased random bits, interpret them as an integer , and prepare on a fresh register. Apply exactly iterates of Amplitude amplification with a fixed integer iteration count, then perform the good/bad instrument. On a good outcome, return that register. On a bad outcome, discard it and proceed to the next trial.
If all trials fail, return an explicit failure symbol. Preparations, bits and instruments are fresh between attempts. A classical-output specialization may additionally measure and verify the returned output, charging this work separately; it does not replace the good/bad projective instrument when a conditional quantum state is requested.
Finite amplification preserves the good state with a deterministic call cap
Statement
Under the inputs and promise of Finite amplification from a supplied success lower bound, that finite procedure succeeds with probability at least . Conditional on success, its returned register has exactly the density operator , where . This includes all output and workspace registers of the original conditional good state.
Its deterministic caps are total calls to , zero-input reflections and good reflections, including the controlled good-reflection calls implementing at most two instruments per trial. It uses at most unbiased random bits. Consequently its primitive-call cap is , or when . Query calls, gates, initialization, instruments, control variants and classical preprocessing are separately charged.
Facts & Assumptions
Given: The finite schedule, fresh operations, access capabilities and rational parameters of the algorithm.
Finite amplification from a supplied success lower bound specifies , direct attempts, independent uniform indices and the explicit failure branch.
Amplitude-amplification invariant plane and Exact success probability after amplitude amplification give the invariant-plane rotation and success probability when .
Projective measurement outcome weights are probabilities, Conditional state for a projective measurement and A unit-vector outer product is a density operator give the outcome probabilities and normalized density operator on positive-probability branches.
Amplitude-amplification access and resource accounting, Controlled Unitary Access and Circuit-family and computation cost model separately charge the four factors of an iterate, control variants and gate/classical work.
The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t gives the increasing natural logarithm on positive reals and its integral formula.
Proof
For , write , where . By [F2], . On every positive-probability good branch its projection is a scalar multiple of , so [F3] gives exactly . Direct attempts give the same conditional state. If , every direct attempt succeeds and returns this state; no zero-probability component is normalized.
For , sine addition in [F4] gives . Summing over and using gives . Thus the mean success probability of the uniform-index attempt is .
A trial has at most two preparations and iterates. By [F5], it uses at most forward calls, inverse calls, zero reflections and iterate good reflections. Each of at most two instruments adds one controlled good reflection: on a vector , the control construction has joint state immediately before measurement, which is exactly the required instrument. Thus the displayed per-trial caps hold, and only the second attempt draws random bits.
If , then . Since , step 1.2 implies . The whole trial succeeds with probability . For the direct attempt succeeds with probability at least . Hence every promised input has trial success probability at least .
Conditional on any preceding failures, freshness leaves the next trial's success probability at least . Finite induction bounds total failure by . Every successful branch returns the state of step 1.1; summing its scalar branch weights and dividing by total success probability therefore gives the same density operator, even after forgetting the index, stopping trial and earlier failure outcomes.
Minimality of the power of two gives . Also , by applying [F6] to and the minimal positive integer choice. Multiplying the finite per-trial counts by proves the call and randomness caps and their asymptotic bounds.
Remarks
For gate costs of the supplied implementations, with covering both used good-reflection control variants and instrument ancilla overhead charged explicitly, the quantum gate cap is . Register initialization is included in its actual supplied preparation cost. Binary counters and comparisons admit elementary classical bit operations; exact arithmetic constructing is separate finite preprocessing. A padded coherent circuit implementation must use and charge the supplied controlled operations. The logarithmic bound retains an additive for arbitrarily close to .
Low-target amplification has a controlled multiplicative loss
Statement
Let be an integer. Let a coherent sampler have success weight , and suppose an estimate satisfies and . Choose the least integer such that , and put , , . Applying standard iterates of Amplitude amplification with a fixed integer iteration count gives success weight satisfying In particular , and the positive-probability conditional good state is unchanged. The total number of sampler/inverse calls in this fixed amplification is exactly , charging reflections separately.
For any such amplifications, indexed by , with the same parameter , their multiplicative losses obey
Facts & Assumptions
Given: The coherent sampler, relative estimate, integer and least crossing index in the Statement; all sampler inverse and reflection operations required by the fixed amplification are supplied.
Exact success probability after amplitude amplification gives for ; Amplitude-amplification invariant plane keeps the good component collinear with the original good component.
Principal inverse sine and inverse cosine and For , and give and for .
The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with and Sums, scalar multiples, products and quotients: , , , and when give the mean value theorem and derivative rules. The derivatives of sine and cosine are cosine and minus sine gives , , and .
The addition formulas for sine and cosine and Parity and the Pythagorean identity for sine and cosine give sine addition and for real .
Amplitude-amplification access and resource accounting counts forward calls, inverse calls and calls to each reflection.
Bernoulli's inequality gives for and integer .
Proof
Since , some finite crosses the target. If the least index is , the crossing and force . If , minimality gives , so and . The relative estimate gives , hence . Multiplying by proves the bounds on , and also .
Put . For , [F2] gives . Applying [F3] to on yields . Therefore satisfies .
For define . By [F3] and [F4], and . Three applications of the mean value theorem imply successively , and . Thus . Step 2.1 gives , so this lower bound is positive and may be squared: . The factor is positive because , which justifies replacing by its lower bound .
Sine addition and [F4] give for integer . Finite induction yields , so [F1] gives . Together with step 3.1 this proves the multiplicative loss bound. Since , it also gives ; the upper bounds and follow from step 1.1 and [F4]. In particular , and the collinearity in [F1] shows that conditioning on success preserves the original good state.
By [F5], this fixed amplification makes sampler/inverse calls and calls to each reflection. For instances, the preceding bounds give by [F6]. All factors are positive, so rearranging this product inequality and taking nonnegative square roots gives , as claimed.
Remarks
The upper bound concerns the estimated quadratic weight. A one-percent estimate allows the actual amplified weight to exceed ; the proved bound retains this distinction. No estimate is treated as an exact amplitude input to the known-amplitude maximization procedure.
Variable-time amplitude-amplification theorem
Statement
Let a finite coherent variable-time algorithm satisfy Coherent variable-time algorithm model, with positive success probability , maximum stopping count and RMS stopping count . Use the declared normalized operation-count coordinate, with actual preparation, controlled/inverse and input/selected-reflection costs included in the interval budgets. Put and . The following resource regimes are distinct.
Supplied probability/schedule data. Suppose finite certified amplification-schedule data are supplied as in the model: on dyadic interval , with original good-or-unfinished mass , previous selected mass and actual , the odd multiplier has resulting selected probability and . Unamplified intervals have . Supply a rational with for the final selected mass. Let charge the actual finite construction/verification of these data and lists, including every oracle invocation used to obtain probability information. The resulting production procedure returns the exact conditional good state with success at least at total cost The original logarithmic production bound is retained in this explicit probability-input regime. It does not assert free exact probability access or a uniform method obtaining those data at zero query cost. Repeating production times gives success at least , with the actual construction cost charged once if its certified lists are reused.
Uniform finite estimated implementation. Instead supply only a positive rational success floor , failure , and the actual controlled/inverse/reflection access. No branch-probability advice is assumed. There is a finite estimated construction, described in the proof, preserving the exact conditional good state and succeeding with probability at least . Put , , and let be the median count of Relative estimation of a promised coherent success probability at floor and individual failure . On a joint event of probability at least its complete construction-plus-production stage-call cost is
Every execution has the separately charged deterministic cap
Exhaustion returns RESOURCE_TIMEOUT. State preparation, oracle/control/reflection implementation, finite list generation, output rounding and classical arithmetic/bit costs retain their actual separate coordinates; construction oracle calls are already counted in this cap. The efficient-grid rounding mode may be used for its proved polynomial-logarithmic postprocessing resources. This theorem makes no unproved unknown- expected-time claim and does not equate this finite uniform overhead with the first regime's tighter production expression.
Facts & Assumptions
Given: The variable-time model in the Statement, its actual declared access/cost coordinate, and the data of the selected regime.
Stopped branches are orthogonal and fixed by later stages (Coherent variable-time algorithm model).
Ordinary amplification preserves the selected normalized component and gives selected probability (Exact success probability after amplitude amplification).
Low-target amplification with a relative- estimate has selected probability at least and multiplicative loss at most ; the product loss over at most amplified stages is bounded by in the cost recurrence (Low-target amplification has a controlled multiplicative loss).
The generic finite estimator supplies its joint relative-error and call-cost event with count at most , with the explicit controlled access and separately charged rounding costs (Relative probability estimation with a charged finite cap).
Lower-bound capped amplification preserves the exact conditional selected state and has finite call cap with and (Finite amplification preserves the good state with a deterministic call cap).
Proof
Group the original operation-count execution into dyadic deadlines, assigning each stopped branch the first deadline after its original stopping count. All counts are positive integers in the declared coordinate. Treat an original stage as indivisible: group all stages ending by each deadline and use twice that deadline as its padded cumulative budget. The interval then covers every grouped whole-stage call. This changes maximum and RMS counts by at most four and leaves stopped branches untouched. There are at most intervals with increments summing to at most . Their input/selected-reflection and preparation/control budgets are included, rather than treated as free additional operations. We retain this factor in the numerical constants below.
Let be the original probability of being already good or still unfinished at deadline , with . It decreases, is at least , and has final value . Construct by running the preceding amplified list and continuing the original algorithm only on unfinished branches. Inductively its selected component is proportional to the original selected component, with probability ; initially . Amplify by the chosen odd multiplier. By [F2] this preserves the conditional selected state, and at the last deadline that state is the exact original conditional good state.
Let be the production-list cost and its amplification multiplier. Then , with . The supplied-regime certificate or [F3] gives on amplified intervals, with no loss on unamplified intervals. Expand the recurrence. For each summand, The total loss is at most , and (with initial value one), so The same bound holds for every prefix with its corresponding .
In the uniform regime use [F4] with , floor and failure at each of at most intervals. All estimation workspaces are fresh construction data, discarded before production. On the estimator-good event, a returned uses and actual , with loss one. Otherwise choose the least odd with ; search only through and return failure if no crossing is found. [F3] gives the same surviving floor and loss bound in this case. Inductively , so every estimator promise is met on this joint event; a zero estimate or exhausted search is then impossible. The actual upper bound is neither claimed nor used.
Write for original unfinished mass at the preceding deadline. Since and by the dyadic stopping convention (also at the first interval, because stopping counts are at least one), In the supplied-data regime apply [F5] at lower bound and constant failure . Its factor cancels in step 3.1, proving production cost . Substitute and add the actual , including its probability-acquisition oracle calls. Independent repetitions give the stated confidence. No construction-cost bound follows solely from existence of true-probability-selected multipliers.
The prefix version of step 3.1 and give the next sampler cost the bound . Use step 4.1 and [F4] to charge every estimation call. Summing at most stages gives at most with slack for dyadic padding. Final production has . Apply [F5] with floor and failure : its range is , and its trial count is at most . Thus its complete additional cost fits within , again with slack for the already charged reflection/interval overhead. This proves the stated joint-event bound and includes the quantum cost of acquiring probability data.
The computable integer satisfies and . Since and , the joint-event cost in step 5.1 is below . Count all construction, production, inverse/control/reflection stage calls and final amplification against , stopping before an excess. The resource timeout therefore never occurs on the joint estimator-good event. Its complement has probability at most by [F4] and the union bound. Conditional on the good construction event, final capped amplification fails with probability at most . Total failure is at most . Every heralded good branch has the same conditional original state by step 2.1, even after averaging the classical construction transcript. The procedure is finite on every branch by its explicit caps.
Remarks
The probability-resource inputs in the model distinguish supplied certified schedule data from unknown black-box probabilities. The tight production expression charges the former through , including any oracle calls needed to obtain them; the finite uniform variant states its floor, confidence, estimation overhead and cap separately. An unknown-probability uniform worst-case bound cannot be inferred from the ideal-list recurrence: already a one-stage hidden-label rotation family yields the finite-transcript/continuity obstruction documented in the owner repair evidence. This corrects an ambiguous local resource interpretation and does not refute the cited source theorem under its intended conventions. No unproved unknown- expected-time claim is used here.
QSVT inverse-state output and success cost
Statement
Let be the generated odd polynomial degree and let bound the total operator error of one QSVT success block relative to , including scalar approximation, block-encoding, and phase-synthesis errors. If and the normalized input is supported on singular values at least , then , where . If , the implemented success weight satisfies Conditional on success of one unamplified attempt, let be its phase-fixed success vector. The unit representative differs in vector norm from by at most . The amplified returned quantum state has this same ray: for any unit representative of that state there is with such that . This terminal-state convention leaves the coherent phase and operator-error bound of the actual QSVT success block fixed as stated above. Put , so . In particular, gives .
An unamplified attempt of degree uses exactly block-encoding signal calls in the QSVT sequence. Applying the supplied unknown-amplitude amplification procedure costs expected signal calls, with state preparation, controlled/inverse calls, reflections, phase gates, synthesis, and classical certificate generation charged separately. When the degree theorem is established, , so this becomes expected signal calls, and the crude bound gives . This is an expected-cost statement; it does not assert a fixed worst-case stopping time.
Facts & Assumptions
Given: The block-encoded QLSP instance, a successful polynomial/phase certificate including the exact returned-phase product check, and for the actual success block. The phase-approximation and circuit-implementation errors in are measured relative to that verified ideal sequence.
Gapped pseudoinverse polynomial degree and error: on , the generated odd polynomial approximates and has degree .
Normalization and nonzero success weight of the supported pseudoinverse target: has and its normalized output is the QLSP target.
QSVT action on singular subspaces: the odd sequence on the adjoint PUE acts on each supported singular pair with scalar multiplier , and uniform scalar error gives the corresponding operator error.
QSVT signal and reflection query counts: a degree- QSVT sequence makes exactly signal calls, and phase/reflection and controlled-call counts remain separate.
Expected cost of unknown-amplitude search: for positive success weight , the unknown-amplitude procedure has expected query cost , with gates and classical costs separate.
Amplitude-amplification invariant plane: each standard Grover iterate acts on the span of the normalized good and bad components, and its good component is a scalar multiple of the same normalized good vector.
Unknown-amplitude randomized search: each round starts with a fresh preparation and returns only after the good projector accepts.
Unknown-amplitude search has no false positives and halts almost surely: on a positive initial good weight, the search returns a good output with probability .
QSVT regularized pseudoinverse transformation: before execution, the algorithm multiplies the exact returned phase-scalar list and checks its four polynomial entries against the returned completed pair; a mismatch returns PHASE_PRODUCT_ERROR without a QSVT call.
Proof
Write the finite SVD . Since is supported on , applying the odd transform to maps each to with multiplier given by the verified phase-sequence polynomial. By [F9] this ideal polynomial is exactly the generated completed-pair target before numerical phase approximation; its total difference from the intended transform, including polynomial shrink and phase/circuit errors, is included in . The target multiplier is , the coefficient of ; [F1] and [F3] therefore bound the operator error on the supported subspace by .
Put and let be the implemented success vector. Then . By [F2], , so reverse triangle inequality gives and . Moreover, The conditional state is defined because .
By [F2], . In the implemented case, if , step 1.2 gives . By [F4], one attempt uses block-encoding signal calls, and phase/reflection and controlled-call resources remain separate.
Put for the one-attempt good vector. By [F6], after any integer number of amplitude-amplification iterates the unnormalized good component is for a scalar . On a positive-probability good branch , and the normalized ket is ; its phase can differ from that of . Each such branch has exactly the density operator , including after the stopping history is forgotten. Thus any returned unit representative is with , and choosing gives and the error bound of step 1.2. This identifies the terminal state ray without rephasing any coherent circuit or controlled call. Fresh rounds use the same preparation circuit, and [F7] returns only on that good measurement; [F8] supplies eventual success for . Applying [F5] to the actual success weight gives expected attempts, hence expected signal calls. If [F1] is established, substitute ; if , step 2.1 gives . All other resource coordinates remain separate by [F4]–[F5].
Finite CKS sparse QLSP with variable-time inverse estimation
Definition
Inputs. A finite Hermitian -sparse with , normalized supported on eigenvalues , rational and rational failure budget , the full reversible row/reverse-location and entry-value access of Childs–Kothari–Somma sparse QLSP oracle model, and supplied preparing . The preparation contract is for a declared preparation-work register ; stage lists act as identity on . 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 be the Hermitian sparse matrix decoded from the finite-precision value oracle, and require a certified induced error ; exact value access is the case . Require whenever 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 , or a missing error certificate returns INVALID_ACCESS. Construct the exact sparse block encoding with compression and normalization by the QA25 supplied-permutation circuit using the known entry bound (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 , 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 and may therefore list additional zero-valued entries of ; their flag-zero contribution is zero. In efficient-qsvt mode, for each QSVT stage, is a certified bound on its actual PUE compression error relative to , including at least and any block-circuit error; the stage is admissible only if .
Let be the finite multiset of simulator-call sites in one complete list and one complete list, including every dyadic QPE power and coherent repetition. At call site , the QA25 circuit uses the exact encoding of to simulate , and has a certified clean-input isometry error 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
Here 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 ; 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 and and use this strengthened accuracy in all efficient-mode budgets below. Set , and . Use the exact QA25 sparse block encoding of specified above, with every inverse/control form used and its precision/cost; its relative error to the ideal is charged in . For each stage generate the OP1A polynomial from QSVT regularized pseudoinverse transformation with gap and error ; this invokes its scalar generation instructions only, rather than assuming the stage input has a global gap . Execute the QA24 real odd QSVT circuit on the adjoint encoding, with its actual real-part-extraction control and zero-workspace success projector. Write for the generated OP1A polynomial. Before phase-synthesis shrink/round and implementation errors, the real odd QSVT compression on the ideal block has eigenvalue multiplier , which approximates within for . 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 . The diluted target multiplier is on , with total compression error at most 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 . Choose as the largest dyadic number no greater than , so each is greater than half that minimum. In the finite call-site multiset , let and . Request the same simulator tolerance at every call site and require 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 , pass phase-synthesis tolerance to its QSP call and allocate the scalar approximation error , 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 . The constraint above includes the actual generated degree and the finite-value/block error of relative to . For a stage with implemented phase/flag/projector slots, request tolerance 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 . Use clock bits , success bit , system register , separate phase workspaces , and coefficient workspace . 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 and error , GenerateInverse(φ,e₀) chooses rational by increasing integer squares until
Set , , and choose positive dyadic with . Increase to multiples of those steps and recheck. For , , and , , use , , and
for the controlled simulator . Round the coefficients to exact rational complex values with total absolute error at most . In lexicographic order, omit zero rounded coefficients and call the remaining list , retaining each associated simulation time. Put and choose a certified rational upper bound for this rounded list. Execute the normalized coefficient construction below with normalization ; the coefficient phases belong to SELECT, not PREPARE. If are the used rounded coefficients and bounds the clean-input simulation error relative to , require
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 , so their total normalized LCU-block error is at most . 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
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 , , append two distinct identity-term labels with coefficients and if ; 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 , where an original is its indicated simulation and a padding is the identity. Even when the rounded list is empty, the two padding terms give and total absolute coefficient sum . Choose , or a larger declared common index width, and . Form the exact positive normalized table
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 within , so . Retain the complete unitary circuit, not only its zero-input state, and use its literal reversed adjoint circuit for .
Supply the full SELECT unitary on all physical index labels: for it applies to the system and its declared simulation work, and for it applies identity. It acts as identity on ; all component work spaces are embedded in a common register with unused wires idle. In particular the two slack labels apply and , respectively. Coefficient phases are not loaded into PREPARE or unprepare, where they would cancel. The returned LCU circuit is , with its success projector testing the coefficient index, and component work all zero. After this block, coherently XOR that all-zero predicate into the initially zero success bit , 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 ideal bounded-arity occurrences and serial depth per generic PREPARE, with at most 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 nonsimulation LCU error budget. For example, whole-unitary PREPARE error and additional SELECT error must include 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 and . Generate at every with error and set . Rebuild each stage from its original rounded coefficient list (discarding its earlier slack labels) by the normalized coefficient construction with : append the explicit pair when its slack is positive. Use the maximum of the resulting index widths as a common and zero-pad every amplitude table to ; embed all stage work in the common . 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 for these rebuilt blocks; the added identity terms have no simulation error. If , increment and regenerate. Also require 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 with its dyadic powers constructed through the actual QA25 clean-work simulator. For each , GPE(φ_j,ζ) uses a dyadic phase scale at least , an odd number of coherent QPE repetitions on the same eigencomponent, and reversible majority comparison of the unwrapped phase magnitude with . Threshold equality selects the large branch. The ideal comparison is QPE for with promise cases and ; the transition band is unconstrained. The finite-precision implementation uses , and its entire call-site error relative to that ideal QPE is bounded by the allocation above. Retain all phase work in and make no intermediate measurement.
At stage , conditional on the active prefix , run GPE into . On the same prefix and , execute the common-normalized inverse circuit of the selected mode on ; otherwise leave the branch unchanged. Let be this stage list, , and let replace its inverse call by a flip of , with . The inverse lists are literal reversal with the corresponding inverse calls. The -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 . After the last GPE/inverse stage, coherently set 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 and reverse it inside . Thus all branches stop by , including phase-test failures; the last stopping subspace is the orthogonal union of the ordinary last-stage stop and this terminal-bad branch. For , define the good-or-unfinished projector as the orthogonal sum of (a) branches with , , and first-stop clock word for some (later clock bits remain zero), and (b) branches with , , and . Previously stopped bad branches and the terminal branch are excluded. Since is set after stage , the unfinished term is empty at . The final target is only . These projectors act as identity on the clean 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 and running the first interval. Later runs the prior amplified list and the original continuation on unfinished branches only. The initial reflection is about the all-zero state before ; contains the eigenvalue stages and does not undo . The preparation-work factor stays zero throughout.
Let , and . Use Relative estimation of a promised coherent success probability with , the good-or-unfinished projector (the final target is ), relative error , failure and floor . 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 gives ESTIMATION_FAIL. If , use . Otherwise choose the least nonnegative integer with , within ; exact rational comparisons or integer binary search implement this selection. A missing crossing gives ESTIMATION_FAIL. Execute exactly ordinary iterates with this sampler and projector. The inequality 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 and failure . Copy/measure a separate success record before applying 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 , 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 . The instrument and its controlled-zero reflection/cost are included in . Return the system and external heralding record; a failed branch returns FAIL.
For each chosen quantum resource coordinate, construct an integer from the actual original-stage, controlled/inverse, selected/input-reflection, dilution and predicate lists, so their interval cost is at most ; enlarge 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 . 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 . Let 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
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 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.
CKS stopping-time and success-mass instantiation
Statement
For the CKS dyadic eigenvalue-resolution procedure with stages, a supported eigenvalue is routed to one of two adjacent stopping intervals by the source's gapped phase-estimation test; the transition-band and estimator-failure mass must be included in the error budget. If are the input spectral amplitudes, the source analysis gives stage costs , maximum time , and, up to the allocated approximation error, a success amplitude proportional to on eigenvalue . Consequently
In the explicitly declared efficient-qsvt mode of the local constructor, the proof below establishes these bounds with its actual charged interval budget. The source coefficient estimate then gives . These are the source-efficient stopping quantities; the proof below establishes the corresponding finite estimated-wrapper floor, normalization, error and stopping bounds in this mode, while the retained Fourier-table mode keeps its distinct actual costs.
Facts & Assumptions
Given: The efficient-qsvt mode with stages, , , , its declared value/block/simulation error budgets at strengthened internal accuracy and actual interval-cost bound . The state-preparation workspace is clean as specified by the algorithm. In the error estimates below write , so and . Put , , and let denote its final good probability.
The constructed stage circuit and resource/error budgets are those of Finite CKS sparse QLSP with variable-time inverse estimation.
The proved OP1A polynomial and real QSVT extraction have the stated uniform scalar and input-block/phase error bounds (Gapped pseudoinverse polynomial degree and error, Real bounded polynomial extraction in QSVT, QSVT robustness, approximation error, and resources).
The variable-time model preserves all stopped branches and defines RMS time from their orthogonal probabilities (Coherent variable-time algorithm model).
The generic probability estimator has its promised relative-error, finite cap and confidence bounds (Relative probability estimation with a charged finite cap).
The low-target lemma proves surviving probability at least and multiplicative loss at most per amplified stage (Low-target amplification has a controlled multiplicative loss).
The clean-subspace unitary hybrid controls reference registers, coherent controls, actual inverses and repeated products along the ideal clean trajectory (Unitary hybrids on a preserved clean-work subspace). Actual work is retained coherently rather than reinitialized.
The finite-precision value model supplies a Hermitian with , and the simulator-call-site bounds sum to over one list and one list (Finite CKS sparse QLSP with variable-time inverse estimation).
Proof
In the finite Hermitian eigenbasis write , , where . Thus . The supplied-permutation sparse block circuit uses the certified entry bound for the decoded Hermitian matrix . Hermiticity lets the row enumeration on the swapped system register serve as the column enumeration, and the supplied reverse-location map makes each matching slot unique. Since , its value flag matrix is unitary and has flag-zero amplitude on the zero input. The row and column neighbor states have coefficient on each listed slot, so their unique matching pair contributes to the all-zero flag compression; the support-coverage promise ensures every nonzero decoded entry is listed, any listed slot whose decoded value is zero contributes zero, and padded sentinels have no overlap. Hence the actual PUE block is exactly , within of the ideal . On the ideal block , eigenvalue gives normalized eigenvalue . The odd stage polynomial with gap approximates the target multiplier within its declared scalar error for . Diluting by gives the common ideal multiplier , where . By [F2], the actual QSVT block on differs from the ideal transform of by at most plus the declared polynomial/phase errors; these are included in the per-stage compression budget . The real-extraction success projector includes its control and all zero workspace. The finite SVD therefore gives the ideal supported target , with actual stage compression within . Also (the endpoint inequalities may be replaced by non-strict upper bounds).
In the ideal comparison circuit, QPE at dyadic label size estimates the eigenphase modulo . The exact Fourier kernel obeys : indeed each label probability is at most , since for , and summing each of the two reciprocal-square tails uses . Taking gives failure at most . Circular phase error below places the unwrapped phase magnitude on the correct side of for each of the two promises. Since , this unwrapping is unambiguous on the good event. For independent coherent QPE copies on this eigenvector, the squared amplitudes of label strings factor. If counts incorrect comparisons, , hence . The declared odd makes this at most . A reversible majority stores this decision without measurement, so the wrong-branch amplitude is at most .
For a simulator call at signed time , differentiating and integrating from to gives Thus call site differs from the ideal by at most . Taking controlled direct sums or adjoints preserves that norm bound. By [F6] and the budget in [F7], each complete actual base list is within of its ideal- comparison on clean inputs, including arbitrary references; actual simulator work remains coherent.
For fixed supported , let be the first stage with . It exists by the chosen , and . Before stage , the low-eigenphase promise holds, so stopping there has probability at most per stage. At the high-eigenphase promise holds, so failing to stop has probability at most . The intermediate stage is unconstrained and either branch is allowed. Apart from a total probability at most , all histories stop at or , and satisfy at their inverse stage. This is the full adjacent-stage ambiguity analysis; it makes no unique-estimate assumption.
Correct histories stop by time . Orthogonality of eigenvectors and histories gives ideal RMS square at most , with wrong-history mass contributing at most . By step 1.3, the actual controlled simulations have total clean-input isometry difference at most on the base list, with a reference register; the diagonal stopping-time-squared observable on the orthogonal clock histories has norm at most . For unit vectors at distance at most , the difference of its expectations is at most times this norm, by expanding the two quadratic forms and applying the triangle inequality. Consequently using [F1]'s budgets and . Thus , while . The inverse stage occurs only after stopping, so its unsuccessful workspace does not affect any later stopping probability.
In the ideal- comparison circuit let the joint eigenvalue/history projection select first stops with . Its complement, including a final no-stop history, has mass at most by step 2.1. On valid histories, compare the actual successful inverse compression with the common scalar ; summing the stage errors conservatively gives . On the complement, the actual projected output has norm at most by contractivity, while the comparison vector produced by has norm at most . By step 1.3, simulation hybrids contribute at most for and at most for the comparison circuit . Therefore, with all auxiliary inputs clean and internal , This compares projected output vectors and uses no full-space simulator bound.
Put . Step 3.2 gives , hence and . Applying the actual unitary preserves the vector error. For nonzero vectors , the triangle inequality gives ; apply it with to obtain conditional output error at most . The external herald is copied or measured before this uncompute; the comparison internal flag is clean and any actual residual is included in the vector error. The preparation-work register was clean initially and is untouched by and . Finally project all work, including , onto zero as specified in [F1]. Before that test, the pure joint conditional vector is within of target times clean work, so the test fails with probability at most . Its successful normalized system vector is within of the desired vector by the same normalization inequality.
Let be the original good-or-unfinished mass at interval , defined by the algorithm's projector for : the orthogonal union of branches with , , and first-stop clock word for some (later clock bits remain zero), and branches with , , and . Previously stopped bad branches and the terminal bad branch are excluded; since is set after stage , the unfinished term is empty at . It is at least because all future good mass lies in the unfinished branch; the clean factor does not change this mass. If the prior amplified selected mass is , then the next sampler has . At the pre-stage index set : preparation has run, every clock bit and is zero, and the entire state is unfinished. In particular and , establishing the induction base. Suppose inductively ; then . On the estimator-good event, gives the unamplified , with loss one. If , [F5] gives the same floor and the claimed multiplicative loss. A zero estimate or exhausted bounded crossing does not occur on this event. The induction proves every promised estimator floor and the final amplifier's lower bound . Fresh production after every classical construction transcript and ordinary amplification preserve the exact conditional good state of the actual sampler.
Step 3.1 and step 4.1 give precisely the source-scale RMS and success quantities: , and when the actual quantum interval budget is (with the declared sparse/control/implementation overhead). Here the concrete chosen common normalization is ; all supplied nonstandard costs remain in . The original Fourier/table alternate mode retains its distinct charged construction and SELECT costs; its cost is not substituted for this efficient-mode estimate.
CKS nearly-linear condition-number guarantee
Statement
Let be an Hermitian matrix with at most nonzero entries in each row, , supplied with the full sparse access model of Childs–Kothari–Somma sparse QLSP oracle model. Its finite-precision values must decode to a Hermitian with certified , and the exact QA25 encoding and simulator-call certificates must satisfy the budgets in Finite CKS sparse QLSP with variable-time inverse estimation. Let be a normalized state supported on eigenvalues with for declared , prepared by a supplied clean-work unitary . For targets and , execute the constructor at supplied rationals and , with access and construction certificates for these requests. The uncapped efficient-qsvt constructor, or a finite-cap construction that completes its certificates, outputs with probability at least a conditional pure system state admitting a unit representative within vector-norm error of , for every fixed . Here the output is conditioned on its classical execution transcript: for any unit representative of its ray, there exists , , such that . This terminal-state phase convention does not change any coherent stage, block-encoding, or controlled-operation phase specified by the access contract.
For the prescribed precision schedule and least admissible OP1A degree bounds just specified, the query bound is calls in each declared row-location, reverse-location, value, and input-preparation query coordinate; inverse and coherent forms retain their separate coordinates. A construction-cap exhaustion returns its declared timeout and is not included in this success guarantee. If the support of has the smaller condition number , may be replaced by . The output is a quantum state; no classical coordinate list is promised.
The separate gate-efficient conclusion holds only under this explicit gate specialization: every required forward, inverse and controlled form of , row-location, reverse-location, value access, and the block encoding has a uniform circuit using at most gates per call; state preparation, selected/input reflections, reversible clock predicates, dilution rotations, and the final zero-work instrument and controlled reflections also use at most gates per invocation; and each QA25 simulation at time and clean-input error has a uniform circuit using gates, with the same bound for every required controlled or inverse form. The QFTs, reversible phase comparisons and majority circuits, and efficient-grid rounding circuits used by the probability estimator must also have uniform polylogarithmic gate counts at every allowed scale. A uniform phase compiler must implement each QSVT phase within its allocated error using at most gates. Under these conditions the total quantum gate count is . Query bounds remain separate from these gate bounds. Classical polynomial/phase generation, exact algebraic comparison, median/schedule arithmetic, arithmetic bit implementation and compiler construction costs remain separate coordinates; no polylogarithmic total bit-time bound is inferred.
Facts & Assumptions
Given: The sparse supported QLSP input, certified finite-precision and simulation budgets, clean-work preparation, and the efficient-qsvt mode with completed polynomial/phase construction and its finite confidence/resource caps. In this proof write for its rational input parameters ; a guarantee for them implies the requested real-target guarantee. Use the least admissible OP1A degree bounds, with certified integer upper endpoints within one of the corresponding real ceilings, as in the polynomial-degree supplier.
Finite CKS sparse QLSP with variable-time inverse estimation specifies the actual QSVT-stage, gapped-phase, probability-estimation and finite amplification circuits and their budgets.
CKS stopping-time and success-mass instantiation proves , , , conditional target error at most , and all positive estimator floors. The final zero-work instrument returns a pure system state with error at most and additional failure at most .
Relative probability estimation with a charged finite cap supplies the finite generic estimator and its joint accuracy-and-cost event: with failure at most , sampler/inverse calls are at most , where is the actual median repetition count. Its classical cyclotomic comparisons and rounding costs are separate.
Low-target amplification has a controlled multiplicative loss gives each amplified stage loss at most and surviving probability at least ; unamplified large-estimate stages have loss one. The product loss over at most stages is bounded by in the cost recurrence.
Finite amplification preserves the good state with a deterministic call cap supplies finite heralding with failure at most , preserving the exact conditional good-state density operator.
Actual QA24 signal/phase counts and QA25 simulation/sparse-access costs are explicit (QSVT signal and reflection query counts, Qubitization query and gate resources, Correctness and access cost of sparse block encoding); the h=1 supplied-permutation specialization has the same call counts, with its exact compression established in step 1.1 of [F2].
The gate-efficient specialization in the Statement bounds each preparation/access/controlled/inverse, reflection/predicate/instrument, simulator, and compiled phase implementation uniformly, while keeping gate and query coordinates separate.
Gapped pseudoinverse polynomial degree and error: the bare-gap OP1A construction with rational and least admissible bounds has degree .
Proof
For each quantum coordinate construct from the finite stage/control/inverse/reflection/dilution lists as in [F1]. For gate coordinates its computed bound also includes the QFT/efficient-grid rounding/median overhead over the estimator's finite allowed scales, so the sampler-call estimate multiplies actual ordinary-gate overhead rather than ignoring it. The assigned dyadic times have increments , and every interval's reflection-pair and reversible-predicate cost is included in its increment. Set and , before the first interval. Let be original good-or-unfinished mass, the amplified selected mass, and the amplified circuit cost. With the ordinary amplification multiplier, . Here the sampler/inverse invocations plus reflection pairs fit this allocated budget; none of those costs is free.
To evaluate , put and . Since and , the prescribed and largest-dyadic give . The exact choice likewise has . The degree supplier with the stated least bounds gives , so . Across both base lists, there are QPE simulator sites and total absolute time . Hence the requested simulator tolerance has inverse logarithm . The value budget can be met at ; this sufficient requested bound also has inverse logarithm . Actual fixed access must meet the requests or the constructor returns INVALID_ACCESS. Phase tolerance and per-slot tolerance have inverse logarithm because the explicit stage has slots. Smaller certified actual errors do not trigger additional precision requests. Thus an inverse stage has gap and polynomial degree , and exactly that many signal calls plus one more phase slot by [F6]. The real-extraction, dilution and success-projector circuits are explicit. Gapped phase estimation uses the least admissible dyadic label size and coherent repetitions. At each QPE power, the actual QA25 small-time-aware simulation has signal cost, with a separately counted zero-signal branch for sufficiently small time; summing its dyadic evolution times gives and summing the additive precision term gives only additional logarithmic factors. Controlled/inverse calls and sparse block construction carry their actual costs. Thus the query-coordinate interval bound is , with an additional factor only if the optional sorted-XOR sparse bridge is chosen. Under the explicit gate specialization in the Statement, the and sparse-access calls, controlled/inverse forms, QA25 simulator, phase compiler, reflections, clock predicates, dilution rotations and final instrument have the stated uniform gate costs; substituting these bounds into the same interval list gives for the gate coordinate. No bare matrix or arbitrary black-box unitary is assigned free access.
Put and . Expanding the recurrence and substituting telescopes the probability factors. The product loss in [F4], together with , gives . Also , where is original unfinished mass. The first dyadic increment is at most and later increments equal the preceding deadline, so . Thus by [F2], Consequently the next unamplified sampler's cost satisfies These estimates also hold at the initial interval with and .
Use confidence for each of at most generic estimator invocations and relative error . On the intersection of their joint accuracy-and-cost events, [F3] and step 2.1 bound the total quantum estimation cost by . The floors and both scheduler branches are valid by [F2]. The final production cost is at most , since in the bound for .
The final lower-bound amplifier has , dyadic trial range , and . Its sampler/reflection budget is therefore at most . The median repetition choice in [F3] implies by comparing its defining geometric confidence inequality with . The final cost is at most . All these costs fit strictly below the specified cap . Thus on the good confidence event the resource-timeout branch is never reached, and on every transcript the primitive-cost budget is at most .
The union bound for the estimator events is at most , including their joint cost failures. Conditional on the good construction transcript, [F5] fails with probability at most . The final zero-work test has additional failure at most by [F2]. Hence the finite solver succeeds with probability at least . For a fixed good construction transcript, [F5] gives the same conditional good-state density operator as the actual sampler on every successful terminal amplification branch. Let be its phase-fixed one-attempt good unit vector, to which [F2] applies. A unit ket on any such branch is with . Applying the actual internal uncompute and projecting work onto zero multiplies the resulting canonical system vector by the same ; normalization preserves this unit phase. Thus choosing the representative with this phase removed gives exactly the normalized vector estimate of [F2], and every other unit representative satisfies the stated bound after multiplication by a unit scalar. The external herald is recorded before uncomputing internal flag/bucket work. No relative phase between eigencomponents or coherent stages is changed. All numerical implementation errors used here are the deterministic vector bounds already allocated in [F1], so they are not omitted probabilistic failures.
Since , and , the cap in step 4.1 is in the query specialization, and has only the stated polynomial-logarithmic gate overhead. Fixing a constant gives the original source target. If a smaller support-gap promise is supplied, run the same construction with that declared parameter and replace throughout. Output remains a quantum state. Classical polynomial/phase generation, exact algebraic comparisons, arithmetic bit implementation and compiler construction remain separately charged coordinates; this quantum gate/query result asserts no polylogarithmic total bit-time for them. The retained full Fourier-table and capped alternates preserve their actual costs and are not used to infer the efficient-mode bound.
5 · Examples, counterexamples and false statements
None yet.
Sources
- András Gilyén, Yuan Su, Guang Hao Low, and Nathan Wiebe, Quantum singular value transformation and beyond
- Andris Ambainis, Variable time amplitude amplification and a faster quantum algorithm for solving systems of linear equations
- Andrew M. Childs, Lecture Notes on Quantum Algorithms
- Aram W. Harrow, Avinatan Hassidim, and Seth Lloyd, Quantum algorithm for linear systems of equations
- Andrew M. Childs, Robin Kothari, and Rolando D. Somma, Quantum algorithm for systems of linear equations with exponentially improved dependence on precision
- NIST Digital Library of Mathematical Functions, §4.24
- Preskill, Quantum Computation, §5.2.2–§5.2.3
- Brassard, Høyer, Mosca, and Tapp, Quantum Amplitude Amplification and Estimation
- Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp, Quantum Amplitude Amplification and Estimation
- Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp, Quantum amplitude amplification and estimation