Calculate energy spectrum

General forum for EasySpin: questions, how to's, etc.
Post Reply
ep-silon
Newbie
Posts: 4
Joined: Wed Mar 22, 2017 2:08 am

Calculate energy spectrum

Post by ep-silon »

Hello,

I want to calculate the energy spectrum in zero applied field. I know about "levels" function, but it allows only to calculate the energy levels evolution in an applied field. Is it there anyway how can I do it in absence of any field? In other words I just want EasySpin to give me the eigenvalues of my Hamiltonian.

Many thanks in advance!
joscha_nehrkorn
EasySpin Guru
Posts: 32
Joined: Wed Jan 20, 2016 11:35 am

Re: Calculate energy spectrum

Post by joscha_nehrkorn »

Code: Select all

eig(sham(Sys,[0,0,0]))
gives you the eigenvalues of the Hamiltonian of the system Sys in zero field.
ep-silon
Newbie
Posts: 4
Joined: Wed Mar 22, 2017 2:08 am

Re: Calculate energy spectrum

Post by ep-silon »

Thanks a lot! It worked.
Post Reply