Abstract
Hybrid Quantum Neural Networks (HQNNs) offer promising potential of quantum computing while retaining the flexibility of classical deep learning. However, the limitations of Noisy Intermediate-Scale Quantum (NISQ) devices introduce significant challenges in achieving ideal performance due to noise interference, such as decoherence, gate errors, and readout errors. This paper presents an extensive comparative analysis of two HQNN algorithms, Quantum Convolutional Neural Network (QCNN) and Quanvolutional Neural Network (QuanNN), assessing their noise resilience across diverse image classification tasks. We systematically inject noise into variational quantum circuits using five quantum noise channels: Phase Flip, Bit Flip, Phase Damping, Amplitude Damping, and Depolarizing Noise. By varying noise probabilities from 0.1 to 1.0, we evaluate the correlation between noise robustness and model behavior across different noise levels. Our findings demonstrate that different noise types and levels significantly influence HQNN performance. The QuanNN shows robust performance across most noise channels for low noise levels (0.1 - 0.4), but succumbs to diverse effects of depolarizing and amplitude damping noise at probabilities between (0.5 - 1.0). However, the QuanNN exhibits robustness to bit flip noise at high probabilities (0.9 - 1.0). On the other hand, the QCNN tends to benefit from the noise injection by outperforming noise-free models for bit flip, phase flip, and phase damping at high noise probabilities. However, for other noise types, the QCNN shows gradual performance degradation as noise increases. These insights aim to guide future research in error mitigation strategies to enhance HQNN models in the NISQ era.
Introduction
We are currently in the NISQ (Noisy Intermediate-Scale Quantum) era. While quantum computers exist, they are "noisy" environments where decoherence, gate errors, and readout inaccuracies are the norm rather than the exception. Most research in Quantum Machine Learning (QML) evaluates algorithms under ideal, noise-free conditions. However, a model that works perfectly in a simulator might fail completely on real hardware. This study addresses this gap by analyzing how two distinct hybrid architectures—Quantum Convolutional Neural Networks (QCNN) and Quanvolutional Neural Networks (QuanNN)—behave when subjected to varying intensities of realistic quantum noise during multi-class image classification tasks.
Methodology
The researchers conducted a comparative analysis using a systematic noise-injection framework across two primary architectures and five noise channels.
Architectures and Noise Injection
- QuanNN: Utilizes a quantum circuit as a "quanvolutional" filter that slides over input data to extract features, which are subsequently processed by classical layers.
- QCNN: A "quantum-native" approach featuring quantum convolutional and pooling layers, designed to scale logarithmically with the number of qubits.
Noise was injected after every parametric gate and entanglement block using five specific channels: Bit Flip and Phase Flip (modeling discrete gate errors), Phase Damping and Amplitude Damping (modeling decoherence and energy loss), and Depolarizing Noise (a comprehensive model that randomizes qubit states). Noise probabilities ($p$) were varied from 0.1 (low) to 1.0 (maximum) to identify breaking points and adaptation thresholds.
Datasets
The study utilized two standard benchmarks, restricted to the first four classes to accommodate 4-qubit circuit constraints:
- MNIST: Handwritten digits (0-3), characterized by clear, distinct shapes.
- Fashion-MNIST: Clothing items (T-shirts, trousers, etc.), representing a more complex task due to higher intraclass variability.
Key Insights and Results
Deterministic Adaptation and Noise as a Regularizer
Surprisingly, at a Bit Flip probability of $p=1.0$, the QuanNN performed nearly as well as the noise-free model. This occurs because a 100% chance of a bit flip is essentially a deterministic X-gate; the model simply learns to "flip back" the logic during training. Furthermore, in several cases, the QCNN actually outperformed the noise-free baseline at high noise probabilities for Bit Flip, Phase Flip, and Phase Damping. This suggests that quantum noise might occasionally act like "dropout" in classical networks, preventing overfitting and forcing the model to learn more robust features.
Inherent Phase Robustness and the Complexity Penalty
The QuanNN showed remarkable stability against Phase Flip and Phase Damping noise, likely because Z-basis measurements (standard in these circuits) are naturally insensitive to phase shifts. However, noise resilience is also task-dependent. Models that appeared robust on the simpler MNIST dataset often saw significant performance degradation on the more complex Fashion-MNIST under identical noise conditions.
Summary of Model Performance
- QuanNN Robustness: Maintained high accuracy (~75%) for Phase Flip/Damping across all intensities but collapsed under Depolarization and Amplitude Damping once noise levels exceeded $p=0.4$.
- QCNN Adaptability: Struggled with Depolarization but showed a unique ability to adapt to Bit Flip noise, reaching 70% accuracy at $p=0.2$ and even higher at $p=1.0$.
- Destructive Noise: Depolarization and Amplitude Damping were the most destructive across both models, leading to rapid performance collapse as they directly destroy quantum superposition and entanglement.
Discussion and Future Work
While this study provides critical insights into HQNN noise resilience, it is limited by its scale (4-qubit circuits and 4-class classification). Real-world applications will require scaling to hundreds of qubits, where noise interactions become significantly more complex. Future research should focus on implementing active error mitigation (EM) techniques and validating these simulation-based findings on actual NISQ hardware. These results serve as a foundation for developing "noise-aware" HQNN designs that can thrive in the imperfect environments of current quantum processors.
Summary updated