Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: 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.

Exact success amplification by attenuating the good branch

Definition

Input a prepared sampler A, its inverse A†, an orthogonal good projection Πgood, and an exactly represented known a∈[0,1] equal to the success weight. The model must supply the coherent flag unitary Cgood=Πgood⊗X+(I−Πgood)⊗I and its inverse, a clean flag qubit F, a clean temporary qubit T, external clean implementation workspace, and exact real arithmetic and controlled flag-rotation access, including inverse rotations. These are explicit capabilities; a bare phase reflection does not supply Cgood, and no finite-bit gate synthesis is asserted. The input data space is the possibly abstract space H and specified vector ∣0⟩ of Prepared unitary and success subspace for amplitude amplification; no full classical description or computational-basis test for that vector is inferred. No controlled access to A is required.

If a=0, return fail without normalizing a good component. If a=1, prepare A∣0⟩ and apply {Πgood,I−Πgood}. Supply and charge that instrument directly, or construct it by applying Cgood to data and a clean scratch bit, measuring only that bit, and applying Cgood†; this costs two flag calls and one bit measurement and resets the scratch. Return the good conditional state; in the diagonal classical-output case, measure the designated output and verify it.

For 0<a<1, set θ:=arcsin⁡a∈(0,π/2), using Principal inverse sine and inverse cosine and Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0}, and define m=⌈π4θ−12⌉,θ′=π4m+2,r=sin⁡2θ′a. Since m≥π/(4θ)−1/2, we have 4m+2≥π/θ, hence 0<θ′≤θ<π/2. Sine is strictly increasing on [0,π/2], so 0<sin⁡2θ′≤sin⁡2θ=a, proving 0<r≤1; the square roots in the following rotation are the unique nonnegative roots. On the enlarged data, flag, and temporary registers, construct A′ by the following finite gate sequence:

  1. Start every added register in ∣0⟩ and apply A to the data.
  2. Apply Cgood to the data and temporary bit.
  3. Controlled on the temporary bit being 1, apply the flag rotation Rr=(1−r−rr1−r),Rr∣0⟩=1−r∣0⟩+r∣1⟩.
  4. Apply Cgood† to uncompute the temporary bit. This full unitary is A′; its inverse reverses these operations and uses A†.

The logical enlarged space is H′=H⊗F⊗T, with specified input ∣0′⟩=∣0⟩H∣0⟩F∣0⟩T and success projector Π′=Πgood⊗∣1⟩⟨1∣F⊗IT. Its required reflections are S0′=IH′−2∣0′⟩⟨0′∣ and Sgood′=IH′−2Π′. Select and charge the following access modes before execution.

  • Zero reflection. Either explicitly supply one direct S0′ call, or supply controlled access C(S0) to the original data reflection S0=IH−2∣0⟩⟨0∣. In the latter mode, initialize an external scratch qubit q to 0; apply X to F,T, Toffoli(F,T;q), C(S0) controlled by q on H, Toffoli(F,T;q), and X to F,T again. This uses one controlled-S0 call, two Toffolis and four X gates per enlarged zero reflection. Controlled S0 is an additional capability and is not inferred from ordinary S0 access.
  • Good reflection. In the constructed mode, apply Cgood to (H,q) with external scratch q=0, then CZ(q,F), then Cgood† to (H,q). This uses two flag calls and one CZ per Sgood′. An alternative direct mode explicitly supplies and charges Sgood′ instead. Here X, Toffoli and CZ are the exact supplied qubit gates of The Pauli matrices, Toffoli and Fredkin gates and Controlled-Z and SWAP, with their gate costs charged.

The scratch q starts and ends in 0 for each reflection and may be reused. It is external implementation workspace, not part of the logical input ∣0′⟩ or the projector defining S0′. The constructions implement the displayed logical operators on every vector of H′ with clean scratch; neither assumes T=0 to implement IT in the good projector.

Prepare A′∣0′⟩, apply exactly m iterates −A′S0′A′†Sgood′, then perform the projective instrument {Π′,I−Π′}. The terminal instrument is an explicitly supplied, separately charged capability. Alternatively construct it with two external clean bits q,d: apply Cgood on (H,q), Toffoli(q,F;d), measure only d in the computational basis to obtain the good/bad record, then reverse the Toffoli and the flag call. Both scratch bits return to 0 on either observed branch; this option adds two flag calls, two Toffolis and one bit measurement, separately from the reflection counts. Return the good conditional output, discarding F,T; T is clean and F=1 on success. In the diagonal classical-output specialization, measure the designated output after the good outcome and use the supplied verifier.

Remarks

The ideal exact-real and exact-rotation assumptions are part of the input model. A finite-precision implementation requires a separate error budget and theorem.

Depends on

Used by

Dependency tree · two levels

89 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