Multi-Class Quantum Convolutional Neural Networks
Marco Mordacci, Davide Ferrari, Michele Amoretti
TL;DR
This paper addresses multi-class classification of classical data using a quantum convolutional neural network (QCNN) implemented in PennyLane and trained via cross-entropy optimization. It introduces two data-encoding strategies (amplitude and angle encoding) and a QCNN architecture with preconvolutional preprocessing, convolutional and pooling layers, and measurement, evaluating on MNIST across 4, 6, 8, and 10 classes. The results show that, while 4-class performance is comparable to a classical CNN, the QCNN outperforms the classical baseline for 6–10 classes with substantially fewer parameters, and remains robust when trained on smaller datasets. The work highlights the potential of QCNNs for scalable, low-parameter multi-class classification in information retrieval contexts and outlines avenues for architectural and measurement improvements, as well as generalization studies.
Abstract
Classification is particularly relevant to Information Retrieval, as it is used in various subtasks of the search pipeline. In this work, we propose a quantum convolutional neural network (QCNN) for multi-class classification of classical data. The model is implemented using PennyLane. The optimization process is conducted by minimizing the cross-entropy loss through parameterized quantum circuit optimization. The QCNN is tested on the MNIST dataset with 4, 6, 8 and 10 classes. The results show that with 4 classes, the performance is slightly lower compared to the classical CNN, while with a higher number of classes, the QCNN outperforms the classical neural network.
