English

Quantum speedups for dynamic programming on $n$-dimensional lattice graphs

Quantum Physics 2021-05-10 v2 Computational Complexity

Abstract

Motivated by the quantum speedup for dynamic programming on the Boolean hypercube by Ambainis et al. (2019), we investigate which graphs admit a similar quantum advantage. In this paper, we examine a generalization of the Boolean hypercube graph, the nn-dimensional lattice graph Q(D,n)Q(D,n) with vertices in {0,1,,D}n\{0,1,\ldots,D\}^n. We study the complexity of the following problem: given a subgraph GG of Q(D,n)Q(D,n) via query access to the edges, determine whether there is a path from 0n0^n to DnD^n. While the classical query complexity is Θ~((D+1)n)\widetilde{\Theta}((D+1)^n), we show a quantum algorithm with complexity O~(TDn)\widetilde O(T_D^n), where TD<D+1T_D < D+1. The first few values of TDT_D are T11.817T_1 \approx 1.817, T22.660T_2 \approx 2.660, T33.529T_3 \approx 3.529, T44.421T_4 \approx 4.421, T55.332T_5 \approx 5.332. We also prove that TDD+1eT_D \geq \frac{D+1}{\mathrm e}, thus for general DD, this algorithm does not provide, for example, a speedup, polynomial in the size of the lattice. While the presented quantum algorithm is a natural generalization of the known quantum algorithm for D=1D=1 by Ambainis et al., the analysis of complexity is rather complicated. For the precise analysis, we use the saddle-point method, which is a common tool in analytic combinatorics, but has not been widely used in this field. We then show an implementation of this algorithm with time complexity poly(n)lognTDn\text{poly}(n)^{\log n} T_D^n, and apply it to the Set Multicover problem. In this problem, mm subsets of [n][n] are given, and the task is to find the smallest number of these subsets that cover each element of [n][n] at least DD times. While the time complexity of the best known classical algorithm is O(m(D+1)n)O(m(D+1)^n), the time complexity of our quantum algorithm is poly(m,n)lognTDn\text{poly}(m,n)^{\log n} T_D^n.

Keywords

Cite

@article{arxiv.2104.14384,
  title  = {Quantum speedups for dynamic programming on $n$-dimensional lattice graphs},
  author = {Adam Glos and Martins Kokainis and Ryuhei Mori and Jevgēnijs Vihrovs},
  journal= {arXiv preprint arXiv:2104.14384},
  year   = {2021}
}
R2 v1 2026-06-24T01:38:08.614Z