Skip to content

Fix handling of permute_twist and TreeTransformer for types which overload tensoradd - #638

Open
kshyatt wants to merge 1 commit into
mainfrom
ksh/cartesian-braid-fix
Open

kshyatt wants to merge 1 commit into
mainfrom
ksh/cartesian-braid-fix

Conversation

@kshyatt

@kshyatt kshyatt commented Nov 26, 2026

Copy link
Copy Markdown
Member

I think this will fix the time evolution tests over at MPSKit. It's hard to test here, because we need the test at BlockTensorKit 😓 . Basically, the changes to braiding broke stuff for types wrapped around TensorMaps which themselves overload tensoradd -- BlockTensorMap is one such.

@lkdvos

lkdvos commented Nov 26, 2026

Copy link
Copy Markdown
Member

I'm not entirely convinced this fixes all of the issues, wouldn't some contractions still end up with twists and then still fall through? I think the solution Boris is working on at BlockTensorKit might be a slightly more durable solution

@kshyatt

kshyatt commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Yeah he and I discussed this a little, I'm happy to go with his if that's preferred

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/tensors/tensoroperations.jl 97.36% <100.00%> (+0.01%) ⬆️
src/tensors/treetransformers.jl 97.50% <100.00%> (+0.01%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants