Papers
Topics
Authors
Recent
Search
2000 character limit reached

Forrelation: Quantum Query Benchmark

Updated 7 July 2026
  • Forrelation is a promise problem defined by the inner product between a Boolean function and the Fourier transform of another, serving as a benchmark for quantum versus classical query complexities.
  • It demonstrates a nearly optimal exponential separation: one-query quantum algorithms solve the problem while classical methods require nearly √N queries, underpinning key oracle separation results.
  • Extensions like k-fold Forrelation and variants (extremal, XOR, random-orthogonal) broaden its applications to quantum algorithm design, BQP-completeness proofs, and experimental validations.

Forrelation is a promise problem and correlation quantity on Boolean functions over the hypercube that measures how strongly one function aligns with the Fourier, or Walsh–Hadamard, transform of another. In its original two-function form, it was introduced by Aaronson and Ambainis as a query-complexity benchmark that yields an essentially maximal separation between quantum and classical randomized query complexity; in higher-fold form, it also serves as an explicit complete problem for quantum computation in the PromiseBQP sense (Aaronson et al., 2014).

1. Definition and formal variants

Let f,g:{0,1}n{1,1}f,g:\{0,1\}^n\to\{-1,1\}, and write N=2nN=2^n. The standard 2-fold Forrelation quantity is

Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).

Equivalently, if

f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),

then

Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).

Accordingly, 2-fold Forrelation is “simply the inner product between a Boolean function and Fourier transformation of another Boolean function” [(Aaronson et al., 2014); (Li et al., 2016)].

The standard promise version asks one to distinguish

Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,

promised that one of the two holds. The asymmetry is important: the YES case is large positive Forrelation, not merely large absolute value (Aaronson et al., 2014).

The kk-fold generalization is

Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),

for Boolean functions f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}. The corresponding promise problem uses the same thresholds,

Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,

and for N=2nN=2^n0 the chained phase pattern is exactly the same, with factors N=2nN=2^n1 (Li et al., 2016).

A closely related notation in later work writes

N=2nN=2^n2

which is the same Fourier-correlation quantity in normalized Fourier form. In that convention the extremal promise becomes N=2nN=2^n3 versus N=2nN=2^n4 (Canonne et al., 7 Feb 2026).

2. Quantum query complexity and extremal separations

The importance of Forrelation in query complexity comes from the fact that its defining correlation is itself a quantum circuit amplitude. For 2-fold Forrelation,

N=2nN=2^n5

where the phase oracles satisfy

N=2nN=2^n6

This yields a 1-query quantum algorithm for 2-fold Forrelation, while any randomized classical algorithm requires

N=2nN=2^n7

queries. Aaronson and Ambainis also proved the converse simulation theorem that any N=2nN=2^n8-query quantum algorithm can be simulated by a randomized algorithm using

N=2nN=2^n9

queries, so the 1-versus-Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).0 gap is essentially optimal for partial Boolean decision problems (Aaronson et al., 2014).

For the Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).1-fold problem, the same interference pattern gives a quantum algorithm with

Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).2

In the explicit-input setting, where the Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).3 are given by circuits rather than as black-box oracles, Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).4-fold Forrelation with Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).5 is PromiseBQP-complete, and the original paper further emphasized that this yields “what’s arguably the simplest BQP-complete problem yet known” (Aaronson et al., 2014).

Forrelation also separates rounds of quantum adaptivity. For Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).6, the Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).7-fold problem can be solved by an Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).8-round quantum algorithm with one query per round, but any Φf,g=123n/2x,y{0,1}nf(x)(1)xyg(y)=1N3/2x,y{0,1}nf(x)(1)xyg(y).\Phi_{f,g} = \frac{1}{2^{3n/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y) = \frac{1}{N^{3/2}} \sum_{x,y\in\{0,1\}^n} f(x)(-1)^{x\cdot y}g(y).9-round quantum algorithm requires f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),0 parallel queries per round; more generally, the paper gives f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),1 versus f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),2 round separations derived from new Fourier-growth bounds for low-round quantum query algorithms (Girish et al., 2023).

3. Classical algorithms, simulations, and stronger classical lower bounds

The classical side of Forrelation has two distinct strands: nearly optimal black-box algorithms, and lower bounds that remain valid in stronger classical models. For the standard additive-approximation task

f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),3

there is a classical randomized algorithm with query complexity

f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),4

and runtime

f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),5

which is a nearly quadratic runtime improvement over the naive f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),6-scale estimator. The same paper also repaired a gap in the literature by proving that the acceptance probability of any f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),7-query quantum algorithm can be approximated to additive error f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),8 with

f^(y)=1Nx{0,1}n(1)xyf(x),\widehat f(y)=\frac{1}{\sqrt N}\sum_{x\in\{0,1\}^n}(-1)^{x\cdot y}f(x),9

classical queries, matching known lower bounds up to polynomial factors. In a structured graph-based variant, however, hardness can disappear: graph-based Forrelation can be estimated in runtime

Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).0

when the graph can be partitioned into two induced subgraphs of treewidth at most Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).1, which specializes to

Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).2

for bipartite and planar graphs; that tractability was then used to simulate level-2 RQAOA on planar graphs up to Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).3 qubits (Bravyi et al., 2021).

On the lower-bound side, Forrelation remains hard even if classical algorithms are strengthened from ordinary decision trees to parity decision trees. Using new Fourier bounds for randomized parity decision trees together with a theorem of Bansal and Sinha, one obtains

Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).4

while quantum query complexity remains

Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).5

For constant Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).6, this is the familiar

Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).7

separation, now against a strictly stronger classical query model in which nodes may query arbitrary parities of the input bits (Girish et al., 2021).

4. Extremal, XOR, and random-orthogonal variants

A particularly rigid version is the extremal promise

Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).8

In this regime the quantum algorithm becomes exact: one quantum query suffices with success probability Φf,g=1Ny{0,1}nf^(y)g(y).\Phi_{f,g}=\frac1N\sum_{y\in\{0,1\}^n}\widehat f(y)\,g(y).9. The structural reason is that equality in Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,0 forces Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,1 to be a bent function and Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,2 to be its rescaled Fourier transform. One paper established a classical randomized lower bound of

Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,3

for this extremal problem and analyzed it through a linear-algebraic characterization of bent functions (Girish et al., 4 Aug 2025). A later paper improved the classical lower bound to

Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,4

equivalently

Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,5

using a different construction based on partial spread bent functions and high-order collision arguments (Canonne et al., 7 Feb 2026).

Beyond ordinary Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,6-fold Forrelation, Tal introduced Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,7-fold Rorrelation by replacing the Hadamard matrix with a random orthogonal matrix Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,8. The resulting promise problem still has a quantum algorithm using Φf,g1100fromΦf,g35,|\Phi_{f,g}|\le \frac{1}{100} \qquad\text{from}\qquad \Phi_{f,g}\ge \frac35,9 queries, but for most kk0 any randomized algorithm requires

kk1

queries, yielding kk2 versus kk3 for constant kk4. Tal further showed that stronger Fourier bounds for classical decision trees would imply kk5 versus kk6 separations for partial Boolean functions (Tal, 2019).

The XOR of many independent Forrelation copies provides another route below the usual kk7 classical-advantage barrier. For the XOR of kk8 independent copies, any family of Boolean functions closed under restrictions and with bounded level-kk9 Fourier mass has advantage at most

Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),0

and a later note rederived the analytic core of this result by representing the relevant Forrelation distribution as stopped Brownian motion and applying Dynkin’s formula to obtain an Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),1 bound in terms of restricted level-Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),2 Fourier mass (Girish et al., 2020, Wu, 2021).

5. Restricted quantum models and physical realizations

Forrelation is not confined to the full BQP model. A three-qubit liquid-state NMR experiment implemented 2-fold and 3-fold Forrelation on Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),3C-labeled diethyl-fluoromalonate, with Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),4C as ancilla and Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),5H and Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),6F as work qubits. The circuit was compiled into Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),7 ms GRAPE pulses, the ancilla observable satisfied

Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),8

and the measured values tracked the targets Φf1,,fk=12(k+1)n/2x1,,xk{0,1}n(j=1k1(1)xjxj+1)(j=1kfj(xj)),\Phi_{f_1,\ldots,f_k} = \frac{1}{2^{(k+1)n/2}} \sum_{x_1,\ldots,x_k\in\{0,1\}^n} \left(\prod_{j=1}^{k-1}(-1)^{x_j\cdot x_{j+1}}\right) \left(\prod_{j=1}^k f_j(x_j)\right),9 closely enough to distinguish the promise thresholds f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}0 and f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}1. The authors explicitly did not interpret the three-qubit NMR demonstration as a literal quantum-supremacy result; rather, they presented it as a small-scale validation that the relevant interference patterns and threshold accuracies are experimentally accessible (Li et al., 2016).

The problem also persists in computational models weaker than BQP. In the f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}2BQP model, where the computation acts on one half of an EPR state and learns the random input basis string only after measurement, 2-Forrelation can be solved with f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}3 quantum queries by defining

f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}4

and using the identity

f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}5

That inclusion lifts the Raz–Tal oracle problem to f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}6BQP and yields an oracle f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}7 such that f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}8; the same paper conjectures that already 3-Forrelation lies beyond f1,,fk:{0,1}n{1,1}f_1,\dots,f_k:\{0,1\}^n\to\{-1,1\}9BQP (Jacobs et al., 2024).

A different restricted model is IQP. Recent work showed that signed 2-Forrelation is solvable by a single IQP computation with one query to the joint oracle Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,0, and the unsigned Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,1 version by two IQP runs and two total queries. The construction hinges on the quadratic identity

Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,2

which allows the inner-product phase Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,3 to be synthesized inside a commuting diagonal layer. The same paper derives an oracle separation

Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,4

and proves Fourier-growth bounds showing that any IQP algorithm solving 2-Forrelation must accept on an exponentially large set of outputs (Buzet et al., 16 Apr 2026).

In the explicit-input setting, Forrelation becomes a vehicle for reductions and embeddings rather than only a black-box separation. One line of work restricts each Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,5 in explicit Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,6-Forrelation to be either constant or of the form

Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,7

where Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,8 is a product of at most three input bits, with at least one function depending on exactly three bits. Under that restriction, explicit Φf1,,fk1100orΦf1,,fk35,|\Phi_{f_1,\ldots,f_k}|\le \frac{1}{100} \qquad\text{or}\qquad \Phi_{f_1,\ldots,f_k}\ge \frac35,9-Forrelation remains PromiseBQP-complete, and the same structure yields direct feature maps and quantum kernels showing that a variational quantum classifier or a QSVM with a carefully engineered Forrelation embedding can solve a PromiseBQP-complete classification task efficiently (Jäger et al., 2022).

The Forrelation distribution also functions as an oracle gadget. One paper describes it as “a sort of cryptographic code” by which an oracle can make information available to BQP while keeping it hidden from classical machines. There the Raz–Tal Forrelation distribution N=2nN=2^n00 is used to encode answers to other computations inside oracle blocks that are quantumly distinguishable from uniform but pseudorandom to N=2nN=2^n01 and N=2nN=2^n02. This idea underlies oracle constructions such as N=2nN=2^n03 and N=2nN=2^n04 via the composed problems N=2nN=2^n05 and N=2nN=2^n06 (Aaronson et al., 2021).

Privacy-preserving variants also preserve the underlying separation. In a covert verifiable learning model with public quantum phase queries and private classical membership queries, Forrelation can be solved with polynomially many public and private queries while maintaining either exact target-covertness against unidirectional adversaries or cheat-sensitive privacy against i.i.d. ancilla-free adversaries. The paper presents this as evidence that the exponential quantum-classical separation for Forrelation survives under covertness constraints (Anand et al., 8 Oct 2025).

Finally, a related but distinct operator-norm variant, spectral Forrelation, replaces Boolean sign functions by two subsets N=2nN=2^n07 and asks whether

N=2nN=2^n08

is above or below a threshold. Equivalently, the question is whether there exists a quantum state whose computational-basis measurement distribution is concentrated on N=2nN=2^n09 while its Fourier-basis measurement distribution is concentrated on N=2nN=2^n10. That matrix-norm formulation underlies a classical-oracle separation between QMA and QCMA (Bostanci et al., 12 Nov 2025).

Forrelation therefore occupies a rare position in quantum complexity theory: it is at once a concrete Fourier-analytic quantity, a nearly extremal witness of quantum query advantage, a robust source of oracle separations, a flexible template for restricted and experimental models, and a starting point for generalizations in which the same Hadamard-structured interference is recast as parity-decision-tree hardness, random-orthogonal correlation, covert learning, or operator-norm geometry.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Forrelation Problem.