A comparative analysis and noise robustness evaluation in quantum neural networks

Tasnim Ahmed, Muhammad Kashif, Alberto Marchisio, Muhammad Shafique

Abstract

In current noisy intermediate-scale quantum (NISQ) devices, hybrid quantum neural networks (HQNNs) offer a promising solution, combining the strengths of classical machine learning with quantum computing capabilities. However, the performance of these networks can be significantly affected by the quantum noise inherent in NISQ devices. In this paper, we conduct an extensive comparative analysis of various HQNN algorithms, namely Quantum Convolution Neural Network (QCNN), Quanvolutional Neural Network (QuanNN), and Quantum Transfer Learning (QTL), for image classification tasks. We evaluate the performance of each algorithm across quantum circuits with different entangling structures, variations in layer count, and optimal placement in the architecture. Subsequently, we select the highest-performing architectures and assess their robustness against noise influence by introducing quantum gate noise through Phase Flip, Bit Flip, Phase Damping, Amplitude Damping, and the Depolarizing Channel. Our results reveal that the top-performing models exhibit varying resilience to different noise gates. However, in most scenarios, the QuanNN demonstrates greater robustness across various quantum noise channels, consistently outperforming other models. This highlights the importance of tailoring model selection to specific noise environments in NISQ devices.

Introduction

We are currently in the Noisy Intermediate-Scale Quantum (NISQ) era. While quantum computers show immense potential, they are currently plagued by environmental interference—noise—that causes qubits to lose their state or flip bits unexpectedly. To bridge the gap between classical and quantum computing, researchers utilize Hybrid Quantum Neural Networks (HQNNs), which combine classical layers with Variational Quantum Circuits (VQCs). This study addresses the critical gap of understanding how different HQNN architectures hold up when subjected to realistic quantum noise channels.

Methodology and Architectures

The researchers compared three distinct HQNN paradigms, each utilizing a different approach to integrating quantum circuits into neural network architectures:

  1. Quanvolutional Neural Network (QuanNN): Uses a quantum circuit as a "filter" (similar to a classical convolutional kernel) to extract features from an image.
  2. Quantum Convolutional Neural Network (QCNN): A more "pure" quantum approach using quantum convolutional and pooling layers, often involving mid-circuit measurements.
  3. Quantum Transfer Learning (QTL): Leverages a pre-trained classical model (ResNet18) and replaces the final classification layers with a quantum circuit.
Diagrams of the three selected HQNN algorithms: QuanNN, QCNN, and QTL.

The study systematically varied the VQC design (Basic, Strongly, and Weakly Entangling) and layer depth (1 to 6 layers). To test robustness, five types of quantum noise were injected: Bit Flip, Phase Flip, Amplitude Damping, Phase Damping, and the Depolarizing Channel. The models were trained on a subset of the MNIST dataset restricted to the first four classes [0, 1, 2, 3] to match the 4-qubit architecture.

Comparative Performance Analysis

The experimental results highlighted significant differences in how these architectures handle both complexity and noise.

Comparison of accuracy across different entanglement structures and layer depths for QCNN, QuanNN, and QTL.

Key Insights

  • QuanNN as the Robust Standard: QuanNN showed remarkably consistent performance regardless of entanglement type or layer depth, achieving approximately 80% accuracy. It proved to be the most reliable choice for noisy environments.
  • QCNN Volatility: QCNN's performance was highly sensitive to its entanglement structure. While it performed well with "strong" entanglement, it struggled significantly with "weak" entanglement. Interestingly, QCNN exhibited "noise-enhanced learning" in some scenarios, where specific noise (like Phase Damping) actually improved performance, acting as a form of regularization.
  • The Transfer Learning Failure: The QTL model performed poorly across all configurations, hovering around 20% accuracy (barely better than random guessing). This suggests that features extracted by classical models like ResNet18 do not naturally map well to quantum Hilbert space without specialized re-optimization.

Conclusion

While both QuanNN and QCNN can achieve high accuracy in ideal conditions, QuanNN is the superior "all-rounder" for the NISQ era due to its consistent robustness. QCNN, while capable, is more fragile and requires careful architecture tuning. Future work should focus on scaling these models beyond 4 qubits and evaluating noise placement throughout the circuit rather than just at the measurement stage.

Summary updated

BibTeX
@inproceedings{ahmed2025comparative,
  author = {Tasnim Ahmed and Muhammad Kashif and Alberto Marchisio and Muhammad Shafique},
  title = {{A comparative analysis and noise robustness evaluation in quantum neural networks}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-025-17769-6},
}
Figure