# Magnon dispersion#

Method is based on the [1]. with matrix diagonalisation via [2].

We believe that a mistake was made in the derivation in original paper [1],
which is discussed in much details here: `magnon-dispersion.pdf`

.

Magnon dispersion is computed via diagonalization of the matrix
\(\boldsymbol{h}(\boldsymbol{k})\).
This matrix is defined in the original paper [1] and corrected in our
`comment`

:

Diagonalization of this matrix imposes two conditions on it: Hermicity and
positive definiteness. If both conditions are satisfied, then the `MagnonDispersion`

will return a set of positive eigenfrequencies. If positive definiteness
is not satisfied, we define special strategies for the three cases:

- It is positive semi-definite, but not positive definite.
Following [1] we add small positive number (\(10^{-8}\)) to the diagonal of the matrix \(\boldsymbol{h}(\boldsymbol{k})\) and then diagonalize it.

- If it is negative definite.
We multiply the matrix by \(-1\), diagonalize it and multiply the result by \(-1\). In that way the set of negative eigenfrequencies is returned, which are not correct magnon energies, but it can give you an idea of the magnetic structure stability (try to apply spin spiral with the Q vector, which correspond to the minimum of energy).

- If it is negative semi-definite, but not negative definite.
We add small negative number (\(-10^{-8}\)) to the diagonal of the matrix \(\boldsymbol{h}(\boldsymbol{k})\) and follow previous case.

In all other cases the `MagnonDispersion`

will return `0`

or `None`

.