Release:

0.3.0

Date:

23 September 2025

Useful links: Issue Tracker | Cite | User support | Tutorials

Hint

Install magnopy with optional dependencies (Plotly and matplotlib) to get magnopy to produce graphics

pip install "magnopy[visual]"

What is magnopy?#

Magnopy is a python code that, given Spin Hamiltonian in any convention, computes bosonic Hamiltonian of the form

\[\mathcal{H} \approx E^{(0)} + E^{(2)} + \sum_{\boldsymbol{k}} \Delta(\boldsymbol{k}) + \sum_{\alpha} \sum_{\boldsymbol{k}\in 1^{st} BZ} \omega_{\alpha}(\boldsymbol{k}) \Biggl( b^{\dagger}_{\alpha}(\boldsymbol{k})b_{\alpha}(\boldsymbol{k}) + \dfrac{1}{2} \Biggr) + \dots\]

where

  • \(E^{(0)}\) is a classical energy of the ground state;

and the next three terms are derived with the Linear Spin Wave Theory (LSWT):

  • \(E^{(2)}\) is a quantum correction to the ground state energy;

  • \(\omega_{\alpha}(\boldsymbol{k})\) is magnon dispersion at the level of LSWT;

  • \(\sum_{\boldsymbol{k}}\Delta(\boldsymbol{k})\) is an energy measure of \(\pm \boldsymbol{k}\) asymmetry.

Planned to be implemented#

(Please indicate to the developers if you would like to use those features or if you would like to participate in their implementation)

  • Renormalized Spin Wave theory (RSWT)

  • Magnon decay rate

  • ...