Q-Embroidery: A Study on Weaving Quantum Error Correction into the Fabric of Quantum Classifiers
Avimita Chatterjee, Debarshi Kundu, Swaroop Ghosh
TL;DR
This paper tackles the challenge of protecting quantum classifiers from noise by integrating quantum error correction codes (QECCs) into classifier circuits. It systematically evaluates the Steane code and distance-3 and distance-5 surface codes on 1-qubit and 2-qubit classifiers trained on synthetic 2D and 4D data, across depolarizing, bit-flip, and phase-flip error models. The key finding is that the distance-5 surface code generally provides the strongest resilience, while the Steane code offers smaller gains and can outperform some surface-code configurations under certain noise patterns; importantly, QECCs mitigate degradation rather than inherently improving nominal accuracy. The results emphasize that QECC choice should consider error type, resource constraints, and target accuracy, providing practical guidance for deploying QECC-enhanced quantum classifiers in noisy devices and laying groundwork for scalable quantum ML architectures.
Abstract
Quantum computing holds transformative potential for various fields, yet its practical application is hindered by the susceptibility to errors. This study makes a pioneering contribution by applying quantum error correction codes (QECCs) for complex, multi-qubit classification tasks. We implement 1-qubit and 2-qubit quantum classifiers with QECCs, specifically the Steane code, and the distance 3 & 5 surface codes to analyze 2-dimensional and 4-dimensional datasets. This research uniquely evaluates the performance of these QECCs in enhancing the robustness and accuracy of quantum classifiers against various physical errors, including bit-flip, phase-flip, and depolarizing errors. The results emphasize that the effectiveness of a QECC in practical scenarios depends on various factors, including qubit availability, desired accuracy, and the specific types and levels of physical errors, rather than solely on theoretical superiority.
