English

Practical implementation of a quantum backtracking algorithm

Discrete Mathematics 2021-06-10 v1 Emerging Technologies Quantum Physics

Abstract

In previous work, Montanaro presented a method to obtain quantum speedups for backtracking algorithms, a general meta-algorithm to solve constraint satisfaction problems (CSPs). In this work, we derive a space efficient implementation of this method. Assume that we want to solve a CSP with mm constraints on nn variables and that the union of the domains in which these variables take their value is of cardinality dd. Then, we show that the implementation of Montanaro's backtracking algorithm can be done by using O(nlogd)O(n \log d) data qubits. We detail an implementation of the predicate associated to the CSP with an additional register of O(logm)O(\log m) qubits. We explicit our implementation for graph coloring and SAT problems, and present simulation results. Finally, we discuss the impact of the usage of static and dynamic variable ordering heuristics in the quantum setting.

Cite

@article{arxiv.1908.11291,
  title  = {Practical implementation of a quantum backtracking algorithm},
  author = {Simon Martiel and Maxime Remaud},
  journal= {arXiv preprint arXiv:1908.11291},
  year   = {2021}
}

Comments

18 pages, 10 figures

R2 v1 2026-06-23T11:00:04.966Z