Skip to main content

set_boundary_like

Method of ComplexMPS.

Overloads

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

set_boundary_like(const ComplexMPO other) -> ComplexMPS

Copy the boundary conditions from another MPS or MPO.

Parameters

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

Returns

Reference to the modified MPS.

set_boundary_like(const ComplexMPS other) -> ComplexMPS

Copy the boundary conditions from another MPS or MPO.

Parameters

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

Returns

Reference to the modified MPS.