用量子启发算法求解数独和最大割问题,能稳定找到全局最优解。
A Quantum-Inspired Algorithm for Solving Sudoku Puzzles and the MaxCut Problem
- 用矩阵乘积态表示自旋构型,通过离散驱动引导系统演化
- 成功求解200+自旋的数独题和251节点的最大割实例
- 适合工业级大规模优化问题,兼具可扩展性和通用性
我们提出并评估了一种用于求解二次无约束二值优化(QUBO)问题的量子启发算法,该类问题在数学上等价于寻找伊辛自旋玻璃哈密顿量的基态。算法采用矩阵乘积态(MPS)紧凑表示大量自旋构型的叠加,并使用离散驱动调度逐步引导MPS逼近基态。每一步结合驱动哈密顿量(含横向磁场)与问题哈密顿量,实现自旋翻转并促进量子隧穿效应。通过标准密度矩阵重整化群(DMRG)方法迭代更新MPS,沿自旋链多次扫掠以最小化系统能量。尽管为启发式方法,该算法在多种QUBO实例中均能可靠识别全局极小值,而非局部近优解。我们首先在公开来源的中等难度数独题上验证其有效性,涉及超过200个伊辛自旋,且具有由约束满足决定的长程耦合。随后应用于Biq Mac库中的MaxCut问题,成功求解规模达251个节点、3,265条边的实例。我们讨论了该量子启发方法的优势,包括可扩展性、通用性以及适用于工业级QUBO应用的潜力。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。