From 6ea185281ff26ac781500a513a6b0e06dcbcc1d4 Mon Sep 17 00:00:00 2001 From: Ben Corbett Date: Mon, 12 Feb 2024 19:24:28 -0700 Subject: [PATCH] Fixed a bug in MPS from string. --- src/mps/mps.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mps/mps.jl b/src/mps/mps.jl index a6bec60f96..8abf5990e4 100644 --- a/src/mps/mps.jl +++ b/src/mps/mps.jl @@ -423,7 +423,7 @@ function MPS(eltype::Type{<:Number}, sites::Vector{<:Index}, states_) end links = Vector{QNIndex}(undef, N - 1) for j in (N - 1):-1:1 - links[j] = dag(Index(lflux => 1; tags="Link,l=$j")) + links[j] = Index(lflux => 1; tags="Link,l=$j") lflux -= flux(states[j]) end else