tnpy.model.Model1D
1.1. tnpy.model.Model1D#
- class tnpy.model.Model1D(n)[source]#
Bases:
abc.ABC
- Parameters
n (int) – System size.
Methods
__init__
(n)- param n
System size.
Attributes
Return matrix product operator (mpo) as a property of the model.
- property n: int#
- property mpo: tnpy.operators.MatrixProductOperator#
Return matrix product operator (mpo) as a property of the model.
- Return type
mpo