arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.19835cs.AIcs.ETcs.NEquant-ph
收藏

一种用于求解数独谜题和MaxCut问题的量子启发算法

A Quantum-Inspired Algorithm for Solving Sudoku Puzzles and the MaxCut Problem

Thomas Jefferson High School for Science and Technology(泰勒·杰弗逊科学与技术高中);George Mason University(乔治·马歇尔大学);Department of Computer Science(计算机科学系)

Max B. Zhao, Fei Li

AI总结:

本文提出一种基于矩阵乘积态和密度矩阵重整化群的量子启发算法,用于求解QUBO问题,并在数独和MaxCut实例上验证其能可靠找到全局最优解。

摘要:

我们提出并评估了一种用于求解二次无约束二元优化(QUBO)问题的量子启发算法,该问题在数学上等价于寻找伊辛自旋玻璃哈密顿量的基态。该算法采用矩阵乘积态(MPS)来紧凑地表示自旋构型的大型叠加,并利用离散驱动调度来引导MPS朝向基态。在每一步中,一个包含横向磁场的驱动哈密顿量与问题哈密顿量相结合,以实现自旋翻转并促进量子隧穿。MPS使用标准的密度矩阵重整化群(DMRG)方法进行更新,该方法通过沿自旋链进行多次扫描迭代地最小化系统能量。尽管该算法具有启发式性质,但它在各种QUBO实例中可靠地识别全局最小值,而不仅仅是接近最优的解。我们首先在来自公开来源的中等级数独谜题上展示了其有效性,这些谜题涉及超过200个伊辛自旋,并具有由约束满足决定的远程耦合。然后,我们将该算法应用于来自Biq Mac库的MaxCut问题,成功解决了多达251个节点和3,265条边的实例。我们讨论了这种量子启发方法的优势,包括其可扩展性、泛化能力以及适用于工业规模QUBO应用的特性。

英文摘要:

We propose and evaluate a quantum-inspired algorithm for solving Quadratic Unconstrained Binary Optimization (QUBO) problems, which are mathematically equivalent to finding ground states of Ising spin-glass Hamiltonians. The algorithm employs Matrix Product States (MPS) to compactly represent large superpositions of spin configurations and utilizes a discrete driving schedule to guide the MPS toward the ground state. At each step, a driver Hamiltonian -- incorporating a transverse magnetic field -- is combined with the problem Hamiltonian to enable spin flips and facilitate quantum tunneling. The MPS is updated using the standard Density Matrix Renormalization Group (DMRG) method, which iteratively minimizes the system's energy via multiple sweeps across the spin chain. Despite its heuristic nature, the algorithm reliably identifies global minima, not merely near-optimal solutions, across diverse QUBO instances. We first demonstrate its effectiveness on intermediate-level Sudoku puzzles from publicly available sources, involving over $200$ Ising spins with long-range couplings dictated by constraint satisfaction. We then apply the algorithm to MaxCut problems from the Biq Mac library, successfully solving instances with up to $251$ nodes and $3,265$ edges. We discuss the advantages of this quantum-inspired approach, including its scalability, generalizability, and suitability for industrial-scale QUBO applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑