English

Quantum-Classical Hybrid Algorithm for Solving the Learning-With-Errors Problem on NISQ Devices

Quantum Physics 2025-12-30 v2 Mathematical Physics math.MP

Abstract

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)m(m+1), where mm 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 22-dimensional LWE problem on a 55-qubit quantum device, demonstrating its potential for solving meaningful LWE instances on near-term quantum devices.

Keywords

Cite

@article{arxiv.2408.07936,
  title  = {Quantum-Classical Hybrid Algorithm for Solving the Learning-With-Errors Problem on NISQ Devices},
  author = {Muxi Zheng and Jinfeng Zeng and Wentao Yang and Pei-Jie Chang and Quanfeng Lu and Bao Yan and Haoran Zhang and Min Wang and Shijie Wei and Gui-Lu Long},
  journal= {arXiv preprint arXiv:2408.07936},
  year   = {2025}
}