Hybrid quantum neural network models for fruit quality assessment

  • Danish ul Khairi
  • , Kamran Ahsan
  • , Syed Zeeshan Ali
  • , Wadee Alhalabi
  • , Somayah Albaradei
  • , Muhammad Shahid Anwar*
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

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 languageEnglish
Article numbere0332528
JournalPLoS ONE
Volume20
Issue number12 December
DOIs
StatePublished - 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

Fingerprint

Dive into the research topics of 'Hybrid quantum neural network models for fruit quality assessment'. Together they form a unique fingerprint.

Cite this