Skip to main content

set_boundary_like

Method of RealMPO.

Overloads

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

set_boundary_like(const RealMPO other) -> RealMPO

Copy the boundary conditions from another MPO or 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 MPO or MPS.

Parameters

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

Returns

Reference to the modified MPO.