Classical and Quantum Algorithms for Constructing Text from Dictionary Problem

05/28/2020
by   Kamil Khadiev, et al.
0

We study algorithms for solving the problem of constructing a text (long string) from a dictionary (sequence of small strings). The problem has an application in bioinformatics and has a connection with the Sequence assembly method for reconstructing a long DNA sequence from small fragments. The problem is constructing a string t of length n from strings s^1,..., s^m with possible intersections. We provide a classical algorithm with running time O(n+L +m(log n)^2)=Õ(n+L) where L is the sum of lengths of s^1,...,s^m. We provide a quantum algorithm with running time O(n +log n·(log m+loglog n)·√(m· L))=Õ(n +√(m· L)). Additionally, we show that the lower bound for the classical algorithm is Ω(n+L). Thus, our classical algorithm is optimal up to a log factor, and our quantum algorithm shows speed-up comparing to any classical algorithm in a case of non-constant length of strings in the dictionary.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/18/2023

Quantum Algorithms for the Shortest Common Superstring and Text Assembling Problems

In this paper, we consider two versions of the Text Assembling problem. ...
research
01/07/2020

Quantum Algorithms for the Most Frequently String Search, Intersection of Two String Sequences and Sorting of Strings Problems

We study algorithms for solving three problems on strings. The first one...
research
02/14/2023

Compressibility-Aware Quantum Algorithms on Strings

Sublinear time quantum algorithms have been established for many fundame...
research
12/26/2021

Quantum Algorithm for the Shortest Superstring Problem

In this paper, we consider the “Shortest Superstring Problem”(SSP) or th...
research
06/17/2021

Quantum algorithm for Dyck Language with Multiple Types of Brackets

We consider the recognition problem of the Dyck Language generalized for...
research
11/22/2018

The Statistical Dictionary-based String Matching Problem

In the Dictionary-based String Matching (DSM) problem, a retrieval syste...
research
08/22/2023

Quantum Circuits for Fixed Substring Matching Problems

Quantum computation represents a computational paradigm whose distinctiv...

Please sign up or login with your details

Forgot password? Click here to reset