用量子算法解迷宫:将迷宫问题转化为搜索问题
Quantum Algorithm to Solve a Maze: Converting the Maze Problem into a Search Problem
摘要:
我们提出了一种不同的方法来处理迷宫问题。我们将问题转化为量子搜索问题(QSP),并使用迭代Grover搜索算法寻求其解。虽然我们正在研究的迷宫类别属于NP完全类,但我们已将此类NP完全问题重定向为QSP。我们的解决方案处理二维完美的迷宫没有封闭的循环。我们将从迷宫起点开始的所有可能的单独路径编码到量子寄存器中。应用于寄存器的量子适应度算子用其适应度值对每个个体进行编码。我们提出了一个预言机的设计,标志着所有的个人以上的一定的健身值,并使用Grover搜索算法找到一个标记的状态。通过迭代这种方法,我们接近最优解。
英文摘要:
We propose a different methodology towards approaching a Maze problem. We convert the problem into a Quantum Search Problem (QSP), and its solutions are sought for using the iterative Grover's Search Algorithm. Though the category of mazes we are looking at are of the NP complete class, we have redirected such a NP complete problem into a QSP. Our solution deals with two dimensional perfect mazes with no closed loops. We encode all possible individual paths from the starting point of the maze into a quantum register. A quantum fitness operator applied on the register encodes each individual with its fitness value. We propose an oracle design which marks all the individuals above a certain fitness value and use the Grover search algorithm to find one of the marked states. Iterating over this method, we approach towards the optimum solution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。