Skip to main content

push_back

Method of ComplexMPS.

push_back(const ComplexTensor tensor) -> ComplexMPS​

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.