We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

quant-ph

References & Citations

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Quantum Physics

Title: A Simple QUBO Formulation of Sudoku

Authors: Sascha Mücke
Abstract: This article describes how to solve Sudoku puzzles using Quadratic Unconstrained Binary Optimization (QUBO). To this end, a QUBO instance with 729 variables is constructed, encoding a Sudoku grid with all constraints in place, which is then partially assigned to account for clues. The resulting instance can be solved with a Quantum Annealer, or any other strategy, to obtain the fully filled-out Sudoku grid. Moreover, as all valid solutions have the same energy, the QUBO instance can be used to sample uniformly from the space of valid Sudoku grids. We demonstrate the described method using both a heuristic solver and a Quantum Annealer.
Subjects: Quantum Physics (quant-ph)
Cite as: arXiv:2403.04816 [quant-ph]
  (or arXiv:2403.04816v1 [quant-ph] for this version)

Submission history

From: Sascha Mücke [view email]
[v1] Thu, 7 Mar 2024 09:54:06 GMT (273kb,D)

Link back to: arXiv, form interface, contact.