Quantum computational models enable the design of algorithms that are often significantly more efficient than their most competitive counterpart classical solutions. Recently, strides have been made to take advantage of the quantum computational framework in tackling problems arising in the context of text processing. Our work fits in such a research direction. We focused on challenges arising from string comparison problems and, specifically, on the alignment of fixed-length substrings that are found within two input strings. To be precise, given two input strings, x and y, both of length n, and a value d ⩽ n, we want to verify the following conditions: the existence of a common prefix of length d, the presence of a common substring of length d starting at position j (with 0 ⩽ j < n) and, the presence of any common substring of length d starting at the same position of both strings. Such problems find applications as sub-procedures in a variety of problems concerning text processing and sequence analysis. Notably, our approach yields polylogarithmic solutions, a stark contrast to the linear complexity inherent in the best classical alternatives.

Quantum Circuits for Fixed Matching Substring Problems.

Domenico Cantone;Simone Faro;Caterina Viola
2024-01-01

Abstract

Quantum computational models enable the design of algorithms that are often significantly more efficient than their most competitive counterpart classical solutions. Recently, strides have been made to take advantage of the quantum computational framework in tackling problems arising in the context of text processing. Our work fits in such a research direction. We focused on challenges arising from string comparison problems and, specifically, on the alignment of fixed-length substrings that are found within two input strings. To be precise, given two input strings, x and y, both of length n, and a value d ⩽ n, we want to verify the following conditions: the existence of a common prefix of length d, the presence of a common substring of length d starting at position j (with 0 ⩽ j < n) and, the presence of any common substring of length d starting at the same position of both strings. Such problems find applications as sub-procedures in a variety of problems concerning text processing and sequence analysis. Notably, our approach yields polylogarithmic solutions, a stark contrast to the linear complexity inherent in the best classical alternatives.
2024
quantum computing, reversible circuits, string matching.
File in questo prodotto:
File Dimensione Formato  
Fixed_Matching_Substring_Problems.pdf

solo gestori archivio

Tipologia: Documento in Pre-print
Licenza: NON PUBBLICO - Accesso privato/ristretto
Dimensione 593.2 kB
Formato Adobe PDF
593.2 kB Adobe PDF   Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11769/606412
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact