Skip to main content

get_site

Method of RealMPS.

get_site(integer index) -> RealTensor

Get a copy of the site tensor at the specified index.

Parameters

  • index: Site index (0-based, supports negative indexing).

Returns

A copy of the 3-dimensional tensor at the specified site.