We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d982ac4 commit 20277cdCopy full SHA for 20277cd
src/lib/ITensorMPS/src/mps.jl
@@ -1032,5 +1032,3 @@ end
1032
function expect(psi::MPS, op1::Matrix{<:Number}, ops::Matrix{<:Number}...; kwargs...)
1033
return expect(psi, (op1, ops...); kwargs...)
1034
end
1035
-
1036
-Base.getindex(ψ::MPS, r::UnitRange{Int}) = MPS([ψ[n] for n in r])
0 commit comments