Quantum Algorithms for Modular Factorials
Abstract
We give a bounded-error quantum algorithm that, given a prime , a divisor , and an integer , computes in expected time for some absolute constant . When has a divisor of size , this gives the exponent . To our knowledge, this is the first algorithm to break the exponent barrier for modular factorials under such a divisor promise. The main technical ingredient is a quantum algorithm that reconstructs the relevant Jacobi sum exactly in compact algebraic form, with polynomial dependence on and . We further extend the same asymptotic bound to the computation of , uniformly over . At , this determines the Wilson quotient . We conjecture that the condition is a technical limitation of the present method rather than an inherent obstruction, and that a uniform quantum algorithm exists for all primes.
Cite
@article{arxiv.2607.29453,
title = {Quantum Algorithms for Modular Factorials},
author = {Yann Tal},
journal= {arXiv preprint arXiv:2607.29453},
year = {2026}
}
Comments
41 pages