Quantum Algorithm for Shortest Path Search in Directed Acyclic Graph
- Authors: Khadiev K.R.1,2, Safina L.I.2
-
Affiliations:
- OOO Kvantovye Intellektual’nye Tekhnologii
- Kazan (Volga Region) Federal University
- Issue: Vol 43, No 1 (2019)
- Pages: 47-51
- Section: Article
- URL: https://journals.rcsi.science/0278-6419/article/view/176283
- DOI: https://doi.org/10.3103/S0278641919010023
- ID: 176283
Cite item
Abstract
In this work, we consider a well-known “Single Source Shortest Path Search” problems for weighted directed acyclic graphs (DAGs). We suggest a quantum algorithm with time complexity \(O(\sqrt {nm} \,\log \;n)\) and O(1/n) error probability, where n is a number of Vertexes, m is the number of edges. We use quantum dynamic programming approach (Khadiev, 2018) and Dürr and Høyer minimum search algorithm to speed up our search. Our algorithm is better than C. Dürr and coauthors’ quantum algorithm for an undirected graph. The time complexity of C. Dürr’s algorithm is \(O(\sqrt {nm} \,{(\log \;n)^2})\). The best known deterministic algorithm for the problem is based on a dynamic programming approach and its time complexity is O (n + m). At the same time, if we use algorithms for general graphs, then we do not get better results. The time complexity of best implementations of Dijkstra’s algorithm with Fibonacci heap is O (m + n log n).
About the authors
K. R. Khadiev
OOO Kvantovye Intellektual’nye Tekhnologii; Kazan (Volga Region) Federal University
Author for correspondence.
Email: kamilhadi@gmail.com
Russian Federation, Kazan, 420111; Kazan, 420008
L. I. Safina
Kazan (Volga Region) Federal University
Author for correspondence.
Email: liliasafina94@gmail.com
Russian Federation, Kazan, 420008
Supplementary files
