I copy the example on https://bsc-quantic.github.io/Tenet.jl/stable/manual/design/tensor-network
using Tenet
tn = TensorNetwork([
Tensor(zeros(2,2), (:i, :m)), # A
Tensor(zeros(2,2,2), (:i, :j, :p)), # B
Tensor(zeros(2,2,2), (:n, :j, :k)), # C
Tensor(zeros(2,2,2), (:p, :k, :l)), # D
Tensor(zeros(2,2,2), (:m, :n, :o)), # E
Tensor(zeros(2,2), (:o, :l)), # F
])
leads to the following error message
ERROR: MethodError: no method matching TensorNetwork(::Vector{Tensor{Float64, N, A} where {N, A<:AbstractArray{Float64, N}}})
The type `TensorNetwork` exists, but no method is defined for this combination of argument types when trying to construct it.
Closest candidates are:
TensorNetwork()
@ Tangles ~/.julia/packages/Tangles/KzohY/src/Interfaces/TensorNetwork.jl:15
I tested Tenet v0.10.3 on Julia 1.11.7 and latest stable release 1.12.2, both version has the same issue.
I copy the example on https://bsc-quantic.github.io/Tenet.jl/stable/manual/design/tensor-network
leads to the following error message
I tested Tenet v0.10.3 on Julia 1.11.7 and latest stable release 1.12.2, both version has the same issue.