BQP and the Polynomial Hierarchy

Scott Aaronson

Introduction

A central task of quantum computing theory is to understand how BQP\mathsf{BQP}—meaning Bounded-Error Quantum Polynomial-Time, the class of all problems feasible for a quantum computer—fits in with classical complexity classes. In their original 1993 paper defining BQP\mathsf{BQP}, Bernstein and Vazirani showed that BPP⊆BQP⊆P#P\mathsf{BPP}\subseteq\mathsf{BQP}\subseteq\mathsf{P}^{\mathsf{\#P}}.The upper bound was later improved to BQP⊆PP\mathsf{BQP}\subseteq\mathsf{PP} by Adleman, DeMarrais, and Huang . Informally, this says that quantum computers are at least as fast as classical probabilistic computers and no more than exponentially faster (indeed, they can be simulated using an oracle for counting). Bernstein and Vazirani also gave evidence that BPP≠BQP\mathsf{BPP}\neq\mathsf{BQP}, by exhibiting an oracle problem called Recursive Fourier Sampling that requires nΩ(log⁡n)n^{\Omega\left(\log n\right)} queries on a classical computer but only nn queries on a quantum computer.For more about Recursive Fourier Sampling see Aaronson . The evidence for the power of quantum computers became dramatically stronger a year later, when Shor (building on work of Simon ) showed that Factoring and Discrete Logarithm are in BQP\mathsf{BQP}. On the other hand, Bennett et al. gave oracle evidence that NP⊄BQP\mathsf{NP}\not\subset\mathsf{BQP}, and while no one regards such evidence as decisive, today it seems extremely unlikely that quantum computers can solve NP\mathsf{NP}-complete problems in polynomial time. A vast body of research, continuing to the present, has sought to map out the detailed boundary between those NP\mathsf{NP} problems that are feasible for quantum computers and those that are not.

However, there is a complementary question that—despite being universally recognized as one of the “grand challenges” of the field—has had essentially zero progress over the last sixteen years:

Is BQP\mathsf{BQP} in NP\mathsf{NP}? More generally, is BQP\mathsf{BQP} contained anywhere in the polynomial hierarchy PH=NP∪NPNP∪NPNPNP∪⋯\ \mathsf{PH}=\mathsf{NP}\cup\mathsf{NP}^{\mathsf{NP}}\cup\mathsf{NP}^{\mathsf{NP}^{\mathsf{NP}}}\cup\cdots?

The “default” conjecture is presumably BQP⊄PH\mathsf{BQP}\not\subset\mathsf{PH}, since no one knows what a simulation of BQP\mathsf{BQP} in PH\mathsf{PH} would look like. Before this work, however, there was no formal evidence for or against that conjecture. Almost all the problems for which we have quantum algorithms—including Factoring and Discrete Logarithm—are easily seen to be in NP∩coNP\mathsf{NP}\cap\mathsf{coNP}.Here we exclude BQP\mathsf{BQP}-complete problems such as approximating the Jones polynomial , which, by the very fact of being BQP\mathsf{BQP}-complete, seem hard to interpret as “evidence” for BQP⊄PH\mathsf{BQP}\not\subset\mathsf{PH}. One notable exception is Recursive Fourier Sampling, the problem that Bernstein and Vazirani originally used to construct an oracle AA relative to which BPPA≠BQPA\mathsf{BPP}^{A}\neq\mathsf{BQP}^{A}. One can show, without too much difficulty, that Recursive Fourier Sampling yields oracles AA relative to which BQPA⊄NPA\mathsf{BQP}^{A}\not\subset\mathsf{NP}^{A} and indeed BQPA⊄MAA\mathsf{BQP}^{A}\not\subset\mathsf{MA}^{A}. However, while it is reasonable to conjecture that Recursive Fourier Sampling (as an oracle problem) is not in PH\mathsf{PH}, it is open even to show that this problem (or any other BQP\mathsf{BQP} oracle problem) is not in AM\mathsf{AM}! Recall that AM=NP\mathsf{AM}=\mathsf{NP} under plausible derandomization assumptions . Thus, until we solve the problem of constructing an oracle AA such that BQPA⊄AMA\mathsf{BQP}^{A}\not\subset\mathsf{AM}^{A}, we cannot even claim to have oracle evidence (which is itself, of course, a weak form of evidence) that BQP⊄NP\mathsf{BQP}\not\subset\mathsf{NP}.

Before going further, we should clarify that there are two questions here: whether BQP⊆PH\mathsf{BQP}\subseteq\mathsf{PH} and whether PromiseBQP⊆PromisePH\mathsf{P{}romiseBQP}\subseteq\mathsf{P{}romisePH}. In the unrelativized world, it is entirely possible that quantum computers can solve promise problems outside the polynomial hierarchy, but that all languages in BQP\mathsf{BQP} are nevertheless in PH\mathsf{PH}. However, for the specific purpose of constructing an oracle AA such that BQPA⊄PHA\mathsf{BQP}^{A}\not\subset\mathsf{PH}^{A}, the two questions are equivalent, basically because one can always “offload” a promise into the construction of the oracle AA.Here is a simple proof: let Π=(ΠYES⁡,ΠNO⁡)\Pi=\left(\Pi_{\operatorname*{YES}},\Pi_{\operatorname*{NO}}\right) be a promise problem in PromiseBQPA∖PromisePHA\mathsf{P{}romiseBQP}^{A}\setminus\mathsf{P{}romisePH}^{A}, for some oracle AA. Then clearly, every PromisePHA\mathsf{P{}romisePH}^{A} machine MM fails to solve Π\Pi on infinitely many inputs xx in ΠYES⁡∪ΠNO⁡\Pi_{\operatorname*{YES}}\cup\Pi_{\operatorname*{NO}}. This means that we can produce an infinite sequence of inputs x1,x2,…x_{1},x_{2},\ldots in ΠYES⁡∪ΠNO⁡\Pi_{\operatorname*{YES}}\cup\Pi_{\operatorname*{NO}}, whose lengths n1,n2,…n_{1},n_{2},\ldots are spaced arbitrarily far apart, such that every PromisePHA\mathsf{P{}romisePH}^{A} machine MM fails to solve Π\Pi on at least one xix_{i}. Now let BB be an oracle that is identical to AA, except that for each input length nn, it reveals (i) whether n=nin=n_{i} for some ii and (ii) if so, what the corresponding xix_{i} is. Also, let LL be the unary language that contains 0n0^{n} if and only if (i) n=nin=n_{i} for some ii and (ii) xi∈ΠYES⁡x_{i}\in\Pi_{\operatorname*{YES}}. Then LL is in BQPB\mathsf{BQP}^{B} but not PHB\mathsf{PH}^{B}.

There are at least four reasons why the BQP\mathsf{BQP} versus PH\mathsf{PH} question is so interesting. At a basic level, it is both theoretically and practically important to understand what classical resources are needed to simulate quantum physics. For example, when a quantum system evolves to a given state, is there always a short classical proof that it does so? Can one estimate quantum amplitudes using approximate counting (which would imply BQP⊆BPPNP\mathsf{BQP}\subseteq\mathsf{BPP}^{\mathsf{NP}})? If something like this were true, then while the exponential speedup of Shor’s factoring algorithm might stand, quantum computing would nevertheless seem much less different from classical computing than previously thought.

Second, if BQP⊄PH\mathsf{BQP}\not\subset\mathsf{PH}, then many possibilities for new quantum algorithms might open up to us. One often hears the complaint that there are too few quantum algorithms, or that progress on quantum algorithms has slowed since the mid-1990s. In our opinion, the real issue here has nothing to do with quantum computing, and is simply that there are too few natural NP\mathsf{NP}-intermediate problems for which there plausibly could be quantum algorithms! In other words, instead of focussing on Graph Isomorphism and a small number of other NP\mathsf{NP}-intermediate problems, it might be fruitful to look for quantum algorithms solving completely different types of problems—problems that are not necessarily even in PH\mathsf{PH}. In this paper, we will see a new example of such a quantum algorithm, which solves a problem called Fourier Checking.

Third, it is natural to ask whether the P=?BQP\mathsf{P}\overset{?}{=}\mathsf{BQP} question is related to that other fundamental question of complexity theory, P=?NP\mathsf{P}\overset{?}{=}\mathsf{NP}. More concretely, is it possible that quantum computers could provide exponential speedups even if P=NP\mathsf{P}=\mathsf{NP}? If BQP⊆PH\mathsf{BQP}\subseteq\mathsf{PH}, then certainly the answer to that question is no (since P=NP⟹P=PH\mathsf{P}=\mathsf{NP}\Longrightarrow\mathsf{P}=\mathsf{PH}). Therefore, if we want evidence that quantum computing could survive a collapse of P\mathsf{P} and NP\mathsf{NP}, we must also seek evidence that BQP⊄PH\mathsf{BQP}\not\subset\mathsf{PH}.

Fourth, a major challenge for quantum computing research is to get better evidence that quantum computers cannot solve NP\mathsf{NP}-complete problems in polynomial time. As an example, could we show that if NP⊆BQP\mathsf{NP}\subseteq\mathsf{BQP}, then the polynomial hierarchy collapses? At first glance, this seems like a wild hope; certainly we have no idea at present how to prove anything of the kind. However, notice that if BQP⊆AM\mathsf{BQP}\subseteq\mathsf{AM}, then the desired implication would follow immediately! For in that case,

where the last implication was shown by Boppana, Håstad, and Zachos . Similar remarks apply to the questions of whether NP⊆BQP\mathsf{NP}\subseteq\mathsf{BQP} would imply PH⊆BQP\mathsf{PH}\subseteq\mathsf{BQP}, and whether the folklore result NPBPP⊆BPPNP\mathsf{NP}^{\mathsf{BPP}}\subseteq\mathsf{BPP}^{\mathsf{NP}} has the quantum analogue NPBQP⊆BQPNP\mathsf{NP}^{\mathsf{BQP}}\subseteq\mathsf{BQP}^{\mathsf{NP}}. In each of these cases, we find that understanding some other issue in quantum complexity theory requires first coming to grips with whether BQP\mathsf{BQP} is contained in some level of the polynomial hierarchy.

2 Our Results

This paper presents the first formal evidence for the possibility that BQP⊄PH\mathsf{BQP}\not\subset\mathsf{PH}. Perhaps more importantly, it places the relativized BQP\mathsf{BQP} versus PH\mathsf{PH} question at the frontier of (classical) circuit lower bounds. The heart of the problem, we will find, is to extend Braverman’s spectacular recent proof of the Linial-Nisan Conjecture, in ways that would reveal a great deal of information about small-depth circuits independent of the implications for quantum computing.

We have two main contributions. First, we achieve an oracle separation between BQP\mathsf{BQP} and PH\mathsf{PH} for the case of relation problems. A relation problem is simply a problem where the desired output is an nn-bit string (rather than a single bit), and any string from some nonempty set SS is acceptable. Relation problems arise often in theoretical computer science; one well-known example is finding a Nash equilibrium (shown to be PPAD\mathsf{PPAD}-complete by Daskalakis et al. ). Within quantum computing, there is considerable precedent for studying relation problems as a warmup to the harder case of decision problems. For example, in 2004 Bar-Yossef, Jayram, and Kerenidis gave a relation problem with quantum one-way communication complexity O(log⁡n)O\left(\log n\right) and randomized one-way communication complexity Ω(n)\Omega\left(\sqrt{n}\right). It took several more years for Gavinsky et al. to achieve the same separation for decision problems, and the proof was much more complicated. The same phenomenon has arisen many times in quantum communication complexity , though to our knowledge, this is the first time it has arisen in quantum query complexity.

There exists an oracle AA relative to which FBQPA⊄FBPPPHA\mathsf{FBQP}^{A}\not\subset\mathsf{FBPP}^{\mathsf{PH}^{A}}, where FBQP\mathsf{FBQP} and FBPP\mathsf{FBPP} are the relation versions of BQP\mathsf{BQP} and BPP\mathsf{BPP} respectively.Confusingly, the F\mathsf{F} stands for “function”; we are simply following the standard naming convention for classes of relation problems (FP\mathsf{FP}, FNP\mathsf{FNP}, etc).

Underlying Theorem 1 is a new lower bound against AC0\mathsf{AC}^{0} circuits (constant-depth circuits composed of AND, OR, and NOT gates). The close connection between AC0\mathsf{AC}^{0} and the polynomial hierarchy that we exploit is not new. In the early 1980s, Furst-Saxe-Sipser and Yao noticed that, if we have a PH\mathsf{PH} machine MM that computes (say) the Parity of a 2n2^{n}-bit oracle string, then by simply reinterpreting the existential quantifiers of MM as OR gates and the universal quantifiers as AND gates, we obtain an AC0\mathsf{AC}^{0} circuit of size 2poly⁡(n)2^{\operatorname*{poly}\left(n\right)} solving the same problem. It follows that, if we can prove a 2ω(polylog⁡n)2^{\omega\left(\operatorname*{polylog}n\right)} lower bound on the size of AC0\mathsf{AC}^{0} circuits computing Parity, we can construct an oracle AA relative to which ⊕PA⊄PHA\mathsf{\oplus P}^{A}\not\subset\mathsf{PH}^{A}. The idea is the same for constructing an AA relative to which CA⊄PHA\mathcal{C}^{A}\not\subset\mathsf{PH}^{A}, where C\mathcal{C} is any complexity class.

Indeed, the relation between PH\mathsf{PH} and AC0\mathsf{AC}^{0} is so direct that we get the following as a more-or-less immediate counterpart to Theorem 1:

In the unrelativized world (with no oracle), there exists a relation problem solvable in quantum logarithmic time but not in nonuniform AC0\mathsf{AC}^{0}.

The relation problem that we use to separate BQP\mathsf{BQP} from PH\mathsf{PH}, and BQLOGTIME\mathsf{BQLOGTIME} from AC0\mathsf{AC}^{0}, is called Fourier Fishing. The problem can be informally stated as follows. We are given oracle access to nn Boolean functions f1,…,fn:{0,1}n→{−1,1}f_{1},\ldots,f_{n}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, which we think of as chosen uniformly at random. The task is to output nn strings, z1,…,zn∈{0,1}nz_{1},\ldots,z_{n}\in\left\{0,1\right\}^{n}, such that the corresponding squared Fourier coefficients f^1(z1)2,…,f^n(zn)2\widehat{f}_{1}\left(z_{1}\right)^{2},\ldots,\widehat{f}_{n}\left(z_{n}\right)^{2} are “often much larger than average.” Notice that if fif_{i} is a random Boolean function, then each of its Fourier coefficients f^i(z)\widehat{f}_{i}\left(z\right) follows a normal distribution—meaning that with overwhelming probability, a constant fraction of the Fourier coefficients will be a constant factor larger than the mean. Furthermore, it is straightforward to create a quantum algorithm that samples each zz with probability proportional to f^i(z)2\widehat{f}_{i}\left(z\right)^{2}, so that larger Fourier coefficients are more likely to be sampled than smaller ones.

On the other hand, computing any specific f^i(z)\widehat{f}_{i}\left(z\right) is easily seen to be equivalent to summing 2n2^{n} bits. By well-known lower bounds on the size of AC0\mathsf{AC}^{0} circuits computing the Majority function (see Håstad for example), it follows that, for any fixed zz, computing f^i(z)\widehat{f}_{i}\left(z\right) cannot be in PH\mathsf{PH} as an oracle problem. Unfortunately, this does not directly imply any separation between BQP\mathsf{BQP} and PH\mathsf{PH}, since the quantum algorithm does not compute f^i(z)\widehat{f}_{i}\left(z\right) either: it just samples a zz with probability proportional to f^i(z)2\widehat{f}_{i}\left(z\right)^{2}. However, we will show that, if there exists a BPPPH\mathsf{BPP}^{\mathsf{PH}} machine MM that even approximately simulates the behavior of the quantum algorithm, then one can solve Majority by means of a nondeterministic reduction—which uses approximate counting to estimate Pr⁡[M outputs z]\Pr\left[M\text{ outputs }z\right], and adds a constant number of layers to the AC0\mathsf{AC}^{0} circuit. The central difficulty is that, if MM knew the specific zz for which we were interested in estimating f^i(z)\widehat{f}_{i}\left(z\right), then it could choose adversarially never to output that zz. To solve this, we will show that we can “smuggle” a Majority instance into the estimation of a random Fourier coefficient f^i(z)\widehat{f}_{i}\left(z\right), in such a way that it is information-theoretically impossible for MM to determine which zz we care about.

Our second contribution is to define and study a new black-box decision problem, called Fourier Checking. Informally, in this problem we are given oracle access to two Boolean functions f,g:{0,1}n→{−1,1}f,g:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, and are promised that either

ff and gg are both uniformly random, or

The problem is to decide whether (i) or (ii) is the case.

It is not hard to show that Fourier Checking is in BQP\mathsf{BQP}: basically, one can prepare a uniform superposition over all x∈{0,1}nx\in\left\{0,1\right\}^{n}, then query ff, apply a quantum Fourier transform, query gg, and check whether one has recovered something close to the uniform superposition. On the other hand, being forrelated seems like an extremely “global” property of ff and gg: one that would not be apparent from querying any small number of f(x)f\left(x\right) and g(y)g\left(y\right) values, regardless of the outcomes of those queries. And thus, one might conjecture that Fourier Checking (as an oracle problem) is not in PH\mathsf{PH}.

In this paper, we adduce strong evidence for that conjecture. Specifically, we show that for every k≤2n/4k\leq 2^{n/4}, the forrelated distribution over ⟨f,g⟩\left\langle f,g\right\rangle pairs is O(k2/2n/2)O\left(k^{2}/2^{n/2}\right)-almost kk-wise independent. By this we mean that, if one had 1/21/2 prior probability that ff and gg were uniformly random, and 1/21/2 prior probability that ff and gg were forrelated, then even conditioned on any kk values of ff and gg, the posterior probability that ff and gg were forrelated would still be

We conjecture that this almost kk-wise independence property is enough, by itself, to imply that an oracle problem is not in PH\mathsf{PH}. We call this the Generalized Linial-Nisan Conjecture.

Without the ±O(k2/2n/2)\pm O\left(k^{2}/2^{n/2}\right) error term, our conjecture would be equivalentUp to unimportant variations in the parameters to a famous conjecture in circuit complexity made by Linial and Nisan in 1990. Their conjecture stated that polylogarithmic independence fools AC0\mathsf{AC}^{0}: in other words, every probability distribution over NN-bit strings that is uniform on every small subset of bits, is indistinguishable from the truly uniform distribution by AC0\mathsf{AC}^{0} circuits. When we began investigating this topic a year ago, even the original Linial-Nisan Conjecture was still open. Since then, Braverman (building on earlier work by Bazzi and Razborov ) has given a beautiful proof of that conjecture. In other words, to construct an oracle relative to which BQP⊄PH\mathsf{BQP}\not\subset\mathsf{PH}, it now suffices to generalize Braverman’s Theorem from kk-wise independent distributions to almost kk-wise independent ones. We believe that this is by far the most promising approach to the BQP\mathsf{BQP} versus PH\mathsf{PH} problem.

Let us mention two further applications of Fourier Checking:

If the Generalized Linial-Nisan Conjecture holds, then just like with Fourier Fishing, we can “scale down by an exponential,” to obtain a promise problem that is in BQLOGTIME\mathsf{BQLOGTIME} but not in AC0\mathsf{AC}^{0}.

Without any assumptions, we can prove the new results that there exist oracles relative to which BQP⊄BPPpath\mathsf{BQP}\not\subset\mathsf{BPP}_{\mathsf{path}} and BQP⊄SZK\mathsf{BQP}\not\subset\mathsf{SZK}. We can also reprove all previous oracle separations between BQP\mathsf{BQP} and classical complexity classes in a unified fashion.

Assuming the Generalized Linial-Nisan Conjecture, there exists an oracle AA relative to which BQPA⊄PHA\mathsf{BQP}^{A}\not\subset\mathsf{PH}^{A}, and there also exists a promise problem in BQLOGTIME∖AC0\mathsf{BQLOGTIME}\setminus\mathsf{AC}^{0}. Unconditionally, there exists an oracle AA relative to which BQPA⊄BPPpathA\mathsf{BQP}^{A}\not\subset\mathsf{BPP}_{\mathsf{path}}^{A} and BQPA⊄SZKA\mathsf{BQP}^{A}\not\subset\mathsf{SZK}^{A}.

As a candidate problem, Fourier Checking has at least five advantages over the Recursive Fourier Sampling problem of Bernstein and Vazirani . First, it is much simpler to define and reason about. Second, Fourier Checking has the almost kk-wise independence property, which is not shared by Recursive Fourier Sampling, and which immediately connects the former to general questions about pseudorandomness against constant-depth circuits. Third, Fourier Checking can yield exponential separations between quantum and classical models, rather than just quasipolynomial ones. Fourth, one can hope to use Fourier Checking to give an oracle relative to which BQP\mathsf{BQP} is not in PH[nc]\mathsf{PH}\left[n^{c}\right] (or PH\mathsf{PH} with ncn^{c} alternations) for any fixed cc; by contrast, Recursive Fourier Sampling is in PH[log⁡n]\mathsf{PH}\left[\log n\right]. Finally, it is at least conceivable that the quantum algorithm for Fourier Checking is good for something. We leave the challenge of finding an explicit computational problem that “instantiates” Fourier Checking, in the same way that Factoring and Discrete Logarithm instantiated Shor’s period-finding problem.

3 In Defense of Oracles

This paper is concerned with finding oracles relative to which BQP\mathsf{BQP} outperforms classical complexity classes. As such, it is open to the usual objections: “But don’t oracle results mislead us about the ‘real’ world? What about non-relativizing results like IP=PSPACE\mathsf{IP}=\mathsf{PSPACE} ?”

In our view, it is most helpful to think of oracle separations, not as strange metamathematical claims, but as lower bounds in a concrete computational model that is natural and well-motivated in its own right. The model in question is query complexity, where the resource to be minimized is the number of accesses to a very long input string. When someone gives an oracle AA relative to which CA⊄DA\mathcal{C}^{A}\not\subset\mathcal{D}^{A}, what they really mean is simply that they have found a problem that C\mathcal{C} machines can solve using superpolynomially fewer queries than D\mathcal{D} machines. In other words, C\mathcal{C} has has “cleared the first possible obstacle”—the query complexity obstacle—to having capabilities beyond those of D\mathcal{D}. Of course, it could be (and sometimes is) that C⊆D\mathcal{C}\subseteq\mathcal{D} for other reasons, but if we do not even have a query complexity lower bound, then proving one is in some sense the obvious place to start.

Oracle separations have played a role in many of the central developments of both classical and quantum complexity theory. As mentioned earlier, proving query complexity lower bounds for PH\mathsf{PH} machines is essentially equivalent to proving size lower bounds for AC0\mathsf{AC}^{0} circuits—and indeed, the pioneering AC0\mathsf{AC}^{0} lower bounds of the early 1980s were explicitly motivated by the goal of proving oracle separations for PH\mathsf{PH}.Yao’s paper was entitled “Separating the polynomial-time hierarchy by oracles”; the Furst-Saxe-Sipser paper was entitled “Parity, circuits, and the polynomial time hierarchy.” Within quantum computing, oracle results have played an even more decisive role: the first evidence for the power of quantum computers came from the oracle separations of Bernstein-Vazirani and Simon , and Shor’s algorithm contains an oracle algorithm (for the Period-Finding problem) at its core.

Having said all that, if for some reason one still feels averse to the language of oracles, then (as mentioned before) one is free to scale everything down by an exponential, and to reinterpret a relativized separation between BQP\mathsf{BQP} and PH\mathsf{PH} as an unrelativized separation between BQLOGTIME\mathsf{BQLOGTIME} and AC0\mathsf{AC}^{0}.

Preliminaries

It will be convenient to consider Boolean functions of the form f:{0,1}n→{−1,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}. Throughout this paper, we let N=2nN=2^{n}; we will often view the truth table of a Boolean function as an “input” of size NN. Given a Boolean function f:{0,1}n→{−1,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, the Fourier transform of ff is defined as

We first define the Fourier Fishing problem, in both “distributional” and “promise” versions. In the distributional version, we are given oracle access to nn Boolean functions f1,…,fn:{0,1}n→{−1,1}f_{1},\ldots,f_{n}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, which are chosen uniformly and independently at random. The task is to output nn strings, z1,…,zn∈{0,1}nz_{1},\ldots,z_{n}\in\left\{0,1\right\}^{n}, at least 75% of which satisfy ∣f^i(zi)∣≥1\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 1 and at least 25% of which satisfy ∣f^i(zi)∣≥2\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 2. (Note that these thresholds are not arbitrary, but were carefully chosen to produce a separation between the quantum and classical models!)

We now want a version of Fourier Fishing that removes the need to assume the fif_{i}’s are uniformly random, replacing it with a worst-case promise on the fif_{i}’s. Call an nn-tuple ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle of Boolean functions good if

(We will show in Lemma 8 that the vast majority of ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle are good.) In Promise Fourier Fishing, we are given oracle access to Boolean functions f1,…,fn:{0,1}n→{−1,1}f_{1},\ldots,f_{n}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, which are promised to be good. The task, again, is to output strings z1,…,zn∈{0,1}nz_{1},\ldots,z_{n}\in\left\{0,1\right\}^{n}, at least 75% of which satisfy ∣f^i(zi)∣≥1\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 1 and at least 25% of which satisfy ∣f^i(zi)∣≥2\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 2.

Next we define a decision problem called Fourier Checking. Here we are given oracle access to two Boolean functions f,g:{0,1}n→{−1,1}f,g:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}. We are promised that either

⟨f,g⟩\left\langle f,g\right\rangle was drawn from the uniform distribution U\mathcal{U}, which sets every f(x)f\left(x\right) and g(y)g\left(y\right) by a fair, independent coin toss.

In other words, ff and gg individually are still uniformly random, but they are no longer independent: now gg is now extremely well correlated with the Fourier transform of ff (hence “forrelated”).

The problem is to accept if ⟨f,g⟩\left\langle f,g\right\rangle was drawn from F\mathcal{F}, and to reject if ⟨f,g⟩\left\langle f,g\right\rangle was drawn from U\mathcal{U}. Note that, since F\mathcal{F} and U\mathcal{U} overlap slightly, we can only hope to succeed with overwhelming probability over the choice of ⟨f,g⟩\left\langle f,g\right\rangle, not for every ⟨f,g⟩\left\langle f,g\right\rangle pair.

We can also define a promise-problem version of Fourier Checking. In Promise Fourier Checking, we are promised that the quantity

is either at least 0.050.05 or at most 0.010.01. The problem is to accept in the former case and reject in the latter case.

2 Complexity Classes

See the Complexity Zoowww.complexityzoo.com for the definitions of standard complexity classes, such as BQP\mathsf{BQP}, AM\mathsf{AM}, and PH\mathsf{PH}. When we write CPH\mathcal{C}^{\mathsf{PH}} (i.e., a complexity class C\mathcal{C} with an oracle for the polynomial hierarchy), we mean ∪k≥1CΣkP\cup_{k\geq 1}\mathcal{C}^{\mathsf{\Sigma}_{k}^{\mathsf{P}}}.

We will consider not only decision problems, but also relation problems (also called function problems). In a relation problem, the output is not a single bit but a poly⁡(n)\operatorname*{poly}\left(n\right)-bit string yy. There could be many valid yy’s for a given instance, and the algorithm’s task is to output any one of them.

The definitions of FP\mathsf{FP} and FNP\mathsf{FNP} (the relation versions of P\mathsf{P} and NP\mathsf{NP}) are standard. We now define FBPP\mathsf{FBPP} and FBQP\mathsf{FBQP}, the relation versions of BPP\mathsf{BPP} and BQP\mathsf{BQP}.

FBPP\mathsf{FBPP} is the class of relations R⊆{0,1}∗×{0,1}∗R\subseteq\left\{0,1\right\}^{\ast}\times\left\{0,1\right\}^{\ast} for which there exists a probabilistic polynomial-time algorithm AA that, given any input x∈{0,1}nx\in\left\{0,1\right\}^{n}, produces an output yy such that

where the probability is over AA’s internal randomness. (In particular, this implies that for every xx, there exists at least one yy such that (x,y)∈R\left(x,y\right)\in R.) FBQP\mathsf{FBQP} is defined the same way, except that AA is a quantum algorithm rather than a classical one.

An important point about FBPP\mathsf{FBPP} and FBQP\mathsf{FBQP} is that, as far as we know, these classes do not admit amplification. In other words, the value of an algorithm’s success probability might actually matter, not just the fact that the probability is bounded above 1/21/2. This is why we adopt the convention that an algorithm “succeeds” if it outputs (x,y)∈R\left(x,y\right)\in R with probability 1−o(1)1-o\left(1\right). In practice, we will give oracle problems for which the FBQP\mathsf{FBQP} algorithm succeeds with probability 1−1/exp⁡(n)1-1/\exp\left(n\right), while any FBPPPH\mathsf{FBPP}^{\mathsf{PH}} algorithm succeeds with probability at most (say) 0.990.99. How far the constant in this separation can be improved is an open problem.

Another important point is that, while BPPPH=PPH\mathsf{BPP}^{\mathsf{PH}}=\mathsf{P}^{\mathsf{PH}} (which follows from BPP⊆Σ2P\mathsf{BPP}\subseteq\mathsf{\Sigma}_{\mathsf{2}}^{\mathsf{P}}), the class FBPPPH\mathsf{FBPP}^{\mathsf{PH}} is strictly larger than FPPH\mathsf{FP}^{\mathsf{PH}}. To see this, consider the relation

where we are given nn, and asked to output any string of Kolmogorov complexity at least nn. Clearly this problem is in FBPP\mathsf{FBPP}: just output a random 2n2n-bit string. On the other hand, just as obviously the problem is not in FPPH\mathsf{FP}^{\mathsf{PH}}. This is why we need to construct an oracle AA such that FBQPA⊄FBPPPHA\mathsf{FBQP}^{A}\not\subset\mathsf{FBPP}^{\mathsf{PH}^{A}}: because constructing an oracle AA such that FBQPA⊄FPPHA\mathsf{FBQP}^{A}\not\subset\mathsf{FP}^{\mathsf{PH}^{A}} is trivial and not even related to quantum computing.

We now discuss some “low-level” complexity classes. AC0\mathsf{AC}^{0} is the class of problems solvable by a nonuniform family of AND/OR/NOT circuits, with depth O(1)O\left(1\right), size poly⁡(n)\operatorname*{poly}\left(n\right), and unbounded fanin. When we say “AC0\mathsf{AC}^{0} circuit,” we mean a constant-depth circuit of AND/OR/NOT gates, not necessarily of polynomial size. Any such circuit can be made into a formula (i.e., a circuit of fanout 11) with only a polynomial increase in size. The circuit has depth dd if it consists of dd alternating layers of AND and OR gates (without loss of generality, the NOT gates can all be pushed to the bottom, and we do not count them towards the depth). For example, a DNF (Disjunctive Normal Form) formula is just an AC0\mathsf{AC}^{0} circuit of depth 22.

We will also be interested in quantum logarithmic time, which can be defined naturally as follows:

BQLOGTIME\mathsf{BQLOGTIME} is the class of languages L⊆{0,1}∗L\subseteq\left\{0,1\right\}^{\ast} that are decidable, with bounded probability of error, by a LOGTIME\mathsf{LOGTIME}-uniform family of quantum circuits {Cn}n\left\{C_{n}\right\}_{n} such that each CnC_{n} has O(log⁡n)O\left(\log n\right) gates, and can include gates that make random-access queries to the input string x=x1…xnx=x_{1}\ldots x_{n} (i.e., that map ∣i⟩∣z⟩\left|i\right\rangle\left|z\right\rangle to ∣i⟩∣z⊕xi⟩\left|i\right\rangle\left|z\oplus x_{i}\right\rangle for every i∈[n]i\in\left[n\right]).

One other complexity class that arises in this paper, which is less well known than it should be, is BPPpath\mathsf{BPP}_{\mathsf{path}}. Loosely speaking, BPPpath\mathsf{BPP}_{\mathsf{path}} can be defined as the class of problems that are solvable in probabilistic polynomial time, given the ability to “postselect” (that is, discard all runs of the computation that do not produce a desired result, even if such runs are the overwhelming majority). Formally:

BPPpath\mathsf{BPP}_{\mathsf{path}} is the class of languages L⊆{0,1}∗L\subseteq\left\{0,1\right\}^{\ast} for which there exists a BPP\mathsf{BPP} machine MM, which can either “succeed” or “fail” and conditioned on succeeding either “accept” or “reject,” such that for all inputs xx:

Pr⁡[M(x) succeeds]>0\Pr\left[M\left(x\right)\text{ succeeds}\right]>0.

x∈L⟹Pr⁡[M(x) accepts ∣ M(x) succeeds]≥23x\in L\Longrightarrow\Pr\left[M\left(x\right)\text{ accepts }|~{}M\left(x\right)\text{ succeeds}\right]\geq\frac{2}{3}.

x∉L⟹Pr⁡[M(x) accepts ∣ M(x) succeeds]≤13x\notin L\Longrightarrow\Pr\left[M\left(x\right)\text{ accepts }|~{}M\left(x\right)\text{ succeeds}\right]\leq\frac{1}{3}.

BPPpath\mathsf{BPP}_{\mathsf{path}} was defined by Han, Hemaspaandra, and Thierauf , who also showed that MA⊆BPPpath\mathsf{MA}\subseteq\mathsf{BPP}_{\mathsf{path}} and P∣∣NP⊆BPPpath⊆BPP∣∣NP\mathsf{P}_{||}^{\mathsf{NP}}\subseteq\mathsf{BPP}_{\mathsf{path}}\subseteq\mathsf{BPP}_{||}^{\mathsf{NP}}. Using Fourier Checking, we will construct an oracle AA relative to which BQPA⊄BPPpathA\mathsf{BQP}^{A}\not\subset\mathsf{BPP}_{\mathsf{path}}^{A}. This result might not sound amazing, but (i) it is new, (ii) it does not follow from the “standard” quantum algorithms, such as those of Simon and Shor , and (iii) it supersedes almost all previous oracle results placing BQP\mathsf{BQP} outside classical complexity classes.The one exception is the result of Green and Pruim that there exists an AA relative to which BQPA⊄PNPA\mathsf{BQP}^{A}\not\subset\mathsf{P}^{\mathsf{NP}^{A}}, but that can also be easily reproduced using Fourier Checking. As another illustration of the versatility of Fourier Checking, we use it to give an AA such that BQPA⊄SZKA\mathsf{BQP}^{A}\not\subset\mathsf{SZK}^{A}, where SZK\mathsf{SZK} is Statistical Zero Knowledge. The opposite direction—an AA such that SZKA⊄BQPA\mathsf{SZK}^{A}\not\subset\mathsf{BQP}^{A}—was shown by Aaronson in 2002.

Quantum Algorithms

In this section, we show that Fourier Fishing and Fourier Checking both admit simple quantum algorithms.

Here is a quantum algorithm, FF-ALG, that solves Fourier Fishing with overwhelming probability in O(n2)O\left(n^{2}\right) time and nn quantum queries (one to each fif_{i}). For i:=1i:=1 to nn, first prepare the state

then apply Hadamard gates to all nn qubits, then measure in the computational basis and output the result as ziz_{i}.

Intuitively, FF-ALG samples the Fourier coefficients of each fif_{i} under a distribution that is skewed towards larger coefficients; the algorithm’s behavior is illustrated pictorially in Figure 1. We now give a formal analysis. Recall the definition of a “good” tuple ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle from Section 2.1. Assuming ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle is good, it is easy to analyze FF-ALG’s success probability.

Assuming ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle is good, FF-ALG succeeds with probability 1−1/exp⁡(n)1-1/\exp\left(n\right).

Proof. Let ⟨z1,…,zn⟩\left\langle z_{1},\ldots,z_{n}\right\rangle be the algorithm’s output. For each ii, let XiX_{i} be the event that ∣f^i(zi)∣≥1\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 1 and let YiY_{i} be the event that ∣f^i(zi)∣≥2\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 2. Also let pi:=Pr⁡[Xi]p_{i}:=\Pr\left[X_{i}\right] and qi:=Pr⁡[Yi]q_{i}:=\Pr\left[Y_{i}\right], where the probability is over FF-ALG’s internal (quantum) randomness. Then clearly

By a Chernoff/Hoeffding bound, it follows that

Hence FF-ALG succeeds with 1−1/exp⁡(n)1-1/\exp\left(n\right) probability by the union bound.

⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle is good with probability 1−1/exp⁡(n)1-1/\exp\left(n\right), if the fif_{i}’s are chosen uniformly at random.

Proof. Choose f:{0,1}n→{−1,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\} uniformly at random. Then for each zz, the Fourier coefficient f^(z)\widehat{f}\left(z\right) follows a normal distribution, with mean and variance 11. So in the limit of large NN,

Since the fif_{i}’s are chosen independently of one another, it follows by a Chernoff bound that

with probability 1−1/exp⁡(n)1-1/\exp\left(n\right) over the choice of ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle.

Combining Lemmas 7 and 8, we find that FF-ALG succeeds with probability 1−1/exp⁡(n)1-1/\exp\left(n\right), where the probability is over both ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle and FF-ALG’s internal randomness.

2 Quantum Algorithm for Fourier Checking

We now turn to Fourier Checking, the problem of deciding whether two Boolean functions f,gf,g are independent or forrelated. Here is a quantum algorithm, FC-ALG, that solves Fourier Checking with constant error probability using O(1)O\left(1\right) queries. First prepare a uniform superposition over all x∈{0,1}nx\in\left\{0,1\right\}^{n}. Then query ff in superposition, to create the state

Then apply Hadamard gates to all nn qubits, to create the state

Then query gg in superposition, to create the state

Then apply Hadamard gates to all nn qubits again, to create the state

Finally, measure in the computational basis, and “accept” if and only if the outcome ∣0⟩⊗n\left|0\right\rangle^{\otimes n} is observed. If needed, repeat the whole algorithm O(1)O\left(1\right) times to boost the success probability.

It is clear that the probability of observing ∣0⟩⊗n\left|0\right\rangle^{\otimes n} (in a single run of FC-ALG) equals

Recall that Promise Fourier Checking was the problem of deciding whether p(f,g)≥0.05p\left(f,g\right)\geq 0.05 or p(f,g)≤0.01p\left(f,g\right)\leq 0.01, promised that one of these is the case. Thus, we immediately get a quantum algorithm to solve Promise Fourier Checking, with constant error probability, using O(1)O\left(1\right) queries to ff and gg.

For the distributional version of Fourier Checking, we also need the following theorem.

If ⟨f,g⟩\left\langle f,g\right\rangle is drawn from the uniform distribution U\mathcal{U}, then

If ⟨f,g⟩\left\langle f,g\right\rangle is drawn from the forrelated distribution F\mathcal{F}, then

Proof. The first part follows immediately by symmetry (i.e., the fact that all N=2nN=2^{n} measurement outcomes of the quantum algorithm are equally likely).

or the squared inner product between the vectors flat⁡(w)\operatorname*{flat}\left(w\right) and Hflat⁡(Hw)H\operatorname*{flat}\left(Hw\right). Note that wT⋅HHw=wTw=1w^{T}\cdot HHw=w^{T}w=1. So the whole problem is to understand the “discretization error” incurred in replacing wTw^{T} by flat⁡(w)T\operatorname*{flat}\left(w\right)^{T} and HHwHHw by Hflat⁡(Hw)H\operatorname*{flat}\left(Hw\right). By the triangle inequality, the angle between flat⁡(w)\operatorname*{flat}\left(w\right) and Hflat⁡(Hw)H\operatorname*{flat}\left(Hw\right) is at most the angle between flat⁡(w)\operatorname*{flat}\left(w\right) and ww, plus the angle between ww and Hflat⁡(Hw)H\operatorname*{flat}\left(Hw\right). In other words:

Recall that each vxv_{x} is an independent real Gaussian with mean and variance 11, meaning that each ∣vx∣\left|v_{x}\right| is an independent nonnegative random variable with expectation 2/π\sqrt{2/\pi}. So by standard tail bounds, for all constants ε>0\varepsilon>0 we have

Since HH is unitary, the same analysis applies to wTHflat⁡(Hw)w^{T}H\operatorname*{flat}\left(Hw\right). Therefore, for all constants ε>0\varepsilon>0, with 1−1/exp⁡(N)1-1/\exp\left(N\right) probability we have

Therefore, with 1−1/exp⁡(N)1-1/\exp\left(N\right) probability over ⟨f,g⟩\left\langle f,g\right\rangle drawn from F\mathcal{F},

in which case p(f,g)≥(cos⁡1.3)2≈0.072p\left(f,g\right)\geq\left(\cos 1.3\right)^{2}\approx 0.0\allowbreak 72.

Combining Theorem 9 with Markov’s inequality, we immediately get the following:

The Classical Complexity of Fourier Fishing

In Section 3.1, we gave a quantum algorithm for Fourier Fishing that made only one query to each fif_{i}. By contrast, it is not hard to show that any classical algorithm for Fourier Fishing requires exponentially many queries to the fif_{i}’s. In this section, we prove a much stronger result: that Fourier Fishing is not in FBPPPH\mathsf{FBPP}^{\mathsf{PH}}. This result does not rely on any unproved conjectures.

Our starting point will be the following AC0\mathsf{AC}^{0} lower bound, which can be found in the book of Håstad for example.

Any depth-dd circuit that accepts all nn-bit strings of Hamming weight n/2+1n/2+1, and rejects all strings of Hamming weight n/2n/2, has size exp⁡(Ω(n1/(d−1)))\exp\left(\Omega\left(n^{1/\left(d-1\right)}\right)\right).

We now give a corollary of Theorem 11, which (though simple) seems to be new, and might be of independent interest. Consider the following problem, which we call ε\varepsilon-Bias Detection. We are given a string y=y1…ym∈{0,1}my=y_{1}\ldots y_{m}\in\left\{0,1\right\}^{m}, and are promised that each bit yiy_{i} is 11 with independent probability pp. The task is to decide whether p=1/2p=1/2 or p=1/2+εp=1/2+\varepsilon.

Let U[ε]\mathcal{U}\left[\varepsilon\right] be the distribution over {0,1}m\left\{0,1\right\}^{m} where each bit is 11 with independent probability 1/2+ε1/2+\varepsilon. Then any depth-dd circuit CC such that

has size exp⁡(Ω(1/ε1/(d+2)))\exp\left(\Omega\left(1/\varepsilon^{1/\left(d+2\right)}\right)\right).

Proof. Suppose such a distinguishing circuit CC exists, with depth dd and size SS, for some ε>0\varepsilon>0 (the parameter mm is actually irrelevant). Let n=1/εn=1/\varepsilon, and assume for simplicity that nn is an integer. Using CC, we will construct a new circuit C′C^{\prime} with depth d′=d+3d^{\prime}=d+3 and size S′=O(nS)+poly⁡(n)S^{\prime}=O\left(nS\right)+\operatorname*{poly}\left(n\right), which accepts all strings x∈{0,1}nx\in\left\{0,1\right\}^{n} of Hamming weight n/2+1n/2+1, and rejects all strings of Hamming weight n/2n/2. By Theorem 11, this will imply that the original circuit CC must have had size

So fix an input x∈{0,1}nx\in\left\{0,1\right\}^{n}, and suppose we choose mm bits xi1,…,ximx_{i_{1}},\ldots,x_{i_{m}} from xx, with each index iji_{j} chosen uniformly at random with replacement. Call the resulting mm-bit string yy. Observe that if xx had Hamming weight n/2n/2, then yy will be distributed according to U[0]\mathcal{U}\left[0\right], while if xx had Hamming weight n/2+1n/2+1, then yy will be distributed according to U[ε]\mathcal{U}\left[\varepsilon\right]. So by assumption,

for some constants α\alpha and \delta\neq 0\(we can assume δ>0\delta>0 without loss of generality).

Now suppose we repeat the above experiment T=knT=kn times, for some constant k=k(α,δ)k=k\left(\alpha,\delta\right). That is, we create TT strings y1,…,yTy_{1},\ldots,y_{T} by choosing random bits of xx, so that each yiy_{i} is distributed independently according to either U[0]\mathcal{U}\left[0\right] or U[ε]\mathcal{U}\left[\varepsilon\right]. We then apply CC to each yiy_{i}. Let

be the number of CC invocations that accept. Then by a Chernoff bound, if ∣x∣=n/2\left|x\right|=n/2 then

By taking kk large enough, we can make both of these probabilities less than 2−n2^{-n}. By the union bound, this implies that there must exist a way to choose y1,…,yTy_{1},\ldots,y_{T} so that

for every xx with ∣x∣∈{n/2,n/2+1}\left|x\right|\in\left\{n/2,n/2+1\right\} simultaneously. In forming the circuit C′C^{\prime}, we simply hardwire that choice.

The last step is to decide whether Z≤αT+δ3TZ\leq\alpha T+\frac{\delta}{3}T or Z≥αT+2δ3TZ\geq\alpha T+\frac{2\delta}{3}T. This can be done using an AC0\mathsf{AC}^{0} circuit for the Approximate Majority problem (see Viola for example), which has depth 33 and size poly⁡(T)\operatorname*{poly}\left(T\right). The end result is a circuit C′C^{\prime} to distinguish ∣x∣=n/2\left|x\right|=n/2 from ∣x∣=n/2+1\left|x\right|=n/2+1, which has depth d+3d+3 and size TS+poly⁡(T)=O(nS)+poly⁡(n)TS+\operatorname*{poly}\left(T\right)=O\left(nS\right)+\operatorname*{poly}\left(n\right).

2 Secretly Biased Fourier Coefficients

In this section, we prove two lemmas indicating that one can slightly bias one of the Fourier coefficients of a random Boolean function f:{0,1}n→{−1,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, and yet still have ff be information-theoretically indistinguishable from a random Boolean function (so that, in particular, an adversary has no way of knowing which Fourier coefficient was biased). These lemmas will play a key role in our reduction from ε\varepsilon-Bias Detection to Fourier Fishing.

Fix a string s∈{0,1}ns\in\left\{0,1\right\}^{n}. Let A[s]\mathcal{A}\left[s\right] be the probability distribution over functions f:{0,1}n→{−1,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\} where each f(x)f\left(x\right) is 11 with independent probability 12+(−1)s⋅x12N\frac{1}{2}+\left(-1\right)^{s\cdot x}\frac{1}{2\sqrt{N}}, and let B[s]\mathcal{B}\left[s\right] be the distribution where each f(x)f\left(x\right) is 11 with independent probability 12−(−1)s⋅x12N\frac{1}{2}-\left(-1\right)^{s\cdot x}\frac{1}{2\sqrt{N}}. Then let D[s]=12(A[s]+B[s])\mathcal{D}\left[s\right]=\frac{1}{2}\left(\mathcal{A}\left[s\right]+\mathcal{B}\left[s\right]\right) (that is, an equal mixture of A[s]\mathcal{A}\left[s\right] and B[s]\mathcal{B}\left[s\right]).

Suppose Alice chooses s∈{0,1}ns\in\left\{0,1\right\}^{n} uniformly at random, then draws ff according to D[s]\mathcal{D}\left[s\right]. She keeps ss secret, but sends the truth table of ff to Bob. After examining ff, Bob outputs a string zz such that ∣f^(z)∣≥β\left|\widehat{f}\left(z\right)\right|\geq\beta. Then

where the probability is over all runs of the protocol.

Proof. By Yao’s principle, we can assume without loss of generality that Bob’s strategy is deterministic. For each zz, let F[z]\mathcal{F}\left[z\right] be the set of all ff’s that cause Bob to output zz. Then the first step is to lower-bound Pr⁡D[z][f]\Pr_{\mathcal{D}\left[z\right]}\left[f\right], for some fixed zz and f∈F[z]f\in\mathcal{F}\left[z\right]. Let Nf[z]N_{f}\left[z\right] be the number of inputs x∈{0,1}nx\in\left\{0,1\right\}^{n} such that f(x)=(−1)z⋅xf\left(x\right)=\left(-1\right)^{z\cdot x}. It is not hard to see that Nf[z]=N2+Nf^(z)2N_{f}\left[z\right]=\frac{N}{2}+\frac{\sqrt{N}\widehat{f}\left(z\right)}{2}. So

Here the second-to-last line takes the limit as N→∞N\rightarrow\infty, while the last line follows from the assumption ∣f^(z)∣≥β\left|\widehat{f}\left(z\right)\right|\geq\beta, together with the fact that ey+e−ye^{y}+e^{-y} increases monotonically away from y=0y=0.

Now let D=E⁡s[D[s]]\mathcal{D}=\operatorname*{E}_{s}\left[\mathcal{D}\left[s\right]\right] (that is, an equal mixture of all the D[s]\mathcal{D}\left[s\right]’s). We claim that D\mathcal{D} is extremely close in variation distance to U\mathcal{U}, the uniform distribution over all Boolean functions f:{0,1}n→{−1,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}.

∥D−U∥≤e−122eN\left\|\mathcal{D}-\mathcal{U}\right\|\leq\frac{e-1}{2\sqrt{2eN}}.

Proof. By a calculation from Lemma 13, for all ff and ss we have

Clearly E⁡f[Pr⁡D[f]]=1/2N\operatorname*{E}_{f}\left[\Pr_{\mathcal{D}}\left[f\right]\right]=1/2^{N}. Our goal is to upper-bound the variance Var⁡f[Pr⁡D[f]]\operatorname*{Var}_{f}\left[\Pr_{\mathcal{D}}\left[f\right]\right], which measures the distance from D\mathcal{D} to the uniform distribution. In the limit of large NN, we have

An immediate corollary of Lemma 14 is that, if a Fourier Fishing algorithm succeeds with probability pp on ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle drawn from Un\mathcal{U}^{n}, then it also succeeds with probability at least

on ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle drawn from Dn\mathcal{D}^{n}.

3 Putting It All Together

Using the results of Sections 4.1 and 4.2, we are now ready to prove a lower bound on the constant-depth circuit complexity of Fourier Fishing.

Any depth-dd circuit that solves the Fourier Fishing problem, with probability at least 0.990.99 over f1,…,fnf_{1},\ldots,f_{n} chosen uniformly at random, has size exp⁡(Ω(N1/(2d+8)))\exp\left(\Omega\left(N^{1/\left(2d+8\right)}\right)\right).

Proof. Let CC be a circuit of depth dd and size ss. Let GG be the set of all ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle on which CC succeeds: that is, for which it outputs z1,…,znz_{1},\ldots,z_{n}, at least 75% of which satisfy ∣f^i(zi)∣≥1\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 1 and at least 25% of which satisfy ∣f^i(zi)∣≥2\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq 2. Suppose

Using the above fact, we will convert CC into a new circuit C′C^{\prime} that solves the ε\varepsilon-Bias Detection problem of Corollary 12, with ε:=12N\varepsilon:=\frac{1}{2\sqrt{N}}. This C′C^{\prime} will have depth d′=d+2d^{\prime}=d+2 and size S′=O(NS)S^{\prime}=O\left(NS\right). By Corollary 12, this will imply that CC itself must have had size

Let M=N2nM=N^{2}n, and let R=r1…rM∈{0,1}MR=r_{1}\ldots r_{M}\in\left\{0,1\right\}^{M} be a string of bits where each rjr_{j} is 11 with independent probability pp. We want to decide whether p=1/2p=1/2 or p=1/2+εp=1/2+\varepsilon—that is, whether RR was drawn from U[0]\mathcal{U}\left[0\right] or U[ε]\mathcal{U}\left[\varepsilon\right]. We can do this as follows. First, choose strings s1,…,sn∈{0,1}ns_{1},\ldots,s_{n}\in\left\{0,1\right\}^{n}, bits b1,…,bn∈{0,1}b_{1},\ldots,b_{n}\in\left\{0,1\right\}, and an integer k∈[n]k\in\left[n\right] uniformly at random. Next, define Boolean functions f1,…,fn:{0,1}n→{−1,1}f_{1},\ldots,f_{n}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\} using the first NnNn bits of RR, like so:

Finally, feed ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle as input to CC, and consider zkz_{k}, the kthk^{th} output of CC (discarding the other n−1n-1 outputs). We are interested in Pr⁡[zk=sk]\Pr\left[z_{k}=s_{k}\right], where the probability is over RR, s1,…,sns_{1},\ldots,s_{n}, b1,…,bnb_{1},\ldots,b_{n}, and kk.

If p=1/2p=1/2, notice that f1,…,fnf_{1},\ldots,f_{n} are independent and uniformly random regardless of s1,…,sns_{1},\ldots,s_{n}. So CC gets no information about sks_{k}, and Pr⁡[zk=sk]=1/N\Pr\left[z_{k}=s_{k}\right]=1/N.

On the other hand, if p=1/2+εp=1/2+\varepsilon, then each fif_{i} is drawn independently from the distribution D[s]\mathcal{D}\left[s\right] studied in Lemma 13. So by the Lemma, for every i∈[n]i\in\left[n\right], if ∣f^i(zi)∣≥β\left|\widehat{f}_{i}\left(z_{i}\right)\right|\geq\beta then

So assuming CC succeeds (that is, ⟨f1,…,fn⟩∈G\left\langle f_{1},\ldots,f_{n}\right\rangle\in G), we have

So for a random ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle drawn according to Dn\mathcal{D}^{n},

Notice that this is bounded above 1/N1/N by a multiplicative constant.

Now let us repeat the above experiment NN times. That is, for all j:=1j:=1 to NN, we generate Boolean functions fj1,…,fjn:{0,1}n→{−1,1}f_{j1},\ldots,f_{jn}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\} by the same probabilistic procedure as before, but each time using a new NnNn-bit substring of RjR_{j} of RR, as well as new ss, bb, and kk values (denoted sj1,…,sjns_{j1},\ldots,s_{jn}, bj1,…,bjnb_{j1},\ldots,b_{jn}, and kjk_{j}). We then apply CC to each nn-tuple ⟨fj1,…,fjn⟩\left\langle f_{j1},\ldots,f_{jn}\right\rangle. Let zjz_{j} be the kjthk_{j}^{th} string that CC outputs when run on ⟨fj1,…,fjn⟩\left\langle f_{j1},\ldots,f_{jn}\right\rangle. Then by the above, for each j∈[N]j\in\left[N\right] we have

Furthermore, these probabilities are independent across the different jj’s. So let EE be the event that there exists a j∈[N]j\in\left[N\right] such that zj=sjkjz_{j}=s_{jk_{j}}. Then if p=1/2p=1/2 we have

It should now be clear how to create the circuit C′C^{\prime}, which distinguishes R∈{0,1}MR\in\left\{0,1\right\}^{M} drawn from U[0]\mathcal{U}\left[0\right] from RR drawn from U[ε]\mathcal{U}\left[\varepsilon\right] with constant bias. For each j∈[N]j\in\left[N\right], generate an nn-tuple of Boolean functions ⟨fj1,…,fjn⟩\left\langle f_{j1},\ldots,f_{jn}\right\rangle from RR and apply CC to it; then check whether there exists a j∈[N]j\in\left[N\right] such that zj=sjkjz_{j}=s_{jk_{j}}. This checking step can be done by a depth-22 circuit of size O(Nn)O\left(Nn\right). Therefore, C′C^{\prime} will have depth d′=d+2d^{\prime}=d+2 and size s′=O(Ns)s^{\prime}=O\left(Ns\right). A technicality is that our choices of the sjis_{ji}’s, bjib_{ji}’s, and kjk_{j}’s were made randomly. However, by Yao’s principle, there clearly exist sjis_{ji}’s, bjib_{ji}’s, and kjk_{j}’s such that

So in forming C′C^{\prime}, we simply hardwire those choices.

Combining Theorem 15 with standard diagonalization tricks, we can now prove an oracle separation (in fact, a random oracle separation) between the complexity classes FBQP\mathsf{FBQP} and FBPPPH\mathsf{FBPP}^{\mathsf{PH}}.

FBQPA⊄FBPPPHA\mathsf{FBQP}^{A}\not\subset\mathsf{FBPP}^{\mathsf{PH}^{A}} with probability 11 for a random oracle AA.

Proof. We interpret the oracle AA as encoding nn random Boolean functions fn1,…,fnn:{0,1}n→{−1,1}f_{n1},\ldots,f_{nn}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\} for each positive integer nn. Let RR be the relational problem where we are given 0n0^{n} as input, and succeed if and only if we output strings z1,…,zn∈{0,1}nz_{1},\ldots,z_{n}\in\left\{0,1\right\}^{n}, at least 3/43/4 of which satisfy ∣f^ni(zi)∣≥1\left|\widehat{f}_{ni}\left(z_{i}\right)\right|\geq 1 and at least 1/41/4 of which satisfy ∣f^ni(zi)∣≥2\left|\widehat{f}_{ni}\left(z_{i}\right)\right|\geq 2. Then by Lemmas 7 and 8, there exists an FBQPA\mathsf{FBQP}^{A} machine MM such that for all nn,

where the probability is over both AA and the quantum randomness. Hence Pr⁡[M(0n) succeeds]≥1−1/exp⁡(n)\Pr\left[M\left(0^{n}\right)~{}\text{succeeds}\right]\geq 1-1/\exp\left(n\right) on all but finitely many nn, with probability 11 over AA. Since we can simply hardwire the answers on the nn’s for which MM fails, it follows that R∈FBQPAR\in\mathsf{FBQP}^{A} with probability 11 over AA.

On the other hand, let MM be an FBPPPHA\mathsf{FBPP}^{\mathsf{PH}^{A}} machine. Then by the standard conversion between PH\mathsf{PH} and AC0\mathsf{AC}^{0}, for every nn there exists a probabilistic AC0\mathsf{AC}^{0} circuit CM,nC_{M,n}, of size 2poly⁡(n)=2polylog⁡(N)2^{\operatorname*{poly}\left(n\right)}=2^{\operatorname*{polylog}\left(N\right)}, that takes AA as input and simulates M(0n)M\left(0^{n}\right). By Yao’s principle, we can assume without loss of generality that CM,nC_{M,n} is deterministic, since the oracle AA is already random. Then by Theorem 15,

for all sufficiently large nn. By the independence of the fnif_{ni}’s, this is true even if we condition on CM,1,…,CM,n−1C_{M,1},\ldots,C_{M,n-1} succeeding. So as in the standard random oracle argument of Bennett and Gill , for every fixed MM we have

as well. It follows that FBQPA⊄FBPPPHA\mathsf{FBQP}^{A}\not\subset\mathsf{FBPP}^{\mathsf{PH}^{A}} with probability 11 over AA.

If we “scale down by an exponential,” then we can eliminate the need for the oracle AA, and get a relation problem that is solvable in quantum logarithmic time but not in AC0\mathsf{AC}^{0}.

There exists a relation problem solvable in BQLOGTIME\mathsf{BQLOGTIME} but not in AC0\mathsf{AC}^{0}.

Proof. In our relation problem RR, the input (of size M=2nnM=2^{n}n) will encode the truth tables of nn Boolean functions, f1,…,fn:{0,1}n→{−1,1}f_{1},\ldots,f_{n}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, which are promised to be “good” as defined in Section 2.1. The task is to solve Promise Fourier Fishing on ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle.

By Lemma 7, there exists a quantum algorithm that runs in O(n)=O(log⁡M)O\left(n\right)=O\left(\log M\right) time, making random accesses to the truth tables of f1,…,fnf_{1},\ldots,f_{n}, that solves RR with probability 1−1/exp⁡(n)=1−1/MΩ(1)1-1/\exp\left(n\right)=1-1/M^{\Omega\left(1\right)}.

On the other hand, suppose RR is in AC0\mathsf{AC}^{0}. Then we get a nonuniform circuit family {Cn}n\left\{C_{n}\right\}_{n}, of depth O(1)O\left(1\right) and size poly⁡(M)=2O(n)\operatorname*{poly}\left(M\right)=2^{O\left(n\right)}, that solves Fourier Fishing on all tuples ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle that are good. Recall that by Lemma 8, a 1−1/exp⁡(n)1-1/\exp\left(n\right) fraction of ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle’s are good. Therefore {Cn}n\left\{C_{n}\right\}_{n} actually solves Fourier Fishing with probability 1−1/exp⁡(n)1-1/\exp\left(n\right) on ⟨f1,…,fn⟩\left\langle f_{1},\ldots,f_{n}\right\rangle chosen uniformly at random. But this contradicts Theorem 15.

Hence R∈FBQLOGTIME∖FAC0R\in\mathsf{FBQLOGTIME}\setminus\mathsf{FAC}^{0} (where FBQLOGTIME\mathsf{FBQLOGTIME} and FAC0\mathsf{FAC}^{0} are the relation versions of BQLOGTIME\mathsf{BQLOGTIME} and AC0\mathsf{AC}^{0} respectively).

The Classical Complexity of Fourier Checking

Section 4 settled the relativized BQP\mathsf{BQP} versus PH\mathsf{PH} question, if we are willing to talk about relation problems. Ultimately, though, we also care about decision problems. So in this section we consider the Fourier Checking problem, of deciding whether two Boolean functions f,gf,g are independent or forrelated. In Section 3.2, we saw that Fourier Checking has quantum query complexity O(1)O\left(1\right). What is its classical query complexity?So long as we consider the distributional version of Fourier Checking, the deterministic and randomized query complexities are the same (by Yao’s principle).

It is not hard to give a classical algorithm that solves Fourier Checking using O(N)=O(2n/2)O\left(\sqrt{N}\right)=O\left(2^{n/2}\right) queries. The algorithm is as follows: for some K=Θ(N)K=\Theta\left(\sqrt{N}\right), first choose sets X={x1,…,xK}X=\left\{x_{1},\ldots,x_{K}\right\} and Y={y1,…,yK}Y=\left\{y_{1},\ldots,y_{K}\right\} of nn-bit strings uniformly at random. Then query f(xi)f\left(x_{i}\right) and g(yi)g\left(y_{i}\right) for all i∈[K]i\in\left[K\right]. Finally, compute

accept if ∣Z∣\left|Z\right| is greater than some cutoff cKcK, and reject otherwise. For suitable KK and cc, one can show that this algorithm accepts a forrelated ⟨f,g⟩\left\langle f,g\right\rangle pair with probability at least 2/32/3, and accepts a random ⟨f,g⟩\left\langle f,g\right\rangle pair with probability at least 1/31/3. We omit the details of the analysis, as they are tedious and not needed elsewhere in the paper.

In the next section, we will show that Fourier Checking has a property called almost kk-wise independence, which immediately implies a lower bound of Ω(N)=Ω(2n/4)\Omega\left(\sqrt{N}\right)=\Omega\left(2^{n/4}\right) on its classical query complexity (as well as exponential lower bounds on its MA\mathsf{MA}, BPPpath\mathsf{BPP}_{\mathsf{path}}, and SZK\mathsf{SZK} query complexities). Indeed, we conjecture that almost kk-wise independence is enough to imply that Fourier Checking is not in PH\mathsf{PH}. We discuss the status of that conjecture in Section 6.

Let Z=z1…zM∈{−1,1}MZ=z_{1}\ldots z_{M}\in\left\{-1,1\right\}^{M} be a string. Then a literal is a term of the form 1±zi2\frac{1\pm z_{i}}{2}, and a kk-term is a product of kk literals (each involving a different ziz_{i}), which is 11 if the literals all take on prescribed values and otherwise.

Let U\mathcal{U} be the uniform distribution over {−1,1}M\left\{-1,1\right\}^{M}. The following definition will play a major role in this work.

A distribution D\mathcal{D} over {−1,1}M\left\{-1,1\right\}^{M} is ε\varepsilon-almost kk-wise independent if for every kk-term CC,

(Note that Pr⁡U[C]\Pr_{\mathcal{U}}\left[C\right] is just 2−k2^{-k}.)

For all k≤Nk\leq\sqrt{N}, the forrelated distribution F\mathcal{F} is O(k2/N)O\left(k^{2}/\sqrt{N}\right)-almost kk-wise independent.

Proof. As a first step, we will prove an analogous statement for the real-valued functions F(x):=vxF\left(x\right):=v_{x} and G(y):=v^yG\left(y\right):=\widehat{v}_{y}; then we will generalize to the discrete versions f(x)f\left(x\right) and g(y)g\left(y\right). Let U′\mathcal{U}^{\prime} be the probability measure over ⟨F,G⟩\left\langle F,G\right\rangle that corresponds to case (i) of Fourier Checking: that is, we choose each F(x)F\left(x\right) and G(y)G\left(y\right) independently from the Gaussian measure N(0,1)\mathcal{N}\left(0,1\right). Let F′\mathcal{F}^{\prime} be the probability measure over ⟨F,G⟩\left\langle F,G\right\rangle that corresponds to case (ii) of Fourier Checking: that is, we choose each F(x)F\left(x\right) independently from N(0,1)\mathcal{N}\left(0,1\right), then set G(y):=F^(y)G\left(y\right):=\widehat{F}\left(y\right) where

is the Fourier transform of FF. Observe that since the Fourier transform is unitary, GG has the same marginal distribution as FF under F′\mathcal{F}^{\prime}: namely, a product of independent N(0,1)\mathcal{N}\left(0,1\right) Gaussians.

be the squared distance between SS and the origin (that is, the minimum squared 22-norm of any point in SS). Then by the spherical symmetry of the Gaussian measure, it is not hard to see that SS has measure

under U′\mathcal{U}^{\prime}. Our key claim is that

Then F′(S)=G(T)\mathcal{F}^{\prime}\left(S\right)=\mathcal{G}\left(T\right): that is, to compute how much measure F′\mathcal{F}^{\prime} assigns to SS, it suffices to compute how much measure G\mathcal{G} assigns to TT. We have

where ΔT\Delta_{T} is the squared Euclidean distance between TT and the origin. Thus, our problem reduces to minimizing

over all F∈TF\in T. By a standard fact about quadratic optimization, the minimal F∈TF\in T will have the form

is the yjthy_{j}^{th} Fourier character evaluated at xx. Furthermore, the coefficients {αi}i∈[K],{βj}j∈[L]\left\{\alpha_{i}\right\}_{i\in\left[K\right]},\left\{\beta_{j}\right\}_{j\in\left[L\right]} can be obtained by solving the linear system

Here AA is simply a matrix of covariances: the top left block records the inner product between each EiE_{i} and EjE_{j} (and hence is a K×KK\times K identity matrix), the bottom right block records the inner product between each χi\chi_{i} and χj\chi_{j} (and hence is an L×LL\times L identity matrix), and the remaining two blocks of size K×LK\times L record the inner product between each EiE_{i} and χj\chi_{j}.

Notice that every entry of BB is at most 1/N1/\sqrt{N} in absolute value. This means that, for all positive integers tt, every entry of BtB^{t} is at most

in absolute value. Since K+L≪NK+L\ll\sqrt{N}, this in turn means that every entry of I−A−1I-A^{-1} has absolute value O(1/N)O\left(1/\sqrt{N}\right). So A−1A^{-1} is exponentially close to the identity matrix. Hence, when we compute the vector u=A−1wu=A^{-1}w, we find that

for some small error terms εi\varepsilon_{i} and δj\delta_{j}. Specifically, each εi\varepsilon_{i} and δj\delta_{j} is the inner product of ww, a (K+L)\left(K+L\right)-dimensional vector of length ΔS\sqrt{\Delta_{S}}, with a vector every entry of which has absolute value O(1/N)O\left(1/\sqrt{N}\right). By Cauchy-Schwarz, this implies that

where the fourth line made repeated use of Cauchy-Schwarz, and the fifth line used the fact that K+L≪NK+L\ll\sqrt{N}. Hence

Setting k:=K+Lk:=K+L, this completes the proof.

2 Oracle Separation Results

The following lemma shows that any almost kk-wise independent distribution is indistinguishable from the uniform distribution by BPPpath\mathsf{BPP}_{\mathsf{path}} or SZK\mathsf{SZK} machines.

Suppose a probability distribution D\mathcal{D} over oracle strings is 1/t(n)1/t\left(n\right)-almost poly⁡(n)\operatorname*{poly}\left(n\right)-wise independent, for some superpolynomial function tt. Then no BPPpath\mathsf{BPP}_{\mathsf{path}} machine or SZK\mathsf{SZK} protocol can distinguish D\mathcal{D} from the uniform distribution U\mathcal{U} with non-negligible bias.

Proof. Let MM be a BPPpath\mathsf{BPP}_{\mathsf{path}} machine, and let pDp_{\mathcal{D}} be the probability that MM accepts an oracle string drawn from distribution D\mathcal{D}. Then pDp_{\mathcal{D}} can be written as aD/sDa_{\mathcal{D}}/s_{\mathcal{D}}, where sDs_{\mathcal{D}} is the fraction of MM’s computation paths that are postselected, and aDa_{\mathcal{D}} is the fraction of MM’s paths that are both postselected and accepting. Since each computation path can examine at most poly⁡(n)\operatorname*{poly}\left(n\right) bits and D\mathcal{D} is 1/t(n)1/t\left(n\right)-almost poly⁡(n)\operatorname*{poly}\left(n\right)-wise independent, we have

We now combine Lemma 20 and Theorem 19 with standard diagonalization tricks, to obtain an oracle relative to which BQP⊄BPPpath\mathsf{BQP}\not\subset\mathsf{BPP}_{\mathsf{path}} and BQP⊄SZK\mathsf{BQP}\not\subset\mathsf{SZK}.

There exists an oracle AA relative to which BQPA⊄BPPpathA\mathsf{BQP}^{A}\not\subset\mathsf{BPP}_{\mathsf{path}}^{A} and BQPA⊄SZKA\mathsf{BQP}^{A}\not\subset\mathsf{SZK}^{A}.

Proof. The oracle AA will encode the truth tables of Boolean functions f1,f2,…f_{1},f_{2},\ldots and g1,g2,…g_{1},g_{2},\ldots, where fn,gn:{0,1}n→{−1,1}f_{n},g_{n}:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\} are on nn variables each. For each nn, with 1/21/2 probability we draw ⟨fn,gn⟩\left\langle f_{n},g_{n}\right\rangle from the uniform distribution U\mathcal{U}, and with 1/21/2 probability we draw ⟨fn,gn⟩\left\langle f_{n},g_{n}\right\rangle from the forrelated distribution F\mathcal{F}. Let LL be the unary language consisting of all 0n0^{n} for which ⟨fn,gn⟩\left\langle f_{n},g_{n}\right\rangle was drawn from F\mathcal{F}.

By Theorem 9, there exists a BQPA\mathsf{BQP}^{A} machine MM that decides LL on all but finitely many values of nn, with probability 11 over AA. Since we can simply hardwire the values of nn on which MM fails, it follows that L∈BQPAL\in\mathsf{BQP}^{A} with probability 11 over AA.

On the other hand, we showed in Theorem 19 that F\mathcal{F} is O(p(n)2/2n/2)O\left(p\left(n\right)^{2}/2^{n/2}\right)-almost p(n)p\left(n\right)-wise independent for all polynomials pp. Hence, by Lemma 20, no BPPpath\mathsf{BPP}_{\mathsf{path}} machine can distinguish F\mathcal{F} from U\mathcal{U} with non-negligible bias. Let En(M)E_{n}\left(M\right) be the event that the BPPpathA\mathsf{BPP}_{\mathsf{path}}^{A} machine MM correctly decides whether 0n∈L0^{n}\in L. Then

and moreover this is true even conditioning on E1(M),…,En−1(M)E_{1}\left(M\right),\ldots,E_{n-1}\left(M\right). So as in the standard random oracle argument of Bennett and Gill , for every fixed MM we have

as well. It follows that BQPA⊄BPPpathA\mathsf{BQP}^{A}\not\subset\mathsf{BPP}_{\mathsf{path}}^{A} with probability 11 over AA. By exactly the same argument, we also get BQPA⊄SZKA\mathsf{BQP}^{A}\not\subset\mathsf{SZK}^{A} with probability 11 over AA.

Since BPP⊆MA⊆BPPpath\mathsf{BPP}\subseteq\mathsf{MA}\subseteq\mathsf{BPP}_{\mathsf{path}}, Theorem 21 supersedes the previous results that there exist oracles AA relative to which BPPA≠BQPA\mathsf{BPP}^{A}\neq\mathsf{BQP}^{A} and BQPA⊄MAA\mathsf{BQP}^{A}\not\subset\mathsf{MA}^{A} .

The Generalized Linial-Nisan Conjecture

In 1990, Linial and Nisan famously conjectured that “polylogarithmic independence fools AC0\mathsf{AC}^{0}”—or loosely speaking, that every probability distribution D\mathcal{D} over nn-bit strings that is uniform on all small subsets of bits, is indistinguishable from the uniform distribution by polynomial-size, constant-depth circuits. We now state a variant of the Linial-Nisan Conjecture, not with the best possible parameters but with weaker, easier-to-understand parameters that suffice for our application.

Let D\mathcal{D} be an nΩ(1)n^{\Omega\left(1\right)}-wise independent distribution over {0,1}n\left\{0,1\right\}^{n}, and let f:{0,1}n→{0,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{0,1\right\} be computed by an AC0\mathsf{AC}^{0} circuit of size 2no(1)2^{n^{o\left(1\right)}} and depth O(1)O\left(1\right). Then

After seventeen years of almost no progress, in 2007 Bazzi finally proved Conjecture 22 for the special case of depth-22 circuits (also called DNF formulas). Bazzi’s proof was about 5050 pages, but it was dramatically simplified a year later, when Razborov discovered a 33-page proof. Then in 2009, Braverman gave a breakthrough proof of the full Linial-Nisan Conjecture.

Let f:{0,1}n→{0,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{0,1\right\} be computed by an AC0\mathsf{AC}^{0} circuit of size SS and depth dd, and let D\mathcal{D} be a (log⁡Sε)7d2\left(\log\frac{S}{\varepsilon}\right)^{7d^{2}}-wise independent distribution over {0,1}n\left\{0,1\right\}^{n}. Then for all sufficiently large SS,

We conjecture a modest-seeming extension of Braverman’s Theorem, which says (informally) that almost kk-wise independent distributions fool AC0\mathsf{AC}^{0} as well.

Let D\mathcal{D} be a 1/nΩ(1)1/n^{\Omega\left(1\right)}-almost nΩ(1)n^{\Omega\left(1\right)}-wise independent distribution over {0,1}n\left\{0,1\right\}^{n}, and let f:{0,1}n→{0,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{0,1\right\} be computed by an AC0\mathsf{AC}^{0} circuit of size 2no(1)2^{n^{o\left(1\right)}} and depth O(1)O\left(1\right). Then

By the usual correspondence between AC0\mathsf{AC}^{0} and PH\mathsf{PH}, the GLN Conjecture immediately implies the following counterpart of Lemma 20.

Suppose a probability distribution D\mathcal{D} over oracle strings is 1/t(n)1/t\left(n\right)-almost poly⁡(n)\operatorname*{poly}\left(n\right)-wise independent, for some superpolynomial function tt. Then no PH\mathsf{PH} machine can distinguish D\mathcal{D} from the uniform distribution U\mathcal{U} with non-negligible bias.

And thus we get the following implication:

Assuming the GLN Conjecture, there exists an oracle AA relative to which BQPA⊄PHA\mathsf{BQP}^{A}\not\subset\mathsf{PH}^{A}.

Proof. The proof is the same as that of Theorem 21; the only difference is that the GLN Conjecture now plays the role of Lemma 20.

Assuming the GLN Conjecture for the special case of depth-22 circuits (i.e., DNF formulas), there exists an oracle AA relative to which BQPA⊄AMA\mathsf{BQP}^{A}\not\subset\mathsf{AM}^{A}.

Proof. Just like in Theorem 21, define an oracle AA and an associated language LL using the Fourier Checking problem. Then L∈BQPAL\in\mathsf{BQP}^{A}, with probability 11 over the choices made in constructing AA. On the other hand, suppose L∈AMAL\in\mathsf{AM}^{A} with probability 11 over AA. Then we claim that Fourier Checking can also be solved by a family of DNF formulas {φn}n≥1\left\{\varphi_{n}\right\}_{n\geq 1} of size 2poly⁡(n)2^{\operatorname*{poly}\left(n\right)}:

But since F\mathcal{F} is O(k2/2n/2)O\left(k^{2}/2^{n/2}\right)-almost kk-wise independent (by Theorem 19), such a family φn\varphi_{n} would violate the depth-22 case of the GLN Conjecture.

We now prove the claim. For simplicity, fix an input length nn, and let AA refer to a single instance ⟨f,g⟩\left\langle f,g\right\rangle of Fourier Checking.It is straightforward to generalize to the case where Arthur can query other instances, besides the one he is trying to solve. Let PP be an AM\mathsf{AM} protocol that successfully distinguishes the forrelated distribution F\mathcal{F} over ⟨f,g⟩\left\langle f,g\right\rangle pairs from the uniform distribution U\mathcal{U}. We can assume without loss of generality that PP is public-coin . In other words, Arthur first sends a random challenge r∈{0,1}poly⁡(n)r\in\left\{0,1\right\}^{\operatorname*{poly}\left(n\right)} to Merlin, then Merlin responds with a witness w∈{0,1}poly⁡(n)w\in\left\{0,1\right\}^{\operatorname*{poly}\left(n\right)}, then Arthur runs a deterministic polynomial-time verification procedure VA(r,w)V^{A}\left(r,w\right) to decide whether to accept. By the assumption that PP succeeds,

So by Yao’s principle, there exists a fixed challenge r∗r^{\ast} such that

Now let QA,wQ_{A,w} be the set of all queries that VA(r∗,w)V^{A}\left(r^{\ast},w\right) makes to AA, and let CA,w(A′)C_{A,w}\left(A^{\prime}\right) be a term (i.e., a conjunction of 11’s and ’s) that returns TRUE if and only if A′A^{\prime} agrees with AA on all queries in QA,wQ_{A,w}. Then we can assume without loss of generality that Cw:=CA,wC_{w}:=C_{A,w} depends only on ww, not on AA—since Merlin can simply tell Arthur what queries VV is going to make and what their outcomes will be, and Arthur can reject if Merlin is lying. Let WW be the set of all witnesses ww such that Arthur accepts if Cw(A)C_{w}\left(A\right) returns TRUE. Consider the DNF formula

which expresses that there exists a ww causing VA(r∗,w)V^{A}\left(r^{\ast},w\right) to accept. Then φ\varphi contains at most 2poly⁡(n)2^{\operatorname*{poly}\left(n\right)} terms with poly⁡(n)\operatorname*{poly}\left(n\right) literals each, and

As a side note, it is conceivable that one could prove

for every almost kk-wise independent distribution D\mathcal{D} and small CNF formula φ\varphi, without getting the same result for DNF formulas (or vice versa). However, since BQP\mathsf{BQP} is closed under complement, even such an asymmetric result would imply an oracle AA relative to which BQPA⊄AMA\mathsf{BQP}^{A}\not\subset\mathsf{AM}^{A}.

If the GLN Conjecture holds, then we can also “scale down by an exponential,” to obtain an unrelativized decision problem that is solvable in quantum logarithmic time but not in AC0\mathsf{AC}^{0}.

Assuming the GLN Conjecture, there exists a promise problem in BQLOGTIME\mathsf{BQLOGTIME} that is not in AC0\mathsf{AC}^{0}.

Proof. In our promise problem Π=(ΠYES⁡,ΠNO⁡)\Pi=\left(\Pi_{\operatorname*{YES}},\Pi_{\operatorname*{NO}}\right), the inputs (of size M=2n+1M=2^{n+1}) will encode pairs of Boolean functions f,g:{0,1}n→{−1,1}f,g:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\}, such that

is either at least 0.050.05 or at most 0.010.01. The problem is to accept in the former case and reject in the latter case.

Using the algorithm FC-ALG from Section 3.2, it is immediate that Π∈BQLOGTIME\Pi\in\mathsf{BQLOGTIME}. On the other hand, suppose Π∈AC0\Pi\in\mathsf{AC}^{0}. Then we get a nonuniform circuit family {Cn}n\left\{C_{n}\right\}_{n}, of depth O(1)O\left(1\right) and size poly⁡(M)=2O(n)\operatorname*{poly}\left(M\right)=2^{O\left(n\right)}, that solves Fourier Checking on all pairs ⟨f,g⟩\left\langle f,g\right\rangle such that (i) p(f,g)≤0.01p\left(f,g\right)\leq 0.01 or (ii) p(f,g)≥0.05p\left(f,g\right)\geq 0.05. By Corollary 10, the class (i) includes the overwhelming majority of ⟨f,g⟩\left\langle f,g\right\rangle’s drawn from the uniform distribution U\mathcal{U}, while the class (ii) includes a constant fraction of ⟨f,g⟩\left\langle f,g\right\rangle’s drawn from the forrelated distribution F\mathcal{F}. Therefore, we actually obtain an AC0\mathsf{AC}^{0} circuit family that distinguishes U\mathcal{U} from F\mathcal{F} with constant bias. But this contradicts Theorem 19 together with the GLN Conjecture.

Given that the GLN Conjecture would have such remarkable implications for quantum complexity theory, the question arises of how we can go about proving it. As we are indebted to Louay Bazzi for pointing out to us, the GLN Conjecture is equivalent to the following conjecture, about approximating AC0\mathsf{AC}^{0} functions by low-degree polynomials.

If we take out condition (iii), then Conjecture 28 becomes equivalent to the original Linial-Nisan Conjecture (see Bazzi for a proof). And indeed, all progress so far on “Linial-Nisan problems” has crucially relied on this connection with polynomials. Bazzi and Razborov proved the depth-22 case of the LN Conjecture by constructing low-degree, approximating, sandwiching polynomials for every DNF, while Braverman proved the full LN Conjecture by constructing such polynomials for every AC0\mathsf{AC}^{0} circuit.Strictly speaking, Braverman constructed approximating polynomials with slightly different (though still sufficient) properties. We know from Bazzi that it must be possible to get sandwiching polynomials as well. Given this history, proving Conjecture 28 would seem like the “obvious” approach to proving the GLN Conjecture.

Below we prove one direction of the equivalence: that to prove the GLN Conjecture, it suffices to construct low-fat sandwiching polynomials for every AC0\mathsf{AC}^{0} circuit. The other direction—that the GLN Conjecture implies Conjecture 28, and hence, there is no loss of generality in working with polynomials instead of probability distributions—follows from a linear programming duality calculation that we omit.

The Low-Fat Sandwich Conjecture implies the GLN Conjecture.

Discussion

We now take a step back, and use our results to address some conceptual questions about the relativized BQP\mathsf{BQP} versus PH\mathsf{PH} question, the GLN Conjecture, and what makes them so difficult.

The first question is an obvious one. Complexity theorists have known for decades how to prove constant-depth circuit lower bounds, and how to use those lower bounds to give oracles AA relative to which (for example) PPA⊄PHA\mathsf{PP}^{A}\not\subset\mathsf{PH}^{A} and ⊕PA⊄PHA\mathsf{\oplus P}^{A}\not\subset\mathsf{PH}^{A}. So why should it be so much harder to give an AA relative to which BQPA⊄PHA\mathsf{BQP}^{A}\not\subset\mathsf{PH}^{A}? What makes this AC0\mathsf{AC}^{0} lower bound different from other AC0\mathsf{AC}^{0} lower bounds?

The answer seems to be that, while we have powerful techniques for proving that a function ff is not in AC0\mathsf{AC}^{0}, all of those techniques, in one way or another, involve arguing that ff is not approximated by a low-degree polynomial. The Razborov-Smolensky technique argues this explicitly, while even the random restriction technique argues it “implicitly,” as shown by Linial, Mansour, and Nisan . And this is a problem, if ff is also computed by an efficient quantum algorithm. For Beals et al. proved the following in 1998:

Suppose a quantum algorithm QQ makes TT queries to a Boolean input X∈{0,1}NX\in\left\{0,1\right\}^{N}. Then QQ’s acceptance probability is a real multilinear polynomial p(X)p\left(X\right), of degree at most 2T2T.

In other words, if a function ff is in BQP\mathsf{BQP}, then for that very reason, ff has a low-degree approximating polynomial! As an example, we already saw that the following polynomial pp, of degree 44, successfully distinguishes the forrelated distribution F\mathcal{F} from the uniform distribution U\mathcal{U}:

Therefore, we cannot hope to prove a lower bound for Fourier Checking, by any argument that would also imply that such a pp cannot exist.

every known technique for proving f∉AC0f\notin\mathsf{AC}^{0} involves showing that ff is not approximated by a low-degree polynomial, but

every function ff with low quantum query complexity is approximated by a low-degree polynomial,

does that mean there is no hope of solving the relativized BQP\mathsf{BQP} versus PH\mathsf{PH} problem using polynomial-based techniques?

But this raises another question: what is the significance of the “low-fat” requirement in Conjecture 28? Why, of all things, do we want our approximating polynomial pp to be expressible as a linear combination of terms, p(x)=∑CαCC(x)p\left(x\right)=\sum_{C}\alpha_{C}C\left(x\right), such that ∑C∣αC∣2−∣C∣=no(1)\sum_{C}\left|\alpha_{C}\right|2^{-\left|C\right|}=n^{o\left(1\right)}?

The answer takes us to the heart of what an oracle separation between BQP\mathsf{BQP} and PH\mathsf{PH} would have to accomplish. Notice that, although the polynomial pp from equation (2) solved the Fourier Checking problem, it did so only by cancelling massive numbers of positive and negative terms, then representing the answer by the tiny residue left over. Not coincidentally, this sort of cancellation is a central feature of quantum algorithms. By contrast, Theorem 29 essentially says that, if a polynomial pp does not involve such massive cancellations, but is instead more “conservative” and “reasonable” (like the polynomials that arise from classical decision trees), then pp cannot distinguish almost kk-wise independent distributions from the uniform distribution, and therefore cannot solve Fourier Checking. If Conjecture 28 holds, then every small-depth circuit can be approximated, not just by any low-degree polynomial, but by a “conservative,” “reasonable” low-degree polynomial—one with a bound on the coefficients that prevents massive cancellations. This would prove that Fourier Checking has no small constant-depth circuits, and hence that there exists an oracle separating BQP\mathsf{BQP} from PH\mathsf{PH}.

This brings us to the fourth and final question: how might one prove Conjecture 28? In particular, is it possible that some trivial modification of Braverman’s proof would give low-fat sandwiching polynomials, thereby establishing the GLN Conjecture?

While we cannot rule this out, we believe that the answer is no. For examining Braverman’s proof, we find that it combines two kinds of polynomial approximations of AC0\mathsf{AC}^{0} circuits: that of Linial-Mansour-Nisan , and that of Razborov and Smolensky . Unfortunately, neither LMN nor Razborov-Smolensky gives anything like the control over the approximating polynomial’s coefficients that Conjecture 28 demands. LMN simply takes the Fourier transform of an AC0\mathsf{AC}^{0} function and deletes the high-order coefficients; while Razborov-Smolensky approximates each OR gate by a product of randomly-chosen linear functions. Both techniques produce approximating polynomials with a huge number of monomials, and no reasonable bound on their coefficients. While it is conceivable that those polynomials satisfy the low-fat condition anyway—because of some non-obvious representation as a linear combination of terms—certainly neither LMN nor Razborov-Smolensky gives any idea what that representation would look like. Thus, we suspect that, to get the desired control over the coefficients, one will need more “constructive” proofs of both the LMN and Razborov-Smolensky theorems. Such proofs would likely be of great interest to circuit complexity and computational learning theory for independent reasons.

Open Problems

First, of course, prove the GLN Conjecture, or prove the existence of an oracle AA relative to which BQPA⊄PHA\mathsf{BQP}^{A}\not\subset\mathsf{PH}^{A} by some other means. A natural first step would be to prove the GLN Conjecture for the special case of DNFs: as shown in Theorem 26, this would imply an oracle AA relative to which BQPA⊄AMA\mathsf{BQP}^{A}\not\subset\mathsf{AM}^{A}. We have offered a 200prizeforthe200 prize for the\mathsf{PH}caseandacase and a100 prize for the AM\mathsf{AM} case.See http://scottaaronson.com/blog/?p=381

Second, it would be of interest to prove the GLN Conjecture for classes of functions weaker than (or incomparable with) DNFs: for example, monotone DNFs, read-once formulas, and read-kk-times formulas.

Third, can we give an example of a Boolean function f:{0,1}n→{−1,1}f:\left\{0,1\right\}^{n}\rightarrow\left\{-1,1\right\} that is well-approximated by a low-degree polynomial, but not by a low-degree low-fat polynomial? Here is a more concrete version of the challenge: let

Then find a Boolean function ff for which

Fourth, can we give an oracle relative to which BQP⊄IP\mathsf{BQP}\not\subset\mathsf{IP}? What about an oracle relative to which BQP≠IPBQP\mathsf{BQP}\neq\mathsf{IP}_{\mathsf{BQP}}, where IPBQP\mathsf{IP}_{\mathsf{BQP}} is the class of problems that admit an interactive protocol with a BPP\mathsf{BPP} verifier and a BQP\mathsf{BQP} prover?If we let the verifier transmit unentangled qubits to the prover, then the resulting class IPBQP∣θ⟩\mathsf{IP}_{\mathsf{BQP}}^{\left|\theta\right\rangle} actually equals BQP\mathsf{BQP}, as recently shown by Broadbent, Fitzsimons, and Kashefi (see also Aharonov, Ben-Or, and Eban ). It is not known whether this IPBQP∣θ⟩=BQP\mathsf{IP}_{\mathsf{BQP}}^{\left|\theta\right\rangle}=\mathsf{BQP} result relativizes; we conjecture that it does not.

Fifth, what other implications does the GLN Conjecture have? If we assume it, can we address other longstanding open questions in quantum complexity theory, such as those discussed in Section 1.1? For example, can we give an oracle relative to which NP⊆BQP\mathsf{NP}\subseteq\mathsf{BQP} but PH⊄BQP\mathsf{PH}\not\subset\mathsf{BQP}, or an oracle relative to which NP⊆BQP\mathsf{NP}\subseteq\mathsf{BQP} and PH\mathsf{PH} is infinite?

Sixth, how much can we say about the BQP\mathsf{BQP} versus PH\mathsf{PH} question in the unrelativized world? As one concrete challenge, can we find a nontrivial way to “realize” the Fourier Checking oracle (in other words, an explicit computational problem that is solvable using Fourier Checking)?

Seventh, how far can the gap between the success probabilities of FBQP\mathsf{FBQP} and FBPPPH\mathsf{FBPP}^{\mathsf{PH}} algorithms be improved? Theorem 15 gave a relation for which a quantum algorithm succeeds with probability 1−c−n1-c^{-n}, whereas any FBPPPH\mathsf{FBPP}^{\mathsf{PH}} algorithm succeeds with probability at most 0.990.99. By changing the success criterion for Fourier Fishing—basically, by requiring the classical algorithm to output z1,…,znz_{1},\ldots,z_{n} such that f^1(z1)2,…,f^n(zn)2\widehat{f}_{1}\left(z_{1}\right)^{2},\ldots,\widehat{f}_{n}\left(z_{n}\right)^{2} are distributed “almost exactly as they would be in the quantum algorithm”—one can improve the 0.990.99 to 1/2+ε1/2+\varepsilon for any ε>0\varepsilon>0. However, improving the constant further might require a direct product theorem for AC0\mathsf{AC}^{0} circuits solving Fourier Fishing.

Acknowledgments

I thank Louay Bazzi for reformulating the GLN Conjecture as the Low-Fat Sandwich Conjecture; and Andy Drucker, Lance Fortnow, and Sasha Razborov for helpful discussions.

References