English

Quantum Speedups for Polynomial-Time Dynamic Programming Algorithms

Quantum Physics 2025-07-02 v1 Data Structures and Algorithms

Abstract

We introduce a quantum dynamic programming framework that allows us to directly extend to the quantum realm a large body of classical dynamic programming algorithms. The corresponding quantum dynamic programming algorithms retain the same space complexity as their classical counterpart, while achieving a computational speedup. For a combinatorial (search or optimization) problem P\mathcal P and an instance II of P\mathcal P, such a speedup can be expressed in terms of the average degree δ\delta of the dependency digraph GP(I)G_{\mathcal{P}}(I) of II, determined by a recursive formulation of P\mathcal P. The nodes of this graph are the subproblems of P\mathcal P induced by II and its arcs are directed from each subproblem to those on whose solution it relies. In particular, our framework allows us to solve the considered problems in O~(V(GP(I))δ)\tilde{O}(|V(G_{\mathcal{P}}(I))| \sqrt{\delta}) time. As an example, we obtain a quantum version of the Bellman-Ford algorithm for computing shortest paths from a single source vertex to all the other vertices in a weighted nn-vertex digraph with mm edges that runs in O~(nnm)\tilde{O}(n\sqrt{nm}) time, which improves the best known classical upper bound when mΩ(n1.4)m \in \Omega(n^{1.4}).

Keywords

Cite

@article{arxiv.2507.00823,
  title  = {Quantum Speedups for Polynomial-Time Dynamic Programming Algorithms},
  author = {Susanna Caroppo and Giordano Da Lozzo and Giuseppe Di Battista and Michael T. Goodrich and Martin Nöllenburg},
  journal= {arXiv preprint arXiv:2507.00823},
  year   = {2025}
}

Comments

This is the extended version of a paper to appear at the 19th Algorithms and Data Structures Symposium (WADS 2025)