GD string matching admits a classical Õ(N√m) algorithm, and combinatorial GD/ED indices cannot improve the known m-dependence under the k-clique conjecture.
Quantum Pattern Matching in Generalised Degenerate Strings
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
A degenerate string is a sequence of sets of characters. A generalized degenerate (GD) string extends this notion to the sequence of sets of strings, where strings of the same set are of equal length. Finding an exact match for a pattern string inside a GD string can be done in $O(mn+N)$ time (Ascone et al., WABI 2024), where $m$ is the pattern length, $n$ is the number of strings and $N$ the total length of strings constituting the GD string. This is the best classical algorithm achieved so far, and no matching lower bound, neither unconditional nor conditional, has been shown. We make progress on this problem proposing a quantum algorithm that achieves running time $\tilde{O}(\sqrt{mnN})$, thus beating the current best classical solution. To the best of our knowledge, this is the first quantum algorithm proposed in the context of GD strings. We present our results starting from the framework of classical parallel computing, which we believe makes them intuitive to understand and possibly easy to generalise to other similar structures.
fields
cs.DS 1years
2026 1verdicts
ACCEPT 1representative citing papers
citing papers explorer
-
Algorithms and Indexing Lower Bounds for Variable String Matching
GD string matching admits a classical Õ(N√m) algorithm, and combinatorial GD/ED indices cannot improve the known m-dependence under the k-clique conjecture.