English

A Quantum Approach to solve N-Queens Problem

Quantum Physics 2023-12-29 v1

Abstract

In this work, we have introduced two innovative quantum algorithms: the Direct Column Algorithm and the Quantum Backtracking Algorithm to solve N-Queens problem, which involves the arrangement of NN queens on an N×NN \times N chessboard such that they are not under attack from each other on the same row, column and diagonal. These algorithms utilizes Controlled W-states and dynamic circuits, to efficiently address this NP-Complete computational problem. The Direct Column Algorithm strategically reduces the search space, simplifying the solution process, even with exponential circuit complexity as the problem size grows, while Quantum Backtracking Algorithm emulates classical backtracking techniques within a quantum framework which allows the possibility of solving complex problems like satellite communication, routing and VLSI testing.

Keywords

Cite

@article{arxiv.2312.16312,
  title  = {A Quantum Approach to solve N-Queens Problem},
  author = {Santhosh G S and Piyush Joshi and Ayan Barui and Prasanta K. Panigrahi},
  journal= {arXiv preprint arXiv:2312.16312},
  year   = {2023}
}

Comments

Accepted in Conference on COMSNETS 2024

R2 v1 2026-06-28T14:02:34.008Z