Skip to main content
QUICK REVIEW

[Paper Review] A Novel Quantum N-Queens Solver Algorithm and its Simulation and Application to Satellite Communication Using IBM Quantum Experience

Rounak Jha, Debaiudh Das|arXiv (Cornell University)|Jun 26, 2018
Quantum Computing Algorithms and ArchitectureComputer Science21 references16 citations
TL;DR

This paper proposes a novel quantum algorithm that solves the N-Queens Problem in polynomial time, O(N³), using superposition and entanglement on a quantum computer. By encoding the chessboard as an N²-qubit system initialized in a tensor product of N W-states, the algorithm efficiently filters valid configurations through ancillary qubits, achieving full solution enumeration with O(N²) memory and demonstrating feasibility via 4-queens simulation on IBM Quantum Experience for satellite communication applications.

ABSTRACT

Quantum computers can potentially solve problems that are computationally intractable on a classical computer in polynomial time using quantum-mechanical effects such as superposition and entanglement. The N-Queens Problem is a notable example that falls under the class of NP-complete problems. It involves the arrangement of N chess queens on an N x N chessboard such that no queen attacks any other queen, i.e. no two queens are placed along the same row, column or diagonal. The best time complexity that a classical computer has achieved so far in generating all solutions of the N-Queens Problem is of the order O(N!). In this paper, we propose a new algorithm to generate all solutions to the N-Queens Problem for a given N in polynomial time of order O(N^3) and polynomial memory of order O(N^2) on a quantum computer. We simulate the 4-queens problem and demonstrate its application to satellite communication using IBM Quantum Experience platform.

Motivation & Objective

  • To develop a quantum algorithm that solves the NP-complete N-Queens Problem in polynomial time using quantum advantages.
  • To reduce the time complexity from classical O(N!) to O(N³) by leveraging quantum superposition and entanglement.
  • To simulate the algorithm on real quantum hardware (IBM Quantum Experience) for the 4-queens case.
  • To demonstrate a practical application in satellite communication by maximizing non-interfering beam reflector arrangements.
  • To validate the algorithm's efficiency and scalability using ancillary qubits to mark valid solutions.

Proposed method

  • The N×N chessboard is encoded as an N²-qubit quantum state initialized in a tensor product of N W-states, each representing a row with exactly one queen.
  • The initial state is a superposition of all N^N configurations satisfying the Row Criteria, exploiting quantum superposition across N² qubits.
  • Ancillary qubits are entangled with the system to label configurations that satisfy the Column and Diagonal Criteria.
  • Controlled operations are applied to check column uniqueness using N−1 ancillas, and diagonal uniqueness using (N²−N)/2 ancillas.
  • The algorithm uses a combination of Hadamard gates, controlled-Z gates, and controlled-SWAP gates to implement the filtering logic for column and diagonal constraints.
  • Measurement of the ancillary qubits identifies valid solutions, with all configurations satisfying all N-Queens Criteria marked by a specific ancilla state.

Experimental results

Research questions

  • RQ1Can a quantum algorithm solve the N-Queens Problem in polynomial time, specifically O(N³), compared to classical O(N!)?
  • RQ2How can quantum superposition and entanglement be leveraged to efficiently filter valid N-Queens configurations from an exponentially large search space?
  • RQ3What is the minimal number of ancillary qubits required to uniquely identify all valid solutions using quantum marking?
  • RQ4Can the proposed algorithm be successfully simulated and applied to a real-world problem like satellite beam reflector placement?
  • RQ5What is the resource overhead in terms of qubits and quantum operations for implementing the solution filtering process?

Key findings

  • The proposed algorithm achieves a time complexity of O(N³) for generating all solutions to the N-Queens Problem on a quantum computer.
  • The algorithm uses O(N²) qubits, which is polynomial in N, making it scalable in memory requirements.
  • The simulation of the 4-queens problem was successfully implemented and validated on the IBM Quantum Experience platform.
  • The algorithm employs (N²/2 + N/2 − 1) ancillary qubits to uniquely mark valid configurations through entanglement.
  • The measurement of the ancillary qubits allows the identification of all valid N-Queens solutions, with all solutions encoded in the final state.
  • The method demonstrates a practical application in satellite communication by optimizing the placement of beam reflectors to minimize interference and maximize coverage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.