epraya.EAdaptarray#
- EAdaptarray(espac, h1, iser)#
Constructs the Zeeman hamiltonian, adds it to the complete one and finds the energy values and eigenvectors.
- Parameters:
espac (np.array) – Array with the values of the magnetic field.
h1 (np.array) – Hamiltonian matrix that contains all no Zeeman interactions.
iser (np.array) – Hamiltonian matrix of the Zeeman interaction.
- Returns:
Elist (np.array) – Array of the energy values of the hamiltonian.
Vlist (np.array) – Array of the eigenvectors of the hamiltonian.