seemps.analysis.cross.black_box.BlackBoxComposeMPS#
- class seemps.analysis.cross.black_box.BlackBoxComposeMPS(func, mps_list)[source]#
Black-box representing the composition of a multivariate scalar function with a collection of MPS objects.
- Parameters:
- func
Callable
The function to compose with the collection of MPS objects. Must be scalar, and each of its degrees of freedom must refer to each of the MPS in the mps_list collection. For example, f(x, y) = sin(x + y**2) acts on two MPS representing respectively x and y.
- mps_list
list
[MPS
] A list of MPS of the same physical dimension, to be composed with func. Their physical dimensions are assumed similar and constant. The number of MPS must match the dimension of func.
- func