Skip to main content
QUICK REVIEW

[Paper Review] Cancer Detection Using Quantum Neural Networks: A Demonstration on a Quantum Computer

Nilima Mishra, Aradh Bisarya|arXiv (Cornell University)|Nov 1, 2019
Quantum Computing Algorithms and ArchitectureComputer Science11 citations
TL;DR

This paper proposes a 10-qubit quantum neural network (QNN) for breast cancer detection using supervised learning on the IBM Quantum Experience platform. By encoding patient biodata into qubit states and optimizing parameters via gradient descent, the QNN achieves an average loss of 2.1% on a 600-sample dataset, demonstrating feasible quantum machine learning for medical diagnostics.

ABSTRACT

Artificial intelligence and machine learning paves the way to achieve greater technical feats. In this endeavor to hone these techniques, quantum machine learning is budding to serve as an important tool. Using the techniques of deep learning and supervised learning in the quantum framework, we are able to propose a quantum neural network and showcase its implementation. We consider the application of cancer detection to demonstrate the working of our quantum neural network. Our focus is to train the network of ten qubits in a way so that it can learn the label of the given data set and optimize the circuit parameters to obtain the minimum error. Thus, through the use of many algorithms, we are able to give an idea of how a quantum neural network can function.

Motivation & Objective

  • To develop a practical quantum neural network (QNN) for medical diagnosis using near-term quantum hardware.
  • To apply supervised learning techniques within a quantum framework to classify cancerous vs. benign tumors.
  • To reduce parameter complexity in QNNs using partial entanglement, scaling as O(N) instead of O(N²).
  • To validate the QNN’s performance on real-world biomedical data (Wisconsin Breast Cancer Dataset) using a quantum simulator.
  • To demonstrate the feasibility of quantum machine learning for early cancer detection using current noisy intermediate-scale quantum (NISQ) devices.

Proposed method

  • Encoded 10 biodata features (e.g., radius, texture) into initial Y-rotations on 10 qubits, mapping min to |0⟩ and max to |1⟩.
  • Implemented a partially entangled QNN architecture using controlled-X (CX) gates to reduce parameter count from O(N²) to O(N).
  • Used a logarithmic loss function: loss = -(1−l)log(1−l) − l·log(l), where l is the expected label (0 for benign, 1 for malignant).
  • Optimized circuit parameters via gradient descent with adaptive learning rate: p′ = p − r·∇(loss)/|∇(loss)|.
  • Trained the network on the full 600-sample dataset and a subset of 100 samples, measuring loss over iterations.
  • Performed parameter updates by computing gradients numerically, one parameter at a time, using quantum circuit evaluations.

Experimental results

Research questions

  • RQ1Can a 10-qubit quantum neural network effectively classify breast cancer using real biomedical data on a quantum simulator?
  • RQ2How does partial entanglement reduce the number of trainable parameters in a QNN while preserving classification performance?
  • RQ3What is the achievable loss and accuracy of a QNN trained on the Wisconsin Breast Cancer Dataset using gradient-based optimization on NISQ devices?
  • RQ4How do anomalies in input data affect the training dynamics and final loss in a quantum machine learning model?
  • RQ5Can quantum neural networks outperform classical models in terms of parameter efficiency and convergence speed for small-scale medical classification tasks?

Key findings

  • The QNN achieved an average loss of 2.1% across all 600 inputs when trained on the full dataset, indicating strong generalization.
  • 6.67% of inputs had a loss greater than 1%, suggesting a small subset of data points were particularly challenging to classify.
  • When trained on a subset of 100 samples, the average loss increased to 3.9%, with 6.67% of inputs having errors exceeding 5%.
  • The majority of high-loss cases (10–20%) were attributed to data inconsistencies rather than model failure, indicating robustness to noise.
  • Parameter optimization showed a clear downward trend in loss over iterations, with a visible inflection point where the learning rate was manually reduced.
  • The use of partial entanglement reduced parameter scaling from O(N²) to O(N), making the model more feasible for current quantum hardware.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.