Sorry, it did not work. I performed ] dev
on NDTensors@0.2.11 that comes with v0.3.43. I am getting following error. It seems there is incompatibility with another package.
ERROR: LoadError: MethodError: no method matching sort(::Tuple{Int64, Int64, Int64})
Closest candidates are:
sort(::AbstractUnitRange)
@ Base range.jl:1397
sort(::AbstractRange)
@ Base range.jl:1400
sort(::Dictionaries.AbstractIndices{I}; kwargs...) where I
@ Dictionaries ~/.julia/packages/Dictionaries/7aBxp/src/AbstractIndices.jl:376
...
Stacktrace:
[1] permutedims_combine_output(T::NDTensors.BlockSparseTensor{Float64, 5, NTuple{5, Index{Vector{Pair{QN, Int64}}}}, NDTensors.BlockSparse{Float64, Vector{Float64}, 5}}, is::Tuple{Index{Vector{Pair{QN, Int64}}}, Index{Vector{Pair{QN, Int64}}}, Index{Vector{Pair{QN, Int64}}}}, perm::NTuple{5, Int64}, combdims::Tuple{Int64, Int64, Int64}, blockperm::Vector{Int64}, blockcomb::Vector{Int64})
@ NDTensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/NDTensors/src/blocksparse/blocksparsetensor.jl:412
[2] permutedims_combine(T::NDTensors.BlockSparseTensor{Float64, 5, NTuple{5, Index{Vector{Pair{QN, Int64}}}}, NDTensors.BlockSparse{Float64, Vector{Float64}, 5}}, is::Tuple{Index{Vector{Pair{QN, Int64}}}, Index{Vector{Pair{QN, Int64}}}, Index{Vector{Pair{QN, Int64}}}}, perm::NTuple{5, Int64}, combdims::Tuple{Int64, Int64, Int64}, blockperm::Vector{Int64}, blockcomb::Vector{Int64})
@ NDTensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/NDTensors/src/blocksparse/blocksparsetensor.jl:440
[3] contract(tensor::NDTensors.BlockSparseTensor{Float64, 5, NTuple{5, Index{Vector{Pair{QN, Int64}}}}, NDTensors.BlockSparse{Float64, Vector{Float64}, 5}}, tensor_labels::NTuple{5, Int64}, combiner_tensor::NDTensors.Tensor{Number, 4, NDTensors.Combiner, NTuple{4, Index{Vector{Pair{QN, Int64}}}}}, combiner_tensor_labels::NTuple{4, Int64})
@ NDTensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/NDTensors/src/blocksparse/combiner.jl:72
[4] _contract(A::NDTensors.BlockSparseTensor{Float64, 5, NTuple{5, Index{Vector{Pair{QN, Int64}}}}, NDTensors.BlockSparse{Float64, Vector{Float64}, 5}}, B::NDTensors.Tensor{Number, 4, NDTensors.Combiner, NTuple{4, Index{Vector{Pair{QN, Int64}}}}})
@ ITensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/src/tensor_operations/tensor_algebra.jl:3
[5] _contract(A::ITensor, B::ITensor)
@ ITensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/src/tensor_operations/tensor_algebra.jl:9
[6] contract(A::ITensor, B::ITensor)
@ ITensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/src/tensor_operations/tensor_algebra.jl:104
[7] _contract(As::Tuple{ITensor, ITensor, ITensor}, sequence::Vector{Int64}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ ITensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/src/tensor_operations/tensor_algebra.jl:207
[8] _contract(As::Tuple{ITensor, ITensor, ITensor}, sequence::Vector{Int64})
@ ITensors ~/MEGA/projects/FQH_cavity/julia_test/0.3.43/ITensors.jl-0.3.43/src/tensor_operations/tensor_algebra.jl:206