diff --git a/Project.toml b/Project.toml index 1c6887fe98..39ab586afe 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensors" uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5" authors = ["Matthew Fishman ", "Miles Stoudenmire "] -version = "0.8.1" +version = "0.8.2" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" diff --git a/src/qn/qnindex.jl b/src/qn/qnindex.jl index 9bad042eb2..5726f0ae6b 100644 --- a/src/qn/qnindex.jl +++ b/src/qn/qnindex.jl @@ -139,8 +139,7 @@ function Index(qnblocks::QNBlocks; dir::Arrow=Out, tags="", plev=0) end """ - Index(qnblocks::Vector{Pair{QN, Int64}}, tags; dir::Arrow = Out, - plev::Integer = 0) + Index(qnblocks::Vector{Pair{QN, Int64}}, tags; plev::Integer = 0) Construct a QN Index from a Vector of pairs of QN and block dimensions. @@ -148,7 +147,8 @@ dimensions. # Example ``` -Index([QN("Sz", -1) => 1, QN("Sz", 1) => 1], "i"; dir = In) +i = Index([QN("Sz", -1) => 1, QN("Sz", 1) => 1], "i") +idag = dag(i) # Same Index with arrow direction flipped ``` """ function Index(qnblocks::QNBlocks, tags; dir::Arrow=Out, plev::Integer=0) @@ -156,8 +156,7 @@ function Index(qnblocks::QNBlocks, tags; dir::Arrow=Out, plev::Integer=0) end """ - Index(qnblocks::Pair{QN, Int64}...; dir::Arrow = Out, - tags = "", + Index(qnblocks::Pair{QN, Int64}...; tags = "", plev::Integer = 0) Construct a QN Index from a list of pairs of QN and block