NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantum convolutional neural network for classical data classification

Tak Hur, Leeseok Kim, Daniel K. ParkQuantum Mach. Intell 2022

Abstract

This paper benchmarks fully parameterized Quantum Convolutional Neural Networks (QCNNs) for classical image classification. By utilizing shallow-depth circuits and two-qubit interactions, the researchers demonstrate that QCNNs can achieve up to 99% accuracy on MNIST with as few as 12 to 51 parameters. This performance suggests that QCNNs can outperform classical CNNs under similar parameter constraints, making them a promising candidate for near-term Noisy Intermediate-Scale Quantum (NISQ) devices.

Introduction

Classical Convolutional Neural Networks (CNNs) are the gold standard for image recognition but require significant computational resources as data volume scales. Quantum Machine Learning (QML) offers a potential path to transcend these limits. However, most existing QCNN proposals focus on quantum-native data or require fault-tolerant quantum computers. This study addresses the challenge of applying QCNNs to classical data, such as handwritten digits, using NISQ devices. These devices are limited by qubit count and error rates, necessitating shallow, parameter-efficient algorithms.

Methods

The researchers designed a QCNN architecture that mimics the structure of classical CNNs through two primary quantum operations: Quantum Convolution, which uses blocks of two-qubit parameterized gates to capture features, and Quantum Pooling, which reduces dimensionality by applying gates and then "tracing out" qubits.

Overview of the QCNN architecture including data encoding, convolution, and pooling layers.

A critical component is Data Encoding, the process of converting classical data into quantum states. The authors evaluated several methods: Amplitude Encoding (exponentially efficient but deep), Qubit/Dense Qubit Encoding (using Bloch sphere rotations), and Hybrid Encoding (HDE/HAE) to balance circuit width and depth. The model is trained variationally, with a classical optimizer adjusting gate parameters to minimize a cost function.

The study utilized MNIST and Fashion MNIST datasets. Due to current simulation limits, 28x28 images were reduced to 8 or 16 features via Principal Component Analysis (PCA) or Autoencoders before quantum encoding.

Results and Key Insights

The QCNNs achieved high classification accuracy, reaching approximately 99% on MNIST and 94% on Fashion MNIST. One of the most striking results was achieving 98.5% accuracy on MNIST using only 12 parameters, whereas even small classical networks typically require hundreds of weights.

Classification accuracy for various QCNN ansatze across different data encoding methods.

Several key insights emerged from the benchmarking:

  • Entanglement Advantage: QCNNs may capture global features more effectively than local classical kernels by exploiting quantum entanglement.
  • Trainability: The hierarchical $O(\log n)$ depth of the QCNN architecture helps avoid the "barren plateau" problem, where vanishing gradients prevent learning.
  • Parameter Efficiency: With amplitude encoding, the number of parameters scales logarithmically with the size of the classical data.
  • Robustness: QCNNs were found to be less sensitive to random parameter initialization compared to their classical counterparts.

Conclusion

While the results are promising, the study focused on binary classification. Extending this to multi-class tasks is a necessary next step. Furthermore, while the circuits are designed for NISQ hardware, these results were obtained via classical simulation; physical hardware noise remains a significant challenge. Despite these limitations, the extreme parameter efficiency of QCNNs highlights their potential for practical quantum advantage in the near term.

Summary updated

BibTeX
@article{hur2022quantum,
  author = {Tak Hur and Leeseok Kim and Daniel K. Park},
  title = {{Quantum convolutional neural network for classical data classification}},
  journal = {Quantum Mach. Intell},
  year = {2022},
  doi = {10.1007/s42484-021-00061-x},
}
Figure