From 52f34e3c995edd4797b2b7a9958c59c571d8fab0 Mon Sep 17 00:00:00 2001 From: David Plankensteiner Date: Thu, 7 Jan 2021 09:25:30 +0100 Subject: [PATCH] Patch nonhermitian Hamiltonian --- Project.toml | 2 +- src/reducedspin.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 3fc2a1c..807dc86 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "CollectiveSpins" uuid = "abf2e61e-3022-5fcf-a868-69d409dee72b" -version = "0.1.1" +version = "0.1.2" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" diff --git a/src/reducedspin.jl b/src/reducedspin.jl index d589002..9c593b3 100644 --- a/src/reducedspin.jl +++ b/src/reducedspin.jl @@ -332,7 +332,7 @@ function Hamiltonian_nh(S::SpinCollection, M::Int=1, MS::Int=1) end end for i=1:N, j=1:N - H += (OmegaM[i, j] - 0.5im*GammaM[i, j])*sigmap_sigmam(b,i,j) + H += (OmegaM[i, j] - 0.5im*GammaM[i, j])*reducedsigmapsigmam(b,i,j) end return H