| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
The main issue and why that function was introduced is that the intermediate permutations might not be planar, therefore breaking with the checks on multifusion spaces. I've been putting off properly fixing this, but I'll have a look at a more durable fix. |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 12 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
#515 replaced permute(compose(permute(A, pA), permute(B, pB)), pAB) with a helper whose signature pins both hom-spaces to one elementary space type S. This breaks contractions of tensors with mixed elementary space types, for example when contracting a BlockTensorMap with a TensorMap (observed when trying to run MPSKit.jl off the current TensorKit.jl main).
For example:
results in
MethodError: no method matching _contractedspace(::TensorMapSpace{SumSpace{…}, 2, 1}, …, ::TensorMapSpace{GradedSpace{…}, 1, 2}, …)This adds a generic fallback for _contractedspace which composes the intermediate spaces.