Bridging Classical and Quantum String Matching: A Computational Reformulation of Bit-Parallelism

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Faro, Simone, Pavone, Arianna, Viola, Caterina
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929747622100992
author Faro, Simone
Pavone, Arianna
Viola, Caterina
author_facet Faro, Simone
Pavone, Arianna
Viola, Caterina
contents String matching is a fundamental problem in computer science, with critical applications in text retrieval, bioinformatics, and data analysis. Among the numerous solutions that have emerged for this problem in recent decades, bit-parallelism has significantly enhanced their practical efficiency, leading to the development of several optimized approaches for both exact and approximate string matching. However, their potential in quantum computing remains largely unexplored. This paper presents a novel pathway that not only translates bit-parallel string matching algorithms into the quantum framework but also enhances their performance to achieve a quadratic speedup through Grover's search. By embedding quantum search within a bit-parallel model, we reduce the time complexity of string matching, establishing a structured pathway for transforming classical algorithms into quantum solutions with provable computational advantages. Beyond exact matching, this technique offers a foundation for tackling a wide range of non-standard string matching problems, opening new avenues for efficient text searching in the quantum era. To demonstrate the simplicity and adaptability of the technique presented in this paper, we apply this translation and adaptation process to two landmark bit-parallel algorithms: Shift-And for exact pattern matching and Shift-Add for approximate string matching with up to k errors.
format Preprint
id arxiv_https___arxiv_org_abs_2503_05596
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bridging Classical and Quantum String Matching: A Computational Reformulation of Bit-Parallelism
Faro, Simone
Pavone, Arianna
Viola, Caterina
Data Structures and Algorithms
Information Retrieval
String matching is a fundamental problem in computer science, with critical applications in text retrieval, bioinformatics, and data analysis. Among the numerous solutions that have emerged for this problem in recent decades, bit-parallelism has significantly enhanced their practical efficiency, leading to the development of several optimized approaches for both exact and approximate string matching. However, their potential in quantum computing remains largely unexplored. This paper presents a novel pathway that not only translates bit-parallel string matching algorithms into the quantum framework but also enhances their performance to achieve a quadratic speedup through Grover's search. By embedding quantum search within a bit-parallel model, we reduce the time complexity of string matching, establishing a structured pathway for transforming classical algorithms into quantum solutions with provable computational advantages. Beyond exact matching, this technique offers a foundation for tackling a wide range of non-standard string matching problems, opening new avenues for efficient text searching in the quantum era. To demonstrate the simplicity and adaptability of the technique presented in this paper, we apply this translation and adaptation process to two landmark bit-parallel algorithms: Shift-And for exact pattern matching and Shift-Add for approximate string matching with up to k errors.
title Bridging Classical and Quantum String Matching: A Computational Reformulation of Bit-Parallelism
topic Data Structures and Algorithms
Information Retrieval
url https://arxiv.org/abs/2503.05596