Quantum-classical hybrid algorithm for solving the learning-with-errors problem on NISQ devices
The Learning-With-Errors (LWE) problem is a fundamental computational challenge with implications for post-quantum cryptography and computational learning theory. Here we propose a quantum-classical hybrid algorithm with Ising model to address LWE, transforming it into the Shortest Vector Problem and using variable qubits to encode lattice vectors into an Ising Hamiltonian. By identifying low-energy Hamiltonian levels, the solution is extracted, making the method suitable for noisy intermediate-scale quantum devices. The required number of qubits is less than m(m + 1), where m is the number of samples. Our heuristic algorithm’s time complexity depends on the specific quantum eigensolver used to find low-energy levels, and the performance when using the Quantum Approximate Optimization Algorithm is investigated. We validate the algorithm by solving a 2-dimensional LWE problem on a 5-qubit quantum device, demonstrating its potential for solving meaningful LWE instances on near-term quantum devices. Evaluating the security of post-quantum cryptography is critically important to ensure resilience against quantum attacks. In this paper, the authors study a complex computational task at the heart of post-quantum cryptography with a hybrid quantum-classical algorithm, heuristically finding some advantages.
Authors
- Yan Bao (ORCID: https://orcid.org/0000-0002-0904-4443)
- Jinfeng Zeng (ORCID: https://orcid.org/0000-0002-7267-312X)
- Haoran Zhang (ORCID: https://orcid.org/0000-0001-6261-038X)
- Min Wang (ORCID: https://orcid.org/0000-0002-3436-4246)
- Wentao Yang (ORCID: https://orcid.org/0000-0002-4496-0631)
- Muxi Zheng
- Quanfeng Lu
- Shijie Wei (ORCID: https://orcid.org/0000-0001-8312-1198)
- Gui‐Lu Long (ORCID: https://orcid.org/0000-0002-9023-1579)
- Pei-Jie Chang
Institutions
- Nanyang Technological University (SG)
- Beijing Academy of Quantum Information Sciences (CN)
- National Engineering Research Center for Information Technology in Agriculture (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- Communications Physics
- Published
- 2025-05-20
- DOI
- https://doi.org/10.1038/s42005-025-02126-w
- Citations
- 2
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- article
- Field-Weighted Citation Impact
- 4.96
Funders
- National Natural Science Foundation of China
- Beijing Nova Program