I am a student new to ITensor and Julia. I want to know whether there is a quick way to obtain all eigenvalues of a density matrix. Here is the line of my code. I first use eigen()
eigen(rho_reduced)
This gives error message
MethodError: no method matching eigen(::MPO)
Then I try to use
diagHermitian(rho_reduced)
I get this
UndefVarError: `diagHermitian` not defined
I guess there is something I need to add in my code to fix this. I hope someone can help me on this. Thank you so much.