diff --git a/src/Quantum.jl b/src/Quantum.jl index 6d301f12..2cd9e4a1 100644 --- a/src/Quantum.jl +++ b/src/Quantum.jl @@ -178,7 +178,7 @@ end @kwmethod inds(tn::AbstractQuantum; at) = Quantum(tn).sites[at] @kwmethod function inds(tn::AbstractQuantum; set) if set === :physical - return values(Quantum(tn).sites) + return collect(values(Quantum(tn).sites)) elseif set === :virtual return setdiff(inds(tn), values(Quantum(tn).sites)) else