On the success probability of quantum order finding
Martin Ekerå
TL;DR
This work provides a formal, quantitative lower bound on the probability that Shor's quantum order-finding algorithm recovers the true order $r$ in a single run, without increasing the quantum resource length. By incorporating two constrained searches in the classical post-processing—one near the observed frequency and a second via continued fractions or lattice-based methods—the authors guarantee a high success probability for any $r$, with the bound approaching 1 as $r$ grows. They also establish corollaries showing that, under the same framework, one can factor any integer $N$ completely in a single order-finding run with high probability, and extend these results to the case where the factorization of $N$ is recovered via $r$ once $g$ is chosen uniformly at random from $\mathbb{Z}_N^*$. The analysis hinges on precise approximations of the frequency distribution $P(\alpha_r)$ by $\widetilde{P}(\alpha_r)$, proving approximate uniformity, and leveraging cm-smoothness of the gcd $d=\gcd(r,z)$ to recover $r$ from $\tilde{r}=r/d$, all while maintaining polynomial-time classical post-processing. This strengthens the practical viability of Shor-type order finding for factoring tasks, especially under realistic constraints on quantum resources.
Abstract
We prove a lower bound on the probability of Shor's order-finding algorithm successfully recovering the order $r$ in a single run. The bound implies that by performing two limited searches in the classical post-processing part of the algorithm, a high success probability can be guaranteed, for any $r$, without re-running the quantum part or increasing the exponent length compared to Shor. Asymptotically, in the limit as $r$ tends to infinity, the probability of successfully recovering $r$ in a single run tends to one. Already for moderate $r$, a high success probability exceeding e.g. $1 - 10^{-4}$ can be guaranteed. As corollaries, we prove analogous results for the probability of completely factoring any integer $N$ in a single run of the order-finding algorithm.
