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.
Finite cyclic discrete-log correctness, success and costs
Statement
Let have known exact order , let , and let be supplied as binary positive integers . Write for the sum of their bit lengths. For an access profile of Finite cyclic discrete logarithm by Fourier sampling supplying either the direct coherent oracle or the complete supported power-evaluation fallback, every returned exponent is verified and equals the unique . If neither is supplied, the procedure returns UNSUPPORTED_ACCESS before sampling; the following sampling, success and cost guarantees concern the supported profiles. Each independent Fourier sample succeeds with probability . Put , let be the least integer with , and set . With samples, the probability of returning the exact answer is at least .
Let be the supplied group-element encoding width. A direct coherent function-oracle profile uses at most function queries and separately uses ordinary multiplication/equality operations for classical verification. If is implemented by controlled group multiplications, there are controlled-multiplication calls and the same order of ordinary multiplication/equality calls for verification. If the explicitly supplied reversible multiplication, equality, and both forward and inverse-constant controlled-multiplication circuits each cost at most gates and the supplied exact uniform preparation and product QFT cost ideal gates, the total ideal gate count is
If one classical multiplication or equality operation on the encoding costs at most bit operations and modular inverses use the schoolbook extended-Euclidean algorithm, the classical bit cost of confidence preprocessing, arithmetic and verification is
All query, gate, and classical bit bounds are conditional on the stated supplied interfaces. The exact binary QFT is counted in the ideal-gate model; no finite-set compilation cost or generic efficient group encoding is asserted.
Facts & Assumptions
Given: A cyclic discrete-log instance with , , confidence target supplied as binary positive integers of total bit length , and the exact sampling and operation interfaces specified above.
On a supported profile, the procedure performs at most independent exact finite-abelian Fourier samples until a candidate is verified, discards nonunit first coordinates, computes an inverse, verifies the candidate, and returns FAIL if none is verified (Finite cyclic discrete logarithm by Fourier sampling).
The sample law is uniform on the annihilator of the hidden subgroup (Fourier samples are uniform in the annihilator).
For the cyclic DLP subgroup, annihilator labels satisfy , and a uniform annihilator label has uniform (Fourier annihilator equation for cyclic discrete logarithm).
The unit group modulo has residue classes; a residue is a unit exactly when its gcd with is one, and (The unit group and Euler's totient for , For , is a unit if and only if , Elementary lower bound for the totient ratio).
If , Correctness and bit cost of the modular inverse recurrence returns the inverse of modulo using bit operations.
The group operation and gate/query costs are separate coordinates, and no oracle call or controlled operation is free unless explicitly supplied (Circuit-family and computation cost model, Finite cyclic discrete-logarithm problem and costed encoding).
The power-evaluation circuit returns with all clean work restored; its full XOR wrapper uses separately supplied forward/inverse-constant controlled multiplications and additional elementary gates (Correctness and clean-work cost of cyclic power evaluation).
Integer powers satisfy the product and exponent laws (Exponent laws in a group: and for all , and when and commute).
Proof
By [F2], each sample is uniform on . The bijection in [F3] makes uniform on and forces . Exactly of the residues are units by [F4], so the probability of a unit is .
If is a unit, [F5] supplies modulo . Then . The algorithm returns only after testing , so every returned residue is the required exponent; rejecting a failed equality cannot produce an incorrect output.
Since , , so . Each sample calls the finite-abelian sampler once, which uses one direct query by [F1], so this bounds direct function queries. By [F7], one explicit evaluation uses controlled group multiplications. Binary repeated squaring computes the verification power with at most ordinary multiplications: square successive powers of and multiply the accumulator by each power whose exponent bit is one; [F8] proves the resulting accumulator is . The constant precomputation takes further group operations once. Thus the explicit- implementation uses group-operation queries; with a direct oracle, step 1.2 shows that the first unit-coordinate sample verifies and terminates. Hence verification occurs at most once and needs classical group multiplications, which also satisfies the stated looser bound.
Put . Extend the independent sample list to draws for this probability calculation, even when the procedure stops earlier. The probability that all independent samples have nonunit first coordinate is . By [F4], . Since , we have . Therefore and . Whenever at least one sample has a unit coordinate, step 1.2 returns ; hence success probability is at least .
In the explicit circuit profile, each sample's full XOR function evaluation and verification use gates, while the supplied uniform preparation and product QFT use ideal gates. The modular inverse on -bit residues uses bit operations by [F5], and each classical group operation uses at most bits. Multiplying these per-sample costs by gives the sampling, arithmetic and verification terms in the displayed bounds. In the direct--oracle profile, verification and inverse steps have bit work per sample, while one query costs one query and has no implicit gate bound. Precomputation contributes only additional bit operations and is absorbed because and .
To compute , compare with for successive until the first successful comparison. Since and , ; all tested integers have bits. Binary shifts and comparisons therefore cost in total. Computing from and multiplying cost at most by schoolbook arithmetic, absorbed by since . Adding this preprocessing gives the stated classical bit bound. The access coordinates remain separate by [F6].
Depends on
- Finite cyclic discrete logarithm by Fourier sampling
- Correctness and clean-work cost of cyclic power evaluation
- Finite cyclic discrete-logarithm problem and costed encoding
- Fourier annihilator equation for cyclic discrete logarithm
- One finite abelian hidden-subgroup Fourier sample
- Fourier samples are uniform in the annihilator
- Elementary lower bound for the totient ratio
- The unit group $(\mathbb{Z}/n)^\times$ and Euler's totient $\varphi(n)=\lvert(\mathbb{Z}/n)^\times\rvert$ for $n\ge1$
- For $n\ge1$, $[a]_n$ is a unit if and only if $\gcd(a,n)=1$
- Circuit-family and computation cost model
- Correctness and bit cost of the modular inverse recurrence
- Exponent laws in a group: $g^{m+n} = g^{m}g^{n}$ and $(g^{m})^{n} = g^{mn}$ for all $m, n \in \mathbb{Z}$, and $(gh)^{n} = g^{n}h^{n}$ **when $g$ and $h$ commute**
Used by
Dependency tree · two levels
86 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
- Andrew M. Childs, Lecture Notes on Quantum Algorithms (17 April 2025) (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes, arXiv:1907.09415v6 (standard reference, not scraped)
- Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (standard reference, not scraped)