English

Quantum Pattern Matching in Generalised Degenerate Strings

Quantum Physics 2026-03-18 v1 Data Structures and Algorithms

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)O(mn+N) time (Ascone et al., WABI 2024), where mm is the pattern length, nn is the number of strings and NN the total length of strings constituting the GD string. We modify this algorithm to work under a quantum model of computation, achieving running time O~(mnN)\tilde{O}(\sqrt{mnN}).

Cite

@article{arxiv.2603.16297,
  title  = {Quantum Pattern Matching in Generalised Degenerate Strings},
  author = {Massimo Equi and Md Rabiul Islam Khan and Veli Mäkinen},
  journal= {arXiv preprint arXiv:2603.16297},
  year   = {2026}
}
R2 v1 2026-07-01T11:23:51.559Z