Skip to content
Discussion options

You must be logged in to vote

Dear Xiankang,

At the version of 0.4.3 of Magnopy the eigenenergies in the "particle-hole" picture (i. e. by "splitting" each magnon eigenstate in two equal parts) can be obtained as (assume that the k-point is given in absolute values of the reciprocal space)

import magnopy
import numpy as np

# Some spin Hamiltonian
spinham = ...
# Set of spin directions that define the classical "vacuum state"
spin_directions = ...
# Some k-point in reciprocal space given in absolute coordinates
k = ...

lswt = magnopy.LSWT(spinham=spinham, spin_directions=spin_directions)

E, G = magnopy.solve_via_colpa(D = lswt.GDM(k = k))

E = np.diag(E)

N = E.shape[0] // 2
g = np.diag(np.concatenate((np.ones(N), -…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@XiankangTang
Comment options

@adrybakov
Comment options

Answer selected by XiankangTang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants