Reducing the Number of Qubits in Quantum Factoring
Clémence Chevignard, Pierre-Alain Fouque, André Schrottenloher
Abstract
This paper focuses on the optimization of the number of logical qubits in quantum algorithms for factoring and computing discrete logarithms in . These algorithms contain an exponentiation circuit modulo , which is responsible for most of their cost, both in qubits and operations.
In this paper, we show that using only work qubits, one can obtain the least significant bits of the modular exponentiation output. We combine this result with May and Schlieper's truncation technique (ToSC 2022) and the Eker-Hstad variant of Shor's algorithm (PQCrypto 2017) to solve the discrete logarithm problem in using only qubits, where is the bit-size of the logarithm. Consequently we can factor -bit RSA moduli using qubits, while current envisioned implementations require about qubits.
Our algorithm uses a Residue Number System and succeeds with a parametrizable probability. Being completely classical, we have implemented and tested it. For RSA factorization, we can reach a gate count for a depth , which then has to be multiplied by (the number of measurement results required by Eker-Hstad). To factor an RSA-2048 instance, we estimate that 1730 logical qubits and Toffoli gates will suffice for a single run, and the algorithm needs on average 40 runs. To solve a discrete logarithm instance of 224 bits (112-bit classical security) in a safe-prime group of 2048 bits, we estimate that 684 logical qubits would suffice, and 20 runs with Toffoli gates each.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- Reducing the Number of Qubits in Quantum Discrete Logarithms on Elliptic CurvesClémence Chevignard, Pierre-Alain Fouque, André SchrottenloherEUROCRYPT 2026 · 6 citations
- Parallel Spooky Pebbling Makes Regev Factoring More PracticalGregory D. Kahanamoku-Meyer, Seyoon Ragavan, Katherine Van KirkEUROCRYPT 2026 · 1 citation
- The Jacobi Factoring Circuit: Quantum Factoring with Near-Linear Gates and Sublinear Space and DepthGregory D. Kahanamoku-Meyer, Seyoon Ragavan, Vinod Vaikuntanathan, Katherine Van KirkSTOC 2025 · 1 citation
Builds on1
Related papers
- Optimizing windowed arithmetic for quantum attacks against RSA-2048Alessandro Luongo, Varun Narasimhachar, Adithya SireeshDAC 2025
- Comparing the Difficulty of Factorization and Discrete Logarithm: A 240-Digit ExperimentFabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger et al.CRYPTO 2020 · 70 citations
- Approximate Divisor Multiples - Factoring with Only a Third of the Secret CRT-ExponentsAlexander May, Julian Nowakowski, Santanu SarkarEUROCRYPT 2022 · 11 citations
- Quantum Complexity for Discrete Logarithms and Related ProblemsMinki Hhan, Takashi Yamakawa, Aaram YunCRYPTO 2024 · 8 citations
- Low Weight Discrete Logarithm and Subset Sum in 20.65n with Polynomial MemoryAndre Esser, Alexander MayEUROCRYPT 2020 · 14 citations
