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.

4 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 5 matches · 1 of them tie a paragraph to a whole file without 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 to 96 · score 0.72 · explanatory report, feature attributions, attention weights, bands, QuantumNeuroXAI, sensitivity · block oscr:b:AT5Y70BP1B2Z4-H · Report a mismatch
  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 · block oscr:b:E9NC5B1AR98JY-8 · Report a mismatch
  3. [3] § Materials and methods › Training strategy and experimental protocol ↔ QuantumNeuroXAI/src/training/losses.py, lines 6 to 11 · score 0.54 · cross entropy loss, binary, class, Training · block oscr:b:46YVCK4X1M35A-1 · Report a mismatch
  4. [4] § Materials and methods › Quantum-inspired feature encoding module ↔ QuantumNeuroXAI/src/quantum/quantum_block.py, lines 8 to 29 · score 0.54 · amplitude encoded, phase encoding, map, module, inspired, Quantum · block oscr:b:544B3EH2R796C-O · Report a mismatch
  5. [5] § Materials and methods › Explainability and interpretability design ↔ QuantumNeuroXAI/scripts/06_generate_explanations.py, lines 17 to 96 · score 0.52 · feature attribution, attention weights, explanation, fused, prediction, Model · block oscr:b:AT5Y70BP1B2Z4-H · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: 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 (how the code is found and 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.1038/s41598-025-32207-3 [code]
Multi-scale EEG feature decoding with Swin Transformers for subject independent motor imagery BCIs.
Journal: Scientific reports
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, bbci.de/competition/iv, methods / tools, EEG, 1 reference
[3] doi:10.1038/s41598-024-73755-4 [code]
Compact convolutional transformer for subject-independent motor imagery EEG-based BCIs.
Journal: Scientific reports
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, bbci.de/competition/iv, methods / tools, EEG, 1 reference
[4] doi:10.3390/biomimetics11010075 [code]
Hybrid Spike-Encoded Spiking Neural Networks for Real-Time EEG Seizure Detection: A Comparative Benchmark.
Journal: Biomimetics (Basel, Switzerland)
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, physionet.org/content/chbmit, EEG
[5] doi:10.1038/s41598-025-16219-7 [code]
Temporal convolutional transformer for EEG based motor imagery decoding.
Journal: Scientific reports
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, bbci.de/competition/iv, EEG
[6] doi:10.3389/fninf.2024.1459970 [code]
hvEEGNet: a novel deep learning model for high-fidelity EEG reconstruction.
Journal: Frontiers in neuroinformatics
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, bbci.de/competition/iv, EEG
[7] doi:10.1038/s41598-025-98389-y [code]
Retraining and evaluation of machine learning and deep learning models for seizure classification from EEG data.
Journal: Scientific reports
In common: MNE-Python, scikit-learn, pandas, 3 other tools, physionet.org/content/chbmit, methods / tools, EEG
[8] doi:10.1038/s41598-023-41326-8 [code]
Signature methods for brain-computer interfaces.
Journal: Scientific reports
In common: MNE-Python, PyTorch, scikit-learn, 1 other tool, bbci.de/competition/iv, methods / tools, EEG, 1 reference
[9] doi:10.1038/s41467-025-63786-4 [code]
A predictive approach to enhance time-series forecasting.
Journal: Nature communications
In common: MNE-Python, PyTorch, scikit-learn, 4 other tools, physionet.org/content/chbmit
[10] doi:10.3389/fncom.2022.803384 [code]
SRI-EEG: State-Based Recurrent Imputation for EEG Artifact Correction.
Journal: Frontiers in computational neuroscience
In common: PyTorch, scikit-learn, pandas, 3 other tools, bbci.de/competition/iv, EEG, 1 reference

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.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41598-026-47627-y.svg)](https://openscicode.org/badge/doi/10.1038/s41598-026-47627-y)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-47627-y.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41598-026-47627-y
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41598-026-47627-y"><img src="https://openscicode.org/badge/doi/10.1038/s41598-026-47627-y.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge 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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

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