tensorly.mps_tensor.mps_to_tensor

mps_to_tensor(factors)[source]

Returns the full tensor whose MPS decomposition is given by ‘factors’

Re-assembles ‘factors’, which represent a tensor in MPS/TT format into the corresponding full tensor
Parameters:

factors: list of 3D-arrays

MPS factors (known as core in TT terminology)

Returns:

output_tensor: ndarray

tensor whose MPS/TT decomposition was given by ‘factors’