Quantum Algorithm for Lexicographically Minimal String Rotation

IF 0.6 4区 计算机科学 Q4 COMPUTER SCIENCE, THEORY & METHODS Theory of Computing Systems Pub Date : 2023-10-24 DOI:10.1007/s00224-023-10146-8
Qisheng Wang, Mingsheng Ying
{"title":"Quantum Algorithm for Lexicographically Minimal String Rotation","authors":"Qisheng Wang, Mingsheng Ying","doi":"10.1007/s00224-023-10146-8","DOIUrl":null,"url":null,"abstract":"Abstract Lexicographically minimal string rotation (LMSR) is a problem to find the minimal one among all rotations of a string in the lexicographical order, which is widely used in equality checking of graphs, polygons, automata and chemical structures. In this paper, we propose an $$O(n^{3/4})$$ <mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"> <mml:mrow> <mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:msup> <mml:mi>n</mml:mi> <mml:mrow> <mml:mn>3</mml:mn> <mml:mo>/</mml:mo> <mml:mn>4</mml:mn> </mml:mrow> </mml:msup> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> quantum query algorithm for LMSR. In particular, the algorithm has average-case query complexity $$O(\\sqrt{n} \\log n)$$ <mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"> <mml:mrow> <mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:msqrt> <mml:mi>n</mml:mi> </mml:msqrt> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> , which is shown to be asymptotically optimal up to a polylogarithmic factor, compared to its $$\\Omega \\left( \\sqrt{n/\\log n}\\right) $$ <mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"> <mml:mrow> <mml:mi>Ω</mml:mi> <mml:mfenced> <mml:msqrt> <mml:mrow> <mml:mi>n</mml:mi> <mml:mo>/</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> </mml:mrow> </mml:msqrt> </mml:mfenced> </mml:mrow> </mml:math> lower bound. Furthermore, we show that our quantum algorithm outperforms any (classical) randomized algorithms in both worst and average cases. As an application, it is used in benzenoid identification and disjoint-cycle automata minimization.","PeriodicalId":22832,"journal":{"name":"Theory of Computing Systems","volume":"144 1","pages":"0"},"PeriodicalIF":0.6000,"publicationDate":"2023-10-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theory of Computing Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1007/s00224-023-10146-8","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 5

Abstract

Abstract Lexicographically minimal string rotation (LMSR) is a problem to find the minimal one among all rotations of a string in the lexicographical order, which is widely used in equality checking of graphs, polygons, automata and chemical structures. In this paper, we propose an $$O(n^{3/4})$$ O ( n 3 / 4 ) quantum query algorithm for LMSR. In particular, the algorithm has average-case query complexity $$O(\sqrt{n} \log n)$$ O ( n log n ) , which is shown to be asymptotically optimal up to a polylogarithmic factor, compared to its $$\Omega \left( \sqrt{n/\log n}\right) $$ Ω n / log n lower bound. Furthermore, we show that our quantum algorithm outperforms any (classical) randomized algorithms in both worst and average cases. As an application, it is used in benzenoid identification and disjoint-cycle automata minimization.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
字典最小字符串旋转的量子算法
字典最小字符串旋转(LMSR)是一个在字典顺序的所有字符串旋转中找到最小值的问题,广泛应用于图、多边形、自动机和化学结构的相等性检验。本文提出了一种用于LMSR的$$O(n^{3/4})$$ O (n 3 / 4)量子查询算法。特别是,该算法具有平均情况下的查询复杂度$$O(\sqrt{n} \log n)$$ O (n log n),与其$$\Omega \left( \sqrt{n/\log n}\right) $$ Ω n / log n下界相比,它被证明是渐近最优的,直到一个多对数因子。此外,我们表明我们的量子算法在最差和平均情况下都优于任何(经典)随机化算法。作为一个应用,它被用于苯类识别和分离循环自动机最小化。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Theory of Computing Systems
Theory of Computing Systems 工程技术-计算机:理论方法
CiteScore
1.90
自引率
0.00%
发文量
36
审稿时长
6-12 weeks
期刊介绍: TOCS is devoted to publishing original research from all areas of theoretical computer science, ranging from foundational areas such as computational complexity, to fundamental areas such as algorithms and data structures, to focused areas such as parallel and distributed algorithms and architectures.
期刊最新文献
Elastic-Degenerate String Matching with 1 Error or Mismatch String Attractors of Some Simple-Parry Automatic Sequences Jumping Automata over Infinite Words On the Solution Sets of Three-Variable Word Equations Near-Optimal Auctions on Independence Systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1