Skip to main content

[]

Symbol of RealMPS.

(const RealMPS lhs [] integer index) -> RealTensor

Access a specific site tensor in the MPS chain by index. Supports negative indexing. :::tip Use the setter set_site if you want to modify the MPS. :::

Parameters

  • lhs: Left-hand side value.
  • index: Site index (0-based, supports negative indexing).

Returns

The 3-dimensional tensor at the specified site