International Association for Cryptologic Research

International Association
for Cryptologic Research

ASIACRYPT 2024

Reducing the Number of Qubits in Quantum Information Set Decoding


Clémence Chevignard
Univ Rennes, Inria, CNRS, IRISA, Rennes, France

Pierre-Alain Fouque
Univ Rennes, Inria, CNRS, IRISA, Rennes, France

André Schrottenloher
Univ Rennes, Inria, CNRS, IRISA, Rennes, France


Keywords: Prange’s Algorithm, Quantum Search, Information Set Decoding,Quantum Cryptanalysis.


Abstract

This paper presents an optimization of the memory cost of the quantum Information Set Decoding (ISD) algorithm proposed by Bernstein (PQCrypto 2010), obtained by combining Prange's ISD with Grover's quantum search.

When the code has constant rate and length n, this algorithm essentially performs a quantum search which, at each iteration, solves a linear system of dimension O(n). The typical code lengths used in post-quantum public-key cryptosystems range from 103 to 105. Gaussian elimination, which was used in previous works, needs O(n2) space to represent the matrix, resulting in millions or billions of (logical) qubits for these schemes.

In this paper, we propose instead to use the algorithm for sparse matrix inversion of Wiedemann (IEEE Trans. inf. theory 1986). The interest of Wiedemann's method is that one relies only on the implementation of a matrix-vector product, where the matrix can be represented in an implicit way. This is the case here.

We give two main trade-offs, which we have fully implemented, tested on small instances, and benchmarked for larger instances. The first one is a quantum circuit using O(n) qubits, O(n3) Toffoli gates like Gaussian elimination, and depth O(n2 log n). The second one is a quantum circuit using O(n log2 n) qubits, O(n3) gates in total but only O(n2 log2 n) Toffoli gates, which relies on a different representation of the search space.

As an example, for the smallest Classic McEliece parameters we estimate that the Quantum Prange's algorithm can run with 18098 qubits, while previous works would have required at least half a million qubits.

Publication

ASIACRYPT 2024

Paper

Artifact

Artifact number
asiacrypt/2024/a1

Artifact published
February 7, 2025

Badge
IACR Results Reproduced

README

ZIP (62 KB)  

View on Gitlab

License
This work is licensed under the MIT License.


BibTeX How to cite

Chevignard, C., Fouque, P.-A. & Schrottenloher, A. (2024). Reducing the Number of Qubits in Quantum Information Set Decoding. In: Chung, KM., Sasaki, Y. (eds) Advances in Cryptology — ASIACRYPT 2024. pp. 299—329. Lecture Notes in Computer Science, Vol. 15491. Springer, Singapore. https://doi.org/10.1007/978-981-96-0944-4_10. Artifact available at https://artifacts.iacr.org/asiacrypt/2024/a1.