NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Forrelation: A Problem that Optimally Separates Quantum from Classical Computing

Scott Aaronson, Andris Ambainis

TL;DR

This paper introduces the "Forrelation" problem, which demonstrates the largest known separation between quantum and classical query complexity. It shows that a task solvable with just one quantum query requires a quadratic number of classical queries, and crucially, proves this separation is near-optimal. This work provides a fundamental understanding of quantum speedups and offers a simple, BQP-complete problem.

What Problem Does This Paper Address?

The paper tackles the question of how large quantum speedups can be in the black-box model, specifically focusing on query complexity. While problems like Simon's algorithm and Shor's algorithm show exponential speedups, these often rely on non-Boolean queries or don't achieve the maximal possible separation. The authors aim to find a problem that requires a constant number of quantum queries but an exponentially larger (or at least superpolynomial) number of classical queries. This is known as the "Speedup Question." Previous attempts, like Simon's problem, achieved separations like O(log N) quantum vs. Ω(√N) classical, or O(1) quantum vs. Ω(N¹/⁴) classical. The authors seek to push this boundary further, aiming for a separation closer to the theoretical maximum.

Methods

The core of the paper revolves around the Forrelation problem and its generalization to k-fold Forrelation.

  • Forrelation: This problem involves deciding if two Boolean functions, $f$ and $g$, are highly correlated with each other's Fourier transforms. It's designed such that a quantum algorithm can solve it with just one query, while a classical randomized algorithm requires Ω(√N) queries.
  • k-fold Forrelation: This generalizes the problem to $k$ Boolean functions, where the quantum query complexity is reduced to $O(k/2)$ and the classical query complexity is $O(N^{1-1/k})$.
  • Real Forrelation & Gaussian Distinguishing: To prove the lower bounds, the authors introduce "continuous relaxations" of Forrelation, called Real Forrelation and Gaussian Distinguishing. These problems involve real-valued functions and Gaussian distributions, which are more amenable to geometric and analytical techniques. A key step is showing that a lower bound on these continuous problems implies a similar lower bound for the original Boolean Forrelation.
  • Polynomial Approximation: The paper leverages the connection between quantum query complexity and low-degree polynomials. A crucial result shows that any $t$-query quantum algorithm can be simulated by a classical randomized algorithm making $O(N^{1-1/2t})$ queries. This is achieved by showing that quantum algorithms' acceptance probabilities can be represented by "block-multilinear" polynomials, which can then be estimated efficiently by sampling.
  • BQP-Completeness: The authors demonstrate that k-fold Forrelation is BQP-complete, meaning it captures the full computational power of quantum computers for decision problems. This is achieved by showing how to encode arbitrary quantum circuits into the Forrelation problem.

Datasets

Not discussed in the paper. The problems studied are defined by oracle access to Boolean or real-valued functions, not by pre-existing datasets.

Key Insights and Ideas

  • Optimal Separation: The paper establishes that the separation achieved by Forrelation (1 quantum query vs. Ω(√N) classical queries) is near-optimal. This is demonstrated by showing that any $t$-query quantum algorithm can be simulated by $O(N^{1-1/2t})$ classical queries, meaning a 1-query quantum algorithm can be simulated by $O(\sqrt{N})$ classical queries. This resolves a long-standing open question about the existence of problems with constant vs. linear quantum/classical query complexity gaps.
  • Forrelation as a Universal Quantum Problem: The k-fold Forrelation problem is shown to be BQP-complete. This is significant because it's a relatively simple problem to state and analyze, yet it encapsulates the full power of quantum computation for decision problems.
  • Bridging Continuous and Discrete: The use of "continuous relaxations" (Real Forrelation, Gaussian Distinguishing) is a powerful technique for proving lower bounds on discrete problems by leveraging analytical tools.
  • Block-Multilinear Polynomials: The connection between quantum algorithms and block-multilinear polynomials provides a new complexity measure that might offer tighter lower bounds than standard polynomial degree.

Key Results

  • Forrelation: Solvable with 1 quantum query, requires Ω(√N) classical randomized queries.
  • k-fold Forrelation: Solvable with $O(k/2)$ quantum queries, requires Ω($N^{1-1/k}$) classical randomized queries.
  • Quantum Simulation: Any $t$-query quantum algorithm can be simulated by $O(N^{1-1/2t})$ classical randomized queries.
  • BQP-Completeness: k-fold Forrelation is PromiseBQP-complete.
  • Sampling Separation: Fourier Sampling problem achieves a 1 quantum query vs. Ω(N/log N) classical query separation.

Limitations and Future Work

  • Conjecture on General Polynomials: The authors conjecture that the "block-multilinear" condition for polynomials in Theorem 4 can be removed, which would lead to a more general sublinear algorithm for estimating bounded polynomials. They prove this for $k=2$ in Appendix 8.
  • k-fold Forrelation Conjecture: They conjecture that k-fold Forrelation achieves the optimal separation for all even $k$, i.e., $O(k/2)$ quantum vs. $\Omega(N^{1-1/k})$ classical queries. Proving this for $k > 2$ is noted as a challenging open problem due to the complexity of analyzing the underlying manifolds.
  • Optimal Separation for Sampling: The authors conjecture that the separation for Fourier Sampling (1 quantum vs. $\Omega(N/\log N)$ classical) is tight and that similar separations exist for other sampling and relation problems.
  • Quantum Error for Forrelation: While a 1-query quantum algorithm for Forrelation exists, its error probability is around 0.4. The paper raises the question of how small the quantum error can be for a 1 vs. $\Omega(N^{\Omega(1)})$ separation.
  • Property Testing: The paper shows that Forrelation can be recast as a property-testing problem with a large quantum/classical separation, but further work might be needed to handle certain edge cases.

Summary updated

BibTeX
@inproceedings{aaronson2015forrelation,
  author = {Scott Aaronson and Andris Ambainis},
  title = {{Forrelation: A Problem that Optimally Separates Quantum from Classical Computing}},
  booktitle = {STOC},
  year = {2015},
  doi = {10.1145/2746539.2746547},
}
Figure