Skip to main content
QUICK REVIEW

[Paper Review] Adiabatic quantum computing solution of the knapsack problem

Mark W. Coffey|arXiv (Cornell University)|Jan 19, 2017
Quantum Computing Algorithms and ArchitectureComputer Science1 references9 citations
TL;DR

This paper presents an adiabatic quantum computing (AQC) approach to solving the integer-weight knapsack problem using Ising Hamiltonians, demonstrating two qubit-efficient implementations: one using $n + c$ qubits and a more efficient one using $n + \lfloor \log_2 c \rfloor + 1$ qubits. The key contribution is the analytical characterization of the spectral gap's behavior and the phase transition between easy and hard problem instances, particularly for the subset sum variant, using statistical mechanics and special functions like the dilogarithm.

ABSTRACT

We illustrate the adiabatic quantum computing solution of the knapsack problem with both integer profits and weights. For problems with $n$ objects (or items) and integer capacity $c$, we give specific examples using both an Ising class problem Hamiltonian requiring $n+c$ qubits and a much more efficient one using $n+[\log_2 c]+1$ qubits. The discussion includes a brief mention of classical algorithms for knapsack, applications of this commonly occurring problem, and the relevance of further studies both theoretically and numerically of the behavior of the energy gap. Included too is a demonstration and commentary on a version of quantum search using a certain Ising model. Furthermore, an Appendix presents analytic results concerning the boundary for the easy-versus-hard problem-instance phase transition for the special case subset sum problem.

Motivation & Objective

  • To develop an adiabatic quantum computing framework for solving the NP-hard knapsack problem with integer weights and profits.
  • To reduce qubit requirements by designing an efficient Ising Hamiltonian using $n + \lfloor \log_2 c \rfloor + 1$ qubits instead of $n + c$ qubits.
  • To analyze the spectral gap behavior in AQC for knapsack instances, particularly near the easy-hard phase transition.
  • To provide analytical results on the phase transition boundary for the subset sum problem using statistical mechanics and special functions.
  • To explore connections between AQC and quantum search, including the limitations of linear interpolation in achieving Grover-like speedup.

Proposed method

  • Formulates the knapsack problem as a binary optimization problem with constraints on total weight and profit maximization.
  • Constructs a problem Hamiltonian in the Ising model form: $ H_p = -\sum_i h_i \sigma_z^i - \sum_{i<j} J_{ij} \sigma_z^i \sigma_z^j $, encoding the knapsack constraints and objective.
  • Uses adiabatic evolution from a transverse field initial Hamiltonian $ H_0 = -h_0 \sum_i \sigma_x^i $ to the problem Hamiltonian $ H_p $, with linear interpolation $ H(s) = (1-s)H_0 + sH_p $.
  • Applies statistical mechanics and the grand canonical ensemble to model the constrained subset sum problem with fixed number of selected items.
  • Employs the dilogarithm function $ \text{Li}_2 $ to derive exact analytical expressions for the scaled energy $ x $, critical value $ \kappa_c $, and phase transition boundaries.
  • Derives differential relations such as $ \kappa_c(\alpha) = \frac{1}{\ln 2} \int \alpha \, dx(\alpha) $, linking the spectral gap to thermodynamic quantities.

Experimental results

Research questions

  • RQ1How can the knapsack problem be efficiently encoded into an Ising Hamiltonian with minimal qubit overhead?
  • RQ2What is the relationship between the spectral gap and the phase transition between easy and hard problem instances in adiabatic quantum computation?
  • RQ3Can analytical expressions for the critical value $ \kappa_c $ be derived for the subset sum problem using statistical mechanics?
  • RQ4How does the choice of interpolation function (e.g., linear vs. rescaled) affect the performance of AQC for quantum search and optimization?
  • RQ5What role do special functions like the dilogarithm play in characterizing the energy and gap behavior in the thermodynamic limit?

Key findings

  • The paper constructs an efficient Ising Hamiltonian for the knapsack problem using only $ n + \lfloor \log_2 c \rfloor + 1 $ qubits, significantly reducing resource requirements compared to the $ n + c $ qubit version.
  • For the subset sum problem, the phase transition boundary is analytically characterized via $ \kappa_c(\alpha) = \frac{1}{\ln 2} \int \alpha \, dx(\alpha) $, with exact expressions involving the dilogarithm function.
  • Near $ x = 1/4 $ and $ \kappa_c = 1 $, the relation $ x(\kappa_c) = \frac{1}{12}(3 \pm 2\sqrt{6\ln 2}\sqrt{1 - \kappa_c}) $ is derived, describing the critical region of the phase transition.
  • In the low-energy limit ($ \alpha \to \infty $), the relation $ x(\kappa_c) \approx \frac{12}{49}(\ln^2 2) \kappa_c^2 $ is obtained, showing quadratic scaling of energy with $ \kappa_c $.
  • The critical value $ \kappa_c $ is shown to be symmetric under $ \alpha \to -\alpha, \mu \to -\mu $, and the energy and density exhibit complementary symmetries.
  • Exact closed-form evaluations are provided for $ \text{Li}_2(-e^{\alpha_-}) = -\frac{\pi^2}{15} + \frac{1}{2}\ln^2\left(\frac{\sqrt{5}-1}{2}\right) $ and $ \text{Li}_2(-e^{\alpha_+}) = -\frac{\pi^2}{10} + \frac{1}{2}\ln^2\left(\frac{\sqrt{5}+1}{2}\right) $, enabling precise computation of $ x $ and $ \kappa_c $ at special points.

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.