How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding...

38
by Rajat Mittal IQC, University of Waterloo. How to make quantum query algorithms

Transcript of How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding...

Page 1: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

by Rajat Mittal

IQC, University of Waterloo.

How to make quantum query algorithms

Page 2: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

x      j    

 Least queries needed to evaluate  f(x)  

Given: Function )  

Page 3: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

x      |  

|  

   =  Least quantum queries needed to evaluate  f(x)  

Given: Function )  

|  

Page 4: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Query Algorithm

Unitary operators are free Cost of algorithm = number of queries

| |

Page 5: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Query algorithms Grover search

unordered search in O( ) queries AND/OR trees Element distinctness Graph collision Triangle finding

Many algorithms were given using

quantum walks.

Page 6: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Lower bounds on quantum query complexity

Adversary bound : SDP

Equivalence ]

Multiplicative ]

(f)    

Polynomial bound ]: Separation ]

Element Distinctness ]

Direct products [

Page 7: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Lower bounds on quantum query complexity

Adversary bound : SDP

Equivalence ]

Multiplicative ]

(f)    

Polynomial bound ]: Separation ]

Element Distinctness ]

Direct products [

For any boolean function f:

[

Page 8: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Vector set

Page 9: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Vector set : construction Query algorithm for f : Construct vectors for every element of and x y . . . Z 1 . . . . . . n .

Page 10: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Vector set : Example Query algorithm for f : 0,1} 000 001 . . . 111 1 . . . . . . n .

Page 11: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Query algorithm for f : Follow constraint for . x y 1 . . n

Page 12: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Query algorithm for f : Follow constraint for . x y product 1 < , . + . < , . + n < ,

.

Page 13: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

The dual of adversary bound

Vector set : solution of the dual of adversary bound The value of the solution :

The value of best construction : Q(f)

Page 14: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Algorithmic applications

Q. Can we develop algorithms using solution of dual? A. Not easy, because of the great number of constraints in SDP.

1. (optimal formula evaluation algorithms

for any read-once formula)

Page 15: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Algorithmic applications

Q. Can we develop algorithms using filtered factorization norm? A. Not easy, because of the great number of constraints in SDP.

2. Learning graphs [Bel11] (Element Distinctness and algorithm for Triangle Finding )

s t

Cut 1-certificate

Page 16: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Outline

Span programs

Learning graphs

Comparison

Open problems

Page 17: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Span Programs

Page 18: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Span program

For a function f : 1,0 1,1 2,0 . . n,0 n,1 free t 6 5 . . . 3 3 4 1 5 2 . . . 8 2 1 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 . . . 4 2 3 1

target

Page 19: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Span program

1,0 1,1 2,0 . . n,0 n,1 free t 6 5 . . . 3 3 4 1 5 2 . . . 8 2 1 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 . . . 4 2 3 1

target

Useful vectors for free vectors + vectors in column

Page 20: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Useful vectors for free vectors + vectors in column

t : as linear combination of useful vectors for y Witness: The coefficients of linear combination Witness size : The length of witness vector

Page 21: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Useful vectors for : free vectors + vectors in column

t : NOT a linear combination of useful vectors for x Witness: w: (<w,t> =1) & (<w,v> = 0, if v useful). Witness size: The length of Aw.

Page 22: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Equivalence to dual solution Every span program can be converted to a canonical span program

Fixed vector space for columns No free vectors

Canonical span program is equivalent to a solution of dual adversary. Complexity of best span program is the query complexity of f.

Page 23: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Features Easy to manipulate span programs

Complementation Composition

Optimal formula evaluation algorithms These were used to show query algorithms using adversary bound.

Page 24: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Learning Graph

Page 25: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Learning graph For a function f : Need to construct a graph

{2} {5}

{2,7} {5,2}

{5,7}

{2,7,5}

Vertex: Edge:

Page 26: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Learning graph For a function f : Need to construct a graph

{2} {5}

{2,7} {5,2}

{5,7}

{2,7,5}

Edges: Every edge has weight

j  

Page 27: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Flow for 1-input

For every , there is a flow of value 1 Source: The empty vertex Sink: - Flow in edge e:

{2} {5}

{2,7} {5,2}

{5,7}

{2,7,9}

1-certificate (depends on y)

Page 28: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Complexity of learning graph

{2} {5}

{2,7} {5,2}

{5,7}

{2,7,9}

Page 29: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Reduction Convert learning graph into vector construction

                                                     need coordinates in j, e,  (S)

Assignment on S

Page 30: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Constraint for dual adversary Constraint:

=

= = 1 (value of the flow)

{2} {5}

{2,7} {5,2}

{5,7}

{2,7,9}

Cut

Page 31: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Important results Element distinctness:

Showed the previous bound of

Triangle finding: Improved the upper bound to

k-element distinctness: Improved under certain conditions

Page 32: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Limitations and improvement Certificate complexity barrier

Learning graph complexity 1-certificate complexity

Alphabet size barrier Only depends on certificate structure

Improved learning graph : overcomes both barriers

Page 33: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Comparison

Span Program Learning graph Easy to manipulate Equivalent to dual ?????

Weaker than dual Easy to construct

Page 34: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Solution of dual adversary

Symmetric Tight

Learning graph / Span programs

 

Intuitive

Separation of constraints really help Need more combinatorial constructions to make

query algorithms

Page 35: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Open problems

Page 36: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Constructing dual solution Need other techniques to construct dual solution.

Easy to manipulate Easy to construct Tight

When is positive adversary tight ?

Page 37: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Other query algorithms

Graph collision Important in triangle finding.

Triangle finding k-element distinctness

Page 38: How to make quantum query algorithms · yElement distinctness yGraph collision yTriangle finding Many algorithms were given using quantum walks. Lower bounds on quantum query complexity

Thank you