Skip to content

[BUG] splitdims(::BlockSparseArrays, ::Tuple{AbstractGradedUnitRanges) result is wrong #50

@ogauthe

Description

@ogauthe

Still investigating ITensor/TensorAlgebra.jl#29

There is something wrong with splitdims, with a mix-up between tensor_product and fusion_product. The issue is around

BlockSparseArrays.jl/ext/BlockSparseArraysTensorAlgebraExt/BlockSparseArraysTensorAlgebraExt.jl:88

function TensorAlgebra.splitdims(
  ::SectorFusion, a::AbstractArray, split_axes::AbstractUnitRange...
)

I currently believe TensorAlgebra is fine and the test in ITensor/TensorAlgebra.jl#29 should pass on the issue here has been fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions