Skip to main content

set_boundary_like

Method of ComplexMPO.

Overloads​

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

set_boundary_like(const ComplexMPO other) -> ComplexMPO​

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

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.