The Quantum Query Complexity of 0-1 Knapsack and Associated Claw Problems
Abstract
We first give an (2n/3) quantum algorithm for the 0-1 Knapsack problem with n variables. More generally, for 0-1 Integer Linear Programs with n variables and d inequalities we give an (2n/3nd) quantum algorithm. For d =o(n/ n) this running time is bounded by (2n(1/3+ε)) for every ε>0 and in particular it is better than the (2n/2) upper bound for general quantum search. To investigate whether better algorithms for these NP-hard problems are possible, we formulate a symmetric claw problem corresponding to 0-1 Knapsack and study its quantum query complexity. For the symmetric claw problem we establish a lower bound of (2n/4) for its quantum query complexity. We have an (2n/3) upper bound given by essentially the same quantum algorithm that works for Knapsack. Additionally, we consider CNF satisfiability of CNF formulas F with no restrictions on clause size, but with the number of clauses in F bounded by cn for a constant c, where n is the number of variables. We give a 2(1-α)n/2 quantum algorithm for satisfiability in this case, where α is a constant depending on c.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.