Skip to main content

is_canonical

Method of ComplexMPS.

is_canonical() -> bool​

Check if the Matrix Product State (MPS) is in canonical form (has a valid orthogonality center).

Returns​

True if the MPS has a defined orthogonality center, false otherwise.