I want to calculate the eigenvalues of a model under different variables, For example, in the xxz model,h can change.
What do I need to do to get a series of intrinsic energies under different parameters?
I tried to create an array directly in the program to store a series of values of a variable, but for some reason I reported an error.
Thank you very much if you can answer it