Cited by 234Cryptographic Implementations and SecurityQuantum Computing Algorithms and ArchitectureQuantum Information and Cryptography

Implementing Grover Oracles for Quantum Key Search on AES and LowMC

Open access
Jaques, Samuel, Naehrig, Michael, Roetteler, Martin, Virdia, Fernando·2020·Lecture Notes in Computer Science

Abstract

Grover’s search algorithm gives a quantum attack against block ciphers by searching for a key that matches a small number of plaintext-ciphertext pairs. This attack uses \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$O(\sqrt{N})$$\end{document}O(N) calls to the cipher to search a key space of size N. Previous work in the specific case of AES derived the full gate cost by analyzing quantum circuits for the cipher, but focused on minimizing the number of qubits. In contrast, we study the cost of quantum key search attacks under a depth restriction and introduce techniques that reduce the oracle depth, even if it requires more qubits. As cases in point, we design quantum circuits for the block ciphers AES and LowMC. Our circuits give a lower overall attack cost in both the gate count and depth-times-width cost models. In NIST’s post-quantum cryptography standardization process, security categories are defined based on the concrete cost of quantum key search against AES. We present new, lower cost estimates for each category, so our work has immediate implications for the security assessment of post-quantum cryptography. As part of this work, we release Q# implementations of the full Grover oracle for AES-128, -192, -256 and for the three LowMC instantiations used in Picnic, including unit tests and code to reproduce our quantum resource estimates. To the best of our knowledge, these are the first two such full implementations and automatic resource estimations.

AI snapshot

Written from the paper’s full text.

TL;DR

The paper presents Q# implementations of full Grover oracles for AES-128/192/256 and the three LowMC instances used in Picnic, optimizing for depth under NIST’s MAXDEPTH rather than qubit width. It reports lower gate and depth-times-width costs than prior AES circuits and derives new, lower NIST security-category estimates, with an 11–13 bit gate-cost reduction.

Key findings

  • The authors release Q# implementations of the full Grover oracle for AES-128, -192, -256 and for the three LowMC instantiations used in Picnic, including unit tests and code to reproduce resource estimates; they state these are the first two such full implementations and automatic resource estimations.
  • Under a depth restriction, inner parallelization and depth-optimized circuits reduce costs: for AES-128 key search without a depth limit, G-cost is 1.34·2^83 gates and DW-cost is 1.75·2^86 qubit-cycles; with MAXDEPTH = 2^40, G-cost rises to 1.07·2^117 and DW-cost to 1.76·2^120, while with MAXDEPTH = 2^64, G-cost is 1.07·2^93.
  • For NIST categories, the paper reports a consistent gate-cost reduction of 11–13 bits: e.g. category 1 (AES-128) at MAXDEPTH = 2^40 is 1.07·2^117 versus NIST’s 2^130, and at MAXDEPTH = 2^64 is 1.07·2^93 versus 2^106; category 3 at 2^40 is 1.09·2^181 versus 2^193; category 5 at 2^40 is 1.39·2^245 versus 2^258. The exception is category 1 with MAXDEPTH = 2^96, where this work gives 1.34·2^83 versus NIST’s 2^74.
  • LowMC L1 can be broken with G-cost 1.25·2^123 in depth MAXDEPTH = 2^40, while the original NIST category 1 bound requires a scheme not to be broken by an attack using less than 2^130 gates; despite LowMC’s lower T-gate count, its large CNOT count leads to higher G-cost and DW-cost than AES when all gates are counted.

Methods

  • Design: Q# circuits for AES and LowMC using Clifford+T gates, AND gates, PLU decompositions for linear maps, in-place AES key expansion, and Maximov’s MixColumn; resource estimates are obtained automatically from the Q# compiler, with unit tests against Python/PyCryptodome and the LowMC C++ reference.
  • Grover analysis: key search uses r plaintext-ciphertext pairs, with spurious-key probabilities derived under pseudo-random permutation/function heuristics; under MAXDEPTH, the paper uses inner parallelization by dividing the key space and evaluates G-cost and depth-times-width (DW-cost) metrics.
  • Data/sample: AES-128/192/256 and the three LowMC parameter sets (128, 192, 256) used in Picnic; the main analysis is resource estimation from the Q# implementations and comparison to prior work and NIST formulas.

Limitations

  • Stated: the paper ignores layout and communication costs, assumes full parallelism and free rewiring, and notes that the Q# compiler cannot optimize small circuit variations; measurement-based gate counts are probabilistic because PRNG seeding is unsupported.
  • Stated: the LowMC implementation uses the original LowMC design and is suboptimal, and the authors defer a final conclusion on relative LowMC-vs-AES security until LowMC circuits are optimized to a similar extent.
  • Evident from the text: resource estimates depend on the specific Q# compiler/QDK versions and assumptions, and the security-category implications rely on heuristic block-cipher assumptions and chosen MAXDEPTH values rather than a modeled physical fault-tolerant architecture.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1007/978-3-030-45724-2_10

Cites

50 of 50 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

0 of 32 cited sources checked · 0 supported · 0 flagged

  • Findingown data
    § 1 Introduction · p. 3

    The paper's results for quantum key search on AES give a consistent gate cost reduction between 11 and 13 bits compared to previous estimates.

    “We see a consistent gate cost reduction between 11 and 13 bits, making it easier for submitters to claim a certain quantum security category.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • Findingreasoning
    § 2.2 Key search for a block cipher · p. 4

    For a single message block of length n, the probability that two different keys encrypt the same message to the same ciphertext is 2^{-n}.

    “It follows that for a single message block of length n , Pr K = K ′ ( C K ( m ) = C K ′ ( m )) = 2 -n .”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Under a fixed key K, the map m -> C_K(m) is a pseudo-random permutation; under a fixed message block m, the map K -> C_K(m) is a pseudo-random function.
  • Findingreasoning
    § 1 Introduction · p. 3

    Smaller numbers of plaintext-ciphertext blocks than those proposed by Grassl et al. are sufficient in Grover's oracle in the context of parallelization.

    “We also give a rigorous justification for the number of plaintext-ciphertext blocks needed in Grover's oracle in the context of parallelization. Smaller values than those proposed by Grassl et al. [GLRS16] are sufficient, as is also pointed out by Langenberg et al. [LPS19].”
    Quote in the paperSubstantial claim0 of 2 sources checked
    • cites [GLRS16]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [LPS19]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • Findingreasoning
    § 2.2 Key search for a block cipher · p. 5

    Choosing rn = k + 10 gives Pr(X = 0) approximately 0.999.

    “Thus we can choose r such that rn is slightly larger than k ; rn = k +10 gives Pr( X = 0) ≈ 0 . 999.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Under a fixed key K, the map m -> C_K(m) is a pseudo-random permutation; under a fixed message block m, the map K -> C_K(m) is a pseudo-random function.
  • Findingreasoning
    § 1 Introduction · p. 3

    Favoring lower depth at the cost of a slightly larger width in the oracle circuit leads to costs that are smaller in both metrics than for the circuits presented in [GLRS16], [ASAM18] and [LPS19].

    “Favoring lower depth at the cost of a slightly larger width in the oracle circuit leads to costs that are smaller in both metrics than for the circuits presented in [GLRS16], [ASAM18] and [LPS19].”
    Quote in the paperNot a substantial claim0 of 3 sources checked
    • cites [GLRS16]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [ASAM18]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [LPS19]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • May combine two claims. 44
  • The quote only partly states this claim. 1
  • Classified as probably not a substantial claim. 19
  • May combine two claims.

    Findingown data
    § Implementing Grover oracles for quantum key search on AES and LowMC · p. 1

    The paper releases Q# implementations of the full Grover oracle for AES-128, -192, -256 and for the three LowMC instantiations used in Picnic, including unit tests and code to reproduce quantum resource estimates.

    “As part of this work, we release Q# implementations of the full Grover oracle for AES-128, -192, -256 and for the three LowMC instantiations used in Picnic, including unit tests and code to reproduce our quantum resource estimates.”
    Quote in the paperSubstantial claim
  • The quote only partly states this claim.

    Findingreasoning
    § Implementing Grover oracles for quantum key search on AES and LowMC · p. 1

    The paper's circuits for AES and LowMC give a lower overall attack cost in both the gate count and depth-times-width cost models than previous circuits.

    “Our circuits give a lower overall attack cost in both the gate count and depth-times-width cost models.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • May combine two claims.

    Findingreasoning
    § 1 Introduction · p. 3

    The paper's work results in the most shallow quantum implementation of AES proposed so far, and the first ever for LowMC.

    “To the best of our knowledge, our work results in the most shallow quantum implementation of AES proposed so far, and the first ever for LowMC.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • May combine two claims.

    Findingown data
    § Implementing Grover oracles for quantum key search on AES and LowMC · p. 1

    The paper presents new, lower cost estimates for each NIST security category, with implications for the security assessment of post-quantum cryptography.

    “We present new, lower cost estimates for each category, so our work has immediate implications for the security assessment of post-quantum cryptography.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [NIS16]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • May combine two claims.

    Findingreasoning
    § 4.1 S-box, ByteSub and SubByte · p. 14

    The results obtained here differ from [LPS19, §3.2] due to difference in counting gates and depth: [LPS19] counts Toffoli gates, while the Q# resource estimator costs at a lower level of T gates and also counts all gates needed to implement a Toffoli gate.

    “Note that the results obtained here differ from the ones presented in [LPS19, § 3.2]. This is due to the difference in counting gates and depth. While [LPS19] counts Toffoli gates, the Q# resource estimator costs at a lower level of T gates and also counts all gates needed to implement a Toffoli gate.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites LPS19

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • Probably not a substantial claim: may not pass S4 (based). May combine two claims.

    Findingnone given
    § 3.1 Assumptions about the fault-tolerant gate set and architecture · p. 8

    A single oracle circuit uses relatively few logical qubits (< 2^20), so layout and communication costs are unlikely to dominate.

    “A single oracle circuit uses relatively few logical qubits ( &lt; 2 20 ), so these costs are unlikely to dominate.”
    Quote in the paperNot a substantial claim
    • The authors state this as an assumption: Layout and communication costs for the Grover oracle circuit are ignored.
  • May combine two claims.

    Findingown data
    § 4.3 MixColumn · p. 15

    Without a depth restriction, it seems advantageous to use the in-place MixColumn version to minimize both G-cost and DW-cost; for a depth restricted setting, Maximov's circuit seems better due to the square in the depth term in Equation (10).

    “Our experiments show that without a depth restriction, it seems advantageous to use the in-place version to minimize both G -cost and DW -cost metrics, while for a depth restricted setting, Maximov's circuit seems better due to the square in the depth term in Equation (10).”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingreasoning
    § 3.4 Cost metrics for quantum circuits · p. 13

    For LowMC-128, 192, and 256, the minimum depths are 2^{41.1} c_s, 2^{59.8} c_s, and 2^{76.4} c_s, respectively.

    “For LowMC-128, 192, and 256 the minimum depths are respectively 2 41 . 1 c s , 2 59 . 8 c s and 2 76 . 4 c s .”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingnone given
    § 4.5 KeyExpansion · p. 15

    Our proposed key expansion minimizes width by not requiring ancilla qubits at all, and reduces depth compared to naive key expansion using ancilla qubits for all key bits.

    “Instead, we propose to minimize width by not requiring ancilla qubits at all. At the same time, we are able to reduce the depth in comparison with the naive key expansion using ancilla qubits for all key bits as described above.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingreasoning
    § 2.2 Key search for a block cipher · p. 5

    In the case k = rn, the probability for a unique K is approximately 1/e ≈ 0.3679, and the probability of exactly one spurious key is the same.

    “The probability for a unique K is Pr( X = 0) ≈ 1 /e ≈ 0 . 3679, and the probability of exactly one spurious key is the same.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Under a fixed key K, the map m -> C_K(m) is a pseudo-random permutation; under a fixed message block m, the map K -> C_K(m) is a pseudo-random function.
  • Probably not a substantial claim: may not pass S4 (based).

    Findingnone given
    § 4.5 KeyExpansion · p. 15

    Key expansion is one of the two sources of T gates in the design of AES.

    “Key expansion is one of the two sources of T gates in the design of AES, and hence might have a strong impact on the overall efficiency of the circuit.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingcitation
    § 4.3 MixColumn · p. 15

    Maximov's MixColumn circuit has a much lower depth, does not reduce T-depth (which is already 0), and comes at the cost of increased width.

    “Maximov's circuit has a much lower depth, but it only reduces the total depth, does not reduce the T-depth (which is already 0) and comes at the cost of an increased width.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites Max19

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Findingreasoning
    § 2.2 Key search for a block cipher · p. 5

    If rn < k, then K is almost certainly not unique; even rn = k - 3 gives less than a 1% chance of a unique key.

    “If rn &lt; k , then K is almost certainly not unique. Even rn = k -3 gives less than a 1% chance of a unique key.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Under a fixed key K, the map m -> C_K(m) is a pseudo-random permutation; under a fixed message block m, the map K -> C_K(m) is a pseudo-random function.
  • May combine two claims.

    Findingreasoning
    § 3.4 Cost metrics for quantum circuits · p. 13

    For AES-128, 192, and 256, the minimum depths are 2^{40.2} c_s, 2^{56.2} c_s, and 2^{72.3} c_s, respectively.

    “For AES-128, 192 and 256 this implies minimum depths of 2 40 . 2 c s , 2 56 . 2 c s and 2 72 . 3 c s , respectively.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingreasoning
    § 4.5 KeyExpansion · p. 17

    Our approach to key expansion works completely in place and reduces width and depth at the same time, in contrast to [LPS19] which uses ancilla qubits for round keys.

    “While their method is based on the one in [GLRS16] using ancilla qubits for the round keys, our approach works completely in place and reduces width and depth at the same time.”
    Quote in the paperSubstantial claim0 of 2 sources checked
    • cites LPS19

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites GLRS16

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Findingown data
    § 4.6 Round, FinalRound and full AES · p. 17

    For AES-128 and AES-192, G_D G_W is smaller for the in-place MixColumn implementation, while G_D^2 G_W is smaller for Maximov's circuit.

    “While for AES-128 and AES-192, G D G W is smaller for the in-place implementation, G 2 D G W is smaller for Maximov's circuit.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given
    § 4.1 S-box, ByteSub and SubByte · p. 13

    The S-box is the only source of T gates in a quantum circuit of AES.

    “The S-box is the only source of T gates in a quantum circuit of AES.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § 6.1 Grover oracles · p. 23

    Using r=3 for AES-256 guarantees a unique key with overwhelming probability; the probability of no spurious keys is 1-ε with ε < 2^-128.

    “The explicit computation of the probabilities in Equation (1) shows that it using r = 2 for AES-128, r = 2 for AES-192 and r = 3 for AES-256 will guarantee a unique key with overwhelming probability. The probabilities that there are no spurious keys are 1 -ϵ , where ϵ &lt; 2 -128 , ϵ &lt; 2 -64 and ϵ &lt; 2 -128 , respectively.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 6.2 Cost estimates for block cipher key search · p. 27

    LowMC L1 can be broken with an attack having G-cost 1.25·2^123 in depth MAXDEPTH=2^40, while the original NIST bound in category 1 requires a scheme to not be broken by an attack using less than 2^130 gates.

    “For example, LowMC L1 can be broken with an attack having G -cost 1 . 25 · 2 123 in depth MAXDEPTH = 2 40 , while the original NIST bound in category 1 requires a scheme to not be broken by an attack using less than 2 130 gates.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 6.2 Cost estimates for block cipher key search · p. 25

    The DW-cost is better in our work as we increase width by factors less than 4 and simultaneously reduce depth by more than that.

    “The same holds for the DW -cost as we increase the width by factors less than 4 and simultaneously reduce the depth by more than that.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given
    § 7 Future work · p. 27

    For AES-128 under MAXDEPTH = 2^96, the attack does not require any parallelization.

    “Note that AES-128 under MAXDEPTH = 2 96 is a special case as the attack does not require any parallelization and its cost is underestimated by the approximation.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data
    § D Placeholder S-box · p. 34

    Costing the T depth of the dummy AES operation (with the placeholder S-box) returns the expected value of 2 × # of rounds × d, where d is the depth of the dummy S-box.

    “Costing the T depth of the resulting dummy AES operation returns the expected value of 2 × # of rounds × d , where d is the depth of the dummy S-box.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given
    § 3.2 Automated resource estimation and unit tests · p. 9

    The Q# compiler is currently unable to optimize a given circuit by searching through small circuit variations that may result in functionally the same operation at a smaller cost.

    “We also note that the compiler is currently unable to optimize a given circuit by, e.g., searching through small circuit variations that may result in functionally the same operation at a smaller cost (say by allowing better use of the circuit area).”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning
    § 3.2 Automated resource estimation and unit tests · p. 9

    The AND and Toffoli gate designs chosen use measurements, hence CNOT, 1-qubit Clifford, measurement and depth counts are probabilistic.

    “The AND and Toffoli gate designs we chose use measurements, hence CNOT, 1-qubit Clifford, measurement and depth counts are probabilistic.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § 5.4 Round and LowMC · p. 22

    The full LowMC encryption circuit for L5 has #CNOT 5070324, #1qCliff 14274, #T 15960, #M 0, T-depth 76, full depth 693471, and width 1915.

    “| LowMC L5 | 5070324 | 14274 | 15960 | 0 | 76 | 693471 | 1915 |”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § 5.4 Round and LowMC · p. 22

    The full LowMC encryption circuit for L3 has #CNOT 2271870, #1qCliff 9398, #T 12600, #M 0, T-depth 60, full depth 319317, and width 1483.

    “| LowMC L3 | 2271870 | 9398 | 12600 | 0 | 60 | 319317 | 1483 |”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning
    § 3.2 Automated resource estimation and unit tests · p. 9

    For the Q# simulator to run, they are required to use the Microsoft QDK standard library's Toffoli gate for evaluating both Toffoli and AND gates, resulting in deeper than necessary circuits.

    “For the Q# simulator to run, we are required to use the Microsoft QDK standard library's Toffoli gate for evaluating both Toffoli and AND gates, which results in deeper than necessary circuits.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning
    § 3.2 Automated resource estimation and unit tests · p. 9

    They have to explicitly SWAP values across wires, costing 3 CNOT gates, rather than keeping track of free rewiring.

    “We also have to explicitly SWAP values across wires, which costs 3 CNOT gates, rather than simply keeping track of the necessary free rewiring.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § 5.4 Round and LowMC · p. 22

    The full LowMC encryption circuit for L1 has #CNOT 689944, #1qCliff 4932, #T 8400, #M 0, T-depth 40, full depth 98699, and width 991.

    “| LowMC L1 | 689944 | 4932 | 8400 | 0 | 40 | 98699 | 991 |”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § 6.1 Grover oracles · p. 23

    Using r=2 for AES-128 guarantees a unique key with overwhelming probability; the probability of no spurious keys is 1-ε with ε < 2^-128.

    “The explicit computation of the probabilities in Equation (1) shows that it using r = 2 for AES-128, r = 2 for AES-192 and r = 3 for AES-256 will guarantee a unique key with overwhelming probability. The probabilities that there are no spurious keys are 1 -ϵ , where ϵ &lt; 2 -128 , ϵ &lt; 2 -64 and ϵ &lt; 2 -128 , respectively.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 6.1 Grover oracles · p. 23

    Using r=2 for AES-192 guarantees a unique key with overwhelming probability; the probability of no spurious keys is 1-ε with ε < 2^-64.

    “The explicit computation of the probabilities in Equation (1) shows that it using r = 2 for AES-128, r = 2 for AES-192 and r = 3 for AES-256 will guarantee a unique key with overwhelming probability. The probabilities that there are no spurious keys are 1 -ϵ , where ϵ &lt; 2 -128 , ϵ &lt; 2 -64 and ϵ &lt; 2 -128 , respectively.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 5.1 S-box and S-boxLayer · p. 20

    The LowMC S-box can be implemented in-place with depth 5 and T-depth 3, or out-of-place with T-depth 1.

    “a simple in-place implementation with depth 5 (T-depth 3) is shown in Figure 5, alongside a T-depth 1 out-of-place circuit, both of which were produced manually.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingnone given
    § 6.1 Grover oracles · p. 24

    Even without parallelization, more than 2 plaintext-ciphertext pairs are never required for AES-128 and AES-192, and 4 or more pairs are never required for AES-256.

    “Even without parallelization, more than 2 pairs are never required for AES-128 and AES-192. The same holds for 4 or more pairs for AES-256.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given
    § 5.2 LinearLayer, ConstantAddition and AffineLayer · p. 21

    The in-place LowMC S-box design requires ancilla qubits as part of the concrete CCNOT implementation.

    “We note that the in-place design does require ancilla qubits as part of the concrete CCNOT implementation.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Findingreasoning
    § 3.2 Automated resource estimation and unit tests · p. 9

    The Q# Toffoli simulator does not currently support PRNG seeding for de-randomizing measurements, so estimating circuits may result in slightly different numbers.

    “The Q# Toffoli simulator does not currently support PRNG seeding for de-randomizing the measurements, 8 which means that estimating differently sized circuits with the same or similar depth (or re-estimating the same circuit multiple times) may result in slightly different numbers.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning
    § 7 Future work · p. 27

    For AES-128 under MAXDEPTH = 2^96, its cost is underestimated by the approximation.

    “Note that AES-128 under MAXDEPTH = 2 96 is a special case as the attack does not require any parallelization and its cost is underestimated by the approximation.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationreasoning
    § 1 Introduction · p. 3

    Grover's algorithm does not parallelize well, meaning that minimizing depth rather than width is crucial to make the most out of the available depth.

    “Grover's algorithm does not parallelize well, meaning that minimizing depth rather than width is crucial to make the most out of the available depth.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation
    § Implementing Grover oracles for quantum key search on AES and LowMC · p. 1

    Previous work in the specific case of AES derived the full gate cost by analyzing quantum circuits for the cipher, but focused on minimizing the number of qubits.

    “Previous work in the specific case of AES derived the full gate cost by analyzing quantum circuits for the cipher, but focused on minimizing the number of qubits.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [GLRS16]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Premisecitation
    § 4.2 ShiftRow and RotByte · p. 14

    ShiftRow is a permutation on the full 128-bit AES state and can be entirely encoded as rewiring.

    “ShiftRow is a permutation on the full 128-bit AES state, happening across its four words [DR99, § 4.2.2]. As a permutation of qubits, it can be entirely encoded as rewiring.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites DR99

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given
    § 3.4 Cost metrics for quantum circuits · p. 12

    The total distance any signal must travel in the assumed H-tree network is proportional to sqrt(S).

    “The total distance any signal must travel is proportional to the square root of the size of this tree, i.e. √ S .”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationreasoning
    § 3.4 Cost metrics for quantum circuits · p. 12

    For two oracle circuits G and F, total G-cost is lower for G if and only if G_D G_G < F_D F_G; i.e., one wishes to minimize the product G_D G_G.

    “It follows that for two oracle circuits G and F , the total G -cost is lower for G if and only if G D G G &lt; F D F G . That is, we wish to minimize the product G D G G .”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisecitation
    § 2.3 Parallelization · p. 7

    In both outer and inner parallelization, one obtains only a factor sqrt(S) gain in the number of Grover iterations when working with S parallel Grover oracles, and this is asymptotically optimal.

    “Zalka [Zal99] concludes that in both cases, one only obtains a factor S gain in the number of Grover iterations when working with S parallel Grover oracles, and that this is asymptotically optimal.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [Zal99]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • May combine two claims.

    Interpretationreasoning
    § 3.4 Cost metrics for quantum circuits · p. 12

    It holds that p/c_p < 1.45, so (pC/(c_p G_G))^2 < 2.11, and for p=1, (pC/(c_p G_G))^2 = 16/π^2 · C^2/G_G^2 ≈ 1.62 · C^2/G_G^2 ≤ 1.62.

    “It holds that p/c p &lt; 1 . 45, so ( pC/ ( c p G G )) 2 &lt; 2 . 11 and for p = 1, we have ( pC/ ( c p G G )) 2 = 16 /π 2 · C 2 / G 2 G ≈ 1 . 62 · C 2 / G 2 G ≤ 1 . 62.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation
    § 3.3 Reversible circuits for linear maps · p. 9

    The lower- and upper-triangular components L and U of the PLU decomposition can be implemented with CNOT gates, while the final permutation P requires no quantum gates and is realized by rewiring.

    “The lower- and upper-triangular components L and U of the decomposition can be implemented as described above by using the appropriate CNOT gates, while the final permutation P does not require any quantum gates and instead, is realized by appropriately keeping track of the necessary rewiring.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationcitation
    § 2.3 Parallelization · p. 7

    Dividing the search space separates spurious keys into different subsets and reduces the search problem to finding a unique key, allowing reduction of the number r of message blocks in the Grover oracle.

    “Another advantage of inner parallelization is that dividing the search space separates any spurious keys into different subsets and reduces the search problem to finding a unique key. This allows us to reduce the number r of message blocks in the Grover oracle and was already observed by Kim, Han, and Jeong [KHJ18] in the context of measure-and-repeat methods.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [KHJ18]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
  • May combine two claims.

    Interpretationreasoning
    § 4.6 Round, FinalRound and full AES · p. 17

    When optimizing the DW-cost metric with a depth restriction, Maximov's circuit should be preferred; if there is no depth restriction, the in-place design leads to a lower DW-cost.

    “Hence, § 2.3 indicates that when optimizing the DW -cost metric with depth restriction, Maximov's circuit should be preferred. If there is no depth restriction, though, the in-place design leads to a lower DW -cost.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductcitation
    § 3.1 Assumptions about the fault-tolerant gate set and architecture · p. 8

    All quantum circuits for AES and LowMC described in the paper were designed, tested, and costed in the Q# programming language.

    “All quantum circuits for AES and LowMC described in this paper were designed, tested, and costed in the Q# programming language [SGT + 18], which supports all assumptions discussed here.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [SGT + 18]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • The authors state this as an assumption: Full parallelism holds: a quantum circuit can apply any number of gates simultaneously so long as these gates act on disjoint sets of qubits.
  • May combine two claims.

    Interpretationreasoning
    § 2.3 Parallelization · p. 7

    High parallelization makes spurious keys irrelevant, and the Grover oracle can use the smallest r such that SKP(k,n,r,S) is still small enough.

    “In general, high parallelization makes spurious keys irrelevant, and the Grover oracle can simply use the smallest r such that SKP( k, n, r, S ) is still small enough, i.e. less than a desired bound.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.
    • The authors state this as an assumption: MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.
    • The authors state this as an assumption: The overall attack strategy is guaranteed to return a solution with high probability close to 1 within the given depth bound.
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisenone given
    § 4.2 ShiftRow and RotByte · p. 14

    RotByte is a circular left shift of a word by 8 bits and can be implemented by appropriate rewiring.

    “Similarly, RotByte is a circular left shift of a word by 8 bits, and can be implemented by appropriate rewiring as well.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation
    § 2.2 Key search for a block cipher · p. 5

    Kim et al. describe the success probability after a certain number of Grover iterations when the number of spurious keys is unknown; the optimal number of iterations gives a maximum success probability of 0.556.

    “Kim et al. [KHJ18, Equation (7)] describe the success probability after a certain number of Grover iterations when the number of spurious keys is unknown. The optimal number of iterations gives a maximum success probability of 0 . 556, making it likely that the first attempt will not find the correct key and one must repeat the algorithm.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [KHJ18]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Interpretationown data
    § 4.7 T depth. · p. 17

    The Q# compiler found non-trivial parallelization between components of the S-box and the surrounding circuit, as evidenced by a dummy AES design having the expected T-depth.

    “This 'dummy' AES design had the expected T-depth of 2 n · d . Thus we believe the Q# compiler found non-trivial parallelization between components of the S-box and the surrounding circuit.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisecitation
    § 4.4 AddRoundKey · p. 15

    AddRoundKey performs a bitwise XOR of a round key to the internal AES state and can be realized with a parallel application of 128 CNOT gates.

    “AddRoundKey performs a bitwise XOR of a round key to the internal AES state and can be realized with a parallel application of 128 CNOT gates, controlled on the round key qubits and targeted on the state qubits.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisenone given
    § 5.1 S-box and S-boxLayer · p. 20

    For LowMC inside Picnic, the full S-boxLayer consists of 10 parallel S-boxes run on the 30 low order bits of the state.

    “In the case of LowMC inside of Picnic, the full S-boxLayer consists of 10 parallel S-boxes run on the 30 low order bits of the state.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationcitation
    § 5 A quantum circuit for LowMC · p. 20

    Studying the original LowMC design results in a sub-optimal circuit, which can be improved by porting the more recent version from [DKP+19].

    “This results in a sub-optimal circuit, which can clearly be improved by porting the more recent version from [DKP + 19] instead.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites DKP+19

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Premisereasoning
    § 5.3 KeyExpansion and KeyAddition · p. 22

    For Picnic, all KM_i matrices are invertible, so PLU decomposition can be used for KeyExpansion.

    “Again, for Picnic, just like the matrices used in the LinearLayer transformation, all KM i are invertible. Hence, we can use a PLU decomposition again.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Study design and conductnone given
    § 6.2 Cost estimates for block cipher key search · p. 27

    Our results for each specific setting incorporate the reduction of plaintext-ciphertext pairs through parallelization, provide the correct cost if parallelization is not necessary, and use improved circuit designs.

    “Our results for each specific setting incorporate the reduction of plaintext-ciphertext pairs through parallelization, provide the correct cost if parallelization is not necessary and use improved circuit designs.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisenone given
    § 5 A quantum circuit for LowMC · p. 20

    Picnic proposes three parameter sets with (key size, block size) ∈ {(128,128), (192,192), (256,256)}.

    “In particular, Picnic proposes three parameter sets, with (key size , block size) ∈ { (128 , 128) , (192 , 192) , (256 , 256) } .”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given
    § 6.2 Cost estimates for block cipher key search · p. 26

    The NIST cost formula does not take into account that parallelization often allows reducing the number of required plaintext-ciphertext pairs, resulting in a G-cost reduction for search in each parallel Grover instance by a factor larger than x.

    “The above formula does not take into account that parallelization often allows us to reduce the number of required plaintext-ciphertext pairs, resulting in a G -cost reduction for search in each parallel Grover instance by a factor larger than x .”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisereasoning
    § 5.2 LinearLayer, ConstantAddition and AffineLayer · p. 20

    In Picnic, for every round and every parameter set, all LinearLayer matrices are invertible, so matrix multiplication can be implemented via a PLU decomposition.

    “In Picnic, for every round and every parameter set, all LinearLayer matrices are invertible (due to LowMC's specification requirements), and hence the matrix multiplication can be implemented via a PLU decomposition.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationcitation
    § 6.1 Grover oracles · p. 23

    If a success probability lower than 1 is acceptable, r=ceil(k/n) plaintext-ciphertext pairs suffice; specifically r=1 for AES-128, r=2 for AES-192, and r=2 for AES-256.

    “If one is content with a success probability lower than 1, it suffices to use r = ⌈ k/n ⌉ blocks of plaintext-ciphertext pairs. In this case, it is enough to use r = 1 for AES-128, r = 2 for AES-192 and r = 2 for AES-256.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites LPS19

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

60 of 60
  • The authors state this as an assumption.

    Under a fixed key K, the map m -> C_K(m) is a pseudo-random permutation; under a fixed message block m, the map K -> C_K(m) is a pseudo-random function.

    “We assume that under a fixed key K , the map { 0 , 1 } n →{ 0 , 1 } n , m ↦→ C K ( m ) is a pseudo-random permutation; and under a fixed message block m , the map { 0 , 1 } k → { 0 , 1 } n , K ↦→ C K ( m ) is a pseudo-random function.”
  • The authors state this as an assumption.

    Any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.

    “In this work, we assume that any quantum adversary is bounded by a constraint on its total depth for running a quantum circuit.”
  • The authors state this as an assumption.

    MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.

    “We do assume that MAXDEPTH constitutes a hard upper bound on the total depth of a quantum attack, including possible repetitions of a Grover instance.”
  • The authors state this as an assumption.

    The overall attack strategy is guaranteed to return a solution with high probability close to 1 within the given depth bound.

    “We consider it reasonable to expect that the overall attack strategy is guaranteed to return a solution with high probability close to 1 within the given depth bound.”
  • The authors state this as an assumption.

    Full parallelism holds: a quantum circuit can apply any number of gates simultaneously so long as these gates act on disjoint sets of qubits.

    “We make the standard assumption of full parallelism , meaning that a quantum circuit can apply any number of gates simultaneously so long as these gates act on disjoint sets of qubits [BBG + 13,GR03].”
  • The authors state this as an assumption.

    Layout and communication costs for the Grover oracle circuit are ignored.

    “We ignore all concerns of layout and communication costs for the Grover oracle circuit.”
  • The authors state this as an assumption.

    Parallelization of Grover's algorithm uses inner parallelization via splitting up the search space.

    “This necessarily means that we must include parallelization, which we assume to use inner parallelization via splitting up the search space, see § 2.3.”
    “Imposing a depth limit forces the parallelization of Grover's algorithm, which we assume uses inner parallelization, see § 2.3.”
7 of 7

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Jaques, S., Naehrig, M., Roetteler, M., & Virdia, F.
Affiliations
  • University of Oxford (GB)
  • Microsoft (United States) (US)
  • Royal Holloway University of London (GB)
Corresponding author
  • Jaques, Samuel
  • Naehrig, Michael
Venue
Lecture Notes in Computer Science
Published
2020
Pages
280-310
ISSN
  • 0302-9743 (ISSN-L)
  • 1611-3349
OpenAlex
W2979004593
Cited by
234
References
48
Citations by year
2026: 27 · 2025: 36 · 2024: 47 · 2023: 38 · 2022: 33 · 2021: 31 · 2020: 19 · 2019: 2
FWCI
11.54
Type
conference paper
Language
en
Open access
Locations
  • Lecture notes in computer science (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • Microsoft Research
  • Government of the United Kingdom
  • University of Oxford
  • Engineering and Physical Sciences Research Council (EP/P009301/1)
  • Royal Holloway, University of London (EP/P009301/1)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Cryptographic Implementations and Security
  • Physical Sciences › Computer Science › Artificial Intelligence › Quantum Computing Algorithms and Architecture
  • Physical Sciences › Computer Science › Artificial Intelligence › Quantum Information and Cryptography
Keywords
Grover's algorithm, AES, block cipher, quantum circuit design, circuit depth, gate count, post-quantum cryptography, picnics, quantum resource estimation

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-23.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-23.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review