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

Abstract

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 O(n3/2) time and using O( 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) and also require O( n) space, where dm is the maximum degree of any vertex in the input graph.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…