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

01/07/2020
by   Kamil Khadiev, et al.
0

We study algorithms for solving three problems on strings. The first one is the Most Frequently String Search Problem. The problem is the following. Assume that we have a sequence of n strings of length k. The problem is finding the string that occurs in the sequence most often. We propose a quantum algorithm that has a query complexity Õ(n √(k)). This algorithm shows speed-up comparing with the deterministic algorithm that requires Ω(nk) queries. The second one is searching 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 propose a quantum algorithm that has a query complexity Õ((n+m) √(k)). This algorithm shows speed-up comparing with the deterministic algorithm that requires Ω((n+m)k) queries. The third problem is sorting of n strings of length k. On the one hand, it is known that quantum algorithms cannot sort objects asymptotically faster than classical ones. On the other hand, we focus on sorting strings that are not arbitrary objects. We propose a quantum algorithm that has a query complexity O(n (log n)^2 √(k)). This algorithm shows speed-up comparing with the deterministic algorithm (radix sort) that requires Ω((n+d)k) queries, where d is a size of the alphabet.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/28/2020

Classical and Quantum Algorithms for Constructing Text from Dictionary Problem

We study algorithms for solving the problem of constructing a text (long...
research
06/03/2020

LCP-Aware Parallel String Sorting

When lexicographically sorting strings, it is not always necessary to in...
research
11/29/2022

Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching

Longest Common Substring (LCS) is an important text processing problem, ...
research
04/24/2022

String Rearrangement Inequalities and a Total Order Between Primitive Words

We study the following rearrangement problem: Given n words, rearrange a...
research
03/21/2019

Scalable Similarity Joins of Tokenized Strings

This work tackles the problem of fuzzy joining of strings that naturally...
research
01/30/2019

Faster queries for longest substring palindrome after block edit

Palindromes are important objects in strings which have been extensively...
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