• English
    • Latviešu
    • Deutsch
    • русский
  • Help
  • English 
    • English
    • Latviešu
    • Deutsch
    • русский
  • Login
View Item 
  •   DSpace Home
  • B4 – LU fakultātes / Faculties of the UL
  • A -- Eksakto zinātņu un tehnoloģiju fakultāte / Faculty of Science and Technology
  • Bakalaura un maģistra darbi (EZTF) / Bachelor's and Master's theses
  • View Item
  •   DSpace Home
  • B4 – LU fakultātes / Faculties of the UL
  • A -- Eksakto zinātņu un tehnoloģiju fakultāte / Faculty of Science and Technology
  • Bakalaura un maģistra darbi (EZTF) / Bachelor's and Master's theses
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Kvantu algoritmi simbolu virkņu uzdevumiem

Thumbnail
View/Open
302-83336-Zajakins_Aleksandrs_az17085.pdf (267.6Kb)
Author
Zajakins, Aleksandrs
Co-author
Latvijas Universitāte. Datorikas fakultāte
Advisor
Vihrovs, Jevgēnijs
Date
2021
Metadata
Show full item record
Abstract
Darbā tiek apskatīti trīs simbolu virkņu uzdevumi. Pirmais no tiem ir nosaukts ”vārda meklēšana tekstā”: dotajam tekstam 𝑠 garuma 𝑛 un vārdam 𝑡 garumā 𝑚, pateikt, vai vārds atro­ das tekstā. Klasiski šo var atrisināt laikā 𝑂(𝑛 + 𝑚) ar Knuta­Morisa­Prata algoritmu, kvantiski ̃ √𝑛 + √𝑚) = 𝑂( ̃ √𝑛) laika algoritms. Kaut gan zināms, ka vispārīgajā gadījumā ne­ eksistē 𝑂( √ pieciešami Ω( 𝑛) vaicājumi virknes simboliem, nav skaidrs, vai šī apakšējā robeža izpildās pie √ jebkuras m vērtības. Šajā darbā mēs pierādām, ka arī tad nepieciešami Ω( 𝑛) vaicājumi. Otrais uzdevums ir nosaukts ”visbiežāk sastopamas virknes meklēšana”: dotiem 𝑛 virknēm garumā 𝑘 √ ̃ pateikt, kāda virknē sastopas visbiežāk. Kvantiski to var atrisināt 𝑂(𝑛 𝑘). Mēs piedāvājam ātrāku zināmu algoritmu diviem īpašiem gadījumiem, kad var atkārtoties tikai viena virkne ar √ ̃ 3 2 𝑘), kā arī vispārinājumu, kad parējās virknes var atkārtoties ma­ vaicājuma sarežģītību 𝑂(𝑛 𝐿 √ ̃ 𝐿+1 zāk par 𝐿 reizēm ar vaicājuma sarežģītību 𝑂(𝑛 𝑘), un gadījumam, kad ir 𝑐 unikālas virknes √ ̃ √𝑐 + 𝑐 𝑛𝑘). Trešais uzdevums ir ”tekstā konstruēšana no vārdnī­ ar vaicājuma sarežģītību 𝑂(𝑛 cas”: dotajām tekstam 𝑠 garumā 𝑛 un vārdnīcai no 𝑚 vārdiem ar kopējo garumu 𝐿 pateikt, vai var uzbūvēt 𝑠 tikai no vārdnīcas vārdiem. Mēs apskatām gadījumu kad vārdi nevar pārklāties ̃ ⋅ √ min(𝑛, 𝑚) + 𝐿).
 
We consider three string processing problems. The first is the ”string matching” problem:given text𝑠of length𝑛and a string𝑡of length𝑚, find whether string𝑡is present in text𝑠. Classically this problem can be solved in𝑂(𝑛 + 𝑚)time, due to Knuth­Morris­Pratt, bestknown quantum algorithm has query complexity of̃𝑂(√𝑛 +√𝑚) =̃𝑂(√𝑛). For generalcase query complexity lower bound ofΩ(√𝑛)exists, it is unknown whether this holds for all𝑚values. In this paper we prove, that lower boundΩ(√𝑛)for all values of𝑚. The secondis the ”most frequent string search”: given𝑛strings of size𝑘, output string that occurs mostfrequently. Best known quantum algorithm have query complexity of̃𝑂(𝑛√𝑘). We give twoquantum algorithms for specials cases: when there is only one string appearing more than oncewith query complexitỹ𝑂(𝑛23√𝑘), its generalization when every other string occurs less that𝐿times, with quantum query complexitỹ𝑂(𝑛𝐿𝐿+1√𝑘), and when there are only𝑐unique stringwith query complexitỹ𝑂(𝑛√𝑐 + 𝑐√𝑛𝑘). The third problem we call ”constructing text fromdictionary”: given text𝑠of size𝑛, and dictionary with𝑚words of total size𝐿, find whethertext𝑠can be constructed from the dictionary without overlaps. We provide a quantum algorithmwith time complexitỹ𝑂(𝑛 ⋅√min(𝑛, 𝑚) + 𝐿).
 
URI
https://dspace.lu.lv/dspace/handle/7/55892
Collections
  • Bakalaura un maģistra darbi (EZTF) / Bachelor's and Master's theses [5688]

University of Latvia
Contact Us | Send Feedback
Theme by 
@mire NV
 

 

Browse

All of DSpaceCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

My Account

Login

Statistics

View Usage Statistics

University of Latvia
Contact Us | Send Feedback
Theme by 
@mire NV