-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
When calling e.g. similar(H,Int) on an InfiniteMPOHamiltonian, the output is not a InfiniteMPOHamiltonian.
One example to reproduce this issue is
symmetry = TensorKit.SU2Irrep
spin = 1
J = 1
chain = InfiniteChain(1)
H = heisenberg_XXX(symmetry, chain; J, spin);
similar(H,Int) isa InfiniteMPOHamiltonian
typeof(similar(H,Int))with the output
MPOHamiltonian{MPSKit.JordanMPOTensor{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, Union{BraidingTensor{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 2, 2, Vector{Int64}}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 2, 1, Vector{Int64}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 1, 2, Vector{Int64}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 1, 1, Vector{Int64}}}, PeriodicVector{MPSKit.JordanMPOTensor{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, Union{BraidingTensor{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 2, 2, Vector{Int64}}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 2, 1, Vector{Int64}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 1, 2, Vector{Int64}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 1, 1, Vector{Int64}}}, Vector{MPSKit.JordanMPOTensor{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, Union{BraidingTensor{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 2, 2, Vector{Int64}}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 2, 1, Vector{Int64}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 1, 2, Vector{Int64}}, TensorMap{Int64, GradedSpace{SU2Irrep, TensorKit.SortedVectorDict{SU2Irrep, Int64}}, 1, 1, Vector{Int64}}}}}}Metadata
Metadata
Assignees
Labels
No labels