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.
Modular order finding with rational reconstruction
Definition
Input. An integer , the standard representative of a unit class modulo , and an integer specifying target failure probability .
The representative is the unique one in by For , every class in has one representative with , so ; while is in bijection with ; unit membership is equivalent to by The unit group and Euler's totient for and For , is a unit if and only if . The register ket uses Dirac Notation Conversion. The superposition output law for applying the QPE gate list to this non-eigenvector input is supplied by Phase estimation on a superposition of eigenspaces.
Output. An accepted candidate, or FAIL.
Instructions. Set , , , and . The inequality follows from . Compute the inverse constant by the following binary-integer loop. Initialize . While , use division with remainder to compute with and , compute the least residue , and simultaneously replace by . Division and least residues use Division with remainder in : for and there are unique with and and For , every class in has one representative with , so ; while is in bijection with ; use schoolbook binary arithmetic for every update. When the loop stops, return FAIL if ; otherwise set and . The inverse identity, termination, and preprocessing bit cost are established in Gate and bit cost of modular multiplication and powering. For , compute and . Then and for all .
Repeat independently for samples . Initialize the system register to the valid residue and apply the QPE phase-estimation circuit with phase-register length . Its controlled gate is implemented by the explicit controlled modular-multiplication circuit for from Reversible modular multiplication by a unit. This procedure uses the QPE gate list on ; it does not assert that is an eigenvector. Measure the phase register to obtain . Run Rational reconstruction from a phase sample with . If it returns FAIL, retain no denominator from this sample. If it returns , compute as follows: set , , ; while , if is odd set , then set and . Retain exactly when the final .
After all samples, return the smallest retained positive denominator; return FAIL if none was retained. A passing candidate is not called the order unless it is minimal. The exact criterion iff the order divides is If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for . The separate item thm-qa-modular-order-finding-success proves the probability guarantee and the fact that every retained candidate is an order multiple.
Depends on
- Quantum phase estimation
- Phase estimation on a superposition of eigenspaces
- Dirac Notation Conversion
- Rational reconstruction from a phase sample
- Reversible modular multiplication by a unit
- Correctness of the reversible modular multiplier
- Division with remainder in $\mathbb{Z}$: for $a \in \mathbb{Z}$ and $b > 0$ there are unique $q, r \in \mathbb{Z}$ with $a = qb + r$ and $0 \le r < b$
- Gate and bit cost of modular multiplication and powering
- 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$
- For $n\ge 1$, every class in $\mathbb{Z}/n$ has one representative $r$ with $0\le r<n$, so $\lvert\mathbb{Z}/n\rvert=n$; while $\mathbb{Z}/0$ is in bijection with $\mathbb{Z}$
- If $\operatorname{ord}(g) = n$ then $g^{k} = e$ iff $k$ is an integer multiple of $n$, the powers $g^{0}, \dots, g^{n-1}$ are distinct, and $\langle g \rangle$ has exactly $n$ elements; if $g$ has infinite order then $g^{j} = g^{k}$ only for $j = k$
Used by
- Shor factoring with verified output and bounded outer retries Algorithm
- A non-coprime phase gives a proper order divisor Example
- Separate order-finding query, gate, and bit costs Theorem
- Separate Shor factoring bit, gate, and query costs Theorem
- Success probability and repetition for modular order finding Theorem
Dependency tree · two levels
108 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, §9 (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)