1.1. tnpy.model.Model1D#

class tnpy.model.Model1D(n)[source]#

Bases: abc.ABC

Parameters

n (int) – System size.

__init__(n)[source]#
Parameters

n (int) – System size.

Methods

__init__(n)

param n

System size.

Attributes

mpo

Return matrix product operator (mpo) as a property of the model.

n

__init__(n)[source]#
Parameters

n (int) – System size.

property n: int#
property mpo: tnpy.operators.MatrixProductOperator#

Return matrix product operator (mpo) as a property of the model.

Return type

mpo