OSCR

QuantumNeuroXAI: a quantum-inspired deep learning framework with explainability for brain signal analysis and neurological disorder detection.

Code ↔ Paper

5 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 5 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Materials and methods › Algorithmic representation ↔ QuantumNeuroXAI/scripts/06_generate_explanations.py, lines 17–96 · score 0.72 · explanatory report, feature attributions, attention weights, bands, QuantumNeuroXAI, sensitivity
  2. [2] § Experimental results › Ablation study and component analysis ↔ QuantumNeuroXAI/src/models/quantum_neuro_xai.py, the whole file · a weak match · score 0.58 · quantum classical fusion, temporal CNN, adaptive, layer, weighting, modules
  3. [3] § Materials and methods › Training strategy and experimental protocol ↔ QuantumNeuroXAI/src/training/losses.py, lines 6–11 · score 0.54 · cross entropy loss, binary, class, Training
  4. [4] § Materials and methods › Quantum-inspired feature encoding module ↔ QuantumNeuroXAI/src/quantum/quantum_block.py, lines 8–29 · score 0.54 · amplitude encoded, phase encoding, map, module, inspired, Quantum
  5. [5] § Materials and methods › Explainability and interpretability design ↔ QuantumNeuroXAI/scripts/06_generate_explanations.py, lines 17–96 · score 0.52 · feature attribution, attention weights, explanation, fused, prediction, Model

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 99 lines · 3.8 KB · MIT · 2 matches

  1. from __future__ import annotations
  2. import argparse
  3. import os
  4. import numpy as np
  5. import matplotlib.pyplot as plt
  6. import torch
  7. from src.utils.seed import set_global_seed
  8. from src.utils.device import get_device
  9. from src.utils.io import load_yaml
  10. from src.models.quantum_neuro_xai import QuantumNeuroXAI
  11. from src.explainability.signal_xai import input_saliency, integrated_gradients_signal, channel_band_summary
  12. from src.explainability.model_xai import extract_attention_weights, fused_feature_attribution
  13. from src.explainability.quantum_xai import quantum_sensitivity_analysis, rank_quantum_dimensions
  14. from src.explainability.report_builder import build_unified_report, save_explanation_report
  15. from scripts.common import build_loaders, infer_num_classes
  16. def main():
  17. parser = argparse.ArgumentParser()
  18. parser.add_argument("--checkpoint", required=True)
  19. parser.add_argument("--dataset", required=True, choices=["tuh", "chbmit", "bci2a"])
  20. parser.add_argument("--config", required=True)
  21. parser.add_argument("--dataset-config", required=True)
  22. parser.add_argument("--model-config", required=True)
  23. parser.add_argument("--xai-config", required=True)
  24. args = parser.parse_args()
  25. gcfg = load_yaml(args.config)
  26. dcfg = load_yaml(args.dataset_config)
  27. mcfg = load_yaml(args.model_config)
  28. xcfg = load_yaml(args.xai_config)
  29. set_global_seed(gcfg["seed"])
  30. device = get_device(gcfg["device"])
  31. _, _, test_loader = build_loaders(dcfg["processed_manifest_csv"], batch_size=1, num_workers=0)
  32. model = QuantumNeuroXAI(mcfg, task_mode=dcfg["task"]["mode"], num_classes=infer_num_classes(dcfg))
  33. first_batch = next(iter(test_loader))
  34. _ = model(first_batch["x"].to(device))
  35. ckpt = torch.load(args.checkpoint, map_location=device)
  36. model.load_state_dict(ckpt["model_state"], strict=False)
  37. model.to(device)
  38. model.eval()
  39. os.makedirs(gcfg["xai_dir"], exist_ok=True)
  40. for idx, batch in enumerate(test_loader):
  41. if idx >= xcfg["num_samples"]:
  42. break
  43. x = batch["x"].to(device)
  44. y = batch["y"].cpu().numpy().tolist()
  45. out = model(x)
  46. sal = input_saliency(model, x)
  47. sig_summary = channel_band_summary(sal)
  48. attn = extract_attention_weights(out)
  49. fused_attr = fused_feature_attribution(out)
  50. q_scores = quantum_sensitivity_analysis(model, x, eps=xcfg["quantum_eps"])
  51. q_rank = rank_quantum_dimensions(q_scores)
  52. report = build_unified_report(
  53. signal_summary=sig_summary,
  54. attention=attn,
  55. fused_attr=fused_attr,
  56. quantum_rank=q_rank,
  57. prediction={"target": y, "probs": out["probs"].detach().cpu().numpy().tolist()},
  58. )
  59. save_explanation_report(report, os.path.join(gcfg["xai_dir"], f"sample_{idx:03d}.json"))
  60. sal_mean = sal.mean(axis=(0, 1))
  61. plt.figure(figsize=(6, 4))
  62. plt.imshow(sal_mean.mean(axis=0), aspect="auto")
  63. plt.title(f"Signal Saliency #{idx}")
  64. plt.xlabel("Time")
  65. plt.ylabel("Frequency")
  66. plt.tight_layout()
  67. plt.savefig(os.path.join(gcfg["xai_dir"], f"sample_{idx:03d}_saliency.png"), dpi=300)
  68. plt.close()
  69. if attn is not None:
  70. plt.figure(figsize=(6, 3))
  71. plt.plot(attn[0])
  72. plt.title(f"Attention Weights #{idx}")
  73. plt.tight_layout()
  74. plt.savefig(os.path.join(gcfg["xai_dir"], f"sample_{idx:03d}_attention.png"), dpi=300)
  75. plt.close()
  76. if q_scores.size > 0:
  77. plt.figure(figsize=(6, 3))
  78. plt.bar(np.arange(len(q_scores)), q_scores)
  79. plt.title(f"Quantum Sensitivity #{idx}")
  80. plt.tight_layout()
  81. plt.savefig(os.path.join(gcfg["xai_dir"], f"sample_{idx:03d}_quantum.png"), dpi=300)
  82. plt.close()
  83. print(f"Saved explanations to {gcfg['xai_dir']}")
  84. if __name__ == "__main__":
  85. main()

06_generate_explanations.py at commit a8c776b, under MIT · at the source

Overview

Authors: T Gayathri1, G Manjula2, Harish H Kenchannavar3, Danthuluri Sudha4, Santosh Kumar Jankatti4, Ramandeep Kaur4, Bondu Venkateswarlu1
  1. Department of Computer Science and Engineering, Dayananda Sagar University, Bangalore, Karnataka India
  2. Department of Computer Science and Design, Dayananda Sagar Academy of Technology and Management, Bangalore, Karnataka India
  3. Department of Computer Science and Engineering (Data Science), Dayananda Sagar College of Engineering, Bangalore, Karnataka India
  4. Department of Computer Science and Technology, Dayananda Sagar University, Bangalore, Karnataka India
Journal: Scientific reports, volume 16, issue 1, article 16863
Dates: received 10 January 2026; accepted 1 April 2026; published online 10 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41598-026-47627-y · PMID 41963527 · PMCID PMC13230557 · OpenAlex W7153188653
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), methods / tools (subfield)
Methods: Spectral & time-frequency, Graphs, Statistics, Machine learning, Physiology & signal measures
Keywords: Electroencephalography, Quantum-inspired learning, Deep neural networks, Explainable artificial intelligence, Neurological disorder detection, Computational biology and bioinformatics, Mathematics and computing, Neuroscience
MeSH: Brain*, Deep Learning*, Electroencephalography*, Nervous System Diseases*, Signal Processing, Computer-Assisted*, Humans, Neural Networks, Computer, Quantum Theory (* major topic)
Topic: Quantum Computing Algorithms and Architecture (Artificial Intelligence, Computer Science), according to OpenAlex
Citations: not cited yet (Europe PMC); 63 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repositories

Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.

venkateshwarlu-bondu/QuantumNeuroXAI

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: a8c776b5420840598737922475535ca315ff4f29, 24 March 2026
Languages: Python (54), Jupyter (5)
Size: 69 files, 59 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, environment (requirements.txt), 5 notebooks
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: PyTorch (22 files), NumPy (17 files), pandas (5 files), SciPy (4 files), scikit-learn (3 files), Matplotlib (2 files), MNE-Python (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
61 files

Zenodo 19200650

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the text, “Implementation details”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: PyTorch (22 files), NumPy (17 files), pandas (5 files), SciPy (4 files), scikit-learn (3 files), Matplotlib (2 files), MNE-Python (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
  • 29 September 2026: the link answers (HTTP 200)
61 files
At the source:

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41598-026-47627-y.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 118 scripts, each with its path and the digest of its content;
  • 5 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Availability statements

The paper has a data availability statement and a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing them here; in short, from what the harvester recognized in them:

Read them in the paper: doi.org/10.1038/s41598-026-47627-y.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 8 keywords, 8 MeSH terms, 60 references.

Cite

This paper

Gayathri, T., Manjula, G., Kenchannavar, H. H., Sudha, D., Jankatti, S. K., Kaur, R., & Venkateswarlu, B. (2026). QuantumNeuroXAI: a quantum-inspired deep learning framework with explainability for brain signal analysis and neurological disorder detection. Scientific reports, 16(1), 16863. https://doi.org/10.1038/s41598-026-47627-y

BibTeX

@article{gayathri2026quantumneuroxai,
author = {Gayathri, T and Manjula, G and Kenchannavar, Harish H and Sudha, Danthuluri and Jankatti, Santosh Kumar and Kaur, Ramandeep and Venkateswarlu, Bondu},
title = {{QuantumNeuroXAI: a quantum-inspired deep learning framework with explainability for brain signal analysis and neurological disorder detection}},
journal = {Scientific reports},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {16863},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-47627-y},
url = {https://doi.org/10.1038/s41598-026-47627-y},
pmid = {41963527},
pmcid = {PMC13230557}
}

RIS

TY - JOUR
AU - Gayathri, T
AU - Manjula, G
AU - Kenchannavar, Harish H
AU - Sudha, Danthuluri
AU - Jankatti, Santosh Kumar
AU - Kaur, Ramandeep
AU - Venkateswarlu, Bondu
TI - QuantumNeuroXAI: a quantum-inspired deep learning framework with explainability for brain signal analysis and neurological disorder detection
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/04/10
VL - 16
IS - 1
SP - 16863
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-47627-y
UR - https://doi.org/10.1038/s41598-026-47627-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-47627-y",
"type": "article-journal",
"title": "QuantumNeuroXAI: a quantum-inspired deep learning framework with explainability for brain signal analysis and neurological disorder detection",
"container-title": "Scientific reports",
"author": [
{
"family": "Gayathri",
"given": "T"
},
{
"family": "Manjula",
"given": "G"
},
{
"family": "Kenchannavar",
"given": "Harish H"
},
{
"family": "Sudha",
"given": "Danthuluri"
},
{
"family": "Jankatti",
"given": "Santosh Kumar"
},
{
"family": "Kaur",
"given": "Ramandeep"
},
{
"family": "Venkateswarlu",
"given": "Bondu"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "16863",
"DOI": "10.1038/s41598-026-47627-y",
"PMID": "41963527",
"PMCID": "PMC13230557",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-47627-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
10
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41746-026-02778-0 [code]
Trust-gated synthetic EEG augmentation reduces performance drops when generalizing to new patients.
Journal: NPJ digital medicine
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, bbci.de/competition/iv, EEG, 2 references
[2] doi:10.1371/journal.pone.0352191 [code]
Bayesian Uncertainty-aware Deep Learning with noisy labels: Tackling annotation ambiguity in EEG seizure detection.
Journal: PloS one
In common: PyTorch, scikit-learn, pandas, 3 other tools, physionet.org/content/chbmit, methods / tools, EEG
[3] doi:10.1371/journal.pone.0354976 [code]
Improved motor imagery BCI performance via task-unaware compression in the BELT Bayesian Edge-Cloud architecture.
Journal: PloS one
In common: MNE-Python, pandas, SciPy, 2 other tools, bbci.de/competition/iv, methods / tools, EEG
[4] doi:10.1016/j.mex.2026.103929 [code]
MCLF: Montage consistent CNN-Liquid fusion for long-term scalp EEG seizure detection.
Journal: MethodsX
In common: MNE-Python, PyTorch, scikit-learn, 2 other tools, physionet.org/content/chbmit, EEG
[5] doi: [code]
Self-Rectifying Integrate-and-Fire Neuron and Collaborative Trim Training Framework for SNN-Based EEG Motor Imagery Classification
Journal: Brain sciences
In common: PyTorch, SciPy, Matplotlib, 1 other tool, bbci.de/competition/iv, EEG, 1 reference
[6] doi:10.1038/s41597-026-07120-7 [code]
PhysioMotion Artifact: A task-driven EEG dataset with point-wise motion artifact annotations.
Journal: Scientific data
In common: MNE-Python, PyTorch, scikit-learn, 3 other tools, methods / tools, EEG, 1 reference
[7] doi:10.3390/s26051730 [code]
SFE-GAT: Structure-Feature Evolution Graph Attention Network for Motor Imagery Decoding.
Journal: Sensors (Basel, Switzerland)
In common: PyTorch, SciPy, Matplotlib, 1 other tool, bbci.de/competition/iv, EEG
[8] doi:10.1371/journal.pone.0343722 [code]
Comprehensive methodology for sample enrichment in EEG biomarker studies for Alzheimer's risk classification.
Journal: PloS one
In common: MNE-Python, scikit-learn, pandas, 3 other tools, EEG, 1 reference
[9] doi:10.3390/bioengineering13070820 [code]
Benchmarking Multimodal Workload Classification: Effects of Modality, Validation Protocol, and Segmentation Contrast on an Open Graded-Arithmetic Dataset.
Journal: Bioengineering (Basel, Switzerland)
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, methods / tools, EEG
[10] doi:10.1093/bioinformatics/btag169 [code]
Bidirectional Mamba-2 boosts EEG super-resolution via regression and diffusion.
Journal: Bioinformatics (Oxford, England)
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, methods / tools, EEG

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.