Skip to main content
QUICK REVIEW

[Paper Review] Comparing the hardness of MAX 2-SAT problem instances for quantum and classical algorithms

Adam Callison, Puya Mirkarimi|arXiv (Cornell University)|Jun 14, 2022
Quantum Computing Algorithms and ArchitectureComputer Science1 citations
TL;DR

This study compares the hardness of MAX 2-SAT instances across continuous-time quantum algorithms (quantum annealing, quantum walks) and a classical algorithm, revealing weak correlations in instance difficulty between methods. The key finding is that a portfolio approach—running multiple algorithms in parallel—significantly reduces the number of extremely hard instances, especially since quantum algorithms struggle with classically easy satisfiable instances.

ABSTRACT

An algorithm for a particular problem may find some instances of the problem easier and others harder to solve, even for a fixed input size. We numerically analyse the relative hardness of MAX 2-SAT problem instances for various continuous-time quantum algorithms and a comparable classical algorithm. This has two motivations: to investigate whether small-sized problem instances, which are commonly used in numerical simulations of quantum algorithms for benchmarking purposes, are a good representation of larger instances in terms of their hardness to solve, and to determine the applicability of continuous-time quantum algorithms in a portfolio approach, where we take advantage of the variation in the hardness of instances between different algorithms by running them in parallel. We find that, while there are correlations in instance hardness between all of the algorithms considered, they appear weak enough that a portfolio approach would likely be desirable in practice. Our results also show a widening range of hardness of randomly generated instances as the problem size is increased, which demonstrates both the difference in the distribution of hardness at small sizes and the value of a portfolio approach that can reduce the number of extremely hard instances. We identify specific weaknesses of these quantum algorithms that can be overcome with a portfolio approach, such their inability to efficiently solve satisfiable instances (which is easy classically).

Motivation & Objective

  • To assess whether small-sized MAX 2-SAT instances used in quantum algorithm simulations are representative of larger instances in terms of computational hardness.
  • To evaluate the feasibility of using a portfolio approach—running multiple quantum and classical algorithms in parallel—to improve performance on hard optimization problems.
  • To investigate why certain quantum algorithms fail on satisfiable MAX 2-SAT instances that are trivial for classical solvers.
  • To quantify the distribution of hardness across different algorithms and identify performance bottlenecks in quantum approaches.

Proposed method

  • Numerical simulation of continuous-time quantum algorithms—quantum annealing and quantum walk computation—on randomly generated MAX 2-SAT instances.
  • Comparison with a classical algorithm (specifically, a high-performance SAT solver) to benchmark relative instance hardness.
  • Use of a dataset of 20-qubit MAX 2-SAT instances previously identified as hard for quantum annealing.
  • Performance evaluation based on success probability and time-to-solution metrics across multiple algorithmic variants.
  • Statistical analysis of hardness correlations between algorithms to assess portfolio approach viability.
  • Focus on satisfiable instances to expose weaknesses in quantum algorithms relative to classical solvers.

Experimental results

Research questions

  • RQ1Are small-sized MAX 2-SAT instances representative of larger instances in terms of hardness distribution for quantum and classical algorithms?
  • RQ2How correlated is the hardness of problem instances across different quantum and classical algorithms?
  • RQ3Can a portfolio of algorithms reduce the number of extremely hard instances compared to using a single algorithm?
  • RQ4Why do quantum algorithms fail on satisfiable MAX 2-SAT instances that are easily solvable classically?
  • RQ5What are the specific performance bottlenecks in continuous-time quantum algorithms that a portfolio approach could mitigate?

Key findings

  • The hardness of MAX 2-SAT instances shows weak correlations across quantum annealing, quantum walk, and classical algorithms, indicating that no single algorithm universally outperforms others on all instances.
  • As problem size increases, the range of hardness across randomly generated instances widens, suggesting that small instances may not capture the full difficulty spectrum.
  • Quantum annealing and quantum walk algorithms struggle significantly with satisfiable MAX 2-SAT instances—cases that are trivial for classical solvers—highlighting a key performance gap.
  • A portfolio approach combining quantum and classical algorithms reduces the number of extremely hard instances, demonstrating practical value in mitigating worst-case performance.
  • The study confirms that finite-size effects are significant in small instances, and that results from small-scale simulations may not reliably predict performance on larger problems.
  • The success probability of quantum annealing on 20-qubit hard instances remains low (e.g., <10% at tf=100), confirming their difficulty, but these instances are not uniformly hard across all algorithms.

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.