Quantum (Jun 2019)

A Quantum N-Queens Solver

  • Valentin Torggler,
  • Philipp Aumann,
  • Helmut Ritsch,
  • Wolfgang Lechner

DOI
https://doi.org/10.22331/q-2019-06-03-149
Journal volume & issue
Vol. 3
p. 149

Abstract

Read online

The $N$-queens problem is to find the position of $N$ queens on an $N$ by $N$ chess board such that no queens attack each other. The excluded diagonals $N$-queens problem is a variation where queens cannot be placed on some predefined fields along diagonals. This variation is proven NP-complete and the parameter regime to generate hard instances that are intractable with current classical algorithms is known. We propose a special purpose quantum simulator that implements the excluded diagonals $N$-queens completion problem using atoms in an optical lattice and cavity-mediated long-range interactions. Our implementation has no overhead from the embedding allowing to directly probe for a possible quantum advantage in near term devices for optimization problems.