This PR fixes the mixed_canonize function by adding a missing svd step in the center of the Chain. This step is crucial to ensure that we have the singular values in the center and all the tensors are in the proper canonical form.
Since the function normalize! depended on the previous implementation of mixed_canonize, we add a small fix for this function too.
This PR fixes the
mixed_canonize
function by adding a missingsvd
step in thecenter
of theChain
. This step is crucial to ensure that we have the singular values in thecenter
and all the tensors are in the proper canonical form.Since the function
normalize!
depended on the previous implementation ofmixed_canonize
, we add a small fix for this function too.