ajmal.science research

a side project, 2026

Quantum Noise Graph Explorer

Qubits that sit close together often feel the same noise. I wanted to see how far the tools that finance and neuroscience use for many co-varying signals, correlation networks, can go in recovering that structure, and where they break. So I simulated the noise, planted structure I knew was there, and tested the methods against it.

An independent computational research project · Python, NetworkX, Streamlit · live dashboard · code on GitHub

55 / 63pass marks met, set before the run
23,400seeded simulation trials
166automated tests
30references, each checked

The question

Noise in real qubit devices is often correlated. Charge noise has been seen to correlate across hundreds of micrometres, particle impacts cause bursts that hit a whole chip, and in silicon spin qubits correlations fade with distance [1–3, 6, 7]. Error correction works best when errors are independent, so these correlations matter.

A correlation network turns many signals into a graph: one node per signal, one edge per correlation that passes a statistical test [14–18]. Here the nodes are qubits. The project asks a narrow question: if you apply that toolbox to qubit noise, how well does it recover structure you know is there?

Physical graph

How the qubits are laid out or wired. Fixed, and known.

Correlation graph

Which qubits' noise moves together. Estimated from data, and uncertain.

The two can disagree, and the disagreements are part of what's studied. A correlation edge never shows that one qubit causes noise in another.

How it works

  1. Simulate. Each qubit gets a noise signal built from four parts: a field shared with its neighbours, a source felt by every qubit, bursts that hit one region, and planted oddities such as a two-level fluctuator. Each part follows a time law: white, slow drift, 1/f, random walk, periodic or telegraph.
  2. Build the network. Estimate every pairwise correlation, test each one while correcting for autocorrelation (or with phase-randomised surrogates [29]), and keep only edges that pass at a set false-discovery rate [28].
  3. Analyse it. Clustering, communities [16, 19, 20], the eigenvalue spectrum against what pure noise would give [15, 24, 25], correlation against distance, and change over time.
  4. Check it. Eight experiments, each repeated 200 times with fixed seeds. The pass marks were written down and committed before any results came in, and were not moved afterwards.

Everything is synthetic. The models are phenomenological: they mimic features reported for real devices but are not fitted to any of them.

What I found

Where it works

  • False edges stay rare on independent noiseat the nominal 5% rate, for 16 to 64 qubits and 100 to 10,000 time steps
  • The correlation length is recoveredwithin about 3–7% at 3,000 time steps
  • A shared source is detected close to theory50% detection at strength 0.062, against a predicted threshold of 0.055 [25]
  • Planted changes and anomalies are foundin every run, though the planted signals were strong, so these are easy cases
Relative error of the fitted correlation length against record length, for planted lengths 0.5, 1 and 2; the error falls toward zero as the record grows.
Average error of the fitted correlation length, with 95% intervals. It falls toward zero as the record grows.

Where it fails

  • Slow drift fools the naive test53–77% of independent pairs looked correlated; a correction for autocorrelation brings it back to about 5%
  • Periodic noise defeats that correctiontwo tones at one frequency correlate by chance of phase (59% false edges); surrogate tests fix it (4%)
  • A shared source hides the spatial patternpartial correlation still ranks true neighbours almost perfectly (ROC AUC 0.998), but its F1 stays near 0.7
  • Finding a disturbed regiontrades precision against recall; no amplitude met both marks
  • Binary error eventshide almost all of the structure at these record lengths
False-positive rate per pair for each time law and test, on a log scale; the naive test is far above 5% for drifting noise.
False edges between independent qubits, by time law and test. The dashed line is the nominal 5%.
Three panels: detection of a common mode against its strength, F1 and ROC AUC of edge recovery for each estimator.
Recovering spatial edges under a shared source. F1 and AUC tell different stories; the write-up explains why.

One lesson was about scoring itself. F1 against a fixed list of "true" edges misled me twice: more data revealed real but weak correlations, and the score counted them as mistakes. ROC AUC, which scores the whole ranking, behaved as expected every time. The pass marks stayed as committed, with that caveat written next to them.

Full tables and all eight experiments: validation write-up.

The dashboard

An interactive dashboard lets you pick a scenario, change the noise, choose how the network is built and see what happens: the network on the chip layout, the estimated matrix next to the planted one, change over time, and the spectrum against the noise limit. It also lists cautions for the settings you pick.

Dashboard showing a 36-qubit lattice with correlation edges drawn between neighbouring qubits.
The Network tab on the spatial scenario: 36 qubits, edges for correlations that pass the test.

It runs on Streamlit Community Cloud. If nobody has used it for a while it may need a minute to wake up. You can also run it on your own computer:

git clone https://github.com/ajmal-ima/research
cd research/quantum-noise-graph-explorer
pip install -e ".[dashboard]"
streamlit run dashboard/app.py

Limits, plainly

  • Classical and syntheticno quantum dynamics, no hardware, no parameters fitted to a device; nothing here is a claim about real qubits
  • Clean signalsreal labs rarely see a per-qubit noise trace; they infer noise from measurements, each with its own bias
  • Circular by designrecovering planted structure shows the methods work under my own assumptions
  • Not newthe methods are standard; what's here is an open, tested bench showing where they work and where they don't

Closest work

Harper and Flammia learned a graphical model of correlated noise on a real 39-qubit processor [11], and error-correction experiments look at pairwise correlations between detection events [13]. Both start from quantum measurements on real hardware. This project is purely statistical and works on simulated signals, so it complements that work rather than competing with it.

References

Each was checked against its arXiv, publisher or index page. The full list of 30 is in the repository; the ones cited above:

  1. C. D. Wilen et al., Correlated charge noise and relaxation errors in superconducting qubits, Nature 594 (2021). arXiv:2012.06029
  2. M. McEwen et al., Resolving catastrophic error bursts from cosmic rays in large arrays of superconducting qubits, Nature Physics 18, 107–111 (2022). arXiv:2104.05219
  3. A. P. Vepsäläinen et al., Impact of ionizing radiation on superconducting qubit coherence, Nature (2020). arXiv:2001.09190
  4. J. S. Rojas-Arias et al., Spatial noise correlations beyond nearest neighbors in ²⁸Si/Si-Ge spin qubits, Phys. Rev. Applied 20, 054024 (2023). arXiv:2302.11717
  5. J. S. Rojas-Arias et al., Scaling of silicon spin qubits under correlated noise, preprint (2026). arXiv:2603.03051
  6. R. Harper, S. T. Flammia, Learning correlated noise in a 39-qubit quantum processor, PRX Quantum 4, 040311 (2023). arXiv:2303.00780
  7. Google Quantum AI, Exponential suppression of bit or phase errors with cyclic error correction, Nature 595 (2021). arXiv:2102.06132
  8. R. N. Mantegna, Hierarchical structure in financial markets, Eur. Phys. J. B 11, 193–197 (1999). arXiv:cond-mat/9802256
  9. L. Laloux, P. Cizeau, J.-P. Bouchaud, M. Potters, Noise dressing of financial correlation matrices, Phys. Rev. Lett. 83, 1467 (1999). arXiv:cond-mat/9810255
  10. M. MacMahon, D. Garlaschelli, Community detection for correlation matrices, Phys. Rev. X 5, 021006 (2015). arXiv:1311.1924
  11. E. Bullmore, O. Sporns, Complex brain networks: graph theoretical analysis of structural and functional systems, Nat. Rev. Neurosci. (2009). doi:10.1038/nrn2575
  12. N. Leonardi, D. Van De Ville, On spurious and real fluctuations of dynamic functional connectivity during rest, NeuroImage (2015). EPFL record
  13. M. E. J. Newman, Modularity and community structure in networks, PNAS (2006). arXiv:physics/0602124
  14. V. D. Blondel, J.-L. Guillaume, R. Lambiotte, E. Lefebvre, Fast unfolding of communities in large networks, J. Stat. Mech. (2008). arXiv:0803.0476
  15. V. A. Marchenko, L. A. Pastur, Distribution of eigenvalues for some sets of random matrices, Math. USSR-Sbornik 1 (1967). Math-Net.Ru
  16. J. Baik, G. Ben Arous, S. Péché, Phase transition of the largest eigenvalue for nonnull complex sample covariance matrices, Ann. Probab. 33 (2005). arXiv:math/0403022
  17. Y. Benjamini, Y. Hochberg, Controlling the false discovery rate: a practical and powerful approach to multiple testing, J. R. Stat. Soc. B (1995). TAU record
  18. J. Theiler, S. Eubank, A. Longtin, B. Galdrikian, J. D. Farmer, Testing for nonlinearity in time series: the method of surrogate data, Physica D (1992). OSTI