Abstract
This study investigates hybrid quantum neural networks for fruit quality assessment, with a focus on the impact of the entangling gate choice. Two architectures were developed: NNQEv1, utilizing controlled-NOT (CNOT) gates, and NNQEv2, employing controlled-phase (CZ) gates. A theoretical justification is provided, based on gate decomposition and hardware-aware noise considerations, suggesting the CZ-based architecture is likely to be more stable. The performance of the models was evaluated through the computational execution of their quantum circuits on classical hardware and compared against classical and state-of-the-art deep learning models. The proposed models demonstrated competitive performance, achieving test accuracies of 98.7% on MNIST, 98.6% on the FruitQ dataset, and 96.7% on a custom, data-scarce Apple dataset. The experimental results align with the theoretical analysis: the CZ-based NNQEv2 model, when compared to the CNOT-based NNQEv1, consistently showed more stable training dynamics and yielded tighter confidence intervals in cross-validation. This work presents a foundational, computational study on the role of gate-level design choices, intended to inform the development of future quantum machine learning algorithms.
| Original language | English |
|---|---|
| Article number | e0332528 |
| Journal | PLoS ONE |
| Volume | 20 |
| Issue number | 12 December |
| DOIs | |
| State | Published - Dec 2025 |
Bibliographical note
Publisher Copyright:© 2025 Khairi et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
ASJC Scopus subject areas
- General