This grew out of a Zulip discussion with @lkdvos and I thought I should create an issue in order to not lose track of it and get feedback from others.
Right now, JordanMPOTensor wraps a SparseBlockTensorMap which itself has a Union{BraidingTensor, TensorMap} for its element type. This leads to lots of annoying storage type inference problems and many other sad situations.
It might rather be better to simply store either:
- two separate
SparseBlockTensorMaps
- or one for the
TensorMaps and just an array of scalars (this was Lukas' suggestion and I am too group-retreat drained to comment much on what it would look like)
This grew out of a Zulip discussion with @lkdvos and I thought I should create an issue in order to not lose track of it and get feedback from others.
Right now,
JordanMPOTensorwraps aSparseBlockTensorMapwhich itself has aUnion{BraidingTensor, TensorMap}for its element type. This leads to lots of annoying storage type inference problems and many other sad situations.It might rather be better to simply store either:
SparseBlockTensorMapsTensorMaps and just an array of scalars (this was Lukas' suggestion and I am too group-retreat drained to comment much on what it would look like)