English

Time and Space Efficient Quantum Algorithms for Detecting Cycles and Testing Bipartiteness

Quantum Physics 2016-10-04 v1 Data Structures and Algorithms

Abstract

We study space and time efficient quantum algorithms for two graph problems -- deciding whether an nn-vertex graph is a forest, and whether it is bipartite. Via a reduction to the s-t connectivity problem, we describe quantum algorithms for deciding both properties in O~(n3/2)\tilde{O}(n^{3/2}) time and using O(logn)O(\log n) classical and quantum bits of storage in the adjacency matrix model. We then present quantum algorithms for deciding the two properties in the adjacency array model, which run in time O~(ndm)\tilde{O}(n\sqrt{d_m}) and also require O(logn)O(\log n) space, where dmd_m is the maximum degree of any vertex in the input graph.

Keywords

Cite

@article{arxiv.1610.00581,
  title  = {Time and Space Efficient Quantum Algorithms for Detecting Cycles and Testing Bipartiteness},
  author = {Chris Cade and Ashley Montanaro and Aleksandrs Belovs},
  journal= {arXiv preprint arXiv:1610.00581},
  year   = {2016}
}

Comments

36 pages

R2 v1 2026-06-22T16:08:52.046Z