Abstract: Directed st-connectivity (DSTCON) is the problem of deciding if there exists a directed path between a pair of distinguished vertices s and t in an input directed graph. This problem appears in many algorithmic applications, and is also a fundamental problem in complexity theory, due to its NL-completeness. We show that for any S≥log2(n), there is a quantum algorithm for DSTCON using space S and time T≤221log(n)log(n/S)+o(log2(n)), which is an (up to quadratic) improvement over the best classical algorithm for any S=o(n). Of the S total space used by our algorithm, only O(log2(n)) is quantum space - the rest is classical. This effectively means that we can trade off classical space for quantum time.
Join our community today and start discussing with our members by participating in exciting events, competitions, and challenges. Sign up now to engage with quantum experts!