Preprint · 2026 · Open access
AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices
arXiv · Published 3 August 2026 · DOI 10.48550/arxiv.2608.01750
In brief
“AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices” is a 2026 preprint by Rahul Gaur and 4 co-authors, published in arXiv. OpenAlex counts 1 citations as of 2 December 2026, which puts it in the top 10% of works published in 2026 by citations. It is open access under a CC BY licence: the full text is free to read at arXiv.
- Citations
- 1
- Most cited in
- 2026 (1)
- References
- 36
- Authors
- 5
Abstract
The existence of an ideal MagnetoHydroDynamic (MHD) equilibrium does not guarantee its stability. Finite toroidal mode number (n) instabilities degrade performance in both tokamaks and stellarators and differentiable stability optimization tools to date have operated only in the infinite-n limit. We present AGNI (Analysis of Global Normal modes in Ideal MHD), a GPU-accelerated, automatically differentiable finite-n ideal MHD stability solver and optimizer. AGNI discretizes the ideal MHD energy principle pseudospectrally in real space using differentiation matrices and geometric coefficients from a DESC equilibrium, giving a variational eigenvalue problem for the plasma displacement, and efficiently finds the most unstable modes. Built on jax, AGNI yields reverse-mode gradients of the growth rate with respect to boundary-shape and profile parameters without re-solving the equilibrium. We benchmark AGNI against the initial-value code NIMSTELL for a modified Landreman-Bulle-Drevlak quasi-helically symmetric stellarator and a DSHAPE tokamak,recovering the dominant mode with agreement in terms of growth rate and eigenfunction structure, and verify the automatic differentiation gradients against central finite differences. We quantify CPU and GPU cost for eigenvalue and gradient evaluation, establish the finite-precision limit on resolving near-marginal eigenvalues, and present a numerical scheme to impose incompressibility, compatible with gradient-based optimization. AGNI will allow us to optimize tokamaks, stellarators, and mirrors against ideal MHD instabilities.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Gaur, R., Patil, S., Gupta, P., Patch, D., & Qian, T. (2026). AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices. arXiv. https://doi.org/10.48550/arxiv.2608.01750
MLA 9
Gaur, Rahul, et al. “AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices.” arXiv, 2026. https://doi.org/10.48550/arxiv.2608.01750.
Chicago
Gaur, Rahul, Sanket Patil, Prateek Gupta, Djin Patch, and Tony Qian. 2026. “AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices.” arXiv. https://doi.org/10.48550/arxiv.2608.01750.
Harvard
Gaur, R. et al. (2026) ‘AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices’, arXiv. doi:10.48550/arxiv.2608.01750.
IEEE
R. Gaur, S. Patil, P. Gupta, D. Patch, and T. Qian, “AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices,” arXiv, 2026, doi: 10.48550/arxiv.2608.01750.
BibTeX
@misc{gaur2026agni,
title = {{AGNI: A differentiable MHD stability solver \& optimizer for magnetic confinement fusion devices}},
author = {Gaur, Rahul and Patil, Sanket and Gupta, Prateek and Patch, Djin and Qian, Tony},
howpublished = {arXiv},
year = {2026},
doi = {10.48550/arxiv.2608.01750},
url = {https://doi.org/10.48550/arxiv.2608.01750}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Physical Sciences › Physics and Astronomy › Nuclear and High Energy Physics › Magnetic confinement fusion research
- ideal MHD stability
- magnetic confinement fusion
- tokamak
- stellarator
- pseudospectral discretization
- automatic differentiation
- GPU acceleration
- incompressibility
Work with this paper
Most-cited papers in Physics and Astronomy
- Generalized Gradient Approximation Made SimpleJohn P. Perdew, Kieron Burke, Matthias Ernzerhof · Physical Review Letters · 1996 · 217,345 citations
- Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis setGeorg Kresse, Jürgen Furthmüller · Physical review. B, Condensed matter · 1996 · 125,164 citations
- Density-functional thermochemistry. III. The role of exact exchangeAxel D. Becke · The Journal of Chemical Physics · 1993 · 104,772 citations
- Development of the Colle-Salvetti correlation-energy formula into a functional of the electron densityChengteh Lee, Weitao Yang, Robert G. Parr · Physical review. B, Condensed matter · 1988 · 101,730 citations
- Projector augmented-wave methodPeter E. Blöchl · Physical review. B, Condensed matter · 1994 · 93,520 citations
Questions about this paper
How do I cite this paper in APA style?
Gaur, R., Patil, S., Gupta, P., Patch, D., & Qian, T. (2026). AGNI: A differentiable MHD stability solver & optimizer for magnetic confinement fusion devices. arXiv. https://doi.org/10.48550/arxiv.2608.01750
How many times has this paper been cited?
1 times, according to OpenAlex on 2 December 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at arXiv: sign in and open the PDF from this page.
Who wrote this paper?
Rahul Gaur, Sanket Patil, Prateek Gupta, Djin Patch, Tony Qian.
What is the DOI of this paper?
10.48550/arxiv.2608.01750, permanently at https://doi.org/10.48550/arxiv.2608.01750. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 2 December 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.