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.

Power-of-two dihedral hidden-subgroup sieve

Definition

Input an integer n≥1, N=2n, and either (i) a coherent XOR oracle OF for a total encoded function F:DN→S that is constant on each left coset of the unknown reflection subgroup Hs=⟨yxs⟩ and takes distinct values on different left cosets, or (ii) a finite cyclic hidden-shift instance on A=Z/NZ together with its reflection oracle constructed by Hidden shift as generalized-dihedral hidden subgroup. Use coordinates (a,b)∈Z/NZ×Z/2Z with multiplication (a,b)(a′,b′)=(a+(−1)ba′,b+b′) and fix x=(−1,0) and y=(0,1); then yxs=(s,1). Charge each supplied or constructed oracle call according to its interface.

Every projective readout below is implemented by the Lüders instrument of its stated projections. Charge each supplied measurement or instrument implementation under its declared interface.

For n≤5, query all group elements (at most 2N≤64 values of F) and return the unique s for which F(0,0)=F(s,1). For n≥6, set m=⌈n−1⌉ once and retain this m through all recursive calls. The following procedure is run at modulus 2r, starting with r=n:

  1. If r≤5, use the direct-query base case. Otherwise set tr=⌈(r−1)/m⌉ and create a list L0 of M=3⋅23m independent coset samples: prepare the uniform group state with Hadamards on its r+1 coordinate bits, evaluate OF, discard the function-output register, apply the positive-sign QFT⁡2r to the cyclic coordinate and measure that coordinate. Store the measured label k and retain its conditional qubit ∣ψk⟩=(∣0⟩+e2πiks/2r∣1⟩)/2.

  2. For each j=0,…,tr−1, put wj=min⁡(m,r−1−mj). The current labels are divisible by 2mj. Bucket them by the wj bits of k/2mj immediately above those trailing zeroes, using only the lower r−1 bits of k. In each bucket, preserve current list order, pair consecutive entries, and leave the last entry unmatched if the bucket has odd size; this is a maximum-cardinality disjoint matching. For each pair, apply the CNOT pair combiner and measure its second qubit with the Lüders instrument. Retain only outcome 1; the retained state has label k−ℓ(mod2r). Discard unmatched states and outcome-0 states. The next list consists of the retained states.

  3. The widths sum to r−1, so every final label is 0 or 2r−1. If a state with label 2r−1 occurs, measure its qubit in the {∣+⟩,∣−⟩} basis. Outcome + means s is even; outcome − means s is odd. If the target label is absent, return FAIL.

  4. For even s, put r′=r−1, x′=x2, y′=y, and s′=s/2. Identify child coordinates with K0=⟨x2,y⟩ by ϕ0:Z/2r′Z×Z/2Z⟶Z/2rZ×Z/2Z,ϕ0(a′,b′)=(2a′,b′)(mod2r). Use the child oracle F0=F∘ϕ0 and run this procedure at modulus 2r′. A coherent F0 query is implemented by appending a fresh clean low address bit 0 to the r′ bits of a′, retaining b′, and making one parent OF call.

    For odd s, put r′=r−1, x′=x2, y′=yx, and s′=(s−1)/2. Identify child coordinates with K1=⟨x2,yx⟩ by ϕ1:Z/2r′Z×Z/2Z⟶Z/2rZ×Z/2Z,ϕ1(a′,b′)=(2a′+b′,b′)(mod2r). Use F1=F∘ϕ1 and recurse at modulus 2r′. To implement a coherent F1 query, append a fresh clean low address bit z=0, copy b′ to z by CNOT, make one parent OF call on the ambient address (a′,z,b′), and uncopy z by the same CNOT. Thus each child hiding-oracle query uses one parent F query; the odd embedding adds two ordinary CNOT gates per query, and the even embedding adds none beyond the clean address wire. Return 2s′ in the even branch and 2s′+1 in the odd branch.

    Before the recursive call, discard the current sample, pair, output, and label registers after recording the parity branch; carry only the classical branch result and recursion parameters. The child call reuses this workspace.

The exact sampling-state law and pair-combination identity are in Fourier sample from a generalized-dihedral reflection coset state and Dihedral hidden-state pair combination. The correctness, error, and resource claims for this locally specified shortened-final-width version are proved in Kuperberg dihedral hidden-subgroup scope and resource claim. The procedure is only specified for power-of-two cyclic orders; no arbitrary-N or arbitrary finite-abelian extension is asserted.

Depends on

Used by

Dependency tree · two levels

87 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