One Random Number per Write: Switching-Time Quantile Kernels Built from a Single Batched Ensemble for Circuit Simulators, a Progress-Variable Rule That Is Exact for Constant Drive, and Its Measured Error Under Ramped Pulses

Circuit simulation of a magnetic memory cell needs the switching time of the cell as a random variable that depends on the drive. Running a stochastic macrospin solver in every write event is far too slow, while a deterministic compact model loses the spread that sets the write-error tail. This paper builds a behavioural kernel from one batched ensemble: for a set of drive levels, the quantiles of the switching time (499 levels each) are tabulated, so the kernel is a small table, here 8 by 499 numbers. In the circuit simulator each write event draws one uniform number u, and a progress variable advances by dt/Q(uX(t)) until it reaches one. For a constant drive the rule reproduces the ensemble distribution by construction; for drives that were not in the table the maximum distance between cumulative distributions, computed against a fresh ensemble of 20\,000 trajectories, is 0.013, 0.018 and 0.009, close to the sampling noise of about 0.014, with a one-sided difference at the largest that points to interpolation in the drive. For a ramped current the rule is no longer exact: for rise times of 20, 60 and 120 units the distance is 0.059, 0.11 and 0.17, with median switching times 3–5% above the direct solution, while a model that ignores the ramp has distances of 0.34, 0.71 and 0.98. The paper reports the construction, the validation, the ramp error, and a per-event timing, 34 μs against 0.74 ms on one CPU in the implementation used.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-02
DOI
https://doi.org/10.5281/zenodo.24757678
Primary Topic
Magnetic properties of thin films
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

One Random Number per Write: Switching-Time Quantile Kernels Built from a Single Batched Ensemble for Circuit Simulators, a Progress-Variable Rule That Is Exact for Constant Drive, and Its Measured Error Under Ramped Pulses

I-Wei Tseng
Zenodo (CERN European Organization for Nuclear Research)
Magnetic properties of thin films
preprint

One Random Number per Write: Switching-Time Quantile Kernels Built from a Single Batched Ensemble for Circuit Simulators, a Progress-Variable Rule That Is Exact for Constant Drive, and Its Measured Error Under Ramped Pulses

I-Wei Tseng
preprint en

Abstract

Circuit simulation of a magnetic memory cell needs the switching time of the cell as a random variable that depends on the drive. Running a stochastic macrospin solver in every write event is far too slow, while a deterministic compact model loses the spread that sets the write-error tail. This paper builds a behavioural kernel from one batched ensemble: for a set of drive levels, the quantiles of the switching time (499 levels each) are tabulated, so the kernel is a small table, here 8 by 499 numbers. In the circuit simulator each write event draws one uniform number u, and a progress variable advances by dt/Q(uX(t)) until it reaches one. For a constant drive the rule reproduces the ensemble distribution by construction; for drives that were not in the table the maximum distance between cumulative distributions, computed against a fresh ensemble of 20\,000 trajectories, is 0.013, 0.018 and 0.009, close to the sampling noise of about 0.014, with a one-sided difference at the largest that points to interpolation in the drive. For a ramped current the rule is no longer exact: for rise times of 20, 60 and 120 units the distance is 0.059, 0.11 and 0.17, with median switching times 3–5% above the direct solution, while a model that ignores the ramp has distances of 0.34, 0.71 and 0.98. The paper reports the construction, the validation, the ramp error, and a per-event timing, 34 μs against 0.74 ms on one CPU in the implementation used.

Zenodo (CERN European Organization for Nuclear Research)
Magnetic properties of thin films
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon