[Paper Review] Image Compression and Classification Using Qubits and Quantum Deep Learning
This paper proposes a novel quantum image encoding method using the Flexible Representation of Quantum Images (FRQI) to compress classical images into fewer qubits, enabling quantum neural networks (QNNs) to classify realistic $16\times16$ MNIST digits on a standard laptop. The approach achieves classification accuracy comparable to classical neural networks with the same number of parameters, demonstrating scalable quantum machine learning on classically intractable image sizes.
Recent work suggests that quantum machine learning techniques can be used for classical image classification by encoding the images in quantum states and using a quantum neural network for inference. However, such work has been restricted to very small input images, at most 4 x 4, that are unrealistic and cannot even be accurately labeled by humans. The primary difficulties in using larger input images is that hitherto-proposed encoding schemes necessitate more qubits than are physically realizable. We propose a framework to classify larger, realistic images using quantum systems. Our approach relies on a novel encoding mechanism that embeds images in quantum states while necessitating fewer qubits than prior work. Our framework is able to classify images that are larger than previously possible, up to 16 x 16 for the MNIST dataset on a personal laptop, and obtains accuracy comparable to classical neural networks with the same number of learnable parameters. We also propose a technique for further reducing the number of qubits needed to represent images that may result in an easier physical implementation at the expense of final performance. Our work enables quantum machine learning and classification on classical datasets of dimensions that were previously intractable by physically realizable quantum computers or classical simulation
Motivation & Objective
- To overcome the qubit scalability barrier in quantum machine learning for classical image classification.
- To enable classification of realistic, larger images (up to $16\times16$) using quantum systems with physically feasible qubit counts.
- To develop a QNN architecture tailored for highly entangled FRQI-encoded images that achieves performance competitive with classical models.
- To explore trade-offs between qubit reduction and classification accuracy through a novel two-qubit compression technique.
Proposed method
- Uses the FRQI encoding scheme to map classical images into quantum states using exponentially fewer qubits than classical bit representation.
- Employs a custom QNN architecture with CRADL and CRAML layers designed to handle the entanglement structure of FRQI-encoded images.
- Applies a two-qubit compression technique to further reduce qubit requirements at the cost of performance degradation.
- Implements the entire pipeline using only two-qubit gates, ensuring compatibility with existing quantum machine learning frameworks like Cirq and TensorFlow Quantum.
- Trains the QNN using standard backpropagation with parameterized quantum circuits, optimizing for classification accuracy on MNIST.
- Uses classical simulation on a personal laptop to train and evaluate the QNN, demonstrating feasibility without requiring large-scale quantum hardware.
Experimental results
Research questions
- RQ1Can quantum machine learning models classify realistic $16\times16$ images using a feasible number of qubits?
- RQ2How does FRQI-based encoding reduce the qubit requirement for image representation compared to direct state preparation?
- RQ3To what extent does a two-qubit compression technique reduce qubit count while preserving classification performance?
- RQ4Can a QNN trained on FRQI-encoded images achieve accuracy comparable to classical neural networks with the same number of parameters?
- RQ5What is the trade-off between qubit reduction and model performance in quantum image classification?
Key findings
- The QNN achieves classification accuracy on $8\times8$ MNIST images comparable to classical neural networks with the same number of parameters, when using 6-qubit FRQI encoding.
- For $16\times16$ images, the QNN with the same parameter count performs comparably to classical models only when using the two-qubit compression technique, though performance is slightly degraded.
- The model successfully classifies $16\times16$ images on a personal laptop using only 8 qubits (6 for pixel locations, 1 for color, 1 for readout), demonstrating feasibility beyond previous $4\times4$ limits.
- The validation accuracy curves of the QNN and classical model show similar training dynamics, indicating stable learning despite quantum noise and circuit depth.
- Performance degrades with increased image compression, and further qubit reduction leads to unstable learning, suggesting architectural redesign is needed for extreme compression.
- The proposed encoding and QNN framework enables quantum machine learning on classical datasets of dimensions previously intractable for classical simulation or available quantum hardware.
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.