English

Quantum Lower Bounds for 2D-Grid and Dyck Language

Quantum Physics 2019-12-02 v1 Computational Complexity

Abstract

We show quantum lower bounds for two problems. First, we consider the problem of determining if a sequence of parentheses is a properly balanced one (a Dyck word), with a depth of at most kk. It has been known that, for any kk, O~(n)\tilde{O}(\sqrt{n}) queries suffice, with a O~\tilde{O} term depending on kk. We prove a lower bound of Ω(ckn)\Omega(c^k \sqrt{n}), showing that the complexity of this problem increases exponentially in kk. This is interesting as a representative example of star-free languages for which a surprising O~(n)\tilde{O}(\sqrt{n}) query quantum algorithm was recently constructed by Aaronson et al. Second, we consider connectivity problems on directed/undirected grid in 2 dimensions, if some of the edges of the grid may be missing. By embedding the "balanced parentheses" problem into the grid, we show a lower bound of Ω(n1.5ϵ)\Omega(n^{1.5-\epsilon}) for the directed 2D grid and Ω(n2ϵ)\Omega(n^{2-\epsilon}) for the undirected 2D grid. The directed problem is interesting as a black-box model for a class of classical dynamic programming strategies including the one that is usually used for the well-known edit distance problem. We also show a generalization of this result to more than 2 dimensions.

Keywords

Cite

@article{arxiv.1911.12638,
  title  = {Quantum Lower Bounds for 2D-Grid and Dyck Language},
  author = {Andris Ambainis and Kaspars Balodis and Jānis Iraids and Krišjānis Prūsis and Juris Smotrovs},
  journal= {arXiv preprint arXiv:1911.12638},
  year   = {2019}
}

Comments

16 pages

R2 v1 2026-06-23T12:29:57.679Z