Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: Not applicablePipeline-generatedjudge pass (gpt-6-luna)
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.

Costed coherent evaluation of cyclic group powers

Definition

Inputs are a valid instance from Finite cyclic discrete-logarithm problem and costed encoding, exponent registers u,v∈{0,…,q−1}, and one of these access profiles:

  1. a supplied coherent XOR oracle for f(u,v)=guxv; initialize a fresh output target to 0w, invoke the oracle once, and return its output (the zero target need not be the encoding of the group identity); or
  2. explicit reversible group-operation circuits, or separately charged named controlled-multiplication operations with the same complete-register action, for each classically specified constant and its inverse. Initialize a fresh accumulator to enc⁡(e), the code of the group identity. Precompute gj=g2j and xj=x2j for 0≤j<L, where L=⌈log⁡2q⌉, by repeated squaring. For j=0,…,L−1, use the bit uj to apply the clean controlled multiplication by gj to the accumulator, and use vj to apply the clean controlled multiplication by xj. The procedure is the circuit of Clean reversible controlled multiplication by a cyclic constant applied at each control bit.

In profile 2, return the accumulator as the function value. The exponent registers are unchanged, all work and temporary target wires are returned to their declared initial states, and each direct oracle invocation or group-operation invocation is charged under its separately declared access profile. If only an uncontrolled black-box group operation is supplied, return UNSUPPORTED_ACCESS: it does not provide a controlled call.

To supply the total coherent XOR oracle required by the hidden-subgroup sampler, profile 2 is wrapped as follows. Prepare its w-bit accumulator from zero to enc⁡(e) with at most w Pauli-X gates, execute the 2L controlled multiplications, copy the resulting w-bit value by CNOT into an arbitrary target y, then reverse the evaluation using the separately supplied inverse-constant controlled multiplications. Finally undo the initial X gates. This implements ∣u,v,y⟩↦∣u,v,y⊕enc⁡(guxv)⟩ on valid exponent codes and restores every auxiliary wire to zero. The supplied total controlled operations also define its action on invalid exponent codes; these values are the declared Boolean extension. The wrapper uses 4L controlled multiplications and at most 3w extra X/CNOT gates; preparation, output copying, and inverse calls are charged.

Remarks

The two explicit-circuit loops use 2L controlled multiplications per function evaluation. Their correctness and clean-work identity are proved in Correctness and clean-work cost of cyclic power evaluation. This algorithm makes no generic efficiency claim for abstract finite groups.

Depends on

Used by

Dependency tree · two levels

44 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