Currently, the isleftcanonical (isrightcanonical) function does not work for the right(left)-most Tensor in a Chain. In this PR, we fix this by adding a "dummy" extra dimension to these boundary tensors, in order to be able to check their canonical form.
Summary
Currently, the
isleftcanonical
(isrightcanonical
) function does not work for the right(left)-mostTensor
in aChain
. In this PR, we fix this by adding a "dummy" extra dimension to these boundary tensors, in order to be able to check their canonical form.