Skip to content

Commit

Permalink
Patch nonhermitian Hamiltonian
Browse files Browse the repository at this point in the history
  • Loading branch information
david-pl committed Jan 7, 2021
1 parent 1e89967 commit 52f34e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/reducedspin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit 52f34e3

@david-pl
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/27503

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" 52f34e3c995edd4797b2b7a9958c59c571d8fab0
git push origin v0.1.2

Please sign in to comment.