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.

Szegedy-walk marked-set detection

Definition

Input. A finite symmetric lazy row-stochastic matrix P on nonempty X, with uniform stationary law and, when ∣X∣≥2, real promised lower gap δ0∈(0,1] satisfying δ(P)=1−λ2(P)≥δ0; a marked predicate with promise M=∅ or ∣M∣/∣X∣≥ε0 for real ε0∈(0,1]; and a real failure target β∈(0,1). Supply an exact two-outcome projective test on the first register with its Lüders instrument and declared cost Cmark; this cost includes the marked-branch label readout and verification. The finite classical input supplies, for each z∈{δ0,ε0,β}, a certified dyadic bracket [z−,z+] encoded by finite binary numerators and exponents, with 0<z−≤z≤z+≤min⁡(1,2z−). The bracket containments are input promises; every endpoint bit and all subsequent comparison, precision, and bit-time costs are charged. Such a finite bracket exists for every real parameter in the stated interval. The numerical input model also supplies terminating exact comparisons for rational values and the algebraic real parts of roots of unity used below; it declares and charges their bit-time and description costs. Write δ‾=(δ0)−, ε‾=(ε0)−, and β‾=β−. Also supply a circuit Aunif preparing ∣s⟩=∣X∣−1/2∑x∈X∣x⟩ with its cost and a row-preparation access model for the absorbing chain P′ of Discriminant of the marked-state absorbing walk. The model supplies VP′, its inverse and controlled forms, the clean-state reflection and its controlled form, and the swap and controlled swap needed for the one-reflection walk; each constituent is separately charged. If ∣X∣=1, the procedure measures its sole label with the marked predicate and terminates exactly, without using the gap parameter or walk. Marked-check, preparation, controlled-walk, inverse, gate, precision, comparison, and description-bit costs are separate declared inputs. A matrix alone supplies none of these circuits.

Output. NONEMPTY if a marked label is found or the phase test accepts; otherwise EMPTY. A found label is returned and checked against the supplied predicate.

Instructions.

  1. If ∣X∣=1, measure its only label, evaluate the supplied predicate and return the exact answer. Otherwise set γ0=arccos⁡(1−δ‾ ε‾). Start at m=6 and increment until the exact comparison 1−δ‾ ε‾≤cos⁡(π25−m), and set Q=2m. Since the compared cosine is the real part of a root of unity, this is a finite exact algebraic comparison; it is equivalent to m=⌈log⁡2(32π/γ0)⌉. Start at k=1 and increment until the exact rational comparison 6kβ‾≥1 holds, equivalently k=⌈ln⁡(1/β‾)/ln⁡6⌉. Both loops terminate because δ‾ ε‾>0 and β‾>0. All comparisons and their bit costs are part of the declared input cost model.
  2. Repeat the following fresh-state run k times, stopping early if NONEMPTY is returned.
  3. Prepare ∣s⟩ with Aunif and apply the supplied row preparation VP′ to obtain the two-register row state. On the first register, use the supplied two-outcome projective measurement with Π1=∑x∈M∣x⟩⟨x∣⊗Irest and Π0=I−Π1, with Lüders branch maps Z↦ΠaZΠa. These maps form a valid instrument: the projections are non-negative, sum to identity, and equal their own non-negative square roots, so The square-root Lüders maps form an instrument applies. If outcome 1 occurs, measure the first register in its computational basis, verify the resulting label x∈M, and output NONEMPTY and x immediately. If outcome 0 occurs with positive probability, continue with its normalized projected state; this preserves coherence among all unmarked labels. Outcome 0 is impossible when M=X, so no conditional state is needed there.
  4. On the unmarked branch, apply the coherent QPE circuit prefix from Quantum phase estimation to the conditioned two-register state for the one-reflection walk U′=S(2T′T′∗−I), where T′ is the row-preparation map for P′. The QPE prefix is a finite unitary circuit and acts on this arbitrary conditioned superposition; its eigenvector input in the outcome analysis does not restrict the circuit's input domain. Measure the phase register only after the controlled-power and inverse-QFT circuit has run. Use supplied controlled powers if available; otherwise implement each controlled U′2j by 2j sequential controlled one-step U′ calls. The factorwise controlled call charges controlled VP′†, controlled VP′, the controlled clean-state reflection, and controlled swap. No controlled inverse of U′ is used.
  5. For the measured integer y∈{0,…,Q−1}, compute d(y)=min⁡(y/Q,1−y/Q) using exact rational arithmetic. Since 0<δ‾ ε‾≤1, the principal inverse-cosine convention and cosine monotonicity give 0<γ0≤π/2. Return NONEMPTY exactly when d(y)>γ0/(4π); equality takes the EMPTY branch. This strict comparison is finite: if d(y)>1/8 accept, and if d(y)≤1/8 compare the algebraic numbers cos⁡(4πd(y)) and 1−δ‾ ε‾, accepting exactly when the former is strictly smaller. Here 4πd(y) is a rational multiple of π, so its cosine is the real part of a root of unity; monotonicity of cosine on [0,π] gives the stated comparison. Charge the exact comparison and all phase-register/inverse-QFT gates.
  6. If all k fresh runs fail to return NONEMPTY, output EMPTY. A run uses one marked check, the supplied uniform-state and one row-preparation costs, one m-bit QPE, and its explicitly charged controlled-walk calls. With only one-step controlled access, QPE uses exactly Q−1 controlled U′ calls. Gate synthesis, bracket-description bits, exact comparison arithmetic, and classical threshold bits are additional charged costs.

Depends on

Used by

Dependency tree · two levels

121 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