Hhan (2024) introduced the quantum generic ring model (QGRM), where a quantum algorithm computes in a ring isomorphic to with the modulus hidden, and proved two logarithmic ring-operation lower bounds: one for order finding when is a product of safe primes under an unproven counting assumption on safe primes, and one for factoring algorithms whose output integer is relatively small. Both bounds carry auxiliary restrictions that stand between them and unconditional evidence that quantum factoring requires ring operations: the order-finding bound fails for general prime moduli and relies on a Sophie Germain-type counting conjecture, and the factoring bound is vacuous for outputs of the magnitude produced by Shor's algorithm, . The problem is to remove both restrictions — prove comparable lower bounds for general prime moduli (uniform -bit primes) without the counting assumption, and for factoring with unrestricted output size — or to refute them by exhibiting generic algorithms that escape the bounds.
Background
The generic group model (GGM), introduced by Shoup (1997), formalizes algorithms that treat group elements as opaque encodings and interact with them only through a group-operation oracle and equality tests; in this model any discrete-logarithm algorithm in a prime-order group needs operations. The generic ring model extends the idea to the ring : Aggarwal and Maurer (2009) showed that when is known, breaking RSA generically is equivalent to factoring. In the quantum setting, Hhan, Yamakawa, and Yun (2023; CRYPTO 2024) defined the quantum generic group model (QGGM) and proved that any generic quantum algorithm for the discrete logarithm in a prime-order group needs group operations, showing that Shor's algorithm is asymptotically optimal among generic quantum algorithms.
Hhan (2024) introduced the quantum generic ring model (QGRM) and proved its lower bounds through compression arguments: a successful algorithm is converted into a communication protocol that transmits information (such as the factorization of ) more cheaply than information-theoretic compression lemmas allow. In the QGRM the ring is isomorphic to with , and — unlike the classical generic ring model — the modulus is not given to the algorithm; the algorithm holds element registers and qubit registers, with element gates that coherently address up to element registers (as governed by the parameters and ), applies coherent gates for ring addition, subtraction, product-addition, inversion, and equality tests, and may use certain classical preprocessing. The cost metric is the number of element gates (ring operations). Order finding means outputting , the least with ; it is the core subroutine of Shor's factoring algorithm, which computes and then a factor of from . Regev's (2023) factoring algorithm is also captured by a modified variant whose output is a small integer sharing a factor with .
Two theorems anchor the QGRM. Theorem 6.1: if are random -bit safe primes — primes with also prime, the value being a Sophie Germain prime — and , then, assuming the number of -bit safe primes is at least (a variant of the conjecture that safe primes below number ), any QGRM order-finding algorithm succeeds only with probability exponentially small in unless . The proof exploits that for safe primes , , the order of a random equals or with probability , from which can be recovered by solving a quadratic — so a successful order-finding algorithm compresses the -bit description of , and the interactive compression lemma of Bab Hadiashar, Nayak, and Renner (2018) bounds achievable compression as a function of . Theorem 6.2: any QGRM algorithm that outputs a plain integer with (computed without modular reduction, since is hidden) succeeds with probability , a bound that is meaningful only when is not too large; it covers the modified Regev algorithm but not Shor's algorithm, whose natural output has bit length as large as about , where the bound is vacuous. These are the first lower-bound results suggesting that quantum factoring needs a logarithmic number of ring operations in an idealized ring model — but both carry auxiliary restrictions, and the source paper itself flags that its bound 'cannot apply to Shor's algorithm in general'.
Problem Statement
In the quantum generic ring model (QGRM) of Hhan (2024, Section 6.1) — a ring isomorphic to with hidden from the algorithm, element and equality gates acting on element registers, classical preprocessing allowed, and cost measured as the number of ring operations — settle the following two lower-bound questions without the auxiliary restrictions of the source, or refute them. In both parts the target lower bound is the source's , i.e., for constant model parameters :
(a) Order finding for general moduli: prove that any QGRM algorithm that, given a random with and uniform independent -bit primes, not necessarily safe — the distribution of the source's Theorem 6.2 — outputs with non-negligible probability must use ring operations, with no assumption about the count of safe primes or Sophie Germain primes and no use of the special order structure of safe-prime moduli; or exhibit such an algorithm achieving ring operations for this same distribution.
(b) Factoring with unrestricted output: prove that any QGRM algorithm that outputs any plain integer (with no restriction on the magnitude of ) satisfying must use ring operations — in particular covering outputs of the magnitude produced by Shor's algorithm, ; or refute this by exhibiting a QGRM algorithm that outputs such a with ring operations.
The two parts jointly determine whether the QGRM yields unconditional evidence that any generic quantum factoring procedure — including Shor's algorithm itself, beyond its small-output modified variants — requires a logarithmic number of ring operations. A complete answer resolves both parts; a resolution of either part alone is meaningful progress on the shared objective.
References
- Minki Hhan. A New Approach to Generic Lower Bounds: Classical/Quantum MDL, Quantum Factoring, and More. EUROCRYPT 2025 (DOI: 10.1007/978-3-031-91098-2_13); IACR ePrint 2024/268; arXiv:2402.11269 (2024). DOI: 10.48550/arXiv.2402.11269. https://arxiv.org/abs/2402.11269
- Henry Corrigan-Gibbs, Alexandra Henzinger, David J. Wu. The Structured Generic-Group Model. EUROCRYPT 2026, IACR ePrint 2026/384. DOI: 10.1007/978-3-032-25330-9_4. https://eprint.iacr.org/2026/384
- Minki Hhan, Takashi Yamakawa, Aaram Yun. Quantum Complexity for Discrete Logarithms and Related Problems. CRYPTO 2024 (DOI: 10.1007/978-3-031-68391-6_1); arXiv:2307.03065 (2023). DOI: 10.48550/arXiv.2307.03065. https://arxiv.org/abs/2307.03065
- Oded Regev. An Efficient Quantum Factoring Algorithm. arXiv:2308.06572 (2023). DOI: 10.48550/arXiv.2308.06572. https://arxiv.org/abs/2308.06572
- Divesh Aggarwal, Ueli Maurer. Breaking RSA Generically is Equivalent to Factoring. EUROCRYPT 2009, IACR ePrint 2008/260. https://eprint.iacr.org/2008/260
- Victor Shoup. Lower Bounds for Discrete Logarithms and Related Problems. EUROCRYPT 1997. DOI: 10.1007/3-540-69053-0_18. https://doi.org/10.1007/3-540-69053-0_18
- Shima Bab Hadiashar, Ashwin Nayak, Renato Renner. Communication Complexity of One-Shot Remote State Preparation. IEEE Transactions on Information Theory 64(7):4709-4728 (2018). DOI: 10.1109/TIT.2018.2811509. https://doi.org/10.1109/TIT.2018.2811509
- Paul Kirchner, Pierre-Alain Fouque. Getting Rid of Linear Algebra in Number Theory Problems. IACR ePrint 2020/1619 (2020). https://eprint.iacr.org/2020/1619