Parallel Spooky Pebbling Makes Regev Factoring More Practical
Gregory D. Kahanamoku-Meyer, Seyoon Ragavan, Katherine Van Kirk
Abstract
Pebble games," an abstraction from classical reversible computing, have found use in the design of quantum circuits for inherently sequential tasks. Gidney showed that allowing Hadamard basis measurements during pebble games can dramatically improve costs-an extension termed "spooky pebble games" because the measurements leave temporary phase errors called ghosts. In this work, we define and study parallel spooky pebble games. Previous work by Blocki, Holman, and Lee (TCC 2022) and Gidney studied the benefits offered by either parallelism or spookiness individually; here we show that these resources can yield impressive gains when used together. First, we show by construction that a line graph of length 𝓁 can be pebbled in depth 2𝓁 (which is exactly optimal) using space ≤ 2.47 log 𝓁. Then, to explore pebbling schemes using even less space, we use a highly optimized 𝐴 * search implemented in Julia to find the lowest-depth parallel spooky pebbling possible for a range of concrete line graph lengths 𝓁 given a constant number of pebbles 𝑠.
We show that these techniques can be applied to Regev's factoring algorithm (Journal of the ACM 2025) to significantly reduce the cost of its arithmetic. For example, we find that 4096-bit integers 𝑁 can be factored in multiplication depth 193, which outperforms the 680 required of previous variants of Regev and the 444 reported by Ekerå and Gärtner for Shor's algorithm (IACR Communications in Cryptology 2025). While the space required for Shor's algorithm is considerably less than any variant of Regev's algorithm including ours, and thus Shor likely remains the best candidate for the first quantum factorization of large integers, our results show that implementations of Regev's algorithm are far from fully optimized, and thus Regev's algorithm may have practical importance in the future. We also believe our pebbling techniques will find applications in quantum cryptanalysis beyond integer factorization, and in quantum circuit compilation more broadly.
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.
Builds on3
- Space-Efficient and Noise-Robust Quantum FactoringSeyoon Ragavan, Vinod VaikuntanathanCRYPTO 2024 · 11 citations
- Reducing the Number of Qubits in Quantum FactoringClémence Chevignard, Pierre-Alain Fouque, André SchrottenloherCRYPTO 2025 · 8 citations
- The Impact of Reversibility on Parallel PebblingJeremiah Blocki, Blake Holman, Seunghoon LeeEUROCRYPT 2025 · 1 citation
Related papers
- Optimizing windowed arithmetic for quantum attacks against RSA-2048Alessandro Luongo, Varun Narasimhachar, Adithya SireeshDAC 2025
- 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
- Reducing the Number of Qubits in Quantum Discrete Logarithms on Elliptic CurvesClémence Chevignard, Pierre-Alain Fouque, André SchrottenloherEUROCRYPT 2026 · 6 citations
- Quantum Precomputation: Parallelizing Cascade Circuits and the Moore-Nilsson Conjecture Is FalseAdam Bene Watts, Charles R. Chen, J. William Helton, Joseph SloteSTOC 2026 · 1 citation
- Quantum Advantage from Soft DecodersAndré Chailloux, Jean-Pierre TillichSTOC 2025 · 1 citation
