Solving (Max) 3-SAT via Quadratic Unconstrained Binary Optimization

Jonas Nüßlein, Sebastian Zielinski, Thomas Gabor, Claudia Linnhoff-Popien, Sebastian Feld

Introduction

In the landscape of computational complexity, the 3-Satisfiability (3-SAT) problem stands as a foundational NP-complete puzzle. It requires determining whether a set of Boolean constraints, or clauses, can be satisfied by a specific assignment of truth values to variables. Because many real-world challenges in logistics, hardware verification, and scheduling can be mapped to 3-SAT, finding efficient solution methods is a priority for both classical and quantum computing.

Quantum Annealers, such as those developed by D-Wave, offer a unique approach to these problems by treating them as energy minimization tasks. However, to run a 3-SAT problem on a quantum annealer, it must first be translated into a Quadratic Unconstrained Binary Optimization (QUBO) format. This translation process often introduces significant overhead, requiring more qubits and connections (couplings) than the physical hardware can easily support. This paper discusses the development of NÜSSLEIN$^{n+m}$, a novel translation strategy designed to minimize this overhead and improve performance on current quantum hardware.

The Challenge of QUBO Translation

Current quantum hardware is characterized by limited qubit counts and sparse physical connectivity. Traditional translation methods, such as those proposed by Chancellor or Choi, often result in dense QUBO matrices. When these matrices are mapped (embedded) onto a physical chip like D-Wave’s "Pegasus" graph, the high density of connections forces the hardware to use multiple physical qubits to represent a single logical variable. This "embedding overhead" increases noise and reduces the probability of finding the optimal solution.

Existing methods typically focus on minimizing the number of auxiliary qubits. However, research suggests that the number of couplings—the non-zero elements in the QUBO matrix—is an equally critical, if not more important, bottleneck for hardware performance.

Methodology: The NÜSSLEIN$^{n+m}$ Approach

The authors introduce a "ground-up" construction method for QUBO matrices. Rather than adapting generalized mathematical frameworks, they designed specific "pattern matrices" for the four possible types of 3-SAT clauses (e.g., clauses with varying numbers of negated literals).

Key Features of NÜSSLEIN$^{n+m}$:

  1. Resource Efficiency: The method utilizes $n$ qubits for variables and $m$ qubits for clauses. While the qubit count is comparable to the previous state-of-the-art (Chancellor), the resulting matrix is significantly sparser.
  2. Algorithmic Construction: By stacking these pre-designed pattern matrices, the researchers can build the full QUBO for any 3-SAT instance algorithmically.
  3. Clause-Qubit Reuse: A significant optimization involves the reuse of clause-qubits. If a specific sub-formula appears in multiple clauses, the method can share auxiliary qubits, further reducing the total problem size.
  4. Energy Landscape Optimization: The construction focuses on mirroring the global optimum of the 3-SAT problem within the energy landscape of the QUBO, avoiding the mathematical "bloat" associated with traditional penalty-based derivations.

Experimental Evaluation

The researchers evaluated NÜSSLEIN$^{n+m}$ against existing benchmarks using randomly generated 3-SAT formulas. They focused on the "critical region" where the ratio of clauses to variables ($m/n$) is approximately 4.2. This region is known to contain the most computationally difficult instances of 3-SAT.

Tests were conducted on three problem sizes:

  • 5 variables, 21 clauses
  • 10 variables, 42 clauses
  • 12 variables, 50 clauses

Performance was measured by the number of couplings required and the quality of solutions (number of satisfied clauses) obtained from a D-Wave quantum annealer.

Key Results and Discussion

The experimental results highlight the superiority of the NÜSSLEIN$^{n+m}$ method in terms of both efficiency and solution quality:

  • Reduced Coupling Density: NÜSSLEIN$^{n+m}$ requires approximately 70% of the couplings compared to the Chancellor method. This increased sparsity is the primary driver of its performance gains.
  • Hardware Mapping: When embedded onto the D-Wave Pegasus hardware, the new method required significantly fewer physical qubits to represent the logical problem, directly mitigating the impact of hardware noise.
  • Solution Quality: In head-to-head hardware tests, NÜSSLEIN$^{n+m}$ consistently outperformed Chancellor and Choi. For the largest test case ($V=12, C=50$), the method achieved a mean of 49.0 satisfied clauses, the highest among all tested translation strategies.

An important insight from the study is that matrix size (qubit count) is a poor predictor of performance. The authors' secondary method, NÜSSLEIN$^{2n+m}$, produced a smaller matrix than some competitors but performed worse because it was less sparse. This confirms that connection density is the "true king" of QUBO efficiency.

Conclusion and Future Work

The NÜSSLEIN$^{n+m}$ approach demonstrates that by focusing on sparsity and pattern-based construction, we can make NP-complete problems significantly more accessible to current-generation quantum annealers.

Future research will focus on scaling these results to hundreds or thousands of variables as hardware capacity grows. Additionally, the authors aim to extend the pattern-matrix approach to general $k$-SAT problems and explore the use of Integer Linear Programming to automate the discovery of even more efficient auxiliary qubit configurations. This work paves the way for more practical applications of quantum optimization in complex industrial domains.

Summary updated

BibTeX
@inproceedings{nulein2023solving,
  author = {Jonas Nüßlein and Sebastian Zielinski and Thomas Gabor and Claudia Linnhoff-Popien and Sebastian Feld},
  title = {{Solving (Max) 3-SAT via Quadratic Unconstrained Binary Optimization}},
  booktitle = {ICCS},
  year = {2023},
  doi = {10.1007/978-3-031-36030-5\_3},
}
Figure