2. Matrix Product Operator (MPO) & others#

tnpy.operators.MatrixProductOperator(*args, ...)

tnpy.operators.SpinOperators([spin])

Constructor of spin operators.

tnpy.operators.FullHamiltonian(mpo)

Construct the Hamiltonian from MatrixProductOperator (MPO).