Quantum Query Complexity of Dyck Languages with Bounded Height

12/04/2019
by   Kamil Khadiev, et al.
0

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 Dyck_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 Dyck_h is star-free, it has quantum query complexity Θ̃(√(n)), where the hidden logarithm factors in Θ̃ depend on h. Their proof does not give rise to an algorithm. When h is not a constant, Dyck_h is not even context-free. We give an algorithm with O(√(n)log(n)^h-1) quantum queries for Dyck_h for all h. This is better than the trival upper bound n when h=o(log(n)/loglog n). We also obtain lower bounds: we show that for every 0<ϵ≤ 0.37, there exists c>0 such that Q(Dyck_clog(n)(n))=Ω(n^1-ϵ). When h=ω(log(n)), the quantum query complexity is close to n, i.e. Q(Dyck_h(n))=ω(n^1-ϵ) for all ϵ>0. Furthermore when h=Ω(n^ϵ) for some ϵ>0, Q(Dyck_h(n))=Θ(n).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/06/2020

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

We study the quantum query complexity of two problems. First, we consi...
research
08/29/2022

Multidimensional Quantum Walks, with Application to k-Distinctness

While the quantum query complexity of k-distinctness is known to be O(n^...
research
06/17/2021

Quantum algorithm for Dyck Language with Multiple Types of Brackets

We consider the recognition problem of the Dyck Language generalized for...
research
12/11/2018

A Quantum Query Complexity Trichotomy for Regular Languages

We present a trichotomy theorem for the quantum query complexity of regu...
research
02/20/2023

Basic quantum subroutines: finding multiple marked elements and summing numbers

We show how to find all k marked elements in a list of size N using the ...
research
11/28/2019

Quantum Lower Bounds for 2D-Grid and Dyck Language

We show quantum lower bounds for two problems. First, we consider the pr...
research
09/24/2019

The Query Complexity of Mastermind with ℓ_p Distances

Consider a variant of the Mastermind game in which queries are ℓ_p dista...

Please sign up or login with your details

Forgot password? Click here to reset