English

Quantum Algorithm for Dynamic Programming Approach for DAGs. Applications for Zhegalkin Polynomial Evaluation and Some Problems on DAGs

Data Structures and Algorithms 2019-06-21 v2 Quantum Physics

Abstract

In this paper, we present a quantum algorithm for dynamic programming approach for problems on directed acyclic graphs (DAGs). The running time of the algorithm is O(n^mlogn^)O(\sqrt{\hat{n}m}\log \hat{n}), and the running time of the best known deterministic algorithm is O(n+m)O(n+m), where nn is the number of vertices, n^\hat{n} is the number of vertices with at least one outgoing edge; mm is the number of edges. We show that we can solve problems that use OR, AND, NAND, MAX and MIN functions as the main transition steps. The approach is useful for a couple of problems. One of them is computing a Boolean formula that is represented by Zhegalkin polynomial, a Boolean circuit with shared input and non-constant depth evaluating. Another two are the single source longest paths search for weighted DAGs and the diameter search problem for unweighted DAGs.

Keywords

Cite

@article{arxiv.1804.09950,
  title  = {Quantum Algorithm for Dynamic Programming Approach for DAGs. Applications for Zhegalkin Polynomial Evaluation and Some Problems on DAGs},
  author = {Kamil Khadiev and Liliya Safina},
  journal= {arXiv preprint arXiv:1804.09950},
  year   = {2019}
}

Comments

UCNC2019 Conference paper

R2 v1 2026-06-23T01:36:39.755Z