跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.35397 · v1

Quantum Algorithm for Parameterized Aperiodic Pattern Matching

首次提交 2026-11-26 09:34
版本更新 2026-11-26 09:34
雷达观测 2026-11-30 10:26
arXiv ↗PDF ↗

摘要

In string matching, the most basic setting is that we are given a text T[0…n−1]T[0 \ldots n-1] and a pattern P[0…m−1]P[0\ldots m-1]. We want to find whether PP appears in TT as a substring or not. This is a very fundamental problem with wide applicability across many practical domains. We consider a variant of string matching namely, parameterized pattern matching, in which, two strings are considered to match if there exists a one-to-one mapping between the symbols appearing in them. Thus, two strings can match even if they consist of different alphabet symbols, provided that the pattern of symbols repetitions is identical in both strings. Bringing out quantum advantage in string matching problems involves a careful blend of string combinatorics and quantum primitives. In the RAM model, the best time complexity for pattern matching is O(n+m)O(n+m) or simply written as O(n)O(n), as mm is taken to be ≤n\le n. In the quantum query model, Ramesh and Vinay ~\cite{RameshVinay2003} established a O~(n+m)\widetilde{O}(\sqrt{n}+\sqrt{m}) query complexity for the conventional string matching problem. In this work, we study quantum query complexity of parameterized pattern matching focusing on non-periodic patterns and present a quantum algorithm with O~(n+m)\widetilde{O}(\sqrt{n}+\sqrt{m}) query complexity, assuming oracle access to the input text and pattern, as well as their precomputed previous-encoding arrays

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-26 09:34 · 最新观测版本

Quantum Algorithm for Parameterized Aperiodic Pattern Matching

In string matching, the most basic setting is that we are given a text T[0…n−1]T[0 \ldots n-1] and a pattern P[0…m−1]P[0\ldots m-1]. We want to find whether PP appears in TT as a substring or not. This is a very fundamental problem with wide applicability across many practical domains. We consider a variant of string matching namely, parameterized pattern matching, in which, two strings are considered to match if there exists a one-to-one mapping between the symbols appearing in them. Thus, two strings can match even if they consist of different alphabet symbols, provided that the pattern of symbols repetitions is identical in both strings. Bringing out quantum advantage in string matching problems involves a careful blend of string combinatorics and quantum primitives. In the RAM model, the best time complexity for pattern matching is O(n+m)O(n+m) or simply written as O(n)O(n), as mm is taken to be ≤n\le n. In the quantum query model, Ramesh and Vinay ~\cite{RameshVinay2003} established a O~(n+m)\widetilde{O}(\sqrt{n}+\sqrt{m}) query complexity for the conventional string matching problem. In this work, we study quantum query complexity of parameterized pattern matching focusing on non-periodic patterns and present a quantum algorithm with O~(n+m)\widetilde{O}(\sqrt{n}+\sqrt{m}) query complexity, assuming oracle access to the input text and pattern, as well as their precomputed previous-encoding arrays

查看此版本解读 →查看此版本原文 ↗