Skip to main content

push_back

Method of RealMPS.

push_back(const RealTensor tensor) -> RealMPS

Append a site tensor to the end of the Matrix Product State (MPS).

Parameters

  • tensor: The 3-dimensional tensor to append as a new site.

Returns

Reference to the modified MPS.