Learning Better Error Correction Codes with Hybrid Quantum-Assisted Machine Learning
Yariv Yanay
TL;DR
Problem: designing QECCs with favorable scaling and device-specific error resilience. Approach: a hybrid classical-quantum loop that uses Quantum Lego to build stabilizer codes and evaluates them on real quantum devices via a cost based on $p_{\rm ND}$, complemented by simulations with STIM. Key findings: Clifford simulations achieve up to 97% and 85% reductions in uncorrected error for isotropic and biased noise, while real-device noise raises $p_{\rm ND}$ with code size; renormalization methods using $ \log \mathcal{F}_{\rm ex} = c_q N_q + c_1 N_1 + c_2 N_2$ enable meaningful improvements, e.g., a 7-qubit code on Quantinuum with 45% gain and a 6-qubit code on IBM with 99.8% gain. Significance: demonstrates a practical route to discovering device-tailored QECCs beyond conventional architectures and highlights the potential of hybrid quantum-assisted optimization as hardware improves.
Abstract
Quantum error correction is one of the fundamental building blocks of digital quantum computation. The Quantum Lego formalism has introduced a systematic way of constructing new stabilizer codes out of basic lego-like building blocks, which in previous work we have used to generate improved error correcting codes via an automated reinforcement learning process. Here, we take this a step further and show the use of a hybrid classical-quantum algorithm. We combine classical reinforcement learning with calls to two commercial quantum devices to search for a stabilizer code to correct errors specific to the device, as well as an induced photon loss error.
