Quantum Algorithm for Lexicographically Minimal String Rotation

Publisher:
SPRINGER
Publication Type:
Journal Article
Citation:
Theory of Computing Systems, 2023, 68, (1)
Issue Date:
2023-01-01
Filename Description Size
Quantum Algorithm for Lexicographically Minimal String Rotation.pdfPublished version643.97 kB
Adobe PDF
Full metadata record
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(n3 / 4) quantum query algorithm for LMSR. In particular, the algorithm has average-case query complexity O(nlogn) , which is shown to be asymptotically optimal up to a polylogarithmic factor, compared to its Ω(n/logn) 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.
Please use this identifier to cite or link to this item: