A Quantum-Inspired Algorithm for Solving Sudoku Puzzles and the MaxCut Problem
By: Max B. Zhao, Fei Li
Potential Business Impact:
Solves hard puzzles faster using a smart computer trick.
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.
Similar Papers
Solving General QUBOs with Warm-Start QAOA via a Reduction to Max-Cut
Quantum Physics
Helps computers solve hard problems faster.
Characterizing QUBO Reformulations of the Max-k-Cut Problem for Quantum Computing
Quantum Physics
Finds best answers to hard problems using quantum computers.
Coherent Optical Quantum Computing-Aided Resource Optimization for Transportation Digital Twin Construction
Other Computer Science
Helps self-driving cars train with local data safely.