Skip to main content
QUICK REVIEW

[Paper Review] Solving SAT and MaxSAT with a Quantum Annealer: Foundations, Encodings, and Preliminary Results

Zhengbing Bian, Fabián A. Chudak|arXiv (Cornell University)|Nov 6, 2018
Quantum Computing Algorithms and ArchitectureComputer Science68 references12 citations
TL;DR

This paper proposes a method to encode Boolean satisfiability (SAT) and MaxSAT problems into Ising Hamiltonians compatible with D-Wave's quantum annealers, using SMT-based encoding and dynamic placement. It demonstrates feasibility on a 2048-qubit D-Wave 2000Q system, showing competitive performance on certain hard SAT and MaxSAT instances despite non-exact penalty functions.

ABSTRACT

Quantum annealers (QAs) are specialized quantum computers that minimize objective functions over discrete variables by physically exploiting quantum effects. Current QA platforms allow for the optimization of quadratic objectives defined over binary variables (qubits), also known as Ising problems. In the last decade, QA systems as implemented by D-Wave have scaled with Moore-like growth. Current architectures provide 2048 sparsely-connected qubits, and continued exponential growth is anticipated, together with increased connectivity. We explore the feasibility of such architectures for solving SAT and MaxSAT problems as QA systems scale. We develop techniques for effectively encoding SAT -and, with some limitations, MaxSAT- into Ising problems compatible with sparse QA architectures. We provide the theoretical foundations for this mapping, and present encoding techniques that combine offline Satisfiability and Optimization Modulo Theories with on-the-fly placement and routing. Preliminary empirical tests on a current generation 2048-qubit D-Wave system support the feasibility of the approach for certain SAT and MaxSAT problems.

Motivation & Objective

  • To explore the feasibility of using current and future quantum annealers to solve NP-hard SAT and MaxSAT problems.
  • To develop efficient encoding techniques that map Boolean formulas into Ising problems suitable for sparse, real-world quantum annealer architectures like D-Wave's Chimera topology.
  • To combine offline SMT reasoning with on-the-fly qubit placement and routing to minimize embedding overhead and improve solution quality.
  • To evaluate the performance of the encoding pipeline on real quantum hardware, particularly on hard but likely satisfiable SAT and MaxSAT instances.
  • To identify and address key challenges in variable placement, penalty function design, and scalability for future, more connected quantum annealer topologies.

Proposed method

  • Uses Satisfiability Modulo Theories (SMT) to generate exact penalty functions that encode logical constraints into the Ising Hamiltonian.
  • Employs a two-stage encoding: first, logical constraints are converted into penalty functions using SMT reasoning; second, variables are placed and routed on the quantum hardware graph in real time.
  • Applies function decomposition and chain-based encoding to manage large Boolean functions, reducing the number of required qubits and improving energy gaps.
  • Utilizes a non-exact penalty function for 2-in-4 MaxSAT constraints, which still performs well in practice due to the bias in the instance distribution.
  • Maps Ising problems to QUBO format via the transformation $ z_i = 2x_i - 1 $, enabling compatibility with D-Wave's native hardware.
  • Employs a hybrid approach combining classical SMT solving with dynamic embedding to optimize qubit usage and minimize chain breaks.

Experimental results

Research questions

  • RQ1Can SAT and MaxSAT problems be effectively encoded into Ising Hamiltonians suitable for current D-Wave quantum annealers?
  • RQ2How does the performance of quantum annealing compare to classical solvers on hard but satisfiable SAT and MaxSAT instances?
  • RQ3To what extent do non-exact penalty functions affect solution quality in practical quantum annealing applications?
  • RQ4What are the key bottlenecks in embedding large Boolean formulas onto sparse quantum hardware graphs?
  • RQ5How will future, more connected quantum annealer topologies (e.g., Pegasus) impact the efficiency and scalability of SAT/MaxSAT encodings?

Key findings

  • The proposed encoding method successfully maps SAT and MaxSAT problems into Ising problems compatible with the 2048-qubit D-Wave 2000Q system.
  • Preliminary empirical results show that the quantum annealer can find solutions to certain hard SAT and MaxSAT instances faster than classical solvers in some cases.
  • Despite using a non-exact penalty function for 2-in-4 MaxSAT constraints, the method achieves good performance, particularly on unbiased instances where only low-weight solutions are relevant.
  • The use of SMT-based penalty generation and dynamic placement improves solution quality and reduces embedding overhead compared to fixed-placement methods.
  • Classical solvers require more time to solve unbiased MaxSAT instances, yet the D-Wave hardware performs better on them, indicating robustness to non-exact encodings.
  • Future hardware with higher connectivity (e.g., Pegasus topology) is expected to significantly improve encoding efficiency and enable larger problem instances.

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.