Deep neural networks (DNNs) have made significant contributions to diagnosing pneumonia from chest X-ray imaging. However, certain aspects of diagnosis and planning can be further enhanced through the implementation of a quantum deep neural network (QDNN). Therefore, we introduced a technique that integrates neural networks with quantum algorithms named the ZFNet-quantum neural network for detecting pneumonia using 5863 X-ray scans with binary cases. The hybrid model efficiently pre-processes complex and high-dimensional data by extracting significant features from the ZFNet model. These significant features are given to the quantum circuit algorithm and further embedded into a quantum device. The parameterized quantum circuit algorithm using qubits, superposition theorem, and entanglement phenomena generates 4 features from 4098 features extracted from images via a deep transfer learning model. Moreover, to validate the outcome measures of the proposed technique, we used various PennyLane quantum devices to detect pneumonia and normal control images. By using the Adam optimizer, which exploits an adaptive learning rate that is fixed to 10-6 and six layers of a quantum circuit composed of quantum gates, the proposed model achieves an accuracy of 96.5%, corresponding to 25 epochs. The integrated ZFNet-quantum learning network outperforms the deep transfer learning network in terms of testing accuracy, as the accuracy gained by the convolutional neural network (CNN) is 94%. Therefore, we use a hybrid classical-quantum model to detect pneumonia in which a variational quantum algorithm enhances the outcomes of a ZFNet transfer learning method. This approach is an efficient and automated method for detecting pneumonia and could significantly enhance outcome measures related to the speed and accuracy of the network in the clinical and healthcare sectors.
Read full abstract