Efficient Quantum Convolutional Neural Networks for Image Classification: Overcoming Hardware Constraints
Peter Röseler, Oliver Schaudt, Helmut Berg, Christian Bauckhage, Matthias Koch
TL;DR
This work tackles hardware constraints in quantum convolutional neural networks (QCNNs) for image classification by introducing a compact fragment-encoding scheme that enables fully quantum processing of $28\times28$ MNIST images with as few as 49 qubits, and by deploying an automated PQC design framework guided by expressibility, entanglement, and circuit complexity. Bayesian optimization is used to construct an efficient classical CNN baseline and to discover PQC ansätze that balance expressiveness and resource cost. The study contrasts hybrid and fully quantum QCNN architectures, showing that a regular QCNN with fragment encoding and WUE embedding can outperform a classical CNN on a binary task and can achieve strong hardware-validated performance on IBM’s Heron quantum processor ($96.08\%$ accuracy on 0 vs 1). The results underscore potential quantum advantages in practical ML tasks on near-term devices and point to scalable quantum encoding and circuit-design strategies for future larger-scale QCNNs.
Abstract
While classical convolutional neural networks (CNNs) have revolutionized image classification, the emergence of quantum computing presents new opportunities for enhancing neural network architectures. Quantum CNNs (QCNNs) leverage quantum mechanical properties and hold potential to outperform classical approaches. However, their implementation on current noisy intermediate-scale quantum (NISQ) devices remains challenging due to hardware limitations. In our research, we address this challenge by introducing an encoding scheme that significantly reduces the input dimensionality. We demonstrate that a primitive QCNN architecture with 49 qubits is sufficient to directly process $28\times 28$ pixel MNIST images, eliminating the need for classical dimensionality reduction pre-processing. Additionally, we propose an automated framework based on expressibility, entanglement, and complexity characteristics to identify the building blocks of QCNNs, parameterized quantum circuits (PQCs). Our approach demonstrates advantages in accuracy and convergence speed with a similar parameter count compared to both hybrid QCNNs and classical CNNs. We validated our experiments on IBM's Heron r2 quantum processor, achieving $96.08\%$ classification accuracy, surpassing the $71.74\%$ benchmark of traditional approaches under identical training conditions. These results represent one of the first implementations of image classifications on real quantum hardware and validate the potential of quantum computing in this area.
