Diagonalize arbitrary Hamiltonians #740
-
|
Hello everyone, I am almost finishing the project im working on. One last thing i need to know is if one can diagonalize arbitrary Hamiltonians using Qadence. For instance, let us say I want to obtain the eigenvalues and eigenstates of any Hamiltonian, is it possible? I was told I can do it using QuTiP, for example. Thanks in advance, when I finish my project I do not mind sharing it here (but it is in spanish though). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@ComputationalBasis Yes that is possible. Take your hamiltonian block, then call |
Beta Was this translation helpful? Give feedback.
@ComputationalBasis Yes that is possible. Take your hamiltonian block, then call
block_to_tensorand simply usetorch.linalg.eighor any torch function you need for this.