English

Quantum algorithm for Dyck Language with Multiple Types of Brackets

Quantum Physics 2021-06-18 v1 Computational Complexity Formal Languages and Automata Theory

Abstract

We consider the recognition problem of the Dyck Language generalized for multiple types of brackets. We provide an algorithm with quantum query complexity O(n(logn)0.5k)O(\sqrt{n}(\log n)^{0.5k}), where nn is the length of input and kk is the maximal nesting depth of brackets. Additionally, we show the lower bound for this problem which is O(nck)O(\sqrt{n}c^{k}) for some constant cc. Interestingly, classical algorithms solving the Dyck Language for multiple types of brackets substantially differ form the algorithm solving the original Dyck language. At the same time, quantum algorithms for solving both kinds of the Dyck language are of similar nature and requirements.

Keywords

Cite

@article{arxiv.2106.09374,
  title  = {Quantum algorithm for Dyck Language with Multiple Types of Brackets},
  author = {Kamil Khadiev and Dmitry Kravchenko},
  journal= {arXiv preprint arXiv:2106.09374},
  year   = {2021}
}
R2 v1 2026-06-24T03:18:25.977Z