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.
InfiniteMPO
1 parent 2a7856c commit 10c95b1Copy full SHA for 10c95b1
src/operators/mpo.jl
@@ -41,7 +41,7 @@ Base.isfinite(::Type{<:InfiniteMPO}) = false
41
function InfiniteMPO(Os::AbstractVector{O}) where {O}
42
for i in eachindex(Os)
43
right_virtualspace(Os[i]) == left_virtualspace(Os[mod1(i + 1, end)]) ||
44
- throw(SpaceMismatch("umatching virtual spaces at site $i"))
+ throw(SpaceMismatch("unmatching virtual spaces at site $i"))
45
end
46
return InfiniteMPO{O}(Os)
47
0 commit comments