Quantum algorithms and lower bounds for eccentricity, radius, and diameter in undirected graphs
Adam Wesołowski, Jinge Bao
TL;DR
The paper develops quantum algorithms for fundamental distance-metrics in undirected graphs, delivering subquadratic upper bounds for diameter and radius in the adjacency-list model and a $2/3$-approximation for diameter with $\tilde{O}(\sqrt{m}\,n^{3/4})$ time. It leverages a synthesis of quantum single-source shortest paths, Grover-style search, and quantum partial BFS to reduce the search space and compute witnesses (paths) alongside the numeric results. Complementing the upper bounds, it proves quantum query lower bounds of $\Omega(\sqrt{nm})$ for eccentricity, diameter, and radius via reductions from quantum minima finding, highlighting a divergence from classical APSP-based intuitions. The results demonstrate a notable quantum speedup over classical matrix multiplication-based approaches and open questions about the tightness of lower bounds and the potential for further quantum improvements in graph problems. Overall, the work advances quantum graph algorithms by providing both concrete upper bounds and fundamental limits for core distance measures, with implications for quantum-speedups in network analysis tasks.
Abstract
The problems of computing eccentricity, radius, and diameter are fundamental to graph theory. These parameters are intrinsically defined based on the distance metric of the graph. In this work, we propose quantum algorithms for the diameter and radius of undirected, weighted graphs in the adjacency list model. The algorithms output diameter and radius with the corresponding paths in $\widetilde{O}(n\sqrt{m})$ time. Additionally, for the diameter, we present a quantum algorithm that approximates the diameter within a $2/3$ ratio in $\widetilde{O}(\sqrt{m}n^{3/4})$ time. We also establish quantum query lower bounds of $Ω(\sqrt{nm})$ for all the aforementioned problems through a reduction from the minima finding problem.
