Diagonalization#

For the full reference see solve_via_colpa()

There are two main methods for the diagonalization of bosonic Hamiltonian. In RAD-tools we implemented one from [1].

Import#

>>> # Exact import
>>> from radtools.magnons.diagonalization import solve_via_colpa
>>> # Explicit import
>>> from radtools.magnons import solve_via_colpa
>>> # Recommended import
>>> from radtools import solve_via_colpa

Usage#

One need to pass grand-dynamical matrix to receive the eigenvalues and transformation matrix.

>>> solve_via_colpa([[1, 0], [0, 1]])
(array([1., 1.]), array([[ 1., -0.],
       [-0.,  1.]]))

References#