Skip to main content

set_boundary_like

Method of RealMPO.

Overloads​

NameDescription
set_boundary_like(const RealMPO other) -> RealMPOCopy the boundary conditions from another Matrix Product Operator (MPO) or Matrix Product State (MPS).
set_boundary_like(const RealMPS other) -> RealMPOCopy the boundary conditions from another Matrix Product Operator (MPO) or Matrix Product State (MPS).

set_boundary_like(const RealMPO other) -> RealMPO​

Copy the boundary conditions from another Matrix Product Operator (MPO) or Matrix Product State (MPS).

Parameters​

  • other: The MPO or MPS to copy boundary conditions from.

Returns​

Reference to the modified MPO.

set_boundary_like(const RealMPS other) -> RealMPO​

Copy the boundary conditions from another Matrix Product Operator (MPO) or Matrix Product State (MPS).

Parameters​

  • other: The MPO or MPS to copy boundary conditions from.

Returns​

Reference to the modified MPO.