Skip to main content

set_boundary_like

Method of ComplexMPO.

Overloads

NameDescription
set_boundary_like(const ComplexMPO other) -> ComplexMPOCopy the boundary conditions from another MPO or MPS.
set_boundary_like(const ComplexMPS other) -> ComplexMPOCopy the boundary conditions from another MPO or MPS.

set_boundary_like(const ComplexMPO other) -> ComplexMPO

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 ComplexMPS other) -> ComplexMPO

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.