The Quantum Query Complexity of Read-Many Formulas

The quantum query complexity of evaluating any read-once formula with n black-box input bits is $\Theta(\sqrt n)$. However, the corresponding problem for read-many formulas (i.e., formulas in which the inputs can be repeated) is not well understood. Although the optimal read-once formula evaluation algorithm can be applied to any formula, it can be suboptimal if the inputs can be repeated many times. We give an algorithm for evaluating any formula with n inputs, size S, and G gates using $O(\min\{n, \sqrt{S}, n^{1/2} G^{1/4}\})$ quantum queries. Furthermore, we show that this algorithm is optimal, since for any n,S,G there exists a formula with n inputs, size at most S, and at most G gates that requires $\Omega(\min\{n, \sqrt{S}, n^{1/2} G^{1/4}\})$ queries. We also show that the algorithm remains nearly optimal for circuits of any particular depth k≥3, and we give a linear-size circuit of depth 2 that requires $\tilde\Omega(n^{5/9})$ queries. Applications of these results include a $\tilde\Omega(n^{19/18})$ lower bound for Boolean matrix product verification, a nearly tight characterization of the quantum query complexity of evaluating constant-depth circuits with bounded fanout, new formula gate count lower bounds for several functions including parity, and a construction of an AC0 circuit of linear size that can only be evaluated by a formula with Ω(n2−e) gates.

[1]  Peter van Emde Boas,et al.  SOFSEM 2004: Theory and Practice of Computer Science , 2004, Lecture Notes in Computer Science.

[2]  Ben Reichardt,et al.  Span Programs and Quantum Query Complexity: The General Adversary Bound Is Nearly Tight for Every Boolean Function , 2009, 2009 50th Annual IEEE Symposium on Foundations of Computer Science.

[3]  Avi Wigderson,et al.  Quantum vs. classical communication and computation , 1998, STOC '98.

[4]  Andris Ambainis,et al.  Polynomial Degree and Lower Bounds in Quantum Complexity: Collision and Element Distinctness with Small Range , 2003, Theory Comput..

[5]  Mario Szegedy,et al.  All Quantum Adversary Methods Are Equivalent , 2005, ICALP.

[6]  Stasys Jukna,et al.  Boolean Function Complexity Advances and Frontiers , 2012, Bull. EATCS.

[7]  Harry Buhrman,et al.  Quantum verification of matrix products , 2004, SODA '06.

[8]  Michael E. Saks,et al.  A lower bound on the quantum query complexity of read-once functions , 2001, Electron. Colloquium Comput. Complex..

[9]  M. Sipser,et al.  Limit on the Speed of Quantum Computation in Determining Parity , 1998, quant-ph/9802045.

[10]  Andris Ambainis,et al.  Any AND-OR Formula of Size N can be Evaluated in time N^{1/2 + o(1)} on a Quantum Computer , 2010, 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS'07).

[11]  Samuel Kutin,et al.  Quantum Lower Bound for the Collision Problem with Small Range , 2005, Theory Comput..

[12]  Gilles Brassard,et al.  Tight bounds on quantum searching , 1996, quant-ph/9605034.

[13]  Ronald de Wolf,et al.  Quantum lower bounds by polynomials , 1998, Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No.98CB36280).

[14]  S. G. Barwick,et al.  Unitals in Projective Planes , 2008 .

[15]  Robin Milner,et al.  On Observing Nondeterminism and Concurrency , 1980, ICALP.

[16]  Edward Farhi,et al.  A Quantum Algorithm for the Hamiltonian NAND Tree , 2008, Theory Comput..

[17]  Shengyu Zhang,et al.  On the power of Ambainis lower bounds , 2005, Theor. Comput. Sci..

[18]  Scott Aaronson,et al.  Quantum lower bounds for the collision and the element distinctness problems , 2004, JACM.

[19]  Rusins Freivalds,et al.  Quantum Query Complexity for Some Graph Problems , 2004, SOFSEM.

[20]  V. M. Khrapchenko Complexity of the realization of a linear function in the class of II-circuits , 1971 .

[21]  Andris Ambainis,et al.  Quantum Query Complexity of Boolean Functions with Small On-Sets , 2008, ISAAC.

[22]  Andrew M. Childs,et al.  ANY AND-OR FORMULA OF SIZE N CAN BE EVALUATED IN TIME N1/2+o(1) ON A QUANTUM COMPUTER , 2010 .

[23]  Frédéric Magniez,et al.  Quantum algorithms for the triangle problem , 2005, SODA '05.

[24]  Paul Beame,et al.  The quantum query complexity of AC0 , 2010, Quantum Inf. Comput..

[25]  Lov K. Grover Quantum Mechanics Helps in Searching for a Needle in a Haystack , 1997, quant-ph/9706033.

[26]  Andrew M. Childs,et al.  Discrete-Query Quantum Algorithm for NAND Trees , 2009, Theory Comput..

[27]  Ben Reichardt,et al.  Reflections for quantum query algorithms , 2010, SODA '11.

[28]  Gilles Brassard,et al.  Strengths and Weaknesses of Quantum Computing , 1997, SIAM J. Comput..

[29]  Ronald de Wolf,et al.  Quantum Search on Bounded-Error Inputs , 2003, ICALP.

[30]  François Le Gall Improved output-sensitive quantum algorithms for Boolean matrix multiplication , 2012, SODA.