Open research code · MIT

Quantum-Neuromorphic
Hybrid Substrate

One monolithic stack of spin qubits, spintronic synapses and cryo-CMOS control, modeled at about 11 fJ per synaptic event, with uncertainty built into every weight.

All QNHS numbers on this page are theoretical projections from the models in the repository, not measurements of fabricated hardware. The models report the numbers that count against the idea too.

At a glance

Every figure below comes from running python run_all_simulations.py.

11.09 fJenergy per synaptic event, device level
≥3.3 pJwall-plug energy once the Carnot cost of cooling is charged
33%of Carnot efficiency needed to break even with a 10 pJ GPU reference
2kweight states per k-qubit synapse
~2 µscoherence shown above 1 K, vs. a 10 ms spike window
106 / 106unit tests passing in CI

Three planes, one die

The planes are bonded by Cu-Cu thermocompression at 200 nm pitch and operated at about 1 K.

PLANE 1

QCPP: Quantum Coherent Processing Plane

28Si spin qubit arrays. Each synapse is a k-qubit superposition protected by a distance-3 surface code.

Cu-Cu bond · 200 nm pitch
PLANE 2

SSP: Spintronic Synaptic Plane

PMA-MTJ memristors with four resistance states (2 bits) and 0.1 fJ spin-orbit-torque switching.

Cu-Cu bond · 200 nm pitch
PLANE 3

CPP: CMOS Peripheral Plane

3 nm cryo-CMOS FinFETs for LIF neurons, the MWPM syndrome decoder and SerDes links.

Contributions

What is proposed, and what the code checks.

  1. Three-plane monolithic architectureQuantum, spintronic and CMOS layers integrated vertically instead of linked across a cryostat.
  2. Quantum synaptic encodingA synapse is a distribution over 2k weight states, which gives Bayesian uncertainty with no extra sampling hardware.
  3. Q-STDP learning ruleSpike-timing plasticity in the amplitude domain. Potentiation shifts probability toward higher weights and depression toward lower ones.
  4. Coherence budgetd = 3 gives a 10x gain at 0.1% error but none at the ~1% measured above 1 K. Holding amplitudes for a 10 ms window is out of reach today; re-preparing the state on each spike needs ~1.9 µs of gates, plus initialization and readout.
  5. Energy with cooling11.1 fJ per event at the device, at least 3.3 pJ at the wall plug once the Carnot cost of 1 K operation is charged.
  6. Hardware security analysisSide channels, learning-rule poisoning and cryogenic Trojans, plus candidate PUF and random-number primitives.

Results

Four models, each with its own test file.

Bar chart of energy per synaptic event: H100 10000 fJ, Loihi 2 1000 fJ, NorthPole 500 fJ, QNHS 11 fJ device, 3.3 pJ wall-plug at the Carnot limit and 33 pJ at 10% of Carnot
Energy per synaptic event. E_MTJ 0.10 fJ + E_qubit 0.99 fJ + E_CMOS 10.0 fJ = 11.09 fJ. That is about 900x below a ~10 pJ GPU reference at device level. Cooling changes the picture: rejecting heat from 1 K to 300 K costs at least 299 J per joule, so even an ideal refrigerator gives 3.3 pJ per event, and QNHS only breaks even if the refrigerator reaches 33% of Carnot.
Four panels: mean weight over 500 random spike pairs, weight entropy, the STDP kernel, and final weight distribution over 16 basis states
Q-STDP learning. 500 random spike pairs on a 4-qubit synapse. Under sustained potentiation (dt = +15 ms) the mean weight rises from 0.40 to 0.59; under sustained depression it falls to 0.25.
alpha_l(t+1) = N[ alpha_l(t) + eta · K(dt) · (w_l − ⟨w⟩) · alpha_l(t) ]
MTJ resistance states from 5 to 15 kilo-ohm, switching probability versus current at 1 K and 300 K, and a 16 by 16 crossbar state map
PMA-MTJ synapse. 5.0 / 8.3 / 11.7 / 15.0 kΩ states at TMR 200%, a 60 kBT retention barrier, and a switching threshold that is nearly a step function at 1 K.
Logical error rate and coherence enhancement versus code distance 3 to 11 for physical error rates 0.1, 0.5 and 1 percent
Surface-code scaling. p_L = p_phys (p_phys/p_th)(d−1)/2. At the 1% threshold there is no gain; at 0.1% each step in distance buys another 10x. The 1 µs decoder cycle runs 10,000 times per 10 ms spike window.

Against today's hardware

MetricNVIDIA H100Intel Loihi 2IBM NorthPoleQNHS (projected)
E_syn, device level~10 pJ~1 pJ~0.5 pJ~11 fJ
Energy evidence~10 pJ/event (reference)Measured chips25x FPS/W vs. 12 nm GPU11.1 fJ device, ≥3.3 pJ wall-plug
Weight encodingFP16INT8INT82k quantum states
Bayesian uncertaintyNoneNoneNoneIntrinsic
Spike-nativeNoYesPartialYes
Security primitivesNoneNoneNonePUF, TRNG (proposed)
Operating temperature300 K300 K300 K~1 K

Baseline columns come from published specifications. The QNHS column is a model projection.

Security

Quantum-neuromorphic hardware inherits threats from both of its parents. The threat model covers four areas.

Side channels

Timing fingerprinting of cloud quantum hardware in 10 queries (GLSVLSI 2025) and up to 85.7% accuracy identifying a victim's algorithm via crosstalk (NDSS 2025).

Adversarial weights

Sampling makes inference stochastic, but stochastic defenses can be bypassed by gradient averaging, so no robustness is claimed without testing. Q-STDP opens a training-time poisoning channel.

On-chip primitives

Quantum-dot PUFs from charge noise and MTJ random numbers. Thermal switching is suppressed at 1 K, so random-number cells need near-critical biasing. Crossbar PQC acceleration is a research direction only.

Supply chain

Trusted-foundry flow and post-fabrication verification at 1 K for cryo-CMOS logic locking.

Run it

Python 3.10 or newer, with numpy and matplotlib. It runs in a few seconds.

git clone https://github.com/sunilgentyala/QNHS-Research-2026.git
cd QNHS-Research-2026
pip install -r requirements.txt

python run_all_simulations.py    # models and 106 tests, figures/*.png
python -m pytest tests/ -v

Cite

To cite the software, use the entry below or CITATION.cff.

@software{gentyala2026qnhs,
  author = {Gentyala, Sunil},
  title  = {{QNHS}: Quantum-Neuromorphic Hybrid Substrate simulation suite},
  year   = {2026},
  url    = {https://github.com/sunilgentyala/QNHS-Research-2026}
}