1 Quantum query complexity of some graph problems C. DürrUniv. Paris-Sud M. HeiligmanNational Security Agency P. HøyerUniv. of Calgary M. MhallaInstitut.

Slides:



Advertisements
Similar presentations
Lecture 15. Graph Algorithms
Advertisements

Graph Traversals Visit vertices of a graph G to determine some property: Is G connected? Is there a path from vertex a to vertex b? Does G have a cycle?
Graphs Chapter 12. Chapter Objectives  To become familiar with graph terminology and the different types of graphs  To study a Graph ADT and different.
Chapter 8, Part I Graph Algorithms.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
1 Representing Graphs. 2 Adjacency Matrix Suppose we have a graph G with n nodes. The adjacency matrix is the n x n matrix A=[a ij ] with: a ij = 1 if.
Applied Discrete Mathematics Week 12: Trees
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
Graphs Chapter 12. Chapter 12: Graphs2 Chapter Objectives To become familiar with graph terminology and the different types of graphs To study a Graph.
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 10 Instructor: Paul Beame.
Lecture 27 CSE 331 Nov 3, Combining groups Groups can unofficially combine in the lectures.
Fall 2007CS 2251 Graphs Chapter 12. Fall 2007CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs To.
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 11 Instructor: Paul Beame.
All-Pairs Shortest Paths
Design and Analysis of Algorithms Minimum Spanning trees
Lecture 25 CSE 331 Nov 2, Adding teeth to group talk Form groups of size at most six (6) Pick a group leader I will ask group leader(s) to come.
Hardness Results for Problems
Chapter 9: Graphs Spanning Trees Mark Allen Weiss: Data Structures and Algorithm Analysis in Java Lydia Sinapova, Simpson College.
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
Minimum Spanning Tree Algorithms. What is A Spanning Tree? u v b a c d e f Given a connected, undirected graph G=(V,E), a spanning tree of that graph.
Graph Algorithms Using Depth First Search Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Graph Algorithms: Minimum.
WEIGHTED GRAPHS. Weighted Graphs zGraph G = (V,E) such that there are weights/costs associated with each edge Õw((a,b)): cost of edge (a,b) Õrepresentation:
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Chapter 9 – Graphs A graph G=(V,E) – vertices and edges
Lecture 12-2: Introduction to Computer Algorithms beyond Search & Sort.
알고리즘 설계 및 분석 Foundations of Algorithm 유관우. Digital Media Lab. 2 Chap4. Greedy Approach Grabs data items in sequence, each time with “best” choice, without.
All-pairs Shortest Paths. p2. The structure of a shortest path: All subpaths of a shortest path are shortest paths. p : a shortest path from vertex i.
Kruskal’s and Dijkstra’s Algorithm.  Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connected weighted.
Fundamental Data Structures and Algorithms (Spring ’05) Recitation Notes: Graphs Slides prepared by Uri Dekel, Based on recitation.
1 Prim’s algorithm. 2 Minimum Spanning Tree Given a weighted undirected graph G, find a tree T that spans all the vertices of G and minimizes the sum.
Graphs Chapter 12. Chapter 12: Graphs2 Chapter Objectives To become familiar with graph terminology and the different types of graphs To study a Graph.
Variations of the Prize- Collecting Steiner Tree Problem Olena Chapovska and Abraham P. Punnen Networks 2006 Reporter: Cheng-Chung Li 2006/08/28.
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Discrete Structures CISC 2315 FALL 2010 Graphs & Trees.
Graphs Upon completion you will be able to:
Graphs 2015, Fall Pusan National University Ki-Joune Li.
Graph Representations And Traversals. Graphs Graph : – Set of Vertices (Nodes) – Set of Edges connecting vertices (u, v) : edge connecting Origin: u Destination:
Minimum Spanning Trees
Graph Algorithms BFS, DFS, Dijkstra’s.
Minimum Spanning Tree Chapter 13.6.
COMP 6/4030 ALGORITHMS Prim’s Theorem 10/26/2000.
Greedy Algorithms / Minimum Spanning Tree Yin Tat Lee
Topological Sort (topological order)
CS120 Graphs.
Graph Algorithms Using Depth First Search
Autumn 2016 Lecture 11 Minimum Spanning Trees (Part II)
Graph Algorithm.
Minimum Spanning Trees
Connected Components Minimum Spanning Tree
Autumn 2015 Lecture 11 Minimum Spanning Trees (Part II)
Chapter 23 Minimum Spanning Tree
CS 583 Analysis of Algorithms
CSCI2100 Data Structures Tutorial
Lecture 14 Shortest Path (cont’d) Minimum Spanning Tree
CSE 373: Data Structures and Algorithms
Autumn 2016 Lecture 10 Minimum Spanning Trees
Graphs G = (V, E) V are the vertices; E are the edges.
GRAPHS G=<V,E> Adjacent vertices Undirected graph
CSE 417: Algorithms and Computational Complexity
The Greedy Approach Young CS 530 Adv. Algo. Greedy.
Chapter 14 Graphs © 2011 Pearson Addison-Wesley. All rights reserved.
Winter 2019 Lecture 10 Minimum Spanning Trees
Lecture 13 Shortest Path (cont’d) Minimum Spanning Tree
Chapter 9: Graphs Spanning Trees
INTRODUCTION A graph G=(V,E) consists of a finite non empty set of vertices V , and a finite set of edges E which connect pairs of vertices .
Presentation transcript:

1 Quantum query complexity of some graph problems C. DürrUniv. Paris-Sud M. HeiligmanNational Security Agency P. HøyerUniv. of Calgary M. MhallaInstitut IMAG, Grenoble

1 Single Source Shortest Paths Given a directed graph G(V,E), with non-negative edge weights and a source vertex v 0 find the shortest paths to all vertices v v0v How many queries of the type ''what is the weight of the edge (u,v)?'' are necessary to solve the problem with bounded error? Classical  (n 2 ) Quantum  (n 3/2 ), O(n 3/2 log 3/2 n)

1 Single Source Shortest Paths Given a directed graph G(V,E), with non-negative edge weights and a source vertex v 0 find the shortest paths to all vertices v v0v How many queries of the type ''what is the weight of the edge (u,v)?'' are necessary to solve the problem with bounded error? Classical  (n 2 ) Quantum  (n 3/2 ), O(n 3/2 log 3/2 n)

1 General algorithm Tree T={v 0 } covering vertices S={v 0 } while |S|<n add cheapest border edge (u,v) ∈ E ∩ Sx(V\S) to A add v to S Definition cost of edge (u,v) =shortest path weight(v 0,u) + edge weight(u,v) v0v0

1 P3P3 Quantum procedure for finding cheapest border edge Consider the decomposition of |S| into powers of 2 Decompose S into P 1 ∪ … ∪ P k s.t. ● |P 1 |>…>|P k | ● and each |P i | is a power of 2 P1P1 P2P2

1 P3P3 Quantum procedure for finding cheapest border edge Consider the decomposition of |S| into powers of 2 Decompose S into P 1 ∪ … ∪ P k s.t. ● |P 1 |>…>|P k | ● and each |P i | is a power of 2 ● Suppose for every P i we computed A i : the |P i | cheapest border edges of P i with distinct targets (for edges with source ∈ P i and target ∉ P 1 ∪ … ∪ P i ) P1P1 P2P2 A1A1 A2A2 A3A3

1 P3P3 Observations ● A i ∩ Sx(V\S) (restricted to targets ∉ S ) is non empty for every i ● The cheapest border edge of S (u,v) has its source u ∈ P i for some i, and therefore v ∈ A i ● Thus (A 1 ∪ … ∪ A k ) ∩ Sx(V\S) contains the cheapest border edge of S P1P1 P2P2 A1A1 A2A2 A3A3 u v

1 Computing A k using a minimum search procedure P3P3 P1P1 P2P Input matrix ℕ a × b Output a column disjoint minimal entries Bounded error quantum query complexity  (a  b) 85∞∞∞29∞85∞∞∞29∞

1 Single source  (n 2 )  (n 3/2 ), O(n 3/2 log 2 n)  (m)  (  (nm)), O(  (nm)log 2 n) shortest paths Minimum weight  (n 2 )  (n 3/2 )  (m)  (  (nm)) spanning tree Connectivity  (n 2 )  (n 3/2 )  (m)  (n) (undirected graph) Strong Connectivity  (n 2 )  (n 3/2 )  (m)  (  (nm)), O(  (nmlogn)) (directed graph) Bounded error quantum query complexity Adjacency matrix model 1: 2: 3: 4: 1: : : : Bounded error (classical) quantum query complexity Adjacency array model 1: 2 3 2: 1 3: :