Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

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 k-bit label y, with M=2k, and return aM(y)/M2. Its range is [0,1], zero label returns zero, and absolute error is at most 3/(4M2)<M−2. All following thresholds, medians, caps and scale choices are unchanged. The helper supplies actual uniform polynomial-in-log⁡M 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 A, initial vector ∣0⟩, supplied orthogonal success projection Π, and unknown probability p=∥ΠA∣0⟩∥2; rational parameters 0<pmin⁡≤1, 0<c<1/4, and 0<β<1; and the promise p=0 or p≥pmin⁡.

Use the repeated controlled-unitary access mode with Q=−AS0A∗Sgood from that task definition. Controlled A, controlled A∗, controlled S0, controlled Sgood, and the control phase are explicitly supplied or implemented with declared costs. An ordinary preparation A∣0⟩ is also available and charged. Ordinary uncontrolled sampler access alone does not supply these controlled capabilities.

Output. A rational estimate p^∈[0,1]. 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 Mj=4⋅2j. Determine the least integer L≥0 with ML2pmin⁡≥1024 by doubling and rational comparison. Set δ=min⁡{1/16,β/(L+2)}. Choose the least positive odd integer r with (4/5)r≤δ, using rational multiplication and comparison.

For each dyadic integer M≥4, define the following two subprocedures.

  1. RoundedAE⁡(M) runs QFT-based amplitude estimation with label size M, obtaining the exact real cyclotomic output z=sin⁡2(πy/M). If y=0, return zero. Otherwise use Finite exact comparison of real cyclotomic values and binary search among the integers 0≤t≤M2 to find the largest t with t/M2≤z, and return t/M2. Equality is decided by the same exact comparison procedure; z=1 returns 1.
  2. MedAE⁡(M) runs r independent copies of RoundedAE⁡(M) and returns their middle order statistic, using rational comparisons.

For j=0,…,L in order, compute bj=MedAE⁡(Mj). If bj≥256/Mj2, stop this loop at J=j, choose the least power of two N≥16MJ/c, and return the output of a fresh MedAE⁡(N). If no such detection occurs through j=L, 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.

Depends on

Used by

Dependency tree · two levels

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

Sources