[ieee 37th international symposium on multiple-valued logic - oslo, norway (2007.05.13-2007.05.16)]...

3
Boolean functions of low polynomial degree for quantum query complexity theory usin ¸ˇ s Freivalds Institute of Mathematics and Computer Science University of Latvia Rain ¸a bulv¯ aris. 29, Riga, Latvia [email protected] ıva Gark¯ aje ¯ Agenskalna Valsts ˇ gimn¯ azija Lav¯ ızes iela 2a, Riga, LV-1002, Latvia [email protected] Abstract The degree of a polynomial representing (or approximat- ing) a function f is a lower bound for the quantum query complexity of f . This observation has been a source of many lower bounds on quantum algorithms. It has been an open problem whether this lower bound is tight. This is why Boolean functions are needed with a high number of essential variables and a low polynomial degree. Unfortunately, it is a well-known problem to construct such functions. The best separation between these two complex- ity measures of a Boolean function was exhibited by Ambai- nis [5]. He constructed functions with polynomial degree M and number of variables Ω(M 2 ). We improve such a separation to become exponential. On the other hand, we use a computerized exhaustive search to prove tightness of this bound. 1. Introduction Quantum computing provides speedups for factoring [15], search [10] and many related problems. These speedups can be quite surprising. For example, Grover’s search algorithm [10] solves an arbitrary exhaustive search problem with N possibilities in time O( N ). Classically, it is obvious that time Ω(N ) would be needed. This makes lower bounds particularly important in the quantum world. If we can search in time O( N ), why can we not search in time O(log c N )? (Among other things, that would have meant NP BQP .) Lower bound of Bennett et al. [7] shows that this is not possible and Grover’s algorithm is exactly optimal. Let [N ] denote {1,...,N }. We consider computing a Boolean function f (x 1 ,...,x N ) : {0, 1} N {0, 1} in the quantum query model (for a survey on query model, see [9]). In this model, the input bits can be accessed by queries to an oracle X and the complexity of f is the number of queries needed to compute f . A quantum computation with T queries is just a sequence of unitary transformations U 0 O U 1 O ... U T -1 O U T . The U j ’s can be arbitrary unitary transformations that do not depend on the input bits x 1 ,...,x N . The O’s are query (oracle) transformations which depend on x 1 ,...,x N . To define O, we represent basis states as |i, z where i con- sists of log(N + 1) bits and z consists of all other bits. Then, O x maps 0,z to itself and i, z to (-1) xi i, z for i ∈{1, ..., N } (i.e., we change phase depending on x i , un- less i =0 in which case we do nothing). The computation starts with a state |0. Then, we apply U 0 , O x , ..., O x , U T and measure the final state. The result of the computation is the rightmost bit of the state obtained by the measurement. The quantum computation computes f exactly if, for every x = (x 1 ,...,x N ), the rightmost bit of U T O x ...O x U 0 0 equals f (x 1 ,...,x N ) with certainty. The quantum computation computes f with bounded error if, for every x = (x 1 ,...,x N ), the probability that the rightmost bit of U T O x U T -1 ...O x U 0 0 equals f (x 1 ,...,x N ) is at least 1 - for some fixed < 1/2. Q E (f ) (Q 2 (f )) denotes the minimum number T of queries in a quantum algorithm that computes f exactly (with bounded error). D(f ) denotes the minimum number of queries in a deterministic query algorithm computing f . 2. Main results Currently, we have good lower bounds on the quantum complexity of many problems. They mainly follow by two methods: the hybrid/adversary method[7, 3] and the poly- nomials method [6]. Proceedings of the 37th International Symposium on Multiple-Valued Logic (ISMVL'07) 0-7695-2831-7/07 $20.00 © 2007

Upload: liva

Post on 13-Mar-2017

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: [IEEE 37th International Symposium on Multiple-Valued Logic - Oslo, Norway (2007.05.13-2007.05.16)] 37th International Symposium on Multiple-Valued Logic (ISMVL'07) - Boolean Functions

Boolean functions of low polynomial degree for quantum query complexitytheory

Rusins FreivaldsInstitute of Mathematics and Computer Science

University of LatviaRaina bulvaris. 29, Riga, Latvia

[email protected]

Lıva GarkajeAgenskalna Valsts gimnazija

Lavızes iela 2a, Riga, LV-1002, [email protected]

Abstract

The degree of a polynomial representing (or approximat-ing) a function f is a lower bound for the quantum querycomplexity of f . This observation has been a source ofmany lower bounds on quantum algorithms. It has beenan open problem whether this lower bound is tight.

This is why Boolean functions are needed with a highnumber of essential variables and a low polynomial degree.Unfortunately, it is a well-known problem to construct suchfunctions. The best separation between these two complex-ity measures of a Boolean function was exhibited by Ambai-nis [5]. He constructed functions with polynomial degreeM and number of variables Ω(M2). We improve such aseparation to become exponential. On the other hand, weuse a computerized exhaustive search to prove tightness ofthis bound.

1. Introduction

Quantum computing provides speedups for factoring[15], search [10] and many related problems. Thesespeedups can be quite surprising. For example, Grover’ssearch algorithm [10] solves an arbitrary exhaustive searchproblem with N possibilities in time O(

√N). Classically,

it is obvious that time Ω(N) would be needed.This makes lower bounds particularly important in the

quantum world. If we can search in time O(√

N), why canwe not search in time O(logc N)? (Among other things,that would have meant NP ⊆ BQP .) Lower boundof Bennett et al. [7] shows that this is not possible andGrover’s algorithm is exactly optimal.

Let [N ] denote 1, . . . , N.We consider computing a Boolean function

f(x1, . . . , xN ) : 0, 1N → 0, 1 in the quantumquery model (for a survey on query model, see [9]). In

this model, the input bits can be accessed by queries to anoracle X and the complexity of f is the number of queriesneeded to compute f . A quantum computation with Tqueries is just a sequence of unitary transformations

U0 → O → U1 → O → . . . → UT−1 → O → UT .

The Uj’s can be arbitrary unitary transformations that donot depend on the input bits x1, . . . , xN . The O’s are query(oracle) transformations which depend on x1, . . . , xN . Todefine O, we represent basis states as |i, z〉 where i con-sists of dlog(N + 1)e bits and z consists of all other bits.Then, Ox maps 0, z to itself and i, z to (−1)xii, z fori ∈ 1, ..., N (i.e., we change phase depending on xi, un-less i = 0 in which case we do nothing).

The computation starts with a state |0〉. Then, we applyU0, Ox, . . ., Ox, UT and measure the final state. The resultof the computation is the rightmost bit of the state obtainedby the measurement.

The quantum computation computes f exactly if,for every x = (x1, . . . , xN ), the rightmost bit ofUT Ox . . . OxU00 equals f(x1, . . . , xN ) with certainty.

The quantum computation computes f with boundederror if, for every x = (x1, . . . , xN ), the probabilitythat the rightmost bit of UT OxUT−1 . . . OxU00 equalsf(x1, . . . , xN ) is at least 1− ε for some fixed ε < 1/2.

QE(f) (Q2(f)) denotes the minimum number T ofqueries in a quantum algorithm that computes f exactly(with bounded error). D(f) denotes the minimum numberof queries in a deterministic query algorithm computing f .

2. Main results

Currently, we have good lower bounds on the quantumcomplexity of many problems. They mainly follow by twomethods: the hybrid/adversary method[7, 3] and the poly-nomials method [6].

Proceedings of the 37th International Symposium on Multiple-Valued Logic (ISMVL'07)0-7695-2831-7/07 $20.00 © 2007

Page 2: [IEEE 37th International Symposium on Multiple-Valued Logic - Oslo, Norway (2007.05.13-2007.05.16)] 37th International Symposium on Multiple-Valued Logic (ISMVL'07) - Boolean Functions

For any Boolean function f , there is a unique multilinearpolynomial g such that f(x1, . . . , xN ) = g(x1, . . . , xN ) forall x1, . . . , xN ∈ 0, 1. We say that g represents f . Letdeg(f) denote the degree of polynomial representing f .

A polynomial g(x1, . . . , xN ) approximates f if 1− ε ≤g(x1, . . . , xN ) ≤ 1 whenever f(x1, . . . , xN ) = 1 and0 ≤ g(x1, . . . , xN ) ≤ ε whenever f(x1, . . . , xN ) = 0.Let ˜deg(f) denote the minimum degree of a polynomial ap-proximating f . It is known that

Theorem 1 [6]

1. QE(f) = Ω(deg(f));

2. Q2(f) = Ω( ˜deg(f));

This theorem has been a source of many lower boundson quantum algorithms.

The polynomials method is useful for proving lowerbounds both in classical [12] and quantum complexity [6].It is known that

1. the number of queries QE(f) needed to compute aBoolean function f by an exact quantum algorithm ex-actly is at least deg(f)

2 , where deg(f) is the degree ofthe multilinear polynomial representing f ,

2. the number of queries Q2(f) needed to compute f bya quantum algorithm with two-sided error is at least˜deg(f)

2 , where ˜deg(f) is the smallest degree of a mul-tilinear polynomial approximating f .

This reduces proving lower bounds on quantum algo-rithms to proving lower bounds on degree of polynomials.This is a well-studied mathematical problem with meth-ods from approximation theory available. Quantum lowerbounds shown by polynomials method include a Q2(f) =Ω( 6

√D(f)) relation for any total Boolean function f [6].

Polynomials method is also a key part of recent Ω(√

N)lower bound on set disjointness which resolved a longstand-ing open problem in quantum communication complexity[14].

Given the usefulness of polynomials method, it is animportant question how tight is the polynomials lowerbound. Buhrman et al. [9] have proved that, for all totalBoolean functions, Q2(f) = O(deg6(f)) and QE(f) =O(deg4(f)). The second result was recently improved toQE(f) = O(deg3(f)) [11]. Thus, the bound is tight up topolynomial factor.

Even stronger result would be QE(f) = O(deg(f)) orQ2(f) = O( ˜deg(f)). Then, determining the quantum com-plexity would be equivalent to determining the degree of afunction as a polynomial. It has been an open problem toprove or disprove either of these two equalities [6, 9].

Unfortunately, it is not easy to construct a Boolean func-tion such that its number of variables is larger than the de-gree of the representing polynomial. We have only severalsuch examples.

Ambainis’ function[5]: f(x) is equal to 1 iff x =x1x2x3x4 is one of the following values: 0011, 0100, 0101,0111, 1000, 1010, 1011, 1100. This function has the de-gree of 2, as witnessed by polynomial f(x1, x2, x3, x4) =x1 +x2 +x3x4−x1x4−x2x3−x1x2 and the deterministiccomplexity D(f) = 3.This function can be iterated.Define a sequence f1 = f , f2,. . . with fd being a function of 4d variables by

fd+1 = f(fd(x1, . . . , x4d), fd(x4d+1, . . . , x2·4d),

fd(x2·4d+1, . . . , x3·4d), fd(x3·4d+1, . . . , x4d+1)). (1)

Then, deg(fd) = 2d, D(fd) = 3d and, on every input x,sx(fd) = 2d and bsx(fd) = 3d.

Kushilevitz’s function (cited in[12]):

fK(x1, x2, x3, x4, x5, x6) = 0

iff either x1 = x2 = x3 = x4 = x5 = x6 = 0 or

x1 = x2 = x3 = 1

x2 = x3 = x4 = 1

x3 = x4 = x5 = 1

x4 = x5 = x1 = 1

x5 = x1 = x2 = 1

x1 = x3 = x6 = 1

x3 = x5 = x6 = 1

x5 = x2 = x6 = 1

x2 = x4 = x6 = 1

x4 = x1 = x6 = 1

The function fK is represented by the polynomial

x1 + x2 + x3 + x4 + x5 + x6−

−x1x2 − x1x3 − x1x4 − x1x5 − x1x6−

−x2x3 − x2x4 − x2x5 − x2x6 − x3x4−

−x3x5 − x3x6 − x4x5 − x4x6 − x5x6+

x1x2x4 + x2x3x5 + x3x4x1 + x4x5x2 + x5x1x3+

x1x5x6 + x3x2x6 + x5x4x6 + x2x1x6 + x4x3x6.

It is relatively easy to understand that a small degree ofthe representing polynomial implies a small number of theessential variables of the function. It is much more hardto make precise numerical estimates. The subsequent two

Proceedings of the 37th International Symposium on Multiple-Valued Logic (ISMVL'07)0-7695-2831-7/07 $20.00 © 2007

Page 3: [IEEE 37th International Symposium on Multiple-Valued Logic - Oslo, Norway (2007.05.13-2007.05.16)] 37th International Symposium on Multiple-Valued Logic (ISMVL'07) - Boolean Functions

theorems are very much alike. However the methods of theproof are very much different. Theorem 2 below was provedexplicitly and its proof is not difficult. On the other hand,Theorem 3 was proved by (rationalized) exhaustive searchon a computer.

Theorem 2If for a Boolean function f(x1, x2, · · · , xn) the degree

of the representing polynomial deg(f) equals 2 and all thevariables are essential, then n ≤ 4.

Theorem 3If for a Boolean function f(x1, x2, · · · , xn) the degree

of the representing polynomial deg(f) equals 3 and all thevariables are essential, then n ≤ 9.

We have also proved an exponential gap between thedeg(f) and the number of essential variables in f .

Theorem 4For arbitrary k ≥ 2 there is a (2k + 2k−2 − 1)-variable

Boolean function fk with degfk = k.Proof:By induction. For k = 2 the assertion follows from the

existence of the Ambainis’ function.Let P (x1, x2, · · · , x(2k+2k−2−1)) be the representing

polynomial for the function fk. The polynomial

x(2k+1+2k−1−1)P (x1, x2, · · · , x(2k+2k−2−1))+

+(1− x(2k+1+2k−1−1))(x(2k+2k−2), x(2k+2k−2+1), · · · ,

x(2k+1+2k−1))

represents the Boolean function fk+1.CorollaryThere is a Boolean function f of 9 variables with

degf = 3.This function is represented by the polynomial

x9(x1 + x2 + x3x4 − x1x4 − x2x3 − x1x2)+

+(1− x9)(x5 + x6 + x7x8 − x5x8 − x6x7 − x5x6).

References

[1] A. Aaronson. Lower bounds for local search by quan-tum arguments, Proceedings of STOC’04, pp. 465-474. Also quant-ph/0307149.

[2] A. Ambainis. A better lower bound for quantum al-gorithms searching an ordered list. Proceedings ofFOCS’99, pp. 352-357. Also quant-ph/9902053.

[3] A. Ambainis. Quantum lower bounds by quantum ar-guments. Journal of Computer and System Sciences,64:750-767, 2002. Earlier versions at STOC’00 andquant-ph/0002066.

[4] A. Ambainis. Quantum lower bounds for collisionand element distinctness with small range. quant-ph/0305179.

[5] A. Ambainis. Polynomial degree vs. quantum querycomplexity. Journal of Computer and System Sci-ences, 72:220-238, 2006. Earlier version at FOCS’03.

[6] R. Beals, H. Buhrman, R. Cleve, M. Mosca, R. deWolf. Quantum lower bounds by polynomials. Jour-nal of ACM, 48: 778-797, 2001. Earlier versions atFOCS’98 and quant-ph/9802049.

[7] C. Bennett, E. Bernstein, G. Brassard, U. Vazi-rani. Strengths and weaknesses of quantum comput-ing. SIAM J. Computing, 26:1510-1523, 1997. quant-ph/9701001

[8] H. Buhrman, R. Cleve, and A. Wigderson Quantumvs. classical communication and computation. Pro-ceedings of STOC’98, pp. 63-68, quant-ph/9702040

[9] H. Buhrman, R. de Wolf. Complexity measures anddecision tree complexity: a survey. Theoretical Com-puter Science, 288:21-43, 2002.

[10] L. Grover. A fast quantum mechanical algorithmfor database search. STOC’96, pp. 212-219, quant-ph/9605043.

[11] G. Midrijanis. Exact quantum query complexity for to-tal Boolean functions. quant-ph/0403168.

[12] N. Nisan, M. Szegedy. On the degree of Boolean func-tions as real polynomials. Computational Complexity,4:301-313, 1994.

[13] N. Nisan, A. Wigderson. On rank vs. communicationcomplexity. Combinatorica, 15: 557-565, 1995. AlsoFOCS’94.

[14] A. Razborov. Quantum communication complexityof symmetric predicates, Izvestiya of the RussianAcademy of Science, mathematics, 67:159-176, 2003.Also quant-ph/0204025.

[15] P. Shor. Polynomial-Time Algorithms for Prime Fac-torization and Discrete Logarithms on a QuantumComputer. SIAM J. Computation, 26: 1484-1509,1997. quant-ph/9508027.

[16] M. Snir. Lower bounds on probabilistic linear decisiontrees. Theoretical Computer Science, 38:69-82, 1985.

Proceedings of the 37th International Symposium on Multiple-Valued Logic (ISMVL'07)0-7695-2831-7/07 $20.00 © 2007