COVID-19 detection on IBM quantum computer with classical-quantum transfer learning

Creative Commons License

Acar E., YILMAZ İ.

TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, vol.29, no.1, pp.46-61, 2021 (SCI-Expanded) identifier identifier

  • Publication Type: Article / Article
  • Volume: 29 Issue: 1
  • Publication Date: 2021
  • Doi Number: 10.3906/elk-2006-94
  • Journal Indexes: Science Citation Index Expanded (SCI-EXPANDED), Scopus, Academic Search Premier, Applied Science & Technology Source, Compendex, Computer & Applied Sciences, INSPEC, TR DİZİN (ULAKBİM)
  • Page Numbers: pp.46-61
  • Çanakkale Onsekiz Mart University Affiliated: Yes


Diagnose the infected patient as soon as possible in the coronavirus 2019 (COVID-19) outbreak which is declared as a pandemic by the world health organization (WHO) is extremely important. Experts recommend CT imaging as a diagnostic tool because of the weak points of the nucleic acid amplification test (NAAT). In this study, the detection of COVID-19 from CT images, which give the most accurate response in a short time, was investigated in the classical computer and firstly in quantum computers. Using the quantum transfer learning method, we experimentally perform COVID-19 detection in different quantum real processors (IBMQx2, IBMQ-London and IBMQ-Rome) of IBM, as well as in different simulators (Pennylane, Qiskit-Aer and Cirq). By using a small number of data sets such as 126 COVID-19 and 100 normal CT images, we obtained a positive or negative classification of COVID-19 with 90% success in classical computers, while we achieved a high success rate of 94%-100% in quantum computers. Also, according to the results obtained, machine learning process in classical computers requiring more processors and time than quantum computers can be realized in a very short time with a very small quantum processor such as 4 qubits in quantum computers. If the size of the data set is small; due to the superior properties of quantum, it is seen that according to the classification of COVID-19 and normal, in terms of machine learning, quantum computers seem to outperform traditional computers.