Paper 2025/1887

Parallel Spooky Pebbling Makes Regev Factoring More Practical

Gregory D. Kahanamoku-Meyer, Massachusetts Institute of Technology
Seyoon Ragavan, Massachusetts Institute of Technology
Katherine Van Kirk, Harvard University
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 $\ell$ can be pebbled in depth $2\ell$ (which is exactly optimal) using space $\leq 2.47\log \ell$. Then, to explore pebbling schemes using even less space, we use a highly optimized $A^*$ search implemented in Julia to find the lowest-depth parallel spooky pebbling possible for a range of concrete line graph lengths $\ell$ given a constant number of pebbles $s$. 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 $N$ 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.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
A minor revision of an IACR publication in EUROCRYPT 2026
DOI
10.1007/978-3-032-25291-3_14
Keywords
factoringquantumRegev's algorithm
Contact author(s)
gkm @ mit edu
sragavan @ mit edu
kvankirk @ g harvard edu
History
2026-07-02: last of 3 revisions
2025-10-09: received
See all versions
Short URL
https://ia.cr/2025/1887
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1887,
      author = {Gregory D. Kahanamoku-Meyer and Seyoon Ragavan and Katherine Van Kirk},
      title = {Parallel Spooky Pebbling Makes Regev Factoring More Practical},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1887},
      year = {2025},
      doi = {10.1007/978-3-032-25291-3_14},
      url = {https://eprint.iacr.org/2025/1887}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.