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:
- func
Callable
The multivariate scalar function to be represented as MPS.
- domain
Union
[Interval
,Mesh
] The domain where the function is discretized.
- base
int
, default=2 The required base or physical dimension of the MPS.
- mps_order
str
, default=’A’ The order of the qubits of the MPS, either ‘serial’ (‘A’) or ‘interleaved (‘B’).
- func