shuaigroup / Renormalizer

Quantum dynamics package based on tensor network states
https://shuaigroup.github.io/Renormalizer/
Apache License 2.0
52 stars 16 forks source link

add loading mps from dense wfn #122

Closed liwt31 closed 2 years ago

liwt31 commented 2 years ago

Add a classmethod for MPS that constructs MPS from dense wavefunction.

Also change full_wfn and full_operator to todense for clarity. scipy.sparse and QUTIP use the same interface