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

Quantum Algorithms for Some Strings Problems Based on Quantum String Comparator

Author

Listed:
  • Kamil Khadiev

    (Institute of Computational Mathematics and Information Technologies, Kazan Federal University, Kremlevskaya 18, 420008 Kazan, Russia)

  • Artem Ilikaev

    (Institute of Computational Mathematics and Information Technologies, Kazan Federal University, Kremlevskaya 18, 420008 Kazan, Russia)

  • Jevgenijs Vihrovs

    (Center for Quantum Computer Science, Faculty of Computing, University of Latvia, Raina 19, LV-1586 Riga, Latvia)

Abstract

We study algorithms for solving three problems on strings. These are sorting of n strings of length k , “the Most Frequent String Search Problem”, and “searching intersection of two sequences of strings”. We construct quantum algorithms that are faster than classical (randomized or deterministic) counterparts for each of these problems. The quantum algorithms are based on the quantum procedure for comparing two strings of length k in O ( k ) queries. The first problem is sorting n strings of length k . We show that classical complexity of the problem is Θ ( n k ) for constant size alphabet, but our quantum algorithm has O ˜ ( n k ) complexity. The second one is searching the most frequent string among n strings of length k . We show that the classical complexity of the problem is Θ ( n k ) , but our quantum algorithm has O ˜ ( n k ) complexity. The third problem is searching for an intersection of two sequences of strings. All strings have the same length k . The size of the first set is n , and the size of the second set is m . We show that the classical complexity of the problem is Θ ( ( n + m ) k ) , but our quantum algorithm has O ˜ ( ( n + m ) k ) complexity.

Suggested Citation

  • Kamil Khadiev & Artem Ilikaev & Jevgenijs Vihrovs, 2022. "Quantum Algorithms for Some Strings Problems Based on Quantum String Comparator," Mathematics, MDPI, vol. 10(3), pages 1-12, January.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:3:p:377-:d:734357
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/3/377/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/3/377/
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Fernando L. Pelayo & Mauro Mezzini, 2022. "Preface to the Special Issue on “Quantum Computing Algorithms and Computational Complexity”," Mathematics, MDPI, vol. 10(21), pages 1-3, October.

    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:10:y:2022:i:3:p:377-:d:734357. 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.