bsc-quantic / Qrochet.jl

Quantum Tensor Networks
https://bsc-quantic.github.io/Qrochet.jl/
Apache License 2.0
1 stars 0 forks source link

Fix `isleftcanonical` and `isrightcanonical` to work for boundary tensors #29

Closed jofrevalles closed 6 months ago

jofrevalles commented 6 months ago

Summary

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.