← Latest papers
🔢 mathematics

yancc: A GPU-accelerated, differentiable solver for neoclassical transport in tokamaks and stellarators

The paper introduces yancc, a fully differentiable, GPU-accelerated solver for the drift kinetic equation that achieves significant speed and memory efficiency gains over existing codes while maintaining high accuracy, thereby enabling advanced applications like gradient-based stellarator optimization and uncertainty quantification.

Original authors: Rory Conlin, Matt Landreman

Published 2026-07-24
📖 3 min read🧠 Deep dive

Original authors: Rory Conlin, Matt Landreman

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine trying to predict the weather inside a star that you've trapped inside a giant, invisible magnetic bottle. This is the daily challenge of fusion energy research, where scientists try to replicate the power of the sun here on Earth. To do this, they heat gas (called plasma) to millions of degrees and hold it in place using powerful magnetic fields. The problem is that this super-hot gas is messy. Particles bounce around, collide, and drift in ways that are incredibly hard to predict. If you can't predict how these particles move, you can't design a machine that generates clean, limitless energy.

The key to solving this puzzle lies in a complex mathematical recipe called the "drift kinetic equation." Think of this equation as a massive, multi-dimensional map that tracks every single particle in the plasma. It has to account for where the particle is, how fast it's going, the direction it's facing, and how it bumps into other particles. In the twisted, 3D magnetic cages used in advanced fusion devices (called stellarators), this map becomes a nightmare of complexity. The particles get trapped in magnetic "pockets," drift in loops, and create sharp, sudden changes in their behavior that are like trying to draw a smooth line through a jagged mountain range. For decades, computers have struggled to solve this map quickly enough to be useful for designing new machines.

Enter yancc, a new computer program introduced by Rory Conlin and Matt Landreman that acts like a high-speed, super-smart navigator for this chaotic plasma world. The paper presents yancc as a revolutionary tool that doesn't just solve the drift kinetic equation; it solves it fast and smart. While older programs (like SFINCS and MONKES) have been the standard for years, they are often slow, memory-hungry, and struggle to keep up when the plasma gets too hot or too dense. Yancc, built specifically to run on modern graphics cards (GPUs), acts like a fleet of race cars compared to the old program's single, heavy truck. It uses a clever mathematical trick called "multigrid" to zoom in and out of the problem, smoothing out the jagged edges of the solution efficiently.

The authors found that yancc is not only accurate but also incredibly efficient. When they tested it against the best existing codes, it produced results that matched within 1%—meaning it's just as reliable as the old standards. However, the real magic is in the speed: yancc runs about 10 times faster than the leading code (SFINCS) while using 10 times less computer memory. Even more impressively, its speed stays steady whether the plasma is calm or chaotic, whereas older codes tend to slow down to a crawl in difficult conditions. Because yancc is built on a modern software framework called JAX, it is also "differentiable," which is a fancy way of saying it can instantly calculate how small changes in the machine's design will affect the plasma. This makes it a perfect tool for the next generation of fusion experiments, allowing scientists to tweak and optimize their magnetic cages in real-time, bringing us one step closer to harnessing the power of the stars.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →