English

Classical algorithms for Forrelation

Quantum Physics 2021-11-02 v2 Mathematical Physics math.MP

Abstract

We study the forrelation problem: given a pair of nn-bit Boolean functions ff and gg, estimate the correlation between ff and the Fourier transform of gg. This problem is known to provide the largest possible quantum speedup in terms of its query complexity and achieves the landmark oracle separation between the complexity class BQP and the Polynomial Hierarchy. Our first result is a classical algorithm for the forrelation problem which has runtime O(n2n/2)O(n2^{n/2}). This is a nearly quadratic improvement over the best previously known algorithm. Secondly, we show that quantum query algorithm that makes tt queries to an nn-bit oracle can be simulated by classical query algorithm making only O(2n(11/2t))O(2^{n(1-1/2t)}) queries. This fixes a gap in the literature arising from a recently discovered critical error in a previous proof; it matches recently established lower bounds (up to poly(n,t))poly(n,t)) factors) and thus characterizes the maximal separation in query complexity between quantum and classical algorithms. Finally, we introduce a graph-based forrelation problem where nn binary variables live at vertices of some fixed graph and the functions f,gf,g are products of terms describing interactions between nearest-neighbor variables. We show that the graph-based forrelation problem can be solved on a classical computer in time O(n)O(n) for any bipartite graph, any planar graph, or, more generally, any graph which can be partitioned into two subgraphs of constant treewidth. The graph-based forrelation is simply related to the variational energy achieved by the Quantum Approximate Optimization Algorithm (QAOA) with two entangling layers and Ising-type cost functions. By exploiting the connection between QAOA and the graph-based forrelation we were able to simulate the recently proposed Recursive QAOA with two entangling layers and 225225 qubits on a laptop computer.

Keywords

Cite

@article{arxiv.2102.06963,
  title  = {Classical algorithms for Forrelation},
  author = {Sergey Bravyi and David Gosset and Daniel Grier and Luke Schaeffer},
  journal= {arXiv preprint arXiv:2102.06963},
  year   = {2021}
}

Comments

53 pages, 10 figures. v2: added a new author, a linear-time algorithm for graph-based forrelation, improved presentation