alphaFeedback

WorksMathematics

A Nearly Quartic Separation Between Randomized and Quantum Query Complexity

AI contributions
  • unreleased internal OpenAI model
View details
Ancillary data
3 proof or workflow links
View

Abstract

We construct total Boolean functions with a nearly quartic separation between bounded-error randomized and quantum query complexity. Writing these complexities as R(f)\mathrm R(f) and Q(f)\mathrm Q(f), the examples rule out every universal bound R(f)=O((1+Q(f))α)\mathrm R(f)=O((1+\mathrm Q(f))^\alpha) with α < 4. Thus the known quartic upper bound has the optimal exponent, disproving the conjectured cubic bound. Both complexities count worst-case bit queries with error at most 1/3 on every input.

Introduction

How much can a quantum algorithm reduce the number of input bits needed to compute a total Boolean function? Let f:{0,1}n→{0,1}f : \{0,1\}^{n} \to\{0,1\}. We write R(f)R(f) and Q(f)Q(f) for the minimum worst-case numbers of bit queries made by randomized and quantum algorithms that compute ff with error at most 1/31/3 on every input. Quantum queries use the standard oracle

Ox∣i,b,z⟩=∣i,b⊕xi,z⟩.O_x|i,b,z\rangle= |i,b \oplus x_i,z\rangle.

Computation between queries is unrestricted. In particular, all query bounds in this paper are worst-case bounds, including over internal randomness and measurement outcomes.

Polynomial relations between these two measures express a basic restriction on quantum speedups for total functions. To ask for the sharp power without imposing a particular logarithmic correction, define

αtot=inf⁡{α≥0:there exists Cα<∞ such that, for every n≥1 and f:{0,1}n→{0,1},R(f)≤Cα(1+Q(f))α}.(1)\alpha_{\mathrm{tot}} = \inf\left\{ \alpha\ge0 : \text{there exists } C_\alpha< \infty\text{ such that, for every } n \ge1 \text{ and } f : \{0,1\}^{n} \to\{0,1\},\quad R(f) \le C_\alpha(1 + Q(f))^\alpha\right\}. \tag*{(1)}

The additive 1 includes constant functions. We prove the following.

Theorem 1.1. The optimal power is αtot=4\alpha_{\mathrm{tot}} = 4. More precisely, R(f)=O((1+Q(f))4)R(f) = O((1 + Q(f))^4) for every total Boolean function. For each fixed integer k≥2k \ge2, there are positive constants ckc_k, CkC_k, bkb_k and total Boolean functions Fk,mF_{k,m}, for all sufficiently large powers of four mm, such that

Q(Fk,m)≤Ckm(log⁡m)bk,R(Fk,m)≥ckm2−1/k(log⁡m)2.(2)Q(F_{k,m}) \le C_k\sqrt{m}(\log m)^{b_k}, \qquad R(F_{k,m}) \ge c_k\frac{m^{2-1/k}}{(\log m)^2}. \tag*{(2)}

The universal upper bound is known. The contribution is the family in (2), which rules out every smaller power, including the conjectured cubic relation.

Historical context

Grover’s search algorithm [16] gives the basic quadratic speedup for the OR function, with a matching quantum lower bound [10]. Beals, Buhrman, Cleve, Mosca, and de Wolf [8] proved the general polynomial relation D(f)=O(Q(f)6)D(f) = O(Q(f)^6), where D(f)D(f) is exact deterministic query complexity. Their result builds on the combinatorial and polynomial measures studied by Nisan [20] and Nisan and Szegedy [21]. Thus totality rules out the exponential query speedups possible for partial functions, but it leaves a substantial range of possible powers.

Pointer constructions introduced by Göös, Pitassi, and Watson [15] and developed by Ambainis, Balodis, Belovs, Lee, Santha, and Smotrov [4] gave a nearly quartic separation between deterministic and quantum queries. For bounded-error randomized queries, Aaronson, Ben-David, and Kothari [2] introduced the cheat-sheet framework and obtained a power-5/2 separation, up to logarithmic factors. This framework places certificates in an array whose correct address is determined by answers to partial-function instances. Improvements in those partial-function separations led to power 8/3−o(1)8/3 - o(1) by Tal [26], and then 3−o(1)3 - o(1) by Bansal and Sinha [6] and independently Sherstov, Storozhenko, and Wu [23].

On the upper-bound side, Aaronson, Ben-David, Kothari, Rao, and Tal [3], using Huang’s sensitivity theorem [17], proved D(f)=O(Q(f)4)D(f) = O(Q(f)^4). They conjectured that randomized complexity satisfies the stronger relation R(f)=O(Q(f)3)R(f) = O(Q(f)^3) [3 Conjecture 2]. Theorem 1.1 disproves that conjecture and shows that the quartic upper bound already has the optimal power for bounded-error randomized complexity.

There is also a direct connection to algorithms that compare candidate witnesses. Quantum minimum finding [14], sink finding [25], and king finding in tournaments [18] provide related search procedures. Recent constructions of Ben-David and Kothari [9] and Ambainis, Iraids, and Kokainis [5] use comparisons of candidate witnesses to separate certificate complexity from randomized and quantum query complexity. Certificate complexity measures the worst-case size of a smallest partial input assignment that fixes the function value. Their nearly quartic separations between certificate and quantum complexity concern a different classical measure, but their comparison-based viewpoint is particularly relevant here.

The construction and its two analyses

The input is organized into mm columns. Each column ii contains a string XiX_i of mm bits and an array of certificate cells. The address of the relevant cell is the vector of answers to several disjoint instances of a partial function. Quantumly these answers are cheap to obtain on promised inputs; classically they are hard to guess. Each cell stores pointers to positions in all the other strings XjX_j, together with a circuit transcript certifying the address.

A column wins when its own string is all ones, its address is defined, and its certificate is correct and points to a zero in every other column. The total function asks whether a winner exists. There can be at most one. An incorrect address or transcript simply fails verification; the input to the total function carries no promise.

The direction of the pointers matters. A true winner can use its own certificate to disqualify every opponent. Conversely, no cell in any opponent can point to a zero in the winner’s all-one string. Thus a cheap quantum comparison favors the winner with high probability even if the opponent’s address instances violate their promises. Comparisons between two non-winners may have arbitrary probabilities. Section 3 proves a tournament lemma that permits precisely this behavior. It produces a short list containing the winner in m\sqrt{m} times a polylogarithmic number of queries, after which quantum search checks the certificates.

The classical proof starts with one independently hidden zero in every XiX_i and blank certificate cells. We choose a uniformly random column, erase its zero, and fill its correctly addressed cell. These two changes produce a winner. A randomized algorithm can distinguish the two inputs only by finding the erased zero or querying the filled cell. The first event is unlikely for a uniformly chosen column; the second requires either many address queries in that column or a correct guess of an entire vector of hard answers. An adaptive direct-product argument makes this last assertion precise without conditioning on the algorithm’s choice of which columns to investigate.

The tournament analysis is useful independently of this construction. It uses the actual probabilities of comparisons as multiplicative weights; fresh coherent workspaces and amplitude amplification sample those weights exactly. Only comparisons involving a genuine winner need to be reliable. This extends the candidate-comparison approach to the arbitrary behavior caused here by off-promise address inputs. The classical analysis combines the planted input with a standard per-instance-capped direct-product argument [22, 13]; the separate cell arrays let this argument charge the cost of addressing many possible winners.

Section 2 defines the function and its certificates. Sections 3 and 4 prove the two bounds in (2); Section 5 derives the optimal power. Appendix A gives a self-contained proof of the known quartic upper bound. The only external lower-bound input is the Forrelation theorem stated in Section 2.

Conventions

We write [m]={1,…,m}[m] = \{1, \ldots, m\} and use logarithms to base two, except in expressions where changing the base only changes an absolute constant. Constants in bounds for Fk,mF_{k,m} may depend on the fixed integer kk. A partial Boolean function is specified on a subset of {0,1}N\{0, 1\}^{N}; its algorithms must be correct on that subset. The quantum routines used here have a fixed query cap on every input, including inputs outside the promise. A circuit transcript lists proposed values of the non-input gates; the actual input bits are read directly when a gate check needs them.

An addressed certificate with outward pointers

We construct a total function whose accepting certificate belongs to one column. The certificate must certify the answers to several Forrelation instances and point to a zero in every other column. The latter requirement will let a genuine accepting column defeat any competitor, even when that competitor’s Forrelation instances violate their promise.

Throughout the construction, fix an integer k≥2k \ge2 and let mm tend to infinity through powers of four. Constants in Ok(⋅)O_k(\cdot) may depend on kk, which remains fixed as mm grows. Write [m]={1,…,m}[m] = \{1,\ldots,m\}.

The partial function and its exact circuit

We use the kk-fold Forrelation problem introduced by Aaronson and Ambainis [1], with the thresholds analyzed by Bansal and Sinha [6]. Let HH be the normalized Walsh–Hadamard matrix of order mm, and let u=m−1/2(1,…,1)Tu = m^{-1/2}(1,\ldots,1)^{\mathsf{T}}. We identify a bit aa with the sign (−1)a(-1)^a. For a sign vector zz, write DzD_z for the diagonal matrix with diagonal zz. Given kk sign vectors z1,…,zk∈{±1}mz_1,\ldots,z_k \in\{\pm1\}^m, put

Φ(z1,…,zk)=uTDz1HDz2H⋯HDzku,δ=2−5k.(3)\Phi(z_1,\ldots,z_k) = u^{\mathsf{T}}D_{z_1}HD_{z_2}H\cdots HD_{z_k}u,\qquad\delta= 2^{-5k}. \tag*{(3)}

Define the partial Boolean function P=Pk,mP = P_{k,m} on kmkm bits by

P(z1,…,zk)={1,Φ(z1,…,zk)≥δ,0,∣Φ(z1,…,zk)∣≤δ/2.(4)P(z_1,\ldots,z_k) = \begin{cases} 1, & \Phi(z_1,\ldots,z_k) \ge\delta,\\ 0, & \lvert\Phi(z_1,\ldots,z_k)\rvert\le\delta/2. \end{cases} \tag*{(4)}

and leave it undefined on all other inputs. The two displayed cases are disjoint. Query complexity for this partial function requires correctness only on its domain.

Lemma 2.1. For each fixed integer k≥2k \ge2, the functions Pk,mP_{k,m} have the following properties.

(i) For all sufficiently large powers of four mm,

R(Pk,m)>L,L=⌊m1−1/k(log⁡2m)2⌋.(5)\mathrm{R}(P_{k,m}) > L,\qquad L = \left\lfloor\frac{m^{1-1/k}}{(\log_2 m)^2} \right\rfloor. \tag*{(5)}

(ii) For every 0<η<1/20 < \eta< 1/2, a quantum algorithm uses Ok(1+log⁡(1/η))O_k(1+\log(1/\eta)) bit queries and returns Pk,mP_{k,m} with error at most η\eta on every input in its domain. The algorithm can be implemented coherently, retaining its workspace. On every input, promised or not, it produces a bit when its output register is measured.

(iii) There is a Boolean circuit C=Ck,mC=C_{k,m} of fan-in at most two and size S=Sk,m=Ok(m(log⁡m)2)S=S_{k,m}=O_k(m(\log m)^2) with two output bits d,bd,b such that

d=1⟺Pk,m is defined,d=1⟹b=Pk,m.d=1 \Longleftrightarrow P_{k,m}\text{ is defined},\qquad d=1 \Longrightarrow b=P_{k,m}.

The circuit computes these outputs exactly on every input.

Proof. Theorem 1.3 and Corollary 1.4 of Bansal and Sinha [6] apply to exactly the normalized form and thresholds in (3)–(4). They give, for fixed kk and error 1/31/3,

R(Pk,m)=Ωk((mlog⁡(km))1−1/k).\mathrm{R}(P_{k,m})=\Omega_k\left(\left(\frac{m}{\log(km)}\right)^{1-1/k}\right).

This exceeds the value of LL in (5) for all sufficiently large mm.

For the quantum algorithm, prepare uu, apply the unitary product in (3), in its right-to-left order, and test the projection onto uu. Each DzhD_{z_h} uses one phase query, implemented by the standard bit oracle, while HH and the projection require no queries. The projection succeeds with probability Φ2\Phi^2. This probability is at least δ2\delta^2 on a 1-input and at most δ2/4\delta^2/4 on a 0-input. Independent repetitions and a threshold between these two numbers give error η\eta with Ok(1+log⁡(1/η))O_k(1+\log(1/\eta)) repetitions. The measurement outcomes and the final threshold decision can instead be computed into registers and retained, giving the claimed coherent implementation.

For the circuit, let W=mHW=\sqrt{m}H, whose entries are ±1\pm1. The scalar

N=z1TWDz2W⋯WDzk(1,…,1)TN=z_1^{\mathsf T}W D_{z_2}W\cdots W D_{z_k}(1,\ldots,1)^{\mathsf T}

is an integer, and

Φ=NMk,m,Mk,m=m(m)k−1.\Phi=\frac{N}{M_{k,m}},\qquad M_{k,m}=m(\sqrt{m})^{k-1}.

The denominator is an integer because mm is a power of four. Compute NN by k−1k-1 unnormalized Walsh–Hadamard transforms, coordinatewise sign changes, and a final signed sum. Each transform uses O(mlog⁡m)O(m\log m) additions and subtractions by the usual butterfly recursion. All intermediate integers have absolute value at most mO(k)m^{O(k)}, so Ok(log⁡m)O_k(\log m) bits suffice. Binary additions, subtractions, sign changes, and comparisons have fan-in-two Boolean circuits of size linear in this bit length. Consequently the entire arithmetic circuit has Boolean size Ok(m(log⁡m)2)O_k(m(\log m)^2).

Finally, the two tests in (4) are the exact integer comparisons

25kN≥Mk,m,25k+1∣N∣≤Mk,m.2^{5k}N\ge M_{k,m},\qquad2^{5k+1}|N|\le M_{k,m}.

Set dd to the disjunction of these comparisons and bb to the first comparison. This adds only Ok(log⁡m)O_k(\log m) gates and proves the last assertion. ▫

The exact circuit serves a different purpose from the quantum algorithm. The algorithm will propose an address. A transcript of the circuit will certify that this address consists of defined, correct answers, including on inputs where an arbitrary proposed address has no reason to be correct.

The total function

Set

r=⌈20log⁡2m⌉,ℓ=log⁡2m.(6)r = \lceil20\log_2 m\rceil,\qquad\ell= \log_2 m. \tag*{(6)}

The input has mm columns. Column i∈[m]i \in[m] contains the following bits:

  1. A string Xi∈{0,1}mX_i \in\{0,1\}^m.

  1. Strings Ai,1,…,Ai,r∈{0,1}kmA_{i,1},\ldots,A_{i,r} \in\{0,1\}^{km}, with no promise imposed on them.

  1. A cell Bi,sB_{i,s} for each address s∈{0,1}rs \in\{0,1\}^r. This cell contains a pointer pi,s,j∈[m]p_{i,s,j} \in[m] for each j≠ij \ne i, encoded by ℓ\ell bits using a fixed bijection, and an alleged evaluation transcript of Ck,mC_{k,m} on each Ai,hA_{i,h}, h∈[r]h \in[r].

An evaluation transcript consists of one bit for every non-input gate of Ck,mC_{k,m}, including its output gates. Circuit inputs are the actual bits of Ai,hA_{i,h}; they need not be copied into the transcript. We count these non-input gates in SS.

Call column ii a winner if Xi=1mX_i = 1^m, every P(Ai,h)P(A_{i,h}) is defined, and the cell at its true address

si=(P(Ai,1),…,P(Ai,r))(7)s_i = (P(A_{i,1}),\ldots,P(A_{i,r})) \tag*{(7)}

contains correct evaluation transcripts and pointers satisfying

Xj[pi,si,j]=0for every j≠i.(8)X_j[p_{i,s_i,j}] = 0 \qquad\text{for every } j \ne i. \tag*{(8)}

Define Fk,mF_{k,m} to be 1 if a winner exists, and 0 otherwise. This is a total Boolean function: all the preceding conditions are predicates on the input bits, and no promise is made about the AA-strings, the pointers, or the transcripts.

The addressed transcripts have the certificate role used in cheat-sheet constructions [2], while pointers between columns also occur in earlier query-complexity separations [15, 4]. Here the pointers have a specific outward orientation: an accepting column supplies a direct zero witness against every competitor. In particular, there can be at most one winner, since a winner’s pointer to another column certifies that the latter is not all ones. Figure 1 depicts this condition.

Diagram of a winning column cell with certified address and outward pointers to zeros in other columns

Figure 1. The relevant cell of a winning column points outward to a zero in every other column; two such pointers are shown. Only the indicated zeros are prescribed in the other columns. The cell’s address is computed from the partial-function answers and certified by stored circuit transcripts. The winner’s all-one string prevents every opponent from disqualifying it, even at an incorrectly decoded address.

We next make certificate verification precise. For a specified pair (i,s)(i,s), say that ii wins at address ss if ii is a winner and s=sis=s_i.

Lemma 2.2. For every input to Fk,mF_{k,m} and every pair (i,s)∈[m]×{0,1}r(i,s)\in[m]\times\{0,1\}^{r}, the assertion that ii wins at address ss is a conjunction of

Kk,m=m+(m−1)+r(Sk,m+2)=Ok(m(log⁡m)3)K_{k,m}=m+(m-1)+r(S_{k,m}+2)=O_k(m(\log m)^3)

Boolean tests. Each test can be evaluated exactly with O(log⁡m)O(\log m) bit queries. The tests can also be evaluated coherently with the same query bound, with their indices supplied in superposition. Their number and indexing convention are the same for every (i,s)(i,s).

Proof. Use one test for each bit of XiX_i, requiring it to be 1, and one test for each j≠ij\ne i, reading the pointer pi,s,jp_{i,s,j} and requiring the indicated bit of XjX_j to be 0. The latter uses ℓ+1\ell+1 queries.

For each of the rr transcripts in Bi,sB_{i,s}, use one test per gate, requiring its claimed value to be the prescribed Boolean function of its predecessors. A predecessor value is read from the transcript for a non-input gate and from Ai,hA_{i,h} for an input wire. Fan-in at most two therefore makes each such test use at most three queries. Add two output tests, requiring d=1d=1 and b=shb=s_h. By induction in a topological order of the circuit, all gate tests pass if and only if the transcript is the true evaluation. The output tests then say exactly that P(Ai,h)P(A_{i,h}) is defined and equals shs_h. Together with the XiX_i and pointer tests, these are precisely the winner conditions at (i,s)(i,s).

The wiring of the circuit and the locations of all bits are fixed and require no queries to compute. A test can load the required bits into ancillas, compute its result reversibly, and unload the bits by querying again. The bit oracle is its own inverse. A controlled use of that oracle, when needed, is likewise implemented by loading, controlled use of the loaded value, and unloading. Thus coherent evaluation, including an input-dependent pointer lookup, changes the query count by at most a constant factor. □

Two consequences will be used repeatedly. A winning column has one address at which every test passes; a nonwinning column has a failing test at every address. Thus an address proposed on an unpromised input can always be checked against the total definition.

Quantum search with probabilistic comparisons

We first prove a general tournament statement. A comparison need not behave almost deterministically: its outcome probabilities may be arbitrary, provided one distinguished candidate beats each opponent with sufficiently high probability. This is the additional feature needed beyond comparison algorithms for a fixed tournament [25, 18, 9]. There is no promised gap between a nonwinner comparison probability and 1/21/2, so ordinary error reduction does not provide uniformly cheap bounded-error access to a fixed tournament. After proving the statement, we construct the comparisons for Fk,mF_{k,m} and verify the candidates they produce.

Amplification without changing the sampled distribution

The tournament will sample a candidate conditioned on defeating every previously selected candidate. Amplification must preserve that conditional distribution while increasing the probability of obtaining a sample. This is a direct consequence of the two-dimensional rotation underlying amplitude amplification [11, 12]; we give the details because the distribution, as well as the success probability, is used in the tournament.

Lemma 3.1 (Bounded amplification). Let AA be a quantum state preparation with a designated success bit. Its success probability is pp, and, if p>0p > 0, its normalized successful state is ∣g⟩|g\rangle. Let 0<γ≤1/20 < \gamma\le1/2 and 0<η<1/20 < \eta< 1/2. There is a procedure using

O(γ−1/2log⁡(1/η))O\left(\gamma^{-1/2}\log(1/\eta)\right)

calls to AA and A−1A^{-1} that either reports failure or produces a successful outcome. Conditional on success, the output state is ∣g⟩|g\rangle up to a global phase. If p≥γp \ge\gamma, its failure probability is at most η\eta. If p=0p = 0, it always reports failure. The call bound holds for every pp and on every branch.

Proof. For 0<p<10 < p < 1, write

A∣0⟩=sin⁡θ∣g⟩+cos⁡θ∣b⟩,0<θ<π/2,A|0\rangle= \sin\theta|g\rangle+ \cos\theta|b\rangle,\qquad0 < \theta< \pi/2,

where the two normalized vectors lie in the successful and unsuccessful subspaces. Reflection about A∣0⟩A|0\rangle, followed in the appropriate order by a phase flip of the success bit, gives after ℓ\ell Grover iterations the state

sin⁡((2ℓ+1)θ)∣g⟩+cos⁡((2ℓ+1)θ)∣b⟩.\sin((2\ell+1)\theta)|g\rangle+ \cos((2\ell+1)\theta)|b\rangle.

Thus measuring success leaves exactly the same normalized successful state, independently of ℓ\ell. Each reflection about the prepared state uses AA, a query-free reflection about ∣0⟩|0\rangle, and A−1A^{-1}.

Set M=⌈10/γ⌉M = \lceil10/\sqrt{\gamma}\rceil. A trial chooses, with equal probabilities, either ℓ=0\ell= 0 or a uniform ℓ∈{0,…,M−1}\ell\in\{0,\ldots,M-1\}, then measures the success bit. If p≥1/2p \ge1/2, the first choice alone gives success probability at least 1/41/4. If γ≤p≤1/2\gamma\le p \le1/2, then

sin⁡(2θ)=2p(1−p)≥γ.\sin(2\theta) = 2\sqrt{p(1-p)} \ge\sqrt{\gamma}.

Summing a geometric progression bounds the averaged success probability in the second choice by

1M∑ℓ=0M−1sin⁡2((2ℓ+1)θ)≥12−12M∣sin⁡(2θ)∣≥920(9)\frac{1}{M}\sum_{\ell=0}^{M-1}\sin^2((2\ell+1)\theta) \ge\frac{1}{2} - \frac{1}{2M|\sin(2\theta)|} \ge\frac{9}{20} \tag*{(9)}

Every trial therefore succeeds with probability at least 9/409/40 when p≥γp \ge\gamma. Repeat a fixed ⌈log⁡(1/η)/log⁡(40/31)⌉\lceil\log(1/\eta)/\log(40/31)\rceil number of trials with fresh registers, stopping at the first success. The probability that all fail is at most η\eta. Each trial uses O(M)O(M) calls, whether it succeeds or fails. Every successful trial has the same state ∣g⟩|g\rangle, so neither the random choice of length nor stopping at the first success changes that state. The cases p=0p=0 and p=1p=1 follow directly, with the successful component absent or equal to the entire prepared state.

The tournament

Fix an input to the bit oracle. For candidates in [m][m], suppose a coherent comparison produces one victorious candidate for each unordered pair. It retains all workspace, so it is a unitary state preparation that can be reversed. Let aija_{ij} be the probability that ii defeats jj when the comparison result is measured. We always use the same circuit for the unordered pair, and set aii=0a_{ii}=0. Hence

aij+aji=1(i≠j),aii=0.(10)a_{ij}+a_{ji}=1 \quad(i\ne j), \qquad a_{ii}=0. \tag*{(10)}

The following result is pointwise in the fixed oracle input; its probabilities are over the algorithm’s internal randomness and measurements.

Proposition 3.2 (A tournament for probabilistic comparisons). For m≥2m\ge2, put

T=⌈log⁡(1000m)⌉,ϵ=11000T.T=\lceil\log(1000m)\rceil,\qquad\epsilon=\frac{1}{1000T}.

Suppose a coherent comparison circuit, controlled by two candidate indices and reversible with all workspace retained, uses at most c≥1c\ge1 bit queries. Let aija_{ij} be the probability that it reports ii defeating jj, and assume (10). There is a quantum algorithm making

O(cmT2log⁡T)O(c\sqrt{m}T^2\log T)

queries on every branch and returning a list of at most TT candidates with the following guarantee. If i∗∈[m]i_* \in[m] satisfies

ai∗j≥1−ϵ(j≠i∗),(11)a_{i_*j}\ge1-\epsilon\qquad(j\ne i_*), \tag*{(11)}

then the list contains i∗i_* with probability at least 1−2m/2T−Tϵ1-2m/2^T-T\epsilon.

Proof. We analyze an ideal sampling process and then implement each of its steps quantumly. Start with wi=1w_i=1 for all ii, and write W=∑iwiW=\sum_i w_i. When W>0W>0, sample a pivot pp with probability wp/Ww_p/W, append it to the list, and update

wi←wiaip(i∈[m]).(12)w_i\leftarrow w_i a_{ip}\qquad(i\in[m]). \tag*{(12)}

When W=0W=0, leave the list unchanged and keep all weights zero. The weights only define this ideal process; the algorithm will not compute them numerically.

For W>0W>0, complementarity gives the exact drift identity

E[Wnew∣w]=1W∑p,iwpwiaip=W2−∑iwi22W≤W2.(13)\begin{aligned} \mathbb{E}[W_{\mathrm{new}}\mid w] &=\frac{1}{W}\sum_{p,i}w_pw_i a_{ip}\\ &=\frac{W^2-\sum_i w_i^2}{2W}\le\frac{W}{2}. \tag*{(13)} \end{aligned}

The same inequality holds when W=0W=0, so after TT steps EWT≤m/2T\mathbb{E}W_T\le m/2^T. If a candidate i∗i_* satisfying (11) has never been selected, its final weight is at least

(1−ϵ)T≥1−Tϵ>12.(1-\epsilon)^T\ge1-T\epsilon>\frac{1}{2}.

In particular, the process cannot reach zero total weight before selecting it. Markov’s inequality implies

Pr⁡[i∗ absent from the ideal list]≤Pr⁡[WT≥1/2]≤2m2T.(14)\Pr[i_* \text{ absent from the ideal list}] \le\Pr[W_T \ge1/2] \le\frac{2m}{2^T}. \tag*{(14)}

Now fix an arbitrary list of previously selected pivots p1,…,ptp_1,\ldots,p_t, where t<Tt<T. Prepare a uniform superposition of i∈[m]i \in[m], and, for each pivot, compare ii with that pivot in a fresh workspace. Conditional on ii, let ∣ϕ(i,pb)⟩\lvert\phi(i,p_b)\rangle denote the complete comparison state, including its result bit. Before computing a success bit, the joint state is

1m∑i=1m∣i⟩⨂b=1t∣ϕ(i,pb)⟩.(15)\frac{1}{\sqrt{m}}\sum_{i=1}^{m}\lvert i\rangle\bigotimes_{b=1}^{t}\lvert\phi(i,p_b)\rangle. \tag*{(15)}

Set the success bit precisely when every comparison says that ii defeats its pivot. All garbage is retained. By the tensor product in (15), the conditional success probability for index ii is

∏b=1taipb=wi.\prod_{b=1}^{t} a_{ip_b}=w_i.

The empty product is one. Distinct index registers are orthogonal, so the total success probability is W/mW/m, and the conditional distribution of ii on success is exactly wi/Ww_i/W.

Apply Lemma 3.1 with γ=1/(2m)\gamma=1/(2m) and η=ϵ\eta=\epsilon. A successful sample still has exactly this index distribution: amplification preserves the full successful state, not just its total probability. If sampling reports failure, stop and return the list already accumulated. Otherwise measure the index, append it, and continue, for at most TT stages.

Until i∗i_* is first selected, its weight is at least 1/21/2, so W/m≥1/(2m)W/m\ge1/(2m). At each such history the sampler has failure probability at most ϵ\epsilon and, conditional on success, exactly the ideal pivot law. One can therefore couple that stage to an ideal pivot, with probability at most ϵ\epsilon of terminating instead. The coupling is conditional on the entire previous pivot history; it does not require history-independent failure probabilities. Summing these failure probabilities over at most TT stages and using (14) gives the stated guarantee. Once i∗i_* has entered the list, later termination cannot remove it.

At stage tt, the preparation and its inverse use O(c(t+1))O(c(t+1)) queries. Lemma 3.1 uses O(mlog⁡(1/ϵ))O(\sqrt{m}\log(1/\epsilon)) such calls. Summing over t<Tt<T gives O(cmT2log⁡T)O(c\sqrt{m}T^2\log T) queries. The number of stages and all trial counts are fixed upper bounds, so this is a worst-case query bound even if there is no candidate satisfying (11). □

The proof uses no order or transitivity among the candidates. Its shrinking quantity is the sum of fractional weights in (12), and complementarity alone yields (13). This is why unpromised address computations will be permitted in the application.

Comparing columns and verifying the list

We now fix an arbitrary input to Fk,mF_{k,m}, including possibly undefined Forrelation instances and incorrect circuit transcripts. Keep TT and ϵ\epsilon as in Proposition 3.2. To decode column ii, run the quantum algorithm for each of its rr partial-function instances, amplified to error at most ϵ/r\epsilon/r. Repetition and a majority computation take

Ok(rlog⁡(r/ϵ))=(log⁡m)Ok(1).O_k(r\log(r/\epsilon))=(\log m)^{O_k(1)}.

queries. If all these instances are defined, the resulting address is correct with probability at least 1−ϵ1-\epsilon. Otherwise the routine still returns some address. All repetitions and majority computations can be performed unitarily with their workspaces retained.

For a pair of distinct columns, sort their indices and apply the following comparison in this fixed order. Decode the address of each column in a separate workspace. Read each column’s pointer toward the other at its decoded address, and inspect the bit of the other’s XX string to which it points. A column disqualifies its opponent if that bit is zero. If exactly one column disqualifies the other, declare it victorious; otherwise declare the smaller index victorious. For a self-comparison, return false without reading a pointer.

These operations prepare a comparison state with c=(log⁡m)Ok(1)c=(\log m)^{O_k(1)} queries. The decoded addresses remain in their registers, and subsequent operations are controlled in the computational basis. Consequently its measurement probabilities agree with the description just given; different address outcomes are orthogonal and do not interfere. Reversing the complete preparation costs the same number of bit queries. Using the same sorted-pair circuit for either ordering ensures (10).

If i∗i_* is a winner, then Xi∗X_{i_*} is all ones. No opponent, at any decoded address, can point to a zero there. When the address of i∗i_* is correctly decoded, its own certificate points to a zero in every other column. Thus

ai∗j≥1−ϵ(j≠i∗).a_{i_*j} \ge1-\epsilon\qquad(j \ne i_*).

regardless of whether the opponent’s address instances are defined. Proposition 3.2 therefore returns a list containing the winner, when one exists, with probability at least 1−2m/2T−Tϵ1-2m/2^T-T\epsilon.

For each listed column, decode and measure its address afresh. At that fixed address, the winner conditions are the exact local tests of Lemma 2.2. Let their number be K=m(log⁡m)Ok(1)K=m(\log m)^{O_k(1)}. A uniform test index and an exact failing-test flag give a preparation whose success probability is zero when all tests pass, and at least 1/K1/K otherwise. Lemma 3.1, with γ=1/K\gamma=1/K and η=ϵ\eta=\epsilon, searches for a failed test in

O(Klog⁡(1/ϵ)log⁡m)=m(log⁡m)Ok(1)O\left(\sqrt{K}\log(1/\epsilon)\log m\right)=\sqrt{m}(\log m)^{O_k(1)}

queries. Here K≥m≥4K \ge m \ge4. Reject this candidate if a failed test is found, and accept it otherwise. Exact testing cannot report a failure when all tests pass. If the column is not a winner, every address has a failed test, so it is accepted with probability at most ϵ\epsilon. A true winner is accepted whenever decoding is correct: in that case there is no failed test for the search to report. Its rejection probability is therefore at most ϵ\epsilon, solely from address decoding.

Output one if any listed candidate is accepted. On a zero-input, a union bound gives error at most TϵT\epsilon. On a one-input, the miss probability and the winner’s verification error give total error at most

2m2T+Tϵ+ϵ<13.\frac{2m}{2^T}+T\epsilon+\epsilon<\frac{1}{3}.

The comparisons, tournament, and at most TT verifications prove

Proposition 3.3. For every fixed k≥2k \ge2, the total functions of Section 2 satisfy

Q(Fk,m)≤m(log⁡m)Ok(1).Q(F_{k,m}) \le\sqrt{m}(\log m)^{O_k(1)}.

All superposed array accesses used above are ordinary bit queries. The global bit index is computed reversibly from the column, cell, and wire indices. A pointer is read one bit at a time in O(log⁡m)O(\log m) queries, after which its target index is computed without queries. A controlled bit query can be implemented by loading the addressed input bit into an ancilla, using it under the required control, and unloading it with a second query. Thus neither coherent addressing nor retaining and reversing comparison garbage changes the query model.

The randomized lower bound

We compare a distribution with one zero in every column to a coupled distribution in which one uniformly chosen column is made a winner. An algorithm can distinguish them only by finding the zero that was removed or by reaching the newly filled certificate cell. The first event requires searching many columns; the second requires either many Forrelation queries in the chosen column or a successful guess of its entire address.

Independent answers under adaptive queries

We first record the precise amplification fact needed for address guessing. We use the capped direct-product argument developed by Drucker [13 Section 1.3 and Lemmas 3.1–3.2], following earlier work of Shaltiel [22]. Its query limit is imposed separately on each input, while queries to different inputs may be interleaved adaptively.

Lemma 4.1. Let P:D→{0,1}P:D\to\{0,1\}, where D⊆{0,1}nD\subseteq\{0,1\}^{n}, let μ\mu be a distribution on DD, and let LL be a nonnegative integer. Suppose every deterministic algorithm making at most LL queries computes PP under μ\mu with success probability at most β\beta. If U1,…,UrU_1,\ldots,U_r are independent samples from μ\mu, every classical algorithm making at most LL queries to each UhU_h has probability at most βr\beta^r of outputting

(P(U1),…,P(Ur)).(P(U_1),\ldots,P(U_r)).

The algorithm may be randomized, choose its queries adaptively among the rr inputs, and receive arbitrary additional information independent of (U1,…,Ur)(U_1,\ldots,U_r).

Proof. Fix the additional information and all internal random coins, leaving a deterministic algorithm. At any transcript τ\tau of positive probability, the conditional law of (U1,…,Ur)(U_1,\ldots,U_r) is a product of their separate conditional laws. Indeed, the event of obtaining τ\tau requires exactly the observed bit values in each input. Any tuple satisfying these requirements follows the same query schedule, since the next query is determined by the preceding answers. Thus this event is a Cartesian product of constraints on the individual inputs.

For each hh, let qhq_h be the number of queries already made to UhU_h, and let Vh(τ)V_h(\tau) be the largest success probability for computing P(Uh)P(U_h) from its current conditional law using at most L−qhL-q_h further queries. This maximum is attained because the domain and the remaining query budget are finite. If the next query addresses UhU_h, optimality gives

E[Vh(τ′)∣τ]≤Vh(τ),(16)\mathbb{E}[V_h(\tau')\mid\tau]\le V_h(\tau), \tag*{(16)}

where τ′\tau' includes its answer: making that particular query and then using an optimal continuation is one allowed strategy in the definition of Vh(τ)V_h(\tau). The conditional laws and budgets of the other inputs do not change. Hence

E[∏j=1rVj(τ′)∣τ]≤∏j=1rVj(τ).\mathbb{E}\left[\left.\prod_{j=1}^{r}V_j(\tau')\right|\tau\right]\le\prod_{j=1}^{r}V_j(\tau).

The product is therefore a supermartingale over the successive queries. There are at most rLrL such queries; a run that stops earlier can be extended by steps leaving all values unchanged.

At the final transcript, the conditional probability that the algorithm’s chosen answer vector is correct is at most

∏h=1rmax⁡b∈{0,1}Pr⁡(P(Uh)=b∣τ)≤∏h=1rVh(τ).\prod_{h=1}^{r}\max_{b\in\{0,1\}}\Pr(P(U_h)=b\mid\tau)\le\prod_{h=1}^{r}V_h(\tau).

The first inequality uses the product conditional law, and the second uses the option of making no further queries. Initially every VhV_h is at most β\beta. Taking expectations proves the bound βr\beta^r. Averaging over the fixed information and coins proves the full statement.

Return to P=Pk,mP = P_{k,m} and LL from (5), with mm large enough that 1≤L<R(P)1 \le L < \mathrm{R}(P). There are finitely many deterministic decision trees of depth at most LL on this finite domain. A randomized algorithm of that query depth is a distribution on these trees. Finite minimax, in its query-complexity formulation [27], applied to the payoff that the answer is correct, gives

max⁡distributions on depth-L treesmin⁡x∈dom⁡PPr⁡(correct on x)=min⁡μmax⁡depth-L trees TPr⁡x∼μ(T(x)=P(x)).\max_{\text{distributions on depth-}L\text{ trees}}\min_{x \in\operatorname{dom} P} \Pr(\text{correct on }x) = \min_{\mu}\max_{\text{depth-}L\text{ trees }T} \Pr_{x\sim\mu}(T(x)=P(x)).

The left-hand side is less than 2/32/3, since its maximum is attained and L<R(P)L < \mathrm{R}(P). Consequently there is a distribution μ\mu on dom⁡P\operatorname{dom} P for which every such deterministic tree has success probability at most 2/32/3. Lemma 4.1 therefore bounds the success probability of guessing rr independent answers by (2/3)r(2/3)^r.

Coupled zero and one inputs

Proposition 4.2. For each fixed integer k≥2k \ge2 and every sufficiently large power of four mm, the total function of Section 2 satisfies

R(Fk,m)>G:=⌊mL100⌋,L=⌊m1−1/k(log⁡2m)2⌋.(17)\mathrm{R}(F_{k,m}) > G := \left\lfloor\frac{mL}{100} \right\rfloor,\qquad L = \left\lfloor\frac{m^{1-1/k}}{(\log_2 m)^2} \right\rfloor. \tag*{(17)}

Proof. Generate a dummy input Y(0)Y^{(0)} as follows. Independently for each i∈[m]i \in[m], choose JiJ_i uniformly from [m][m] and put a single zero at position JiJ_i in XiX_i, setting its other bits to 1. Draw all Ai,hA_{i,h} independently from μ\mu, independently also of the JiJ_i. Set all cells Bi,sB_{i,s} to one fixed blank bit pattern. Since each XiX_i has a zero, Fk,m(Y(0))=0F_{k,m}(Y^{(0)}) = 0.

Choose II uniformly from [m][m], independently of the entire dummy input. Form a planted input Y(1)Y^{(1)} by setting XI=1mX_I = 1^m and filling its true-address cell BI,sIB_{I,s_I} with the correct circuit transcripts and the pointers pI,sI,j=Jjp_{I,s_I,j} = J_j for j≠Ij \ne I. All AA-strings are in the domain of PP, so sIs_I is well defined. Column II is a winner, and therefore Fk,m(Y(1))=1F_{k,m}(Y^{(1)}) = 1.

Fix a deterministic algorithm making at most GG queries, and consider its run on Y(0)Y^{(0)}. The coupled inputs can differ only at the bit XI[JI]X_I[J_I] and inside the cell BI,sIB_{I,s_I}. Until one of these locations is queried, the two executions have identical answers and hence identical subsequent queries. It follows that the difference between their output-1 probabilities is at most

Pr⁡(the dummy run queries XI[JI])+Pr⁡(the dummy run queries any bit of BI,sI).(18)\Pr(\text{the dummy run queries }X_I[J_I]) + \Pr(\text{the dummy run queries any bit of }B_{I,s_I}). \tag*{(18)}

Counting every visit to the indicated cell is an upper bound even if the queried bit happens to agree with its blank value.

Finding the removed zero. Let ZZ be the number of columns whose zero is discovered in the dummy run. Before the zero in a column is found, its location is uniform among the positions in that column not yet queried. This remains true conditional on the full adaptive transcript: the other XX-strings and all AA-strings are independent of its zero location, and the blank cells supply no information about that location. Call a discovery early if fewer than m/2m/2 distinct positions in its column were queried before it. Conditional on the preceding transcript, each query has probability at most 2/m2/m of an early discovery. Thus the expected number of early discoveries is at most 2G/m2G/m. Each remaining discovery occurs in a column that receives at least m/2m/2 queries, and there are at most 2G/m2G/m such columns. Hence

EZ≤4Gm.\mathbb{E}Z \le\frac{4G}{m}.

The dummy run is independent of II, so

Pr⁡(the dummy run queries XI[JI])=EZm≤4Gm2.(19)\Pr(\text{the dummy run queries } X_I[J_I]) = \frac{\mathbb{E}Z}{m} \le\frac{4G}{m^2}. \tag*{(19)}

Reaching the planted cell. Call a column heavy if, over the entire dummy run, the algorithm makes more than LL queries in total to its strings Ai,1,…,Ai,rA_{i,1},\ldots,A_{i,r}. There are at most G/LG/L heavy columns. Independence of II gives

Pr⁡(I is heavy)≤GmL.(20)\Pr(I\text{ is heavy}) \le\frac{G}{mL}. \tag*{(20)}

For the other columns we use Lemma 4.1. The following simulation bounds a joint event and does not condition the input distribution on a column being nonheavy.

Fix i∈[m]i \in[m] and a time t∈{1,…,G}t \in\{1,\ldots,G\}. Give a simulator all the dummy input outside Ai,1,…,Ai,rA_{i,1},\ldots,A_{i,r} for free. This information is independent of those rr strings. The simulator runs the deterministic algorithm up to its proposed ttth query, but aborts before making an (L+1)(L+1)st query to these rr strings in total. If it reaches time tt and the proposed query is to a cell Bi,sB_{i,s}, it outputs the address ss as its guess for the vector of rr answers. Otherwise, including if the simulated run stops or aborts, it outputs any fixed vector.

The simulator makes at most LL queries in total to the target strings, and in particular at most LL to each one. By Lemma 4.1, its probability of guessing sis_i correctly is at most (2/3)r(2/3)^r. Whenever the original dummy run queries Bi,siB_{i,s_i} at time tt and column ii is nonheavy, this simulator has not aborted and outputs the correct address. Thus

Pr⁡(i is nonheavy and the tth query is in Bi,si)≤(2/3)r.(21)\Pr(i\text{ is nonheavy and the }t\text{th query is in }B_{i,s_i}) \le(2/3)^r. \tag*{(21)}

Union bounding over tt and averaging over the independent uniform choice of II, then adding (20), yields

Pr⁡(the dummy run queries BI,sI)≤GmL+G(2/3)r.(22)\Pr(\text{the dummy run queries }B_{I,s_I}) \le\frac{G}{mL} + G(2/3)^r. \tag*{(22)}

Equations (18), (19), and (22) bound the difference of output probabilities by

4Gm2+GmL+G(2/3)r.(23)\frac{4G}{m^2}+\frac{G}{mL}+G(2/3)^r. \tag*{(23)}

For all sufficiently large mm, we have 1≤L≤m1 \le L \le m and G≤mL/100G \le mL/100. The first two terms are therefore at most 4/1004/100 and 1/1001/100, respectively. Moreover, (6) gives

G(2/3)r≤1100m2−20log⁡2(3/2)=o(1).G(2/3)^r \le\frac{1}{100}m^{2-20\log_2(3/2)} = o(1).

In particular, (23) is strictly less than 1/31/3 for large mm.

The same bound holds for a randomized algorithm of worst-case query cost GG, by fixing its coins and then averaging. Such an algorithm, if it had worst-case error at most 1/31/3, would output 11 with probability at most 1/31/3 on Y(0)Y^{(0)} and at least 2/32/3 on Y(1)Y^{(1)}. Their output-11 probabilities would differ by at least 1/31/3, contradicting the preceding estimate. Hence R(Fk,m)>GR(F_{k,m}) > G. ∎

For fixed kk, Proposition 4.2 implies

R(Fk,m)=Ωk(m2−1/k(log⁡m)2).\mathrm{R}(F_{k,m}) = \Omega_k\left(\frac{m^{2-1/k}}{(\log m)^2}\right).

The heavy-column estimate pays for learning an address, while the independent-answer estimate makes guessing an unlearned address negligible even over all GG adaptive queries.

The optimal power

We combine the quantitative bounds before recalling the universal upper bound in the appendix.

Proof of Theorem 1.1. For each fixed k≥2k \ge2, Proposition 3.3 gives Q(Fk,m)≤Ckm(log⁡m)bk\mathrm{Q}(F_{k,m}) \le C_k\sqrt{m}(\log m)^{b_k} for suitable constants. Proposition 4.2 gives

R(Fk,m)>⌊m100⌊m1−1/k(log⁡m)2⌋⌋≥ckm2−1/k(log⁡m)2.\mathrm{R}(F_{k,m}) > \left\lfloor\frac{m}{100}\left\lfloor\frac{m^{1-1/k}}{(\log m)^2}\right\rfloor\right\rfloor\ge c_k\frac{m^{2-1/k}}{(\log m)^2}.

for sufficiently large mm, after decreasing ck>0c_k > 0. This proves (2).

Now fix 0≤α<40 \le\alpha< 4 and choose an integer k≥2k \ge2 such that 2−1/k>α/22 - 1/k > \alpha/2. The integer kk remains fixed as mm tends to infinity. The preceding bounds imply

R(Fk,m)(1+Q(Fk,m))α≥ck,αm2−1/k−α/2(log⁡m)2+αbk⟶∞.\frac{\mathrm{R}(F_{k,m})}{(1+\mathrm{Q}(F_{k,m}))^\alpha} \ge c_{k,\alpha}\frac{m^{2-1/k-\alpha/2}}{(\log m)^{2+\alpha b_k}} \longrightarrow\infty.

Hence no exponent smaller than four belongs to the set in (1). Conversely, Theorem A.1 proves R(f)≤D(f)=O((1+Q(f))4)\mathrm{R}(f) \le\mathrm{D}(f) = O((1+\mathrm{Q}(f))^4) for every total Boolean function. Therefore four does belong to that set, and its infimum is four.

Separate address arrays force a classical algorithm to invest in many columns, while quantum comparisons locate a candidate before its certificate is checked. Quantum search then supplies the quadratic saving in checking the local tests. The direct-product estimate prevents a classical algorithm from bypassing the addressing cost by guessing certificate locations.

The universal quartic bound

For completeness, we prove the upper bound used in Theorem 1.1. The argument is the one of Aaronson, Ben-David, Kothari, Rao, and Tal [3], combining Huang’s signed-cube method [17] with the adversary bound and the deterministic degree–block-sensitivity inequality. No part of the construction is used in this appendix.

For a total Boolean function ff, let D(f)\mathrm{D}(f) be its exact deterministic query complexity and deg⁡(f)\deg(f) its degree as a real multilinear polynomial. The degree is unchanged by replacing input or output bits by signs. A nonempty set B⊆[n]B \subseteq[n] is a sensitive block at xx if flipping every bit in BB changes f(x)f(x). The block sensitivity bs(f)\mathrm{bs}(f) is the maximum, over xx, of the number of pairwise disjoint sensitive blocks at xx.

Theorem A.1 ([3]). Every total Boolean function satisfies

R(f)≤D(f)=O((1+Q(f))4).\mathrm{R}(f) \le\mathrm{D}(f) = O((1+\mathrm{Q}(f))^4).

We establish the three ingredients separately. All matrix norms below are operator norms for the Euclidean norm.

Lemma A.2 (Nonnegative spectral adversary bound). Let ff be a nonconstant total Boolean function. Let Γ\Gamma be a nonzero real symmetric matrix, indexed by inputs, with nonnegative entries and Γxy=0\Gamma_{xy}=0 whenever f(x)=f(y)f(x)=f(y). Let

(Γi)xy=Γxy1{xi≠yi}.(\Gamma_i)_{xy}=\Gamma_{xy}\mathbf{1}_{\{x_i\ne y_i\}}.

Then, for an absolute constant c>0c>0,

Q(f)≥c∥Γ∥max⁡i∥Γi∥.Q(f)\ge c\frac{\lVert\Gamma\rVert}{\max_i\lVert\Gamma_i\rVert}.

Proof. This is the spectral adversary argument of Barnum, Saks, and Szegedy [7]; see also Špalek and Szegedy [24]. Purify all randomness and defer measurements. A bounded-query algorithm can be represented with a fixed number of queries, with at most a constant-factor overhead: branches that have finished can perform ineffective queries, and controlled queries can be simulated with two bit queries. Let ∣ψxt⟩\lvert\psi_x^t\rangle be its normalized pure state on input xx after tt queries.

By the Perron–Frobenius theorem, Γ\Gamma has a nonnegative unit eigenvector vv of eigenvalue ∥Γ∥\lVert\Gamma\rVert. Track

Wt=∑x,yvxvyΓxy⟨ψxt∣ψyt⟩.W_t=\sum_{x,y}v_xv_y\Gamma_{xy}\langle\psi_x^t\mid\psi_y^t\rangle.

Initially the states are input-independent, so W0=v⊤Γv=∥Γ∥W_0=v^\top\Gamma v=\lVert\Gamma\rVert. Input-independent unitaries preserve every overlap.

Immediately before a query, write the normalized state as

∣ψx⟩=∑i∣i⟩∣ϕx,i⟩,∑i∥ϕx,i∥2=1.\lvert\psi_x\rangle=\sum_i\lvert i\rangle\lvert\phi_{x,i}\rangle,\qquad\sum_i\lVert\phi_{x,i}\rVert^2=1.

The bit oracle acts identically on inputs x,yx,y at that index unless xi≠yix_i\ne y_i. When they differ, the overlap changes in magnitude by at most 2∥ϕx,i∥∥ϕy,i∥2\lVert\phi_{x,i}\rVert\lVert\phi_{y,i}\rVert, since the difference between the relevant unitary and the identity has norm at most two. Put ui(x)=vx∥ϕx,i∥u_i(x)=v_x\lVert\phi_{x,i}\rVert. Nonnegativity of the weights gives

∣Wt+1−Wt∣≤2∑iui⊤Γiui≤2max⁡i∥Γi∥∑i∥ui∥2=2max⁡i∥Γi∥.\lvert W_{t+1}-W_t\rvert\le2\sum_i u_i^\top\Gamma_i u_i \le2\max_i\lVert\Gamma_i\rVert\sum_i\lVert u_i\rVert^2 =2\max_i\lVert\Gamma_i\rVert.

The last equality follows from normalization of each query state and ∑xvx2=1\sum_xv_x^2=1.

At the end, measure the output bit. For opposite-output inputs, one output-one probability is at most 1/31/3, and the other is at least 2/32/3. Splitting the two states by that output and applying Cauchy–Schwarz bounds their overlap in absolute value by 22/32\sqrt{2}/3. Hence the final value satisfies

∣Wfinal∣≤223∑x,yvxvyΓxy=223∥Γ∥.\lvert W_{\mathrm{final}}\rvert\le\frac{2\sqrt{2}}{3}\sum_{x,y}v_xv_y\Gamma_{xy} =\frac{2\sqrt{2}}{3}\lVert\Gamma\rVert.

The required total change in WW divided by the per-query bound proves the assertion. □

Let SfS_f be the adjacency matrix of the sensitivity graph: its vertices are {0,1}n\{0,1\}^n, and two vertices are adjacent if they differ in exactly one bit and have different function values. Write λ(f)=∥Sf∥\lambda(f)=\lVert S_f\rVert.

Lemma A.3. For every nonconstant total Boolean function,

bs⁡(f)=O(Q(f)2),λ(f)=O(Q(f)).\operatorname{bs}(f) = O(Q(f)^2), \qquad\lambda(f) = O(Q(f)).

Proof. Choose an input xx with b=bs⁡(f)b = \operatorname{bs}(f) disjoint sensitive blocks. Take Γ\Gamma to be the adjacency matrix of the star whose center is xx and whose leaves are the bb inputs obtained by flipping those blocks, with zero entries elsewhere. Its norm is b\sqrt{b}. Each coordinate belongs to at most one block, so Γi\Gamma_i has at most one undirected edge and norm at most one. Lemma A.2 gives Q(f)=Ω(b)Q(f) = \Omega(\sqrt{b}). This recovers the usual block-sensitivity lower bound for quantum queries [8].

For the second assertion, use Γ=Sf\Gamma= S_f. The edges in any one coordinate form a partial matching, whose adjacency matrix has norm at most one. Another application of Lemma A.2 gives Q(f)=Ω(λ(f))Q(f) = \Omega(\lambda(f)), as in [3].

Lemma A.4 ([3], using [17]). Every nonconstant total Boolean function satisfies deg⁡(f)≤λ(f)2\operatorname{deg}(f) \le\lambda(f)^2.

Proof. Write the function with sign inputs and sign outputs, and set d=deg⁡(f)≥1d = \operatorname{deg}(f) \ge1. Choose a monomial supported on a set of dd variables with nonzero coefficient, and fix all other variables to any signs. Its coefficient survives: any different monomial that could contribute to that coefficient would strictly contain its support and have degree larger than dd. The restricted sign function gg on the dd-cube therefore has nonzero correlation with parity. For some sign σ∈{−1,1}\sigma\in\{-1,1\}, the set

U={x∈{−1,1}d:g(x)=σx1⋯xd}U = \{x \in\{-1,1\}^{d} : g(x) = \sigma x_1 \cdots x_d\}

has size greater than 2d−12^{d-1}. Every cube edge with both endpoints in UU changes gg, since parity changes across each edge.

Define a signed adjacency matrix of the cube recursively by

H1′=(0110),Hj+1′=(Hj′II−Hj′).H'_1 = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad H'_{j+1} = \begin{pmatrix} H'_j & I \\ I & -H'_j \end{pmatrix}.

Its entrywise absolute value is the ordinary cube adjacency matrix. Induction gives (Hj′)2=jI(H'_j)^2 = jI, and its trace is zero. Thus Hd′H'_d has eigenvalues ±d\pm\sqrt{d}, each with multiplicity 2d−12^{d-1}. The d\sqrt{d}-eigenspace intersects the space of vectors supported on UU nontrivially, because their dimensions sum to more than 2d2^d. Choose a nonzero real vector vv in this intersection, and put u=∣v∣u = |v| entrywise. If AUA_U is the unsigned adjacency induced on UU, then

uTAUu≥vTHd′v=d∥v∥2=d∥u∥2.u^{\mathsf{T}} A_U u \ge v^{\mathsf{T}} H'_d v = \sqrt{d}\lVert v\rVert^2 = \sqrt{d}\lVert u\rVert^2.

All edges of AUA_U are sensitivity edges of the restriction, and hence of the original function. Extending uu by zero to the full input cube gives λ(f)≥d\lambda(f) \ge\sqrt{d}, as required.

Lemma A.5 ([19]). Every total Boolean function satisfies D(f)≤bs⁡(f)deg⁡(f)D(f) \le\operatorname{bs}(f)\operatorname{deg}(f).

Proof. Consider the following deterministic algorithm. If the function restricted by the queries so far is nonconstant, select a monomial of maximum degree in that restricted polynomial and query all its variables. Continue until the restriction is constant.

Fix the actual full input xx. In a given round, let SS be the selected monomial’s support. Fix all other still-unqueried variables to their values in xx. The coefficient on SS remains nonzero, since no monomial in the current restriction strictly contains SS. The resulting function on SS is nonconstant. Some assignment to SS therefore differs in value from the actual assignment x∣Sx|_S. The nonempty subset of coordinates on which these two assignments differ is a sensitive block at the original input xx.

Different rounds query disjoint sets, so these sensitive blocks are disjoint. There are at most bs⁡(f)\operatorname{bs}(f) rounds. Restrictions do not increase degree, and each round queries at most deg⁡(f)\operatorname{deg}(f) variables. The stated deterministic bound follows. □\square

Proof of Theorem A.1. For nonconstant ff, Lemmas A.3 and A.4 give both bs⁡(f)=O(Q(f)2)\operatorname{bs}(f) = O(Q(f)^2) and deg⁡(f)=O(Q(f)2)\operatorname{deg}(f) = O(Q(f)^2). Lemma A.5 then gives D(f)=O(Q(f)4)D(f) = O(Q(f)^4). Since a deterministic algorithm is also randomized, R(f)≤D(f)R(f) \le D(f). Constant functions require no queries. □\square

References

  1. [1]Scott Aaronson and Andris Ambainis. Forrelation: A problem that optimally separates quantum from classical computing. SIAM Journal on Computing, 47(3):982–1038, 2018.arxiv.org/abs/1411.5729
  2. [2]Scott Aaronson, Shalev Ben-David, and Robin Kothari. Separations in query complexity using cheat sheets. In Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, pages 863–876. ACM, 2016.
  3. [3]Scott Aaronson, Shalev Ben-David, Robin Kothari, Shravas Rao, and Avishay Tal. Degree vs. approximate degree and quantum implications of Huang’s sensitivity theorem. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, pages 1330–1342. ACM, 2021.arxiv.org/abs/2010.12629
  4. [4]Andris Ambainis, Kaspars Balodis, Aleksandrs Belovs, Troy Lee, Miklos Santha, and Juris Smotrovš. Separations in query complexity based on pointer functions. Journal of the ACM, 64(5):32:1–32:24, 2017.
  5. [5]Andris Ambainis, Jānis Iraids, and Martins Kokainis. Near-optimal separations of certificate complexity from randomized and quantum query complexity, 2026. arXiv:2609.11664v2.arxiv.org/abs/2609.11664
  6. [6]Nikhil Bansal and Makrand Sinha. k-Forrelation optimally separates quantum and classical query complexity. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, pages 1303–1316. ACM, 2021.arxiv.org/abs/2008.07003
  7. [7]Howard Barnum, Michael E. Saks, and Mario Szegedy. Quantum query complexity and semidefinite programming. In Proceedings of the 18th Annual IEEE Conference on Computational Complexity, pages 179–193. IEEE, 2003.DOI
  8. [8]Robert Beals, Harry Buhrman, Richard Cleve, Michele Mosca, and Ronald de Wolf. Quantum lower bounds by polynomials. Journal of the ACM, 48(4):778–797, 2001.
  9. [9]Shalev Ben-David and Robin Kothari. Randomized query complexity can beat certificate complexity, 2026. arXiv:2609.15063.
  10. [10]Charles H. Bennett, Ethan Bernstein, Gilles Brassard, and Umesh Vazirani. Strengths and weaknesses of quantum computing. SIAM Journal on Computing, 26(5):1510–1523, 1997.
  11. [11]Michel Boyer, Gilles Brassard, Peter Høyer, and Alain Tapp. Tight bounds on quantum searching. Fortschritte der Physik, 46(4–5):493–506, 1998.arxiv.org/abs/quant-ph/9605034
  12. [12]Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp. Quantum amplitude amplification and estimation. In Samuel J. Lomonaco, Jr., editor, Quantum Computation and Quantum Information, volume 305 of Contemporary Mathematics, pages 53–74. American Mathematical Society, 2002.
  13. [13]Andrew Drucker. Improved direct product theorems for randomized query complexity. Computational Complexity, 21(2):197–244, 2012.
  14. [14]Christoph Dürr and Peter Høyer. A quantum algorithm for finding the minimum, 1996. arXiv:quant-ph/9607014.arxiv.org/abs/quant-ph/9607014
  15. [15]Mika Göös, Toniann Pitassi, and Thomas Watson. Deterministic communication vs. partition number. In Proceedings of the 56th Annual IEEE Symposium on Foundations of Computer Science, pages 1077–1088. IEEE, 2015.
  16. [16]Lov K. Grover. A fast quantum mechanical algorithm for database search. In Proceedings of the 28th Annual ACM Symposium on Theory of Computing, pages 212–219. ACM, 1996.arxiv.org/abs/quant-ph/9605043
  17. [17]Hao Huang. Induced subgraphs of hypercubes and a proof of the Sensitivity Conjecture. Annals of Mathematics, 190(3):949–955, 2019.arxiv.org/abs/1907.00847
  18. [18]Nikhil S. Mande, Manaswi Paraashar, and Nitin Saurabh. Randomized and quantum query complexities of finding a king in a tournament. In 43rd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, volume 284 of Leibniz International Proceedings in Informatics, pages 30:1–30:19. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2023.arxiv.org/abs/2308.02472
  19. [19]Gatis Midrijanis. Exact quantum query complexity for total Boolean functions, 2004. arXiv:quant-ph/0403168.
  20. [20]Noam Nisan. CREW PRAMs and decision trees. SIAM Journal on Computing, 20(6):999–1007, 1991.
  21. [21]Noam Nisan and Mario Szegedy. On the degree of Boolean functions as real polynomials. Computational Complexity, 4(4):301–313, 1994.
  22. [22]Ronen Shaltiel. Towards proving strong direct product theorems. Computational Complexity, 12(1–2):1–22, 2003.DOI
  23. [23]Alexander A. Sherstov, Andrey A. Storozhenko, and Pei Wu. An optimal separation of randomized and quantum query complexity. SIAM Journal on Computing, 52(2):525–567, 2023. Preliminary version in STOC 2021.
  24. [24]Robert Špalek and Mario Szegedy. All quantum adversary methods are equivalent. Theory of Computing, 2(1):1–18, 2006.
  25. [25]Xiaoming Sun, Andrew C. Yao, and Shengyu Zhang. Graph properties and circular functions: How low can quantum query complexity go? In Proceedings of the 19th Annual IEEE Conference on Computational Complexity, pages 286–293. IEEE, 2004.DOI
  26. [26]Avishay Tal. Towards optimal separations between quantum and randomized query complexities. In Proceedings of the 61st Annual IEEE Symposium on Foundations of Computer Science, pages 228–239. IEEE, 2020.arxiv.org/abs/1912.12561
  27. [27]Andrew Chi-Chih Yao. Probabilistic computations: Toward a unified measure of complexity. In Proceedings of the 18th Annual Symposium on Foundations of Computer Science, pages 222–227. IEEE, 1977.DOI

Paper details

vlnc:W_gjterz5f
v1 · latestHistory (1)

published · Fresh — published within the last 30 days

Usage

views · 3

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

LicenseRef-OpenAI-public

DOI · 10.83295/2vxw-sdch

Original source

  • Mathematics

unreleased internal OpenAI model · View statement →

Looking for related papers…
Contents