The quantum query complexity of read-many formulas

Similar documents
Quantum algorithms based on span programs

Faster quantum algorithm for evaluating game trees

Improving Quantum Query Complexity of Boolean Matrix Multiplication Using Graph Collision

The Quantum Query Complexity of Algebraic Properties

Reflections Reflections

arxiv:quant-ph/ v1 29 May 2003

From Adversaries to Algorithms. Troy Lee Rutgers University

The Quantum Query Complexity of the Determinant

arxiv: v1 [quant-ph] 6 Feb 2013

Quantum Algorithms for Evaluating Min-Max Trees

Quantum Algorithms for Graph Traversals and Related Problems

Improved Quantum Algorithm for Triangle Finding via Combinatorial Arguments

A better lower bound for quantum algorithms searching an ordered list

Optimal quantum adversary lower bounds for ordered search

Quantum Algorithms for Element Distinctness

A semi-definite program for quantum query complexity

arxiv:quant-ph/ v2 26 Apr 2007

Quantum Algorithms for Element Distinctness

Exponential algorithmic speedup by quantum walk

Quantum Algorithms for Finding Constant-sized Sub-hypergraphs

Breaking the Rectangle Bound Barrier against Formula Size Lower Bounds

Universal computation by quantum walk

arxiv: v1 [quant-ph] 9 Jul 2009

Quantum Complexity of Testing Group Commutativity

arxiv: v1 [quant-ph] 24 Jul 2015

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

On the tightness of the Buhrman-Cleve-Wigderson simulation

Lecture 13: Lower Bounds using the Adversary Method. 2 The Super-Basic Adversary Method [Amb02]

arxiv: v3 [quant-ph] 18 Nov 2008

Quantum Communication Complexity

Quantum walk algorithms

arxiv: v3 [quant-ph] 3 Jul 2012

Quantum Algorithms Lecture #2. Stephen Jordan

How Low Can Approximate Degree and Quantum Query Complexity be for Total Boolean Functions?

A Nearly Optimal Lower Bound on the Approximate Degree of AC 0

Lecture 5: February 21, 2017

c 2010 Society for Industrial and Applied Mathematics

Lower Bounds on Quantum Query Complexity

Quantum and Classical Query Complexities of Local Search are Polynomially Related

Algebraic Problems in Computational Complexity

Quantum algorithms. Andrew Childs. Institute for Quantum Computing University of Waterloo

Quantum Queries for Testing Distributions

New Results on Quantum Property Testing

Notes for Lecture 3... x 4

Notes for Lecture 3... x 4

Exercises - Solutions

CS6840: Advanced Complexity Theory Mar 29, Lecturer: Jayalal Sarma M.N. Scribe: Dinesh K.

arxiv: v2 [quant-ph] 11 Oct 2016

NP-Complete problems

Time-Efficient Quantum Walks for 3-Distinctness

Discrete quantum random walks

Entropy of Operators or Nechiporuk for Depth-2 Circuits

CS151 Complexity Theory

Quantum algorithms (CO 781/CS 867/QIC 823, Winter 2013) Andrew Childs, University of Waterloo LECTURE 13: Query complexity and the polynomial method

Adversary-Based Parity Lower Bounds with Small Probability Bias

Algorithmic challenges in quantum simulation. Andrew Childs University of Maryland

The quantum adversary method and classical formula size lower bounds

arxiv: v1 [cs.cc] 12 Feb 2009

arxiv: v1 [cs.cc] 22 Aug 2018

Algorithmic challenges in quantum simulation. Andrew Childs University of Maryland

On the correlation of parity and small-depth circuits

arxiv: v1 [cs.cc] 31 May 2014

arxiv: v2 [quant-ph] 25 May 2018

arxiv: v1 [cs.cc] 16 Mar 2017

Sensitivity, Block Sensitivity and Certificate Complexity of Boolean Functions (Master s Thesis)

Quantum complexities of ordered searching, sorting, and element distinctness

Hamiltonian simulation and solving linear systems

Graph Properties and Circular Functions: How Low Can Quantum Query Complexity Go?

Symbolic Model Checking with ROBDDs

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk

A note on monotone real circuits

Notes for Lecture 25

Quantum Query Algorithm Constructions for Computing AND, OR and MAJORITY Boolean Functions

Introduction. 1 Partially supported by a grant from The John Templeton Foundation

Reduced Ordered Binary Decision Diagrams

A Tight Lower Bound on Certificate Complexity in Terms of Block Sensitivity and Sensitivity

Quantum algorithms for hidden nonlinear structures

FOURIER CONCENTRATION FROM SHRINKAGE

CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT

Physical Mapping. Restriction Mapping. Lecture 12. A physical map of a DNA tells the location of precisely defined sequences along the molecule.

CS Foundations of Communication Complexity

A note on exponential circuit lower bounds from derandomizing Arthur-Merlin games

CSC 2429 Approaches to the P vs. NP Question and Related Complexity Questions Lecture 2: Switching Lemma, AC 0 Circuit Lower Bounds

1 The Low-Degree Testing Assumption

1 AC 0 and Håstad Switching Lemma

Math 262A Lecture Notes - Nechiporuk s Theorem

arxiv: v6 [quant-ph] 9 Jul 2014

Quantum Algorithms for Computing the Boolean Function AND and Verifying Repetition Code

Lecture 16: Communication Complexity

Separating Decision Tree Complexity from Subcube Partition Complexity

The Polynomial Method Strikes Back: Tight Quantum Query Bounds Via Dual Polynomials

arxiv: v2 [quant-ph] 5 Apr 2017

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

ENTROPY OF OPERATORS OR WHY MATRIX MULTIPLICATION IS HARD FOR DEPTH-TWO CIRCUITS

Quantum advantage with shallow circuits. arxiv: Sergey Bravyi (IBM) David Gosset (IBM) Robert Koenig (Munich)

6.842 Randomness and Computation April 2, Lecture 14

Lecture 3 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak;

Complete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in

On the query complexity of counterfeiting quantum money

Bounds for Error Reduction with Few Quantum Queries

Transcription:

The quantum query complexity of read-many formulas Andrew Childs Waterloo Shelby Kimmel MIT Robin Kothari Waterloo

Boolean formulas ^ x 1 x 2 _ x 3 ^ x 1 x 3 A formula is read-once if every input appears at most once. ^ x 1 x 2 _ x 3 ^ x 4 x 5

Evaluating read-once formulas Problem: Given a black box for x 2{0, 1} n, evaluate f(x), where f is a fixed read-once formula Upper bounds: Grover 96: O( p n) for OR Buhrman, Cleve, Wigderson 98: Õ( p n) for balanced, constant-depth Høyer, Mosca, de Wolf 03: O( p n) for balanced, constant-depth Farhi, Goldstone, Gutmann 07: n 1 2 +o(1) for balanced, binary Ambainis, Childs, Reichardt, Špalek, Zhang 07: O( p n) for approximately balanced formulas, n 1 2 +o(1) in general Reichardt 11: O( p n) for any formula Lower bound: Barnum, Saks 04: ( p n)

Formula size The size S of a formula is its total number of inputs, counted with multiplicity. _ ^ x 1 x 2 x 3 ^ x 1 x 3 n =3 S =5 Every Boolean function can be computed by some formula. The formula size is a natural complexity measure.

Evaluating read-many formulas The optimal read-once formula evaluation algorithm gives an upper bound of O( p S) for general formulas, but this can be suboptimal for read-many formulas. Trivial example: x 1 _ x 1 _ x 2 _ x 2 _ _x n _ x n =1 S =2n but no queries are required to evaluate Nontrivial example: Graph collision. Fix an n-vertex graph. Given a black box for x 2{0, 1} n. Is there an edge (v,w) of the graph with x v = x w =1? Upper bound of O(n 2/3 ) for any graph [Magniez, Santha, Szegedy 05]. Best lower bound for any particular graph is (n 1/2 ). Can be expressed by a simple formula: _ x v ^ x w n inputs edges (v, w) size S =2m = O(n 2 )

More parameters To get nontrivial bounds for read-many formula evaluation, we must take other properties into account. Gate count G: Number of AND and OR gates in the formula (Note that G<S: worst case is a binary tree, with G = S 1) Depth: Length of a longest path from the output to an input (not counting NOT gates)

Results The quantum query complexity of evaluating a formula with n inputs, size S, and G gates is. O(min{n, p S,n 1/2 G 1/4 }) For any n, S, G, there is a formula with n inputs, size at most S, and at most G gates that requires (min{n, p S,n 1/2 G 1/4 }) queries to evaluate. The above lower bound still holds for any fixed constant depth k 3. There is a depth-2 circuit of linear gate count that requires (n 0.555 ) queries to evaluate (compare O(n 3/4 ), trivial lower bound of ( p n) ).

Quantum applications (n 1.055 ) lower bound for checking Boolean matrix multiplication Given n n Boolean matrices A, B, C, n_ decide whether C ij = A ik ^ B kj for all i, j. k=1 Best known upper bound is O(n 3/2 ) [Buhrman, Spalek 06]; their techniques give a linear lower bound. Constant-depth, bounded-fanout circuits with n inputs and G gates (i.e., circuit size G) have query complexity (min{n, n 1/2 G 1/4 }).

Classical applications Formula gate count lower bound of [Khrapchenko 71]). (n 2 ) for PARITY (improving over Constant-depth circuit of size O(n) that requires (n 2 ) gates to express as a formula. (Best previous result we know of this kind gave a similar lower bound for formula size [Nechiporuk 66, Jukna 12], which is weaker.)

Idea of the formula evaluation algorithm Large formula size ) some inputs feed into many gates. Search for a 1 among inputs that feed into many OR gates. If we find one, we eliminate many OR gates. If we don t find one, we eliminate many wires. Search for a 0 among inputs that feed into many AND gates. If we find one, we eliminate many AND gates. If we don t find one, we eliminate many wires. Lemma: Using O(n 1/2 G 1/4 ) queries, we can produce a formula of size O(n p G) with the same value on the given input. Then apply the read-once formula evaluation algorithm.

Pruning a formula Call an input high-degree if it feeds into more than When there are no marked high-degree inputs, we can delete all wires from high-degree inputs to OR gates. Note: No log factors in the analysis. p G OR gates. Repeatedly search for a marked high-degree input. p We delete at least G OR gates each time, so we repeat k = O( p G) times. jth iteration takes time O( p n/m j ), where m j is the number of marked high-degree inputs m j decreases each step ) m k j j Total query complexity: P O( p G) j=1 O = O(n 1/2 G 1/4 ) q n j Same thing for AND gates. p p Every input has degree at most G ) formula size is O(n G).

Lower bounds for composed formulas f g g... g Q f (g,..., g) = Q(f)Q(g) [Reichardt 11] If the top gate of g is the same as all the bottom gates of f, then these gates can be combined, and we reduce the depth by 1. Lemma: Let f,g be circuits with n f,n g inputs, depth k f,k g, size G f,g g. Then there exists a circuit h with n h =4n f n g inputs, depth k h = k f + k g 1, size G h apple 2G f +4n f G g, such that Q(h) = (Q(f)Q(g)). Furthermore, if f is a formula and k g =1, then h is a formula of size S h = S f S g.

Optimality of the formula evaluation algorithm Claim: For any n, S, G, there is a formula with n inputs, size at most S, and at most G gates that requires (min{n, p S,n 1/2 G 1/4 }) queries to evaluate. If the min is n, consider PARITY: Query complexity (n) [BBCMW 98, FGGS 98] Formula size O(n 2 ) (use x y =(x^ȳ) _ ( x ^ y) recursively) Otherwise, compose PARITY with AND: and n m and n m parity m... and n m (n) inputs size S = O(m 2 (n/m)) = O(nm) gate count G = O(m 2 ) query complexity (n p n/m) = ( p nm) Choosing m appropriately p gives the p desired result. ( m = S/n if the min is S ; m = G if the min is n 1/2 G 1/4 )

Constant-depth formulas (depth 3) Constant-depth formulas for PARITY have superpolynomial size [Furst, Saxe, Sipser 84]. Instead, use the ONTO function [Beame, Machmouchi 10]: onto: X n!{0, 1} X n = functions from [2n 2] to [n] onto(f) =1iff f is surjective encode as a Boolean function of N = (2n 2) log n bits x b = ( x if b =1 x if b =0 Depth-3 formula of size (N 2 ): onto(f) = ^ _ log^ n 1 f(i) j` ` j2[n] i2[2n 2] `=0 Proposition [BM 10]: The query complexity of onto N is (N/ log N). Using this in place of PARITY gives the same lower bounds for depth-3 formulas, up to a log factor.

Depth-2 formulas Element distinctness Given x 1,...,x n 2 [n], does there exist i 6= j with x i = x j? Query complexity (n 2/3 ) [Aaronson, Shi 02; Ambainis 05; Kutin 05] Encode as a Boolean function of Depth-2 circuit of size O(n 3 ): ed N (x) = _ i,j,k2[n] N = n log n ^ log n `=1 (x i ) k` ` bits ^ (x j ) k` ` Using composition to produce a circuit of size n gives a lower bound of (n 5/9 )= (n 0.555 ).

Boolean matrix product verification Boolean semiring: sum is OR, product is AND Boolean matrix product: (AB) ij = _ k A ik ^ B kj Claim: Checking whether C = AB requires (n 1.055 ) queries to the entries of A, B, C. Best known upper bound is O(n 3/2 ) [Buhrman, Spalek 06]; their techniques give a linear lower bound. Matrix-vector product verification: check whether Av =1(A fixed, v given by a black box) W V Formula: i j A ijv j which is a generic monotone depth-2 circuit ) lower bound of (n 5/9 )= (n 0.555 ) AB = J is the logical AND of ) lower bound of ( p n instances of the above problem n n 5/9 )= (n 19/18 )= (n 1.055 )

Formula gate count lower bounds Read-many formula evaluation algorithm: The quantum query complexity of evaluating a formula f with n inputs and G gates is Q(f) =O(n 1/2 G 1/4 ). Corollary: Any formula representing a function f with n inputs requires (Q(f) 4 /n 2 ) gates. For example, any formula for PARITY must have (n 2 ) gates. Since G<S, this improves the classic result that the formula size of PARITY is (n 2 ) [Khrapchenko 71].

Lower bounds on formula gate count of AC 0 Problem: How efficiently can we reexpress a given constant-depth circuit as a formula? Prior work [Nechiporuk 66, Jukna 12]: There is a constant-depth circuit of linear size such that any formula for the same function has size at least n 2 o(1). We show that there is a constant-depth circuit of linear size that requires (n 2 ) gates to express as a formula. Main idea: ONTO has query complexity (n), circuit size Õ(n 2 ) Recursively composing ONTO with itself gives a circuit with smaller size but nearly the same query complexity

Open problems Tighter bounds for evaluating depth-2 formulas (= circuits) Possible candidate for an improved lower bound: _ ^ `2L i2` x i L = set of lines in a finite projective plane Formula evaluation upper/lower bounds taking other properties into account (beyond number of inputs, size, gate count, depth) Circuit evaluation Upper/lower bounds as a function of number of inputs, size, depth Graph collision as a depth-2 circuit of quadratic size or a depth-3 circuit of linear size