
AbstractLexicographically 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(n3/4)quantum query algorithm for LMSR. In particular, the algorithm has average-case query complexity$$O(\sqrt{n} \log n)$$O(nlogn), which is shown to be asymptotically optimal up to a polylogarithmic factor, compared to its$$\Omega \left( \sqrt{n/\log n}\right) $$Ωn/lognlower 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.
FOS: Computer and information sciences, Quantum Physics, quantum query complexity, FOS: Physical sciences, Quantum algorithms and complexity in the theory of computing, Formal languages and automata, Computational Complexity (cs.CC), Algorithms on strings, quantum computing, Computer Science - Computational Complexity, Quantum computation, Computer Science - Data Structures and Algorithms, lexicographically minimal string rotation, Analysis of algorithms, Data Structures and Algorithms (cs.DS), string problems, Quantum Physics (quant-ph), quantum algorithms
FOS: Computer and information sciences, Quantum Physics, quantum query complexity, FOS: Physical sciences, Quantum algorithms and complexity in the theory of computing, Formal languages and automata, Computational Complexity (cs.CC), Algorithms on strings, quantum computing, Computer Science - Computational Complexity, Quantum computation, Computer Science - Data Structures and Algorithms, lexicographically minimal string rotation, Analysis of algorithms, Data Structures and Algorithms (cs.DS), string problems, Quantum Physics (quant-ph), quantum algorithms
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 6 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Top 10% | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Top 10% |
