Tight Bounds on the Spooky Pebble Game: Recycling Qubits with Measurements
Niels Kornerup, Jonathan Sadun, David Soloveichik
TL;DR
The paper investigates the spooky pebble game as a measurement-based method to recycle qubits in quantum simulations of classical sequential computation. It delivers asymptotically tight time-qubit trade-offs on the line, showing that any $T$-time, $S$-space computation can be implemented with $O(T/\varepsilon)$ gates and $O(T^{\varepsilon}S^{1-\varepsilon})$ qubits for any $\varepsilon \in (0,1]$, among complementary bounds. It further proves PSPACE-hardness for approximating minimum pebbles on general DAGs while providing efficient spooky pebbling strategies for complete binary trees with $h+1$ pebbles and $O(n\log n)$ steps, highlighting a practical qubit-saving advantage over reversible approaches. These results quantify the trade-offs between qubit usage and time in quantum simulations and offer guidance for designing measurements-based quantum algorithms.
Abstract
Pebble games are popular models for analyzing time-space trade-offs. In particular, the reversible pebble game is often applied in quantum algorithms like Grover's search to efficiently simulate classical computation on inputs in superposition. However, the reversible pebble game cannot harness the additional computational power granted by irreversible intermediate measurements. The spooky pebble game, which models interleaved measurements and adaptive phase corrections, reduces the number of qubits beyond what reversible approaches can achieve. While the spooky pebble game does not reduce the total space (bits plus qubits) complexity of the simulation, it reduces the amount of space that must be stored in qubits. We prove asymptotically tight trade-offs for the spooky pebble game on a line with any pebble bound, giving a tight time-qubit tradeoff for simulating arbitrary classical sequential computation with the spooky pebble game. For example, for all $ε\in (0,1]$, any classical computation requiring time $T$ and space $S$ can be implemented on a quantum computer using only $O(T/ ε)$ gates and $O(T^εS^{1-ε})$ qubits. This improves on the best known bound for the reversible pebble game with that number of qubits, which uses $O(2^{1/ε} T)$ gates. We also consider the spooky pebble game on more general directed acyclic graphs (DAGs), capturing fine-grained data dependency in computation. We show that for an arbitrary DAG even approximating the number of required pebbles in the spooky pebble game is PSPACE-hard. Despite this, we are able to construct a time-efficient strategy for pebbling binary trees that uses the minimum number of pebbles.
