IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i12p1858-d1414877.html
   My bibliography  Save this article

Hybrid Classical–Quantum Text Search Based on Hashing

Author

Listed:
  • Farid Ablayev

    (Institute of Computational Mathematics and Information Technology, Kazan Federal University, Kazan 420008, Russia
    These authors contributed equally to this work.)

  • Nailya Salikhova

    (Institute of Computational Mathematics and Information Technology, Kazan Federal University, Kazan 420008, Russia
    These authors contributed equally to this work.)

  • Marat Ablayev

    (Institute of Computational Mathematics and Information Technology, Kazan Federal University, Kazan 420008, Russia
    These authors contributed equally to this work.)

Abstract

The paper considers the problem of finding a given substring in a text. It is known that the complexity of a classical search query in an unordered database is linear in the length of the text and a given substring. At the same time, Grover’s quantum search provides a quadratic speed-up in the complexity of the query and gives the correct result with a high probability. We propose a hybrid classical–quantum algorithm (hybrid random–quantum algorithm, to be more precise) that implements Grover’s search to find a given substring in a text. As expected, the algorithm works (a) with a high probability of obtaining the correct result and (b) with a quadratic query acceleration compared to the classical one. What is new is that our algorithm uses the uniform hash family functions technique. As a result, our algorithm is much more memory efficient (in terms of the number of qubits used) compared to previously known quantum algorithms.

Suggested Citation

  • Farid Ablayev & Nailya Salikhova & Marat Ablayev, 2024. "Hybrid Classical–Quantum Text Search Based on Hashing," Mathematics, MDPI, vol. 12(12), pages 1-13, June.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:12:p:1858-:d:1414877
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/12/1858/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/12/1858/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:12:p:1858-:d:1414877. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.