tensorly.mps_tensor
.mps_to_tensor

mps_to_tensor
(factors)[source] Returns the full tensor whose MPS decomposition is given by ‘factors’
Reassembles ‘factors’, which represent a tensor in MPS/TT format into the corresponding full tensor
 Parameters
factors: list of 3Darrays
MPS factors (known as core in TT terminology)
 Returns
output_tensor: ndarray
tensor whose MPS/TT decomposition was given by ‘factors’