seemps.analysis.cross.black_box.BlackBoxLoadMPS#

class seemps.analysis.cross.black_box.BlackBoxLoadMPS(func, domain, base=2, mps_order='A')[source]#

Black-box representing a multivariate scalar function discretized on an Interval or Mesh object. Each function degree of freedom is quantized in a given base and assigned a collection of MPS tensors. If the function is multivariate, the tensors are arranged according to the mps_order.

Parameters:
funcCallable

The multivariate scalar function to be represented as MPS.

domainUnion[Interval, Mesh]

The domain where the function is discretized.

baseint, default=2

The required base or physical dimension of the MPS.

mps_orderstr, default=’A’

The order of the qubits of the MPS, either ‘serial’ (‘A’) or ‘interleaved (‘B’).