Quantum Query Complexity of Dyck Languages with Bounded Height

preprint2020arXivOpen access

Abstract

We consider the problem of determining if a sequence of parentheses is well parenthesized, with a depth of at most h. We denote this language as DyckhDyck_h. We study the quantum query complexity of this problem for different h as function of the length n of the word. It has been known from a recent paper by Aaronson et al. that, for any constant h, since DyckhDyck_h is star-free, it has quantum query complexity Θ~(n)\tildeΘ(\sqrt{n}), where the hidden logarithm factors in Θ~\tildeΘ depend on h. Their proof does not give rise to an algorithm. When h is not a constant, DyckhDyck_h is not even context-free. We give an algorithm with O(nlog⁡(n)0.5h)O\left(\sqrt{n}\log(n)^{0.5h}\right) quantum queries for DyckhDyck_h for all h. This is better than the trival upper bound nn when h=o(log⁡(n)log⁡log⁡n)h=o(\frac{\log(n)}{\log\log n}). We also obtain lower bounds: we show that for every 0<ε≤0.370<ε\leq 0.37, there exists c>0c>0 such that Q(Dyckclog⁡(n)(n))=Ω(n1−ε)Q(\text{Dyck}_{c\log(n)}(n))=Ω(n^{1-ε}). When h=ω(log⁡(n))h=ω(\log(n)), the quantum query complexity is close to nn, i.e. Q(Dyckh(n))=ω(n1−ε)Q(\text{Dyck}_h(n))=ω(n^{1-ε}) for all ε>0ε>0. Furthermore when h=Ω(nε)h=Ω(n^ε) for some ε>0ε>0, Q(Dyckh(n))=Θ(n)Q(\text{Dyck}_{h}(n))=Θ(n).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.