Skip to main content

get_site

Method of RealMPO.

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 4-dimensional tensor at the specified site.