Sunny.jl: A Julia Package for Spin Dynamics
David Dahlbom, Hao Zhang, Cole Miles, Sam Quinn, Alin Niraula, Bhushan Thipe, Matthew S. Wilson, Sakib Matin, Het Mankad, Steven Hahn, Daniel M. Pajerowski, Steven Johnston, Zhentao Wang, Harry Lane, Ying Wai Li, Xiaojian Bai, Martin Mourigal, Cristian D. Batista, Kipton Barros
Abstract
Sunny is a Julia package designed to serve the needs of the quantum magnetism community.It supports the specification of a very broad class of spin models and a diverse suite of numerical solvers.These include powerful methods for simulating spin dynamics both in and out of equilibrium.Uniquely, it features a broad generalization of classical and semiclassical approaches to SU(N) coherent states, which is useful for studying systems exhibiting strong spin-orbit coupling or local entanglement effects.Sunny also offers a well-developed framework for calculating the dynamical spin structure factor, enabling direct comparison with scattering experiments.Ease of use is a priority, with tools for symmetry-guided modeling and interactive visualization.