Design Space Exploration of Hybrid Quantum Neural Networks for Chronic Kidney Disease

Muhammad Kashif, Hanzalah Mohamed Siraj, Nouhaila Innan, Alberto Marchisio, Muhammad ShafiquearXiv 2026

TL;DR

Hybrid Quantum Neural Networks (HQNNs) offer a powerful framework for near-term quantum machine learning, but their performance is highly sensitive to subtle architectural choices. This paper presents the first systematic design space exploration of HQNNs for a real-world medical task—Chronic Kidney Disease diagnosis—benchmarking 625 unique configurations to reveal how data encoding and circuit design interact to dictate model success.

What Problem Does This Paper Address?

In the current Noisy Intermediate-Scale Quantum (NISQ) era, building pure quantum applications is challenging due to hardware limitations. Hybrid Quantum Neural Networks (HQNNs) solve this by embedding Variational Quantum Circuits (VQCs) as trainable layers within standard classical deep learning pipelines.

However, designing an HQNN is currently a game of heuristics. Developers must choose how to encode classical data into quantum states, how to entangle qubits (the circuit architecture), how to measure the outputs, and how many "shots" (circuit repetitions) to run. As the authors demonstrate in a motivational analysis, making arbitrary choices across these dimensions can cause classification accuracy to swing wildly from a near-random 30% to a strong 80%, even when keeping the dataset and training budget completely identical.

Fig. 1: Motivational Analysis highlighting the need for Design Space Exploration of HQNNs. Only by changing encoding type or quantum circuit architecture (mainly differs in entanglement topology), the accuracy can vary between 30% to 80%.

This paper addresses the lack of systematic Design Space Exploration (DSE) frameworks for HQNNs, applying a rigorous grid search to a critical, real-world medical classification task: Chronic Kidney Disease (CKD) diagnosis.

Methods

The authors built a unified, resource-aware benchmarking pipeline to evaluate the interactions between different quantum design choices.

Fig. 3: An overview of our methodology which includes dataset comparability analysis, data preprocessing, and a grid search over hybrid model configurations with varying encodings, quantum circuit architectures, measurements, and shot counts. Models are trained using a hybrid optimization loop with cross-validation and evaluated using composite performance metrics. Results are aggregated to identify the best-performing architectural configurations.

The design space consists of 625 unique combinations generated by crossing:

  • 5 Data Encodings: Amplitude, Angle, Basis, IQP, and QSample.
  • 5 Entanglement Topologies (Ansatz Types): Basic, Ring, Star, Strong Entangling, and Alternating Layer.
  • 5 Measurement Strategies: Pauli-X, Pauli-Y, Pauli-Z, Pauli-XYZ, and Hadamard bases.
  • 5 Shot Budgets: 50, 100, 150, 200, and 400 shots.
The five quantum circuit entanglement topologies evaluated in the grid search.

To ensure a fair comparison, the quantum circuit depth was fixed to 5 layers. The models were optimized using the Adam optimizer and trained via a robust 10-fold stratified cross-validation protocol to handle class imbalances. Performance was evaluated using both single metrics (Accuracy, F1-score) and multi-metric composite scores (General Performance Scores, or GPS) to balance precision, recall, and cross-validation stability.

Datasets

The framework was tested on benchmarks derived from four distinct Chronic Kidney Disease (CKD) datasets collected from the UCI Machine Learning Repository and Kaggle.

  • Datasets 1 & 4: 400 samples, 24 features (Dataset 1 used statistical mean/mode imputation for missing values, while Dataset 4 left them blank).
  • Dataset 2: 1659 samples, 54 features.
  • Dataset 3: 200 samples, 28 features.

The authors applied t-SNE analysis to validate distribution similarity across the datasets. Dataset 2 exhibited a severe distributional mismatch and was excluded to prevent dataset bias from skewing the architectural insights. For the remaining datasets, Principal Component Analysis (PCA) was used to reduce the feature space to 8 clinically relevant features to accommodate NISQ qubit constraints.

Key Insights and Ideas

  • Rich Encodings Win: Encodings that generate complex, non-linear quantum feature maps (like IQP and QSample) consistently outperformed direct feature rotation methods (Angle and Basis encoding). They preserve more task-relevant structure from heterogeneous clinical data.
  • Stronger Connectivity Helps, But Compact Circuits Compete: While highly connected topologies like Star and Strong Entangling architectures raised the median performance across the board, simpler topologies like Ring entanglement achieved highly competitive peak performance when paired with the right encoding. High performance does not strictly require massive parameter counts.
  • Shots are a Secondary Fine-Tuning Knob: Increasing the shot count from 50 to 400 only yielded modest improvements in median accuracy. This implies that researchers can drastically reduce quantum computing costs during the exploration phase by using lower shot counts without sacrificing the ability to identify top-performing architectures.
  • Asymmetric Error Costs Matter: In medical diagnostics, a false negative (missing a sick patient) is far more dangerous than a false positive. The authors noted that configurations with identical overall accuracies often displayed completely different confusion-matrix symmetries, underscoring the necessity of using composite metrics like MCC-F1 curves during HQNN selection.

Key Results

  • The top-performing configuration for Dataset 1 was Angle encoding + Strong entanglement + Pauli-Y measurement + 400 shots, which ranked first across nearly all composite performance metrics (Accuracy: 79.17%).
  • For Dataset 4, QSample encoding + Strong entanglement + Pauli-Y measurement + 50 shots emerged as the most robust architecture, landing in the Top-5 across all 7 evaluation metrics while utilizing a minimal shot budget.
  • The choice of measurement observable significantly impacted stability; Hadamard, Pauli-X, and Pauli-XYZ measurements yielded tightly concentrated, stable accuracy distributions, whereas Pauli-Y introduced high performance variability.

Limitations and Future Work

While this study provides an excellent blueprint for HQNN design, it is limited by the constraints of current NISQ simulation. The datasets had to be aggressively compressed down to 8 features using PCA to fit within 3-to-8 qubit allocations.

The authors suggest that future work should extend this design space exploration framework to larger qubit counts as quantum hardware scales. Additionally, incorporating realistic hardware noise models directly into the grid search loop will be essential for transitioning these models from ideal simulators to physical quantum processors.

Summary updated

BibTeX
@misc{kashif2026design,
  author = {Muhammad Kashif and Hanzalah Mohamed Siraj and Nouhaila Innan and Alberto Marchisio and Muhammad Shafique},
  title = {{Design Space Exploration of Hybrid Quantum Neural Networks for Chronic Kidney Disease}},
  year = {2026},
  eprint = {2604.13608},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.13608},
}
Figure