Quantum Merging Algorithms Mara Naya-Plasencia 2 , Andr - - PowerPoint PPT Presentation

quantum merging algorithms
SMART_READER_LITE
LIVE PREVIEW

Quantum Merging Algorithms Mara Naya-Plasencia 2 , Andr - - PowerPoint PPT Presentation

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging Quantum Merging Algorithms Mara Naya-Plasencia 2 , Andr Schrottenloher 2 Joint work with Andr Chailloux 2 and Lorenzo Grassi 1 1 IAIK, Graz University of Technology,


slide-1
SLIDE 1

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Quantum Merging Algorithms

María Naya-Plasencia2, André Schrottenloher2 Joint work with André Chailloux2 and Lorenzo Grassi1

1 IAIK, Graz University of Technology, Austria 2 Inria, France

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 1/44

slide-2
SLIDE 2

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Outline

1

Quantum (Generalized) Collisions

2

Quantum Merging

3

Extended Quantum Merging

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 2/44

slide-3
SLIDE 3

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Quantum (Generalized) Collisions

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 3/44

slide-4
SLIDE 4

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Generalized Birthday Problem(s)

Problem 1: “original” Given L1, . . . Lk classical lists of random n-bit strings, find x1, . . . xk ∈ L1 × . . . Lk such that x1 ⊕ . . . ⊕ xk = 0. Problem 2: “oracle” Given oracle access to a random n-bit to n-bit function H, find x1, . . . xk such that H(x1) ⊕ . . . ⊕ H(xk) = 0. Problem 3: “unique solution” Given oracle access to a random n/k-bit to n-bit function H, find the single k-tuple x1, . . . xk such that H(x1) ⊕ . . . H(xk) = 0.

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 4/44

slide-5
SLIDE 5

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Applications

Parity check problem: given P(X) of degree n, find a low-weight multiple of P Multiple-encryption: given a few plaintext-ciphertext pairs (x, Ek1 ◦ . . . ◦ Ekr (x)), find the independent keys k1, . . . kr Subset-sum: given n integers a0, . . . an−1 on poly(n) bits, find a binary ¯ e such that ¯ a · ¯ e = 0 LPN: given samples a, a · s + e with n-bit uniform random a and Bernoulli noise e, find s Except LPN, we have quantum oracle access.

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 5/44

slide-6
SLIDE 6

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Focus on Problem 2 (with oracle)

Problem 2: The “oracle” k-xor Let H : {0, 1}n → {0, 1}n be a random function, find x1, . . . , xk such that H(x1) ⊕ . . . ⊕ H(xk) = 0. We suppose that quantum oracle access to H is given We focus on the exponent in the time complexity O (2αkn) All the results apply with + instead of ⊕

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 6/44

slide-7
SLIDE 7

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

The 1-xor problem: exhaustive search

Classically: look for a preimage of 0. Since H is random, we need to query it O (2n) times. Quantumly: use Grover’s algorithm. O

  • 2n/2

quantum queries and time. Grover search / amplitude amplification Find in S (of size 2n) an element x (2t solutions) such that x satisfies some condition. 2(n−t)/2

  • 2t solutions

among 2n

  • Sampling
  • Produce

s∈S |s

+ Checking

  • Test |x
  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 7/44

slide-8
SLIDE 8

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Interlude: Quantum Memory

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 8/44

slide-9
SLIDE 9

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

The “quantum memory” landscape

Sequential access Quantum random access Classical write Classical memory sequential access SAM Classical memory quantum random access QACM (or qRAM) Quantum write Quantum memory sequential access Qubits Quantum memory quantum random access QAQM

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 9/44

slide-10
SLIDE 10

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

The “quantum memory” landscape (ctd.)

In our work, we consider that answering a query “x ∈ L”, for a superposition of x, costs: (C)SAM: O (|L|) QACM: poly(log |L|) Qubits: O (|L|) QAQM: poly(log |L|)

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 10/44

slide-11
SLIDE 11

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Converting QACM to SAM

We can emulate QACM queries with classical sequential memory accesses: perform a sequence of comparisons. Converting QACM to SAM On input x, to compute if x ∈ L: Read L sequentially; Run a sequence of |L| comparison circuits; Aggregate the comparison results. We can make the memory in some quantum algorithms classical (however, no guarantee of a quantum speedup)

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 11/44

slide-12
SLIDE 12

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Quantum Collisions without qRAM

Joint work with André Chailloux

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 12/44

slide-13
SLIDE 13

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

The 2-xor problem: collision search

Classical (naive): O

  • 2n/2

computations and O

  • 2n/2

memory. Classical (Pollard’s rho): O

  • 2n/2

computations and O (1) memory. Quantum (BHT*): O

  • 2n/3

computations and O

  • 2n/3

QACM. BHT Store 2n/3 arbitrary queries x, H(x) in a list L Search {0, 1}n with the predicate: f (x) = (∃y = x, (y, H(x)) ∈ L) (needs QACM)

* Brassard, Høyer, and Tapp, “Quantum Cryptanalysis of Hash and Claw-Free Functions”, LATIN 98

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 13/44

slide-14
SLIDE 14

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Quantum collisions without qRAM

In BHT, we perform 2n/3 membership queries to a list L of size 2n/3: the conversion increases the time up to 22n/3! Let’s try again, with: A smaller list Less membership queries To do this, we put a constraint on L, and search for a collision in a smaller subspace.

Chailloux, Naya-Plasencia, and S., “An Efficient Quantum Collision Search Algorithm and Implications on Symmetric Cryptography”, ASIACRYPT 17

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 14/44

slide-15
SLIDE 15

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Quantum collisions without qRAM (ctd.)

We search only for a collision among distinguished points, e.g. x such that H(x) = 02n/5||z for z ∈ {0, 1}3n/5.

1

Create a list L of distinguished y, H(y)

2

Grover search among distinguished points for a match on L 2n/5+n/5

  • Build L

+ 2n/5

  • 2−2n/5

probability

  • f a match
  • 2n/5
  • Sample

distinguished points

+ 2n/5

Match L

  • = 22n/5

We do 2n/5 accesses to a 2n/5-sized memory.

Chailloux, Naya-Plasencia, and S., “An Efficient Quantum Collision Search Algorithm and Implications on Symmetric Cryptography”, ASIACRYPT 17

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 15/44

slide-16
SLIDE 16

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Quantum Algorithms for the (Many-solutions) k-xor Problem

Joint work with Lorenzo Grassi

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 16/44

slide-17
SLIDE 17

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Classical results for general k

To get a k-xor on n bits: The optimal query complexity is Θ(2n/k) The time complexity is O

  • 2n/(1+⌊log2(k)⌋)

* Logarithmic improvements in time (but we focus on exponents)

* Wagner, “A Generalized Birthday Problem”, CRYPTO 02

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 17/44

slide-18
SLIDE 18

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Wagner’s algorithm in a single slide

Merging From two lists L1, L2, compute the “join” L1 ⊲ ⊳u L2: the pairs x1, x2 ∈ L1 × L2 with x1 ⊕ x2|u = 0 (partial collision on u bits). All lists are presumed sorted, the time is: MAX (|L1 ⊲ ⊳u L2|, MIN (|L1|, |L2|)) Wagner’s algorithm is a sequence of pairwise joins The strategy (optimal u) depends on ⌊log2(k)⌋; we merge 2⌊log2(k)⌋ lists

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 18/44

slide-19
SLIDE 19

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

An example with k = 4

  • 1. Query 4 lists of x, H(x): L1, L2, L3, L4 of size 2n/3

L4 of size 2n/3 L3 of size 2n/3 L2 of size 2n/3 L1 of size 2n/3

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 19/44

slide-20
SLIDE 20

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

An example with k = 4

  • 1. Query 4 lists of x, H(x): L1, L2, L3, L4 of size 2n/3
  • 2. Compute the joins L1 ⊲

⊳n/3 L2 and L3 ⊲ ⊳n/3 L4 of size 2n/3 L3 ⊲ ⊳n/3 L4

  • f size 2n/3

L4 of size 2n/3 L3 of size 2n/3 L1 ⊲ ⊳n/3 L2

  • f size 2n/3

L2 of size 2n/3 L1 of size 2n/3

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 19/44

slide-21
SLIDE 21

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

An example with k = 4

  • 1. Query 4 lists of x, H(x): L1, L2, L3, L4 of size 2n/3
  • 2. Compute the joins L1 ⊲

⊳n/3 L2 and L3 ⊲ ⊳n/3 L4 of size 2n/3

  • 3. Compute the join (L1 ⊲

⊳n/3 L2) ⊲ ⊳2n/3 (L3 ⊲ ⊳n/3 L4) of size 1 Single 4-xor to 0

  • n n bits

L3 ⊲ ⊳n/3 L4

  • f size 2n/3

L4 of size 2n/3 L3 of size 2n/3 L1 ⊲ ⊳n/3 L2

  • f size 2n/3

L2 of size 2n/3 L1 of size 2n/3

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 19/44

slide-22
SLIDE 22

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Previous quantum results on k-xor

To get a k-xor on n bits: The optimal query complexity is Θ

  • 2n/(k+1)

* What about the time?

We just saw k = 2. And for k > 2?

* Belovs and Spalek, “Adversary lower bound for the k-sum problem”, ACM 13

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 20/44

slide-23
SLIDE 23

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Some new complexities

5 10 15 20 0.2 0.4 k αk Classical time Quantum time with QAQM Quantum time with CSAM

Grassi, Naya-Plasencia, and S., “Quantum Algorithms for the k -xor Problem”, ASIACRYPT 18

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 21/44

slide-24
SLIDE 24

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Example: 3-xor without qRAM

We use a “parallel matching” technique * with two lists.

2n/7 n/7 n/7 3n/7 ℓ = 2n/7 y1 α1 . . . . . . . . . . . . y2n/7 α2n/7 2n/7 n/7 n/7 3n/7 z1 β1 . . . . . . . . . . . . z2n/7 β2n/7

To check a distinguished point x, match L1 (find a partially colliding element); then match L2. 2n/7+3n/14+ 23n/14

3n/7 remaining bits

  • 2n/7

Setup search space

+ ( 2n/7

Match L1

+ 2n/7

Match L2

)

  • Instead of 2n/7 × 2n/7
  • = 25n/14

* Naya-Plasencia, “How to Improve Rebound Attacks”, CRYPTO 11

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 22/44

slide-25
SLIDE 25

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Same strategy with QACM

n/5 n/5 3n/5 ℓ = 2n/5 y1 α1 . . . . . . . . . y2n/5 α2n/5 n/5 n/5 3n/5 2n/5 z1 β1 . . . . . . . . . z2n/5 β2n/5

2n/5+n/10 + 23n/10

  • 3n/5 bits

remaining

  • 1
  • Matching

L1

+ 1

  • Matching

L2

  • = 23n/10 < 2n/3

⇒ 3-xor is exponentially faster than collision search (not the case classically).

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 23/44

slide-26
SLIDE 26

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Previous results

Quantum 3-xor is exponentially faster than quantum collision search. Quantum speedup without qRAM for k ≤ 7. k-xor with QAQM in time O

  • 2n/(2+⌊log2(k)⌋)

using a quantum walk. Question: are there other improvements on the quantum version of Wagner’s algorithm?

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 24/44

slide-27
SLIDE 27

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Quantum Merging

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 25/44

slide-28
SLIDE 28

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

A new example: 7-xor with QACM

Time: 24n/17 < 2n/4 7-xor Grover search

23n/17 partial collisions

3n/17 3n/17 3n/17 8n/17 * * . . . . . . . . . . . . * *

Grover search 24n/17 queries 23n/17 partial collisions

3n/17 3n/17 3n/17 8n/17 * * . . . . . . . . . . . . * *

Grover search 24n/17 queries 23n/17 partial collisions

3n/17 3n/17 3n/17 8n/17 * * . . . . . . . . . . . . * *

Grover search 24n/17 queries

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 26/44

slide-29
SLIDE 29

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Recent results (with QACM)

5 10 15 20 0.1 0.2 0.3 0.4 0.5 k αk AC 18 Classical New

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 27/44

slide-30
SLIDE 30

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Recent results (with CSAM)

5 10 15 20 0.1 0.2 0.3 0.4 0.5 k αk AC 18 Classical New

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 28/44

slide-31
SLIDE 31

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

General strategy

There are several possible decompositions of the problem into subproblems. Each new list is the result of quantum exhaustive searches, using the previous ones for intermediate matchings. The optimization is a linear problem: we implemented an automatic search (MILP) for the best merging strategies.

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 29/44

slide-32
SLIDE 32

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Back to classical merging: 4-xor

Traverse the tree of merges in a depth-first manner (Wagner, CRYPTO 02): store ⌈log2 k⌉ lists instead of k.

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 30/44

slide-33
SLIDE 33

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Back to classical merging: 4-xor

  • 1. Store a list of 2n/3 elements and make new queries to produce a

list of 2n/3 collisions. List of 2n/3 collisions

  • n n/3 bits

New elements List of 2n/3 elements

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 30/44

slide-34
SLIDE 34

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Back to classical merging: 4-xor

  • 2. Store a new list of 2n/3 elements.

List of 2n/3 elements List of 2n/3 collisions

  • n n/3 bits

New elements List of 2n/3 elements

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 30/44

slide-35
SLIDE 35

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Back to classical merging: 4-xor

  • 3. Make new queries to produce: partial n/3-bit collisions at level

1, then (maybe) a full 4-xor at level 0. Single 4-xor

  • n n bits

New collisions

  • n n/3 bits

New elements List of 2n/3 elements List of 2n/3 collisions

  • n n/3 bits
  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 30/44

slide-36
SLIDE 36

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Re-optimizing this example

Single 4-xor

  • n n bits

Partial collision

  • n n/4 bits

Grover search

  • n a space of

size 2n/2 List of 2n/4 elements List of 2n/4 collisions

  • n n/4 bits

List of 2n/4 elements List of 2n/4 elements

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 31/44

slide-37
SLIDE 37

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Rephrasing previous algorithms

3-xor algorithms with two intermediate lists: trees of height 2. We see on this example that the quantum merging trees can be more than binary. Final 3-xor Grover search

n/5 n/5 3n/5 ℓ = 2n/5 y1 α1 . . . . . . . . . y2n/5 α2n/5 n/5 n/5 3n/5 2n/5 z1 β1 . . . . . . . . . z2n/5 β2n/5

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 32/44

slide-38
SLIDE 38

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Theorem – with QACM

Theorem If k ≥ 2 and κ = ⌊log2(k)⌋, the best merging-tree quantum time exponent is αk = 2κ (1 + κ)2κ + k .

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 33/44

slide-39
SLIDE 39

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

A complicated example

Single 6-xor

  • n n bits

Partial 3-xor

  • n 3n/9 bits

Grover search

  • n a space of

size 24n/9 22n/9 elements 2n/9 elts with 2n/9

  • bit prefix

22n/9 3-xors

  • n 3n/9 bits

22n/9 elements 22n/9 elements 2n/9 elts with 2n/9

  • bit prefix

Time complexity: O

  • 22n/9

< O

  • 2n/4

Memory complexity: O

  • 22n/9

(QACM)

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 34/44

slide-40
SLIDE 40

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Theorem – with CSAM

Theorem If k > 2, k = 3, 5 and κ = ⌊log2(k)⌋, the best merging-tree quantum time exponent is: αk =

1 κ+1 if k < 2κ + 2κ−1 or αk = 2 2κ+3 if k ≥ 2κ + 2κ−1

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 35/44

slide-41
SLIDE 41

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Extended Quantum Merging

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 36/44

slide-42
SLIDE 42

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Merging with a single solution

All merges become trivial (no prefix): this is a simple collision search in time O

  • 2n/2

and memory O

  • 2n/2

. Merging is not enough! Single result L1 ⊲ ⊳0 L2

  • f size 2n/2

L1 of size 2n/4 L2 of size 2n/4 L3 ⊲ ⊳0 L4

  • f size 2n/2

L3 of size 2n/4 L4 of size 2n/4

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 37/44

slide-43
SLIDE 43

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Classical “extended” merging

We merge on an arbitrary prefix s (not 0), and we repeat the computation for all values of s. Subsumes Schroeppel and Shamir’s 4-list algorithm (next slide) and the Dissection technique Classically, this saves memory Quantumly, this reduces in addition the time complexity

Schroeppel and Shamir, “A T = O(2n/2), S = O(2n/4) Algorithm for Certain NP-Complete Problems”, SIAM 81 Dinur, Dunkelman, Keller, and Shamir, “Efficient Dissection of Composite Problems, with Applications to Cryptanalysis, Knapsacks, and Combinatorial Search Problems”, CRYPTO 12

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 38/44

slide-44
SLIDE 44

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Schroeppel and Shamir’s 4-list method

Loop over a chosen prefix s of n/4 bits. Time: O

  • 2n/2

and memory: O

  • 2n/4

. List “of size 2−n/4” L1 ⊲ ⊳n/4,s L2

  • f size 2n/4

L1 of size 2n/4 L2 of size 2n/4 L3 ⊲ ⊳n/4,s L4

  • f size 2n/4

L3 of size 2n/4 L4 of size 2n/4

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 39/44

slide-45
SLIDE 45

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

From classical to quantum

We loop over s (n/4 bits) and 1 ≤ i ≤ 2n/8, where i defines a choice of sublist: L3 =

1≤i≤2n/8 Li 3.

List “of size 2−3n/8” Find y ∈ L2 such that x ⊕ y = s|∗ Grover search x ∈ L1 L2 of size 2n/4 Li

3 ⊲

⊳n/4,s L4

  • f size 2n/8

Li

3 of size

2n/8 L4 of size 2n/4

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 40/44

slide-46
SLIDE 46

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Time complexity of this example

2(3n/8)/2

  • Grover: choice
  • f L′

3 and of s

  • 2n/8
  • Computation
  • f L′

3 ⊲

⊳n/4,s L4

+ 2(n/4)/2

  • Grover: search in

L1 for a match

  • = 25n/16 = 20.3125n < 2n/3

The best is k = 5 (or a multiple): 2(n/5)/2

  • Grover:

choice of s

  • 2n/5
  • Computation
  • f L4 ⊲

⊳n/5,s L5

+ 2(2n/5)/2

  • Grover: search in

L1 × L2 for a match

  • = 23n/10 = 20.3n < 2n/3
  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 41/44

slide-47
SLIDE 47

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

General comparison

4 6 8 10 12 14 16 0.25 0.3 0.35 0.4 k Complexity exponent Ambainis (SIAM 07)

  • r BJLM (PQCrypto 13)

This paper: 1

k k+⌈k/5⌉ 4

Ambainis, “Quantum Walk Algorithm for Element Distinctness”, SIAM 07 Bernstein, Jeffery, Lange, and Meurer, “Quantum Algorithms for the Subset-Sum Problem”, PQCrypto 13

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 42/44

slide-48
SLIDE 48

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Applications

Parity-check Problem: Improved k-list and approximate k-list algorithms for any target weight (many or few solutions) k-encryption: Best time complexity for k ≥ 2, time O

  • 20.3n

for 5-encryption Subset-sum: Best quantum time-memory product for dense knapsacks: O

  • 25n/12

by cutting into 12 lists (prev. 0.452 > 0.412) LPN: Building block in the c-sum-BKW algorithm of Esser et al. (CRYPTO 18); ex. N3

c time for an 8-sum with

Nc memory instead of N4

c

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 43/44

slide-49
SLIDE 49

Quantum (Generalized) Collisions Quantum Merging Extended Quantum Merging

Summary

(Optimal) quantum merging strategies for k-xor with any number of solutions ePrint report: 2019/501 (some code available to compute the best strategies)

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging 44/44

slide-50
SLIDE 50

Thank you.

  • M. Naya-Plasencia, A. Schrottenloher

Quantum Merging