[Paper Review] Classification of the Fashion-MNIST Dataset on a Quantum Computer
This paper proposes a resource-efficient variational quantum algorithm for encoding the Fashion-MNIST dataset into quantum states using shallow circuits tailored to current quantum hardware. By optimizing parameterized quantum circuits with native gates and minimizing circuit depth, the authors achieve moderate classification accuracy on IBM's ibmq-kolkata, demonstrating a practical proof of concept for near-term quantum machine learning on standard datasets.
The potential impact of quantum machine learning algorithms on industrial applications remains an exciting open question. Conventional methods for encoding classical data into quantum computers are not only too costly for a potential quantum advantage in the algorithms but also severely limit the scale of feasible experiments on current hardware. Therefore, recent works, despite claiming the near-term suitability of their algorithms, do not provide experimental benchmarking on standard machine learning datasets. We attempt to solve the data encoding problem by improving a recently proposed variational algorithm [1] that approximately prepares the encoded data, using asymptotically shallow circuits that fit the native gate set and topology of currently available quantum computers. We apply the improved algorithm to encode the Fashion-MNIST dataset [2], which can be directly used in future empirical studies of quantum machine learning algorithms. We deploy simple quantum variational classifiers trained on the encoded dataset on a current quantum computer ibmq-kolkata [3] and achieve moderate accuracies, providing a proof of concept for the near-term usability of our data encoding method.
Motivation & Objective
- To address the data encoding bottleneck in near-term quantum machine learning, which limits the scalability and practicality of quantum algorithms on real hardware.
- To improve the resource efficiency of variational quantum circuits for encoding image data by using only native quantum gates and minimizing circuit depth.
- To enable experimental benchmarking of quantum machine learning on standard, full-scale datasets like Fashion-MNIST by providing a feasible encoding method.
- To demonstrate the feasibility of training and deploying variational quantum classifiers on real quantum hardware using a realistic, scalable encoding approach.
Proposed method
- The authors use a variational quantum algorithm inspired by sequential matrix product state preparation to approximately prepare the Flexible Representation of Quantum Images (FRQI) of Fashion-MNIST images.
- They optimize parameterized quantum circuits with a one-dimensional sequential ansatz that applies single-qubit rotations and entangling gates (CNOTs) in a layer-by-layer fashion, minimizing circuit depth.
- The encoding circuit is designed to use only native gates of current quantum computers (e.g., RY, CNOT), ensuring compatibility with hardware constraints like qubit connectivity and gate set.
- A two-dimensional extension of the sequential circuit is also explored, with gates applied alternately horizontally and vertically to increase expressivity while maintaining shallow depth.
- Hierarchical architectures such as MERA and QCNN are evaluated, where qubits are discarded after each layer—either via post-selection (MERA) or tracing out (QCNN)—to enable multi-scale processing.
- The trained variational quantum classifiers are deployed on the IBM Quantum device ibmq-kolkata, with performance measured via test accuracy on the encoded Fashion-MNIST dataset.
Experimental results
Research questions
- RQ1Can a shallow, hardware-efficient quantum circuit encode the full Fashion-MNIST dataset into a quantum state with acceptable fidelity using only native gates?
- RQ2How does the performance of different quantum circuit architectures (sequential, 2D, MERA, QCNN) compare in classifying FRQI-encoded Fashion-MNIST data on real quantum hardware?
- RQ3To what extent can variational quantum classifiers achieve moderate accuracy on a standard machine learning dataset using near-term quantum devices with limited qubit count and coherence?
- RQ4Does the proposed encoding method enable practical benchmarking of quantum machine learning algorithms on real hardware, overcoming the limitations of prior works using synthetic or reduced datasets?
Key findings
- The proposed variational quantum circuit achieves moderate test accuracy on the Fashion-MNIST dataset when deployed on IBM's ibmq-kolkata quantum processor, demonstrating proof of concept for near-term quantum machine learning.
- The one-dimensional sequential circuit architecture outperforms other architectures (2D, MERA, QCNN) in terms of test accuracy per number of CNOT gates, especially at lower resource counts.
- The use of only native gates and shallow circuit depth enables better compatibility with current quantum hardware, such as ibmq-kolkata, which has a heavy-hex connectivity layout.
- Despite hardware compilation challenges (e.g., SWAP gates for long-range entanglement), the method remains viable under ideal connectivity assumptions, with performance trends remaining consistent.
- The authors successfully make the FRQI-encoded Fashion-MNIST dataset publicly available, enabling future empirical studies in quantum machine learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.