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:
funcCallable

The bivariate scalar function to be represented as MPO.

meshMesh

The two-dimensional discretization where the function is discretized.

base_mpoint, 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.