The Longest Common Substring (LCS) poses classical challenges in computer science, pivotal for string processing. Classically, the problem is tackled with linear time algorithms leveraging suffix trees. Recent breakthroughs in the quantum domain have unveiled sublinear solutions for LCS, demanding 𝒪 ̃ (𝑛2/3 ) quantum queries. Yet, these strides are tailored for the quantum query model, which treats input as a black box accessible via an oracle. In contrast, in this paper we delve into these challenges within the circuit model of computation. Here, circuit size gauges structural complexity, while depth identifies execution time on a quantum platform. As the query model complexity sets a baseline, any direct quantum circuit implementation yields a depth and size of at least Ω ̃(𝑛2/3) for LCS. The main result of this paper is the introduction of a quantum algorithm for LCS in the circuit model, which, despite its 𝒪 ̃(𝑛3/2) size, achieves a groundbreaking 𝒪 ̃(√𝑛) depth, surpassing prior solutions. Notably, our algorithm is streamlined and readily translatable into quantum protocols. Furthermore, we demonstrate its practicality through a quantum circuit implementation operating in 𝒪(√𝑛 log5(𝑛)) time-steps.

Quantum Circuit Based Longest Common Substring

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

Abstract

The Longest Common Substring (LCS) poses classical challenges in computer science, pivotal for string processing. Classically, the problem is tackled with linear time algorithms leveraging suffix trees. Recent breakthroughs in the quantum domain have unveiled sublinear solutions for LCS, demanding 𝒪 ̃ (𝑛2/3 ) quantum queries. Yet, these strides are tailored for the quantum query model, which treats input as a black box accessible via an oracle. In contrast, in this paper we delve into these challenges within the circuit model of computation. Here, circuit size gauges structural complexity, while depth identifies execution time on a quantum platform. As the query model complexity sets a baseline, any direct quantum circuit implementation yields a depth and size of at least Ω ̃(𝑛2/3) for LCS. The main result of this paper is the introduction of a quantum algorithm for LCS in the circuit model, which, despite its 𝒪 ̃(𝑛3/2) size, achieves a groundbreaking 𝒪 ̃(√𝑛) depth, surpassing prior solutions. Notably, our algorithm is streamlined and readily translatable into quantum protocols. Furthermore, we demonstrate its practicality through a quantum circuit implementation operating in 𝒪(√𝑛 log5(𝑛)) time-steps.
2024
Quantum Computing
Text Processing
Sequence Analysis
File in questo prodotto:
Non ci sono file associati a questo prodotto.

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/641830
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? ND
social impact