Optimal Merging in Quantum k-xor and k-xor-sum Algorithms
María Naya-Plasencia, André Schrottenloher
Abstract
The k-xor or Generalized Birthday Problem aims at finding, given k lists of bit-strings, a k-tuple among them XORing to 0. If the lists are unbounded, the best classical (exponential) time complexity has withstood since Wagner’s CRYPTO 2002 paper. If the lists are bounded (of the same size) and such that there is a single solution, the dissection algorithms of Dinur et al. (CRYPTO 2012) improve the memory usage over a simple meet-in-the-middle. In this paper, we study quantum algorithms for the k-xor problem. With unbounded lists and quantum access, we improve previous work by Grassi et al. (ASIACRYPT 2018) for almost all k. Next, we extend our study to lists of any size and with classical access only. We define a set of “merging trees” which represent the best known strategies for quantum and classical merging in k-xor algorithms, and prove that our method is optimal among these. Our complexities are confirmed by a Mixed Integer Linear Program that computes the best strategy for a given k-xor problem. All our algorithms apply also when considering modular additions instead of bitwise xors. This framework enables us to give new improved quantum k-xor algorithms for all k and list sizes. Applications include the subset-sum problem, LPN with limited memory and the multiple-encryption problem.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers1
Ask how each one uses itRelated papers
- Fine-Grained Cryptanalysis: Tight Conditional Bounds for Dense k-SUM and k-XORItai Dinur, Nathan Keller, Ohad KleinFOCS 2021 · 2 citations
- A Classical Quadratic Speedup for Planted k xorMeghal Gupta, William He, Ryan O'Donnell, Noah G. SingerSODA 2026 · 1 citation
- Quartic quantum speedups for planted inferenceAlexander Schmidhuber, Ryan O'Donnell, Robin Kothari, Ryan BabbushSODA 2025 · 1 citation
- On the Regularity of the Generalized Birthday ProblemLili Tang, Yao Sun, Xiaorui GongCRYPTO 2026
- Finding Many Collisions via Reusable Quantum Walks - Application to Lattice SievingXavier Bonnetain, André Chailloux, André Schrottenloher, Yixin ShenEUROCRYPT 2023 · 22 citations
