The provided notebook tutorial contains a practical implementation of an initial Quantum Exact String Matching algorithm, proposed in our paper for the QUASAR 24 Workshop, part of the ACM HPDC conference.
In our paper, we provide the implementation of a quantum ESM algorithm. Its essence lies in identifying an occurrence of a specified pattern
A classical naïve approach exhibits a worst-case time complexity of
We use the Qiskit open-source toolkit developed by IBM. While current real-world hardware often struggles to produce valid results due to decoherence and quantum errors, this study presents experimental results from a circuit simulation on classical hardware, validating the proposed implementation's efficacy.
Please, reference this publication if you find this code useful:
@inproceedings{10.1145/3660318.3660327,
author = {Marino, Francesco Pio and Faro, Simone and Scardace, Antonio},
title = {Practical Implementation of a Quantum String Matching Algorithm},
year = {2024},
publisher = {Association for Computing Machinery},
url = {https://doi.org/10.1145/3660318.3660327}
}