Hybrid Model of Quantum Transfer Learning to Classify Face Images with a COVID-19 Mask

Christian Soto-Paredes, Jose Sulla-Torres

Research output: Contribution to journalArticlepeer-review


The problem of the COVID-19 disease has determined that about 219 million people have contracted it, of which 4.55 million died. This importance has led to the implementation of security protocols to prevent the spread of this disease. One of the main protocols is to use protective masks that properly cover the nose and mouth. The objective of this paper was to classify images of faces using protective masks of COVID-19, in the classes identified as correct mask, incorrect mask, and no mask, with a Hybrid model of Quantum Transfer Learning. To do this, the method used has made it possible to gather a data set of 660 people of both sexes (man and woman), with ages ranging from 18 to 86 years old. The classic transfer learning model chosen was ResNet-18; the variational layers of the proposed model were built with the Basic Entangler Layers template for four qubits, and the optimization of the training was carried out with the Stochastic Gradient Descent with Nesterov Momentum. The main finding was the 99.05% accuracy in classifying the correct Protective Masks using the Pennylane quantum simulator in the tests performed. The conclusion reached is that the proposed hybrid model is an excellent option to detect the correct position of the protective mask for COVID-19.

Original languageEnglish
Pages (from-to)826-836
Number of pages11
JournalInternational Journal of Advanced Computer Science and Applications
Issue number10
StatePublished - 2021

Bibliographical note

Publisher Copyright:
© 2021


  • classify
  • COVID-19
  • face
  • hybrid
  • mask
  • quantum


Dive into the research topics of 'Hybrid Model of Quantum Transfer Learning to Classify Face Images with a COVID-19 Mask'. Together they form a unique fingerprint.

Cite this