Repository navigation
Releases
v1.6.0: cryostat budget and embedded-controller tests
Adds a cryostat heat-load and wall-plug budget (experiments/cryostat_budget.py) and embedded-controller tests (experiments/embedded/): fixed-point C controller at 132 ns per event (k = 4), precision, pulse-jitter, pool queueing, MCU-feasibility and randomness harnesses, with raw outputs in results/embedded/. 106 tests pass. Labels distinguish measured, simulated and estimated results; no cryogenic, MCU or FPGA hardware was used. No quantum advantage is claimed.
v1.5.0: weight-dependent baselines, shared sampling pool, energy split
Adds classical weight-dependent STDP baselines (multiplicative, van Rossum), Q-STDP network runs under the 1 K (Huang) noise model, a learning-rate sensitivity sweep, a shared time-multiplexed sampling-engine pool (Erlang C sizing), a coherent-hold feasibility module (nonlinearity proof check and ancilla-filter cost), and a workload energy model separating sampling from learning-update energy against measured Loihi figures. All v1.4.0 results reproduce exactly. 102 tests.
v1.4.0
Re-preparation energy now charges CNOTs their 100 ns (66.95 fJ per event at point values, was ~39 fJ); Monte Carlo re-preparation never beats the 10 pJ reference. Adds a 1 K noise case from Huang et al., Nature 627 (2024) 772, with an explicit fidelity-to-channel mapping. Hold-mode and all other results unchanged. 93 tests.
v1.3.2: Zenodo archival release
Archival release for long-term preservation on Zenodo. Code and results are identical to v1.3.0. 90/90 tests passing.
v1.3.1: archival release
Archival release for long-term preservation on Zenodo. Code and results are identical to v1.3.0, plus Zenodo metadata (.zenodo.json). 90/90 tests passing.
v1.3.0: extended experiments
New: extended experiments
Run python run_extended_experiments.py (about 8 minutes). It writes every number to results/extended_results.json.
- Re-preparation under noise (
reprep_noise.py): a density-matrix simulation of the amplitude-loading circuit, with 15 rotations and 14 CNOTs for k = 4, under depolarizing, dephasing and readout noise. At ~1.5 K the sampled distribution is off by a total variation distance of 0.19, but the mean weight by only 0.017. - Network learning (
network_learning.py): a 20-input LIF neuron, 5 seeds. Q-STDP learns input correlations with or without 1 K noise, and weight entropy falls only on learned synapses. - Energy uncertainty (
energy_uncertainty.py): 200,000 Monte Carlo samples with Spearman sensitivity. QNHS beats a 10 pJ GPU reference in 2.5% of samples. - Poisoning (
poisoning.py): a spike-timing attack with two defenses, update clipping and binomial timing detection. - MTJ TRNG (
mtj_trng.py): the write-current precision a random-number generator needs, versus temperature.
Tests: 90/90 passing on Python 3.10 and 3.12 (15 new).
v1.2.0: cooling cost and coherence corrections
Corrections
- Cooling cost was underestimated about 6x. The model charged a 50x "Carnot" penalty for 1 K operation. The Carnot minimum for rejecting heat from 1 K to 300 K is 299 J of work per joule removed. With an ideal refrigerator the wall-plug energy is now 3.3 pJ per event (about 3x under a 10 pJ GPU reference, not 18x). QNHS breaks even only if the refrigerator reaches 33% of Carnot. New:
refrigeration_overhead(fraction_of_carnot=...)andbreakeven_fraction_of_carnot(). - Coherence at 1 K was assumed, not measured. Published silicon qubits above 1 K show about 2 µs of coherence and 98.6% to 99.3% fidelity (Yang et al. 2020; Petit et al. 2020). The runner now prints that case, which gives no surface-code gain.
- References.
references.bibnow holds 15 entries, each checked against Crossref. The previous 26 included wrong author names and one DOI that does not resolve. - Threat model. MTJ random-number generation is a TRNG, and thermal switching is strongly suppressed at 1 K. The unsupported PQC energy comparison was removed.
Tests: 75/75 passing on Python 3.10 and 3.12.
v1.1.0: Q-STDP fix, website, CI
Highlights
- Project website: https://sunilgentyala.github.io/QNHS-Research-2026/
- New README with results figures, badges and a comparison table
- CI on Python 3.10 and 3.12 (tests + full simulation run, figures uploaded as a build artifact)
CITATION.cff, so GitHub's "Cite this repository" button now works
Fixes
- Q-STDP learning was a no-op. The update scaled every amplitude by the same factor
(1 + eta*K), and normalization cancelled it exactly, so weights never changed. The LTP/LTD tests passed only on ~1e-16 floating-point noise. The update is now weighted by(w_l - <w>): sustained LTP moves the mean weight 0.40 → 0.59 and LTD moves it 0.40 → 0.25. The tests now require a real shift, and a regression test was added. - Surface-code plot was 100x off. The figure used
(p/p_th)^((d+1)/2)rather than the model'sp (p/p_th)^((d-1)/2). It now plots the analyzer's own values. - Figures failed from the repo root. Scripts saved to
../figures. Paths now resolve from the package, andrun_all_simulations.pyactually generates all four figures. - The runner no longer hardcodes "72/72 PASSED".
- Removed the unused
python-docxdependency.
Tests: 73/73 passing.
v1.0.0 - Initial release: QNHS quantum-neuromorphic hybrid architecture
IEEE-NANO 2026 research paper simulation suite and security threat model. Sunil Gentyala | ORCID: 0009-0005-2642-3479 | HCLTech (HCL America Inc.)