Our Contribution this work: quantum algorithm to find ǫ -spectral sparsifier H in time 1 O ( √ mn /ǫ ) � Ω( √ mn /ǫ ) lower bound matching � 2 15
Our Contribution this work: quantum algorithm to find ǫ -spectral sparsifier H in time 1 O ( √ mn /ǫ ) � Ω( √ mn /ǫ ) lower bound matching � 2 applications: quantum speedup for 3 ◮ max cut, min cut, min st -cut, sparsest cut, . . . ◮ Laplacian solving, approximating resistances and random walk properties, spectral clustering, . . . 15
this work: quantum algorithm to find ǫ -spectral sparsifier H in time 1 O ( √ mn /ǫ ) � Ω( √ mn /ǫ ) lower bound matching � 2 applications: quantum speedup for 3 ◮ max cut, min cut, min st -cut, sparsest cut, . . . ◮ Laplacian solving, approximating resistances and random walk properties, spectral clustering, . . . 16
Classical Sparsification Algorithm 17
Classical Sparsification Algorithm Sparsification by edge sampling: associate probabilities { p e } to every edge 1 keep every edge e with probability p e , rescale its weight by 1 / p e 2 17
Classical Sparsification Algorithm Sparsification by edge sampling: associate probabilities { p e } to every edge 1 keep every edge e with probability p e , rescale its weight by 1 / p e 2 ensures that E ( w H e ) = w G e 17
Classical Sparsification Algorithm Sparsification by edge sampling: associate probabilities { p e } to every edge 1 keep every edge e with probability p e , rescale its weight by 1 / p e 2 ensures that E ( w H e ) = w G e and hence � � � E ( L H ) = E = L G w e L e 17
Classical Sparsification Algorithm Sparsification by edge sampling: associate probabilities { p e } to every edge 1 keep every edge e with probability p e , rescale its weight by 1 / p e 2 ensures that E ( w H e ) = w G e and hence � � � E ( L H ) = E = L G w e L e how to ensure concentration? 17
Classical Sparsification Algorithm Sparsification by edge sampling: associate probabilities { p e } to every edge 1 keep every edge e with probability p e , rescale its weight by 1 / p e 2 ensures that E ( w H e ) = w G e and hence � � � E ( L H ) = E = L G w e L e how to ensure concentration? [Spielman-Srivastava ’08]: give high p e to edges with high effective resistance! 17
Classical Sparsification Algorithm effective resistance R ( i , j ) 18
Classical Sparsification Algorithm effective resistance R ( i , j ) = resistance between i , j after replacing all edges with resistors 18
Classical Sparsification Algorithm effective resistance R ( i , j ) = resistance between i , j after replacing all edges with resistors (Ohm’s law) = voltage difference required between i , j when sending unit current from i to j 18
Classical Sparsification Algorithm effective resistance R ( i , j ) = resistance between i , j after replacing all edges with resistors (Ohm’s law) = voltage difference required between i , j when sending unit current from i to j → small if many short and parallel paths from i to j ! 18
Classical Sparsification Algorithm effective resistance R ( i , j ) red edge: R e = 1 black edges: R e ∈ O ( 1 / n ) 18
? how to identify high-resistance edges ? 19
? how to identify high-resistance edges ? [Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges 19
? how to identify high-resistance edges ? [Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges = subgraph F of G with � O ( n ) edges 19
? how to identify high-resistance edges ? [Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges = subgraph F of G with � O ( n ) edges all distances stretched by factor ≤ log n : for all i , j d G ( i , j ) ≤ d F ( i , j ) ≤ log( n ) d G ( i , j ) 19
? how to identify high-resistance edges ? [Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges = subgraph F of G with � O ( n ) edges all distances stretched by factor ≤ log n : for all i , j d G ( i , j ) ≤ d F ( i , j ) ≤ log( n ) d G ( i , j ) G F 19
? how to identify high-resistance edges ? [Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges = subgraph F of G with � O ( n ) edges all distances stretched by factor ≤ log n : for all i , j d G ( i , j ) ≤ d F ( i , j ) ≤ log( n ) d G ( i , j ) G F 20
[Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges! proof idea for R e = 1 : 21
[Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges! proof idea for R e = 1 : if R e = 1 , there are no alternative paths between endpoints 21
[Koutis-Xu ’14]: a graph spanner must contain all high-resistance edges! proof idea for R e = 1 : if R e = 1 , there are no alternative paths between endpoints hence, e must be present in spanner 21
Classical Sparsification Algorithm Iterative sparsification: construct � O ( 1 /ǫ 2 ) spanners and keep these edges 1 keep any remaining edge with probability 1 / 2 , and double its 2 weight 22
Classical Sparsification Algorithm Iterative sparsification: construct � O ( 1 /ǫ 2 ) spanners and keep these edges 1 keep any remaining edge with probability 1 / 2 , and double its 2 weight (i.e., we set p e = 1 for spanner edges and p e = 1 / 2 for other edges) 22
Classical Sparsification Algorithm Iterative sparsification: construct � O ( 1 /ǫ 2 ) spanners and keep these edges 1 keep any remaining edge with probability 1 / 2 , and double its 2 weight (i.e., we set p e = 1 for spanner edges and p e = 1 / 2 for other edges) Theorem (Spielman-Srivastava ’08, Koutis-Xu ’14) W.h.p. output is ǫ -spectral sparsifier with m / 2 + � O ( n /ǫ 2 ) edges 22
Classical Sparsification Algorithm Iterative sparsification: construct � O ( 1 /ǫ 2 ) spanners and keep these edges 1 keep any remaining edge with probability 1 / 2 , and double its 2 weight (i.e., we set p e = 1 for spanner edges and p e = 1 / 2 for other edges) Theorem (Spielman-Srivastava ’08, Koutis-Xu ’14) W.h.p. output is ǫ -spectral sparsifier with m / 2 + � O ( n /ǫ 2 ) edges → repeat O (log n ) times: ǫ -spectral sparsifier with � O ( n /ǫ 2 ) edges 22
Quantum Sparsification Algorithm 23
Quantum Sparsification Algorithm = quantum spanner algorithm + k -independent oracle + a magic trick 23
Quantum Spanner Algorithm 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � greedy spanner algorithm: 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 iterate over every edge ( i , j ) ∈ E \ E F : 2 if δ F ( i , j ) > log n , add ( i , j ) to F 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 iterate over every edge ( i , j ) ∈ E \ E F : 2 if δ F ( i , j ) > log n , add ( i , j ) to F quantum greedy spanner algorithm: 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 iterate over every edge ( i , j ) ∈ E \ E F : 2 if δ F ( i , j ) > log n , add ( i , j ) to F quantum greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 iterate over every edge ( i , j ) ∈ E \ E F : 2 if δ F ( i , j ) > log n , add ( i , j ) to F quantum greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 until no more edges are found, do: 2 Grover search for edge ( i , j ) such that δ F ( i , j ) > log n . add ( i , j ) to F 24
Quantum Spanner Algorithm Theorem (“easy”) There is a quantum spanner algorithm with query complexity O ( √ mn ) � greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 iterate over every edge ( i , j ) ∈ E \ E F : 2 if δ F ( i , j ) > log n , add ( i , j ) to F quantum greedy spanner algorithm: set F = ( V , E F = ∅ ) 1 until no more edges are found, do: 2 Grover search for edge ( i , j ) such that δ F ( i , j ) > log n . add ( i , j ) to F O ( √ mn ) queries → can prove: � O ( n ) edges are found using � 24
Quantum Spanner Algorithm Theorem (“less easy”) There is a quantum spanner algorithm with time complexity O ( √ mn ) � 25
Quantum Spanner Algorithm Theorem (“less easy”) There is a quantum spanner algorithm with time complexity O ( √ mn ) � = (roughly) [Thorup-Zwick ’01] classical construction of a spanner by growing small shortest-path trees (SPTs) 25
Quantum Spanner Algorithm Theorem (“less easy”) There is a quantum spanner algorithm with time complexity O ( √ mn ) � = (roughly) [Thorup-Zwick ’01] classical construction of a spanner by growing small shortest-path trees (SPTs) + [Dürr-Heiligman-Høyer-Mhalla ’04] quantum speedup for constructing SPTs 25
Quantum Sparsification Algorithm Iterative sparsification: use quantum algorithm to construct � O ( 1 /ǫ 2 ) spanners, keep 1 these edges keep any remaining edge with probability 1 / 2 , and double its 2 weight 26
Quantum Sparsification Algorithm Iterative sparsification: use quantum algorithm to construct � O ( 1 /ǫ 2 ) spanners, keep 1 these edges keep any remaining edge with probability 1 / 2 , and double its 2 weight → after 1 iteration: “intermediate” graph with ≈ m / 2 edges 26
Quantum Sparsification Algorithm Iterative sparsification: use quantum algorithm to construct � O ( 1 /ǫ 2 ) spanners, keep 1 these edges keep any remaining edge with probability 1 / 2 , and double its 2 weight → after 1 iteration: “intermediate” graph with ≈ m / 2 edges ? how to keep track in time o ( m ) ? 26
Quantum Sparsification Algorithm Iterative sparsification: use quantum algorithm to construct � O ( 1 /ǫ 2 ) spanners, keep 1 these edges keep any remaining edge with probability 1 / 2 , and double its 2 weight → after 1 iteration: “intermediate” graph with ≈ m / 2 edges ? how to keep track in time o ( m ) ? 26
Recommend
More recommend