Improved Quantum Algorithms for Subset Sum and k-SUM
Nikolai Chukhin, Alexander S. Kulikov, Maksim Levitskii, Ivan Mihajlin
Abstract
The Subset Sum problem asks whether, given n integers and a target, some subset of the integers sums to the target. Its best known worst-case running time is O*(2n/2) (Horowitz and Sahni, 1974), whereas the best quantum upper bound is O*(2n/3) (Bernstein, Jeffery, Lange, and Meurer, 2013). The k-SUM problem is a parameterized version of Subset Sum asking whether there are k integers that sum to the target. The best classical upper bound for it is O(n k/2), whereas the best quantum running time is O(nk/3) (Tani, 2009). For random instances, a quantum algorithm with running time O(nΦk) is known, where Φk=2k- k/7- (k+3)/76 (Schrottenloher, 2021). We present a new quantum algorithm solving worst-case k-SUM in time O(nΨk), where Ψk=Φk-[k 3 7]9-[k 6 7]18. The algorithm is not only faster for all k congruent to 3 or 6 modulo 7, but also gives a worst-case guarantee rather than a guarantee restricted to single-solution random instances. Combining our algorithm for 7-SUM with the standard block reduction technique yields an O*(22n/7) quantum algorithm for Subset Sum, improving the previously known O*(2n/3) algorithm.
Create a lesson
Related papers
On the Hardness of Strong Metric Dimension
Prafullkumar Tale
Superlogarithmic-Rank Matrix Rigidity for the Walsh-Hadamard Transform
Josh Alman
Tight Inapproximability of Max Independent Set in Triangle-Free Graphs
Édouard Bonnet
The blue pebbling cost and the space in tree-like and negative Resolution
Lisa-Marie Jaser, Jacobo Torán
Rigorous Low-Degree Implications for Planted Subgraph Detection: Noise and Treewidth
Xuan Chen, Shuangping Li
A Paturi Theorem for Signed Subcube Representations
Hangyu liu