Skip to main content
QUICK REVIEW

[Paper Review] Solving tiling puzzles with quantum annealing

Asa Eagle, Takumi Kato|arXiv (Cornell University)|Apr 3, 2019
Quantum Computing Algorithms and ArchitectureComputer Science5 references3 citations
TL;DR

This paper proposes a quantum annealing approach to solve tetromino tiling puzzles by formulating the problem as a Quadratic Unconstrained Binary Optimization (QUBO) problem using the Ising model. It introduces two key constraints—selecting exactly two placements per tetromino and ensuring each board square is covered by exactly one piece—and implements the solution via the qbsolv classical solver on both simulator and D-Wave DW2000Q hardware, achieving approximately 50% success rate in finding valid solutions.

ABSTRACT

To solve tiling puzzles, such as "pentomino" or "tetromino" puzzles, we need to find the correct solutions out of numerous combinations of rotations or piece locations. Solving this kind of combinatorial optimization problem is a very difficult problem in computational science, and quantum computing is expected to play an important role in this field. In this article, we propose a method and obtained specific formulas to find solutions for tetromino tiling puzzles using a quantum annealer. In addition, we evaluated these formulas using a simulator and using actual hardware DW2000Q.

Motivation & Objective

  • To develop a method for solving combinatorial tiling puzzles using quantum annealing.
  • To formulate the tetromino tiling problem as a QUBO problem suitable for quantum annealing hardware.
  • To evaluate the performance of the proposed method using both classical simulation and actual D-Wave DW2000Q hardware.
  • To explore the feasibility of quantum computing for NP-hard tiling problems.

Proposed method

  • The problem is mapped to the Ising model using binary variables $ q_i $, where $ q_i = 1 $ indicates placement $ i $ of a tetromino is selected.
  • Two constraint Hamiltonians are defined: $ H_1 $ ensures exactly two placements are chosen per tetromino, and $ H_2 $ ensures each board square is covered by exactly one tetromino.
  • The full Hamiltonian is $ H = H_1 + H_2 $, which is converted into a QUBO matrix format for use with classical and quantum solvers.
  • The qbsolv solver is used to decompose the large QUBO into smaller sub-QUBOs of size up to $ 50 \times 50 $, solvable on the D-Wave 2000Q processor.
  • Solutions are evaluated for validity by checking for overlaps or gaps on the $ 5 \times 8 $ board.
  • The implementation uses Python dictionaries to represent the QUBO coefficients $ c_i $ and $ c_{ij} $, with $ q_i $ mapped to $ s_i $ via $ q_i = (s_i + 1)/2 $.

Experimental results

Research questions

  • RQ1Can quantum annealing effectively solve combinatorial tiling puzzles like the tetromino problem?
  • RQ2How do the performance and solution quality of quantum annealing compare to classical simulation for this problem?
  • RQ3What is the impact of hardware limitations and classical decomposition on solving large QUBO problems?
  • RQ4Can the proposed QUBO formulation be scaled to more complex tiling puzzles, such as pentominoes?

Key findings

  • The qbsolv simulator successfully found valid solutions in 48 out of 100 runs, achieving a 48% success rate.
  • The D-Wave DW2000Q hardware achieved a 51% success rate, with 51 valid solutions out of 100 runs.
  • Average solution time was 1.62 seconds per solution on the simulator, compared to 435.75 seconds per solution on the actual hardware.
  • The majority of the hardware solution time (about 2.52 seconds per solution) was due to QPU access and networking overhead, not quantum computation itself.
  • The QPU access time per sub-QUBO was approximately 8.49 microseconds, with an average of 297 sub-QUBO iterations per solution.
  • The method demonstrated feasibility for solving tiling puzzles using quantum annealing, with results showing strong consistency between classical simulation and actual quantum hardware.

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.