A HYBRID QUANTUM–CLASSICAL DEEP LEARNING FRAMEWORK FOR APPLE LEAF DISEASE CLASSIFICATION: A COMPARATIVE STUDY OF CLASSICAL CNNS AND QUANTUM-ENHANCED VISION TRANSFORMERS
Amit Kumar Dewangan, Vivek Kumar Sarathe, Amit Kumar Chandanan, Akhilesh Kumar Shrivas, Vikas Kumar Pandey
The effective use of spatial correlation of pixel data, Convolutional neural Networks (CNNs) are still used the most in image-based plant disease classification. However, classical CNNs suffer from further gains in terms of accuracy, computational efficiency, explainability and generalization as the data dimensionality and model depth increases, and they tend to converge slowly and overfit when the amount of labelled data in agricultural domains is small. This chapter compares three classical CNN backbones: DenseNet121, MobileNet and EfficientNetB0, and two hybrid quantum–classical deep learning architectures for representation learning: Hybrid Quantum-DenseNet121 and a Hybrid Quantum Vision Transformer (ViT) that combine parameterized quantum circuits (PQCs) with classical feature extractors. The five models are tested on an augmented dataset of apple leaf images consisting of 5 classes: apple cedar apple rust apple scab black rot and healthy. In fact, the classical models, DenseNet121 and MobileNet and EfficientNetB0, were able to train with near-perfect accuracy of 100%, 99.96% and 90.38% respectively but all three models collapsed to an identical testing accuracy of 42.86%, a hallmark of severe overfitting. The Hybrid Quantum-DenseNet121 model outperformed the others by yielding the most well-rounded performance, achieving 70.85% training accuracy and 70.18% testing accuracy, demonstrating excellent generalization capabilities. The Hybrid Quantum-ViT model achieved a training accuracy of 85.19%, but a test accuracy of 41.25%, indicating that these models require more architectural tuning or a larger set of data to be able to generalize better. The results suggest that quantum-enhanced feature extraction is a hidden regularizer for small sample size and high dimension agricultural vision tasks, and indicate that hybrid quantum/classical learning is a promising yet underdeveloped approach for precision agriculture and smart farming systems.
The effective use of spatial correlation of pixel data, Convolutional neural Networks (CNNs) are still used the most in image-based plant disease classification. However, classical CNNs suffer from further gains in terms of accuracy, computational efficiency, explainability and generalization as the data dimensionality and model depth increases, and they tend to converge slowly and overfit when the amount of labelled data in agricultural domains is small. This chapter compares three classical CNN backbones: DenseNet121, MobileNet and EfficientNetB0, and two hybrid quantum–classical deep learning architectures for representation learning: Hybrid Quantum-DenseNet121 and a Hybrid Quantum Vision Transformer (ViT) that combine parameterized quantum circuits (PQCs) with classical feature extractors. The five models are tested on an augmented dataset of apple leaf images consisting of 5 classes: apple cedar apple rust apple scab black rot and healthy. In fact, the classical models, DenseNet121 and MobileNet and EfficientNetB0, were able to train with near-perfect accuracy of 100%, 99.96% and 90.38% respectively but all three models collapsed to an identical testing accuracy of 42.86%, a hallmark of severe overfitting. The Hybrid Quantum-DenseNet121 model outperformed the others by yielding the most well-rounded performance, achieving 70.85% training accuracy and 70.18% testing accuracy, demonstrating excellent generalization capabilities. The Hybrid Quantum-ViT model achieved a training accuracy of 85.19%, but a test accuracy of 41.25%, indicating that these models require more architectural tuning or a larger set of data to be able to generalize better. The results suggest that quantum-enhanced feature extraction is a hidden regularizer for small sample size and high dimension agricultural vision tasks, and indicate that hybrid quantum/classical learning is a promising yet underdeveloped approach for precision agriculture and smart farming systems.
Early and accurate diagnosis of plant diseases is super important for boosting crop productivity and cutting down on economic losses. Deep learning models have really nailed image-based disease detection lately, but they face some hurdles like complex feature distributions and class imbalance in ag data sets. This study takes a neat approach to solve those issues – a hybrid quantum-classical deep learning framework. It combines a pretrained DenseNet121 with a Variational Quantum Circuit (VQC). The DenseNet121 grabs key visual features from leaf images, while the quantum part does fancy nonlinear feature transformations in a high-dimensional quantum space. To make the model tougher and more adaptable, the researchers used Mixup augmentation, label smoothing, and balanced sampling when training it. Their tests on the Plant Pathology dataset scored an 89% accuracy overall, with precision, recall, and F1-score coming in at 88%, 87%, and 88%, respectively. So it seems hybrid quantum-classical learning could seriously beef up plant disease classification and maybe even pave the way for smarter ag diagnostic tools in the future
Detecting plant diseases is a crucial component of precision agriculture, necessary for maintaining economic viability, sustainable farming practices, food security, and preventing economic losses. Deep learning models such as Capsule Attention Networks, DenseNets, and Convolutional Neural Networks have demonstrated state-of-the-art performance in leaf-image-based disease classification. However, large-scale practical implementation in resource-constrained environments remains challenging due to overfitting, environmental insensitivity, extended training times, and high computational cost, along with the absence of a sustainable framework for real-world deployment. Emerging quantum neural networks (QNNs), integrated with quantum-influenced optimization algorithms, offer promising avenues to enhance practical applicability. Their capabilities for high-dimensional feature mapping, entanglement, and superposition improve generalization and convergence in hybrid models that combine quantum layers with classical architectures. Incorporating quantum modules into DenseNets, attention mechanisms, capsule networks, and other hybrid systems may further enhance accuracy, enable robust disease segmentation, and reduce training time. Nonetheless, challenges remain regarding real-time deployment on edge devices, efficient data encoding, limited explainability of quantum-driven features, and hardware constraints. This survey reviews classical, hybrid, and quantum-enhanced approaches, provides comparative insights, and identifies research gaps toward developing scalable, interpretable, and dependable frameworks for plant disease detection and diagnosis.
Accurate image classification is vital in smart agriculture, where early detection of plant diseases can boost crop yield and sustainability. While traditional Convolutional Neural Networks (CNNs) perform well, they face computational and scalability issues as dataset sizes grow. To address this, we propose a quantum-enhanced deep learning framework that combines the Quantum Fourier Transform (QFT) for image preprocessing with a Quantum Convolutional Neural Network (QCNN) for classification. QFT transforms images into the frequency domain, highlighting disease-related features and reducing background noise, while QCNN leverages quantum principles like superposition and entanglement for faster and more efficient feature learning. We evaluated four architectures—classical CNN, QCNN, CNN+QFT, and the hybrid QCNN+QFT—on coffee leaf datasets containing 2,000, 5,000, and 12,000 images. Across all dataset sizes, QCNN+QFT consistently achieved the highest accuracy and lowest training times. On the largest dataset, it reached 98.87% accuracy in 25.46 seconds per epoch, compared to the CNN’s 85.13% in 638.39 seconds. For 5,000 images, it achieved 94.78% in 11.30 seconds, outperforming CNN’s 83.42% in 215.57 seconds. Even on 2,000 images, it scored 90.06% in 2.12 seconds versus CNN’s 79.23% in 67.48 seconds. While QCNN and CNN+QFT also improved over the classical CNN, neither matched the hybrid’s superior balance of speed and accuracy, demonstrating its potential for scalable, real-time plant disease detection.
This paper presents a systematic empirical benchmarking of quantum machine learning (QML) applications within the under-explored domain of agricultural image classification. The authors implement and evaluate four hybrid quantum-classical architectures—including variational quantum classifiers (VQC), quanvolutional neural networks (QNN), and a ResNet-50 combined with a Quantum Support Vector Machine (QSVM)—against a purely classical EfficientNet baseline. The architectures are tested on three agricultural disease datasets: potato tuber disease, jujube insect pests, and paddy leaf rust. The experimental findings reveal that the ResNet-50+QSVM hybrid model achieves the optimal balance of classification accuracy and training stability, reaching a 93.4% mean accuracy. Crucially, the hybrid QSVM demonstrates extreme sample efficiency by requiring 41% fewer labeled training samples than the classical EfficientNet baseline to cross a 90% accuracy threshold, showing the capability of quantum feature maps in low-data regimes.
Chili (Capsicum annuum) is an economically important crop that is frequently affected by foliar diseases such as leaf curl, leaf spot, whitefly infestation, and yellowing, which cause substantial yield losses if not detected early. Classical convolutional neural networks (CNNs) have been widely applied to automated leaf-disease recognition, but they demand large labelled datasets, are computationally expensive, and their purely classical feature space limits discrimination between visually similar disease symptoms. This paper proposes a Hybrid Quantum-Classical Neural Network (HQ-CNN) that couples a lightweight classical convolutional feature extractor with a parameterised variational quantum circuit (VQC) acting as a trainable quantum feature map. RGB leaf images are pre-processed and passed through convolutional blocks to obtain a low-dimensional embedding, which is angle-encoded into a 4-8 qubit circuit; entangling variational layers followed by Pauli-Z measurement produce quantum features that are fed to a final softmax classifier. The complete network is trained end-to-end using the Adam optimiser for classical weights and the parameter-shift rule for quantum weights, and is evaluated on a five-class, publicly available chilli leaf disease dataset (Healthy, Leaf Curl, Leaf Spot, Whitefly, Yellowish). On this dataset, the proposed HQ-CNN attains 99.1test accuracy with only 24 quantum parameters and a total trainable-parameter count two to three orders of magnitude smaller than classical transfer-learning baselines (traditional CNN, VGG16, MobileNetV2, EfficientNetB0) reported in the literature, and an ablation study confirms that both the presence and the depth of the quantum layer contribute to this result. The results indicate that quantum feature fusion is a promising low-parameter-count direction for fine-grained agricultural image classification, particularly under limited-data regimes typical of plant pathology datasets.
Reduced crop losses and guaranteeing agricultural productivity depend on the early and accurate detection of plant diseases. This work offers a Hybrid Quantum-Classical HQC-CNN, or convolutional in nature neural network that uses image analysis to determine various diseases of apple leaves. The model is executed using the PennyLane a system which blends quantum computing techniques with conventional deep computing methods. In the classical segment, layers for collaboration and convolution were used to extract significant spatial features from normalised and resized leaf images.These features are mapped into quantum states by Angle Embedding, and intricate patterns are revealed by StronglyEntanglingLayers processing them inside an electromagnetic circuit. The quantum information layer's output is sent to a softmax classifier, which divides the input into different disease groups using Pauli-Z expectation value measurements. The framework has been examined and developed with a publicly available dataset of apple leaf images, and it demonstrated strong performance on several evaluation parameters, such as the F1-s remembering, reliability, and quality. These findings show how well the model can identify a range of leaf diseases and point to how it could help precision farming and the broader field of quantum improved neural networks.