Skip to main content

set_boundary_like

Method of ComplexMPS.

Overloads

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

set_boundary_like(const ComplexMPO other) -> ComplexMPS

Copy the boundary conditions from another Matrix Product State (MPS) or Matrix Product Operator (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 Matrix Product State (MPS) or Matrix Product Operator (MPO).

Parameters

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

Returns

Reference to the modified MPS.