Magnetic memory bits flipping by chance run an Ising machine

A memory chip used as a source of controlled randomness

Many hard planning problems, from routing wires on a chip to scheduling deliveries, come down to choosing the best of an astronomically large number of options. One family of hardware built for this is the Ising machine. A team from Beihang University and the Chinese company Suzhou Inston Technology has built one around a magnetic memory chip, and its building blocks flip in under a nanosecond.

The headline numbers need their conditions. The chip carries 96,000 magnetic bits, but that is its capacity, not the size of the problems solved. The flip takes under a nanosecond, but a full step of the machine takes 45 nanoseconds, because the arithmetic linking the bits together runs on a separate programmable chip. The work is published in Nature Electronics.

What an Ising machine does

An Ising machine is named after a physics model of tiny magnets, or spins, that each point up or down. Pairs of spins are coupled: some prefer to point the same way, some opposite ways. The arrangement with the lowest total energy is the one that satisfies the most of those preferences.

The trick is to encode an optimisation problem in the couplings so that the lowest-energy arrangement is the best answer. A standard test is Max-cut: split the points of a network into two groups so that as many links as possible run between the groups.

In a probabilistic Ising machine, each spin repeatedly looks at the pull from its neighbours and then flips with a probability that depends on that pull. The randomness lets the system climb out of poor solutions, and it is gradually reduced, a process called annealing, so the system settles into a good one.

How can a memory bit act like a coin flip?

Each spin here is a magnetic tunnel junction, the storage element of magnetoresistive memory, or MRAM. It is a sandwich of two magnetic layers separated by an insulating barrier of magnesium oxide. One layer is fixed; the other can flip. Electrical resistance is low when the two point the same way and high when they are opposite, which is how the bit is read.

Most MRAM flips the free layer by pushing a sizeable current through it. This chip uses a different effect called voltage-controlled magnetic anisotropy. A voltage across the barrier lowers the energy barrier that holds the free layer in place, so a short pulse can flip it, but only sometimes. The length of the pulse sets the odds. The team tuned that single-pulse switching probability from 0% to 100% by changing pulse width, mapping the pull from the neighbours onto a pulse length so that each flip follows the S-shaped probability curve the algorithm needs.

According to the paper, a spin update takes 0.3 to 1 nanosecond and uses less than 40 femtojoules, millionths of a billionth of a joule. The 2025 preprint of the work describes the chip as 96 kilobits of memory made in a 40-nanometre manufacturing process.

What was solved, and how fast

The team mapped two problems from chip design onto the machine: global routing, which plans the rough paths of wires, and layer assignment, which decides which of a chip's stacked wiring layers each wire segment goes on. In the extended data, the magnetic coin flips reached a success probability comparable to a 16-bit pseudo-random generator on the routing problem.

For a common comparison, the team used dense 60-node Max-cut problems in which half of all possible links are present. Here the full system took 45 nanoseconds per iteration and needed about 130.5 microseconds to reach the optimum with 99% confidence, giving about 192,000 solutions per second per watt at 40 milliwatts.

What this does not show

The magnetic chip supplies the random flips, but not the couplings. In the supplementary information the team writes that the system consists of "a VC-MRAM chip, which provides the probabilistic Ising spins, and an FPGA, which handles spin coupling and other auxiliary operations." The FPGA is a general-purpose programmable chip, and the multiply-and-add step it performs takes about 20 nanoseconds, so it dominates each 45-nanosecond iteration. The paper describes the machine as an on-chip all-to-all design; in the demonstrated hardware, the all-to-all connections are calculated on the FPGA.

The authors argue that the latency "currently dominated by programmable logic can be substantially mitigated through a dedicated ASIC implementation", and project 2.9 microseconds and far higher efficiency for such a chip. That is an estimate, not a measurement.

Scale is the other limit. The benchmark problems have 60 nodes, and the team's own lifetime estimate assumes about 1,000 junctions per real-world problem, far below the 96,000 on the chip. The tested endurance of the junctions is 10 trillion write cycles, which the authors say reflects the length of their test rather than an observed failure.

Who did it

The work is by Sai Li, Yihao Zhang, Lang Zeng, Peng Wang and Weisheng Zhao of Beihang University's School of Integrated Circuit Science and Engineering and its National Key Laboratory of Spintronics, with Albert Lee, Zheng Zhu and Di Wu of Suzhou Inston Technology and Lei Gao of Empyrean Technology.

Sources

Related stories

More from Tiny Chip Club

All stories from Tiny Chip Club