We study space and time-efficient quantum algorithms for two graph problems – deciding whether an n-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 Õ(n3/2) time whilst using 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 Õ(n√dm) and also require O(log n) space, where dm is the maximum degree of any vertex in the input graph.
|Number of pages||33|
|Journal||Quantum Information and Computation|
|Publication status||Published - 1 Feb 2018|