String matching in O(n+m) quantum time
Open accessThe DOI matches its Crossref record; 6 of the 6 references it cites were found in a registry or an index.
Abstract
We show how to determine whether a given pattern p of length m occurs in a given text t of length n in ${\tilde O}(\sqrt{n}+\sqrt{m})$\footnote{${\tilde O}$ allows for logarithmic factors in m and $n/m$} time, with inverse polynomial failure probability. This algorithm combines quantum searching algorithms with a technique from parallel string matching, called {\em Deterministic Sampling}.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“Different algorithms have been introduced through years to improve the solution of the string matching problem [137–139].”
From Quantum computing algorithms: getting closer to critical problems in computational biology (2022) · cites this paper as [137]
The cited source says what the claim attributes to it.
In the citing paper
“Ramesh and Vinay have given a quantum algorithm 28 which solves this problem in time O ð ffiffiffi N p þ ffiffiffi ffi M p Þ , up to logarithmic factors, as compared with the best possible classical complexity O ( N + M ).”
From Quantum algorithms: an overview (2016) · cites this paper as [28]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
A fast quantum mechanical algorithm for database search
Grover, L. K. (1996) · Proceedings of the twenty-eighth annual ACM symposium on Theory of computing - STOC '96 · doi:10.1145/237814.237866 · Cited by 8,830 · cited 2×
“he usual string matching problem which requires finding all occurrences of the pattern in the text. We explore the above question on a quantum machine. Our starting point is the algorithm due to Grover[Gr] which searches for an element in an unordered database in O( √ n) time. Boyer, Brassard, Hoyer and Tapp[BBHT96] ga…”
Method(1996) · Cited by 824
A Quantum Algorithm for Finding the Minimum
Durr, C., & Hoyer, P. (1996) · arXiv · doi:10.48550/arxiv.quant-ph/9607014 · Cited by 359
Brassard, G., HØyer, P., & Tapp, A. (1998) · Lecture Notes in Computer Science · doi:10.1007/bfb0055105 · Cited by 256 · cited 1×
“approximate count 6 of the numberof occurrences (within a multiplicative constant factor) can also be determined in O˜( √ n+ √ m) using the approximate counting algorithm of Brassard, Hoyer and Tapp [BHT], adapted appropriately (the oracle h(i) must now return a count of the number of matches rather than just the indi…”
Method(2017) · Quantum Methods in Social Science · doi:10.1142/9781786342782_0004 · Cited by 245
Deterministic Sampling–A New Technique for Fast Pattern Matching
Vishkin, U. (1991) · SIAM Journal on Computing · doi:10.1137/0220002 · Cited by 102
Cited by
Quantum algorithms: an overview
Montanaro, A. (2016) · npj Quantum Information · doi:10.1038/npjqi.2015.23 · Cited by 1,071
Efficient distributed quantum computing
Beals, R., Brierley, S., Gray, O., Harrow, A. W., Kutin, S., Linden, N., Shepherd, D., & Stather, M. (2013) · Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences · doi:10.1098/rspa.2012.0686 · Cited by 208
Quantum computing at the frontiers of biological sciences
Emani, P. S., Warrell, J., Anticevic, A., Bekiranov, S., Gandal, M., McConnell, M. J., Sapiro, G., Aspuru-Guzik, A., Baker, J. T., Bastiani, M., et al. (2021) · Nature Methods · doi:10.1038/s41592-020-01004-3 · Cited by 163
QNLP in Practice: Running Compositional Models of Meaning on a Quantum Computer
Lorenz, R., Pearson, A., Meichanetzidis, K., Kartsaklis, D., & Coecke, B. (2023) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.14329 · Cited by 221
Biology and medicine in the landscape of quantum advantages
Cordier, B. A., Sawaya, N. P. D., Guerreschi, G. G., & McWeeney, S. K. (2022) · Journal of The Royal Society Interface · doi:10.1098/rsif.2022.0541 · Cited by 87
“Known quantum algorithms that may be relevant to this work include ones for backtracking [85], dynamic programming [65, 66], operating on strings [91, 272, 271], and differential equations [295, 296, 377, 378, 379].”
Background
Metadata
- Authors
- Ramesh, H., & Vinay, V
- Affiliations
- Indian Institute of Science Bangalore (IN)
- Corresponding author
- Ramesh, H
- Venue
- Journal of Discrete Algorithms
- Publisher
- Elsevier BV
- Published
- 2003-02
- Volume
- 1
- Issue
- 1
- Pages
- 103-110
- ISSN
- 1570-8667 (ISSN-L)
- OpenAlex
- W1995893188
- Cited by
- 95
- References
- 6
- Citations by year
- 2026: 4 · 2025: 12 · 2024: 18 · 2023: 12 · 2022: 18 · 2021: 11 · 2020: 2 · 2019: 3 · 2018: 2 · 2016: 2 · 2015: 1 · 2014: 1 · 2013: 1 · 2012: 1
- FWCI
- 0.35
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Licence
- www.elsevier.com/tdm/userlicense/1.0/ (tdm)
- www.elsevier.com/open-access/userlicense/1.0/ (vor, 3820 d)
- Locations
- Journal of Discrete Algorithms (publishedVersion)
- Topics
- Physical Sciences › Mathematics › Theoretical Computer Science › Algorithms and Data Compression
- Physical Sciences › Computer Science › Artificial Intelligence › Quantum Computing Algorithms and Architecture
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Complexity and Algorithms in Graphs
- Keywords
- pattern matching, quantum search, deterministic sampling, parallel string matching, linear-time algorithms, failure probability, quantum algorithms
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: String matching in O(n+m) quantum time. https://app.cochat.ai/papers/10.1016/s1570-8667(03)00010-8
- The paper
- Ramesh, H., & Vinay, V. (2003). String matching in O(n+m) quantum time. Journal of Discrete Algorithms. https://doi.org/10.1016/s1570-8667(03)00010-8
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.