Quantum Lower and Upper Bounds for 2D-Grid and Dyck Language

Authors Andris Ambainis, Kaspars Balodis, Jānis Iraids, Kamil Khadiev, Vladislavs Kļevickis, Krišjānis Prūsis, Yixin Shen, Juris Smotrovs, Jevgēnijs Vihrovs



PDF
Thumbnail PDF

File

LIPIcs.MFCS.2020.8.pdf
  • Filesize: 0.58 MB
  • 14 pages

Document Identifiers

Author Details

Andris Ambainis
  • Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Riga, Latvia
Kaspars Balodis
  • Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Riga, Latvia
Jānis Iraids
  • Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Riga, Latvia
Kamil Khadiev
  • Kazan Federal University, Russia
Vladislavs Kļevickis
  • Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Riga, Latvia
Krišjānis Prūsis
  • Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Riga, Latvia
Yixin Shen
  • Université de Paris, CNRS, IRIF, F-75006 Paris, France
Juris Smotrovs
  • Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Riga, Latvia
Jevgēnijs Vihrovs
  • Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Riga, Latvia

Acknowledgements

The authors would like to thank the anonymous reviewers for their constructive comments and suggestions.

Cite AsGet BibTex

Andris Ambainis, Kaspars Balodis, Jānis Iraids, Kamil Khadiev, Vladislavs Kļevickis, Krišjānis Prūsis, Yixin Shen, Juris Smotrovs, and Jevgēnijs Vihrovs. Quantum Lower and Upper Bounds for 2D-Grid and Dyck Language. In 45th International Symposium on Mathematical Foundations of Computer Science (MFCS 2020). Leibniz International Proceedings in Informatics (LIPIcs), Volume 170, pp. 8:1-8:14, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2020)
https://doi.org/10.4230/LIPIcs.MFCS.2020.8

Abstract

We study the quantum query complexity of 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 k. We call this the Dyck_{k,n} problem. We prove a lower bound of Ω(c^k √n), showing that the complexity of this problem increases exponentially in k. Here n is the length of the word. When k is a constant, this is interesting as a representative example of star-free languages for which a surprising Õ(√n) query quantum algorithm was recently constructed by Aaronson et al. [Scott Aaronson et al., 2018]. Their proof does not give rise to a general algorithm. When k is not a constant, Dyck_{k,n} is not context-free. We give an algorithm with O(√n(log n)^{0.5k}) quantum queries for Dyck_{k,n} for all k. This is better than the trival upper bound n for k = o({log(n)}/{log log n}). Second, we consider connectivity problems on grid graphs 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 Ω(n^{1.5-ε}) for the directed 2D grid and Ω(n^{2-ε}) 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.

Subject Classification

ACM Subject Classification
  • Theory of computation → Quantum query complexity
Keywords
  • Quantum query complexity
  • Quantum algorithms
  • Dyck language
  • Grid path

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Scott Aaronson, Daniel Grier, and Luke Schaeffer. A quantum query complexity trichotomy for regular languages. Electronic Colloquium on Computational Complexity (ECCC), 26:61, 2018. Google Scholar
  2. Andris Ambainis. Quantum lower bounds by quantum arguments. Journal of Computer and System Sciences, 64(4):750-767, 2002. Google Scholar
  3. Andris Ambainis, Kaspars Balodis, Janis Iraids, Martins Kokainis, Krisjanis Prusis, and Jevgenijs Vihrovs. Quantum speedups for exponential-time dynamic programming algorithms. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019, pages 1783-1793, 2019. URL: https://doi.org/10.1137/1.9781611975482.107.
  4. Andris Ambainis, Kaspars Balodis, Jānis Iraids, Kamil Khadiev, Vladislavs Kļevickis, Krišjānis Prūsis, Yixin Shen, Juris Smotrovs, and Jevgēnijs Vihrovs. Quantum lower and upper bounds for 2d-grid and dyck language, 2020. URL: http://arxiv.org/abs/2007.03402.
  5. Arturs Backurs and Piotr Indyk. Edit distance cannot be computed in strongly subquadratic time (unless SETH is false). In Proceedings of the forty-seventh annual ACM symposium on Theory of computing, pages 51-58. ACM, 2015. Google Scholar
  6. Aleksandrs Belovs and Ben W. Reichardt. Span programs and quantum algorithms for st-connectivity and claw detection. In Algorithms - ESA 2012 - 20th Annual European Symposium, Ljubljana, Slovenia, September 10-12, 2012. Proceedings, pages 193-204, 2012. URL: https://doi.org/10.1007/978-3-642-33090-2_18.
  7. Mahdi Boroujeni, Soheil Ehsani, Mohammad Ghodsi, MohammadTaghi HajiAghayi, and Saeed Seddighin. Approximating edit distance in truly subquadratic time: Quantum and MapReduce. In Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1170-1189. SIAM, 2018. Google Scholar
  8. Harry Buhrman, Subhasree Patro, and Florian Speelman. The quantum strong exponential-time hypothesis, 2019. URL: http://arxiv.org/abs/1911.05686.
  9. Diptarka Chakraborty, Debarati Das, Elazar Goldenberg, Michal Koucký, and Michael E. Saks. Approximating edit distance within constant factor in truly sub-quadratic time. In 59th Annual IEEE Symposium on Foundations of Computer Science (FOCS), Paris, France, Oct 7-9, 2018, pages 979-990, 2018. URL: http://arxiv.org/abs/1810.03664.
  10. Peter Høyer, Michele Mosca, and Ronald de Wolf. Quantum search on bounded-error inputs. In Jos C. M. Baeten, Jan Karel Lenstra, Joachim Parrow, and Gerhard J. Woeginger, editors, Automata, Languages and Programming, pages 291-299, Berlin, Heidelberg, 2003. Springer Berlin Heidelberg. Google Scholar
  11. Shelby Kimmel. Quantum adversary (upper) bound. In International Colloquium on Automata, Languages, and Programming, pages 557-568. Springer, 2012. Google Scholar
  12. Ben W. Reichardt. Reflections for quantum query algorithms. In Proceedings of the Twenty-second Annual ACM-SIAM Symposium on Discrete Algorithms, SODA '11, pages 560-569, Philadelphia, PA, USA, 2011. Society for Industrial and Applied Mathematics. URL: http://dl.acm.org/citation.cfm?id=2133036.2133080.
  13. Robert A Wagner and Michael J Fischer. The string-to-string correction problem. Journal of the ACM (JACM), 21(1):168-173, 1974. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail