seemps.analysis.cross.black_box.BlackBoxLoadMPO#
- class seemps.analysis.cross.black_box.BlackBoxLoadMPO(func, mesh, base_mpo=2, is_diagonal=False)[source]#
Black-box representing a 2-dimensional function discretized on a 2D Mesh and quantized in a MPO with physical dimensions given by base_mpo. Can be used to load operators in MPO using tensor cross-interpolation. In practice, this object is equivalently represented as a MPS with physical dimensions of size base_mpo**2, whose indices can be subsequently split to form the required MPO.
- Parameters:
- func
Callable
The bivariate scalar function to be represented as MPO.
- mesh
Mesh
The two-dimensional discretization where the function is discretized.
- base_mpo
int
, default=2 The required physical dimension of each index of the MPO.
- is_diagonalbool, default=True
Flag that helps in the convergence of TCI for diagonal operators by restricting the convergence evaluation to the main diagonal.
- func