Quantum algorithm for tree size estimation, with applications to backtracking and 2-player games
Abstract
We study quantum algorithms on search trees of unknown structure, in a model where the tree can be discovered by local exploration. That is, we are given the root of the tree and access to a black box which, given a vertex , outputs the children of . We construct a quantum algorithm which, given such access to a search tree of depth at most , estimates the size of the tree within a factor of in steps. More generally, the same algorithm can be used to estimate size of directed acyclic graphs (DAGs) in a similar model. We then show two applications of this result: a) We show how to transform a classical backtracking search algorithm which examines nodes of a search tree into an time quantum algorithm, improving over an earlier quantum backtracking algorithm of Montanaro (arXiv:1509.02374). b) We give a quantum algorithm for evaluating AND-OR formulas in a model where the formula can be discovered by local exploration (modeling position trees in 2-player games). We show that, in this setting, formulas of size and depth can be evaluated in quantum time . Thus, the quantum speedup is essentially the same as in the case when the formula is known in advance.
Cite
@article{arxiv.1704.06774,
title = {Quantum algorithm for tree size estimation, with applications to backtracking and 2-player games},
author = {Andris Ambainis and Martins Kokainis},
journal= {arXiv preprint arXiv:1704.06774},
year = {2022}
}
Comments
Parameters for Algorithm 1 and the proof of Lemma 16 corrected. We thank Mark Goh for pointing out that Lemma 16 in the previous version was incorrect