Skip to content

Commit

Permalink
v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qyli committed Dec 31, 2024
1 parent 76598e0 commit 0b3855e
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,7 +1,7 @@
name = "FiniteMPS"
uuid = "6b572690-f317-4dad-a5fe-5fe73a0b7d42"
authors = ["qyli <[email protected]>"]
version = "1.5.0"
version = "1.6.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Then, you can use a similar interface `addObs!` to generate the tree that stores
Tree = ObservableTree()
# all to all spin correlation
for i in 1:L, j in i + 1:L
addObs!(Tree, (U₁Spin.Sz, U₁Spin.Sz), (i, j); name = (:Sz, :Sz))
addObs!(Tree, (U₁Spin.Sz, U₁Spin.Sz), (i, j), (false, false); name = (:Sz, :Sz))
end
# local moment
for i in 1:L
Expand Down

2 comments on commit 0b3855e

@Qiaoyi-Li
Copy link
Owner

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release notes:

Breaking changes

  • Rewrite addIntr! and addObs! and change the interface. For example, consider a hopping term, now the usage becomes
addIntr!(Root, (Fdag, F), (i, j), (true, true), strength; Z = Z)

where (true, true) means both operators are fermionic. Similarly,

addObs!(Tree, (Fdag, F), (i, j), (true, true); Z = Z)

for the calculation of single-particle correlations.

  • Now a multi-site correlation with duplicated site indices can automatically reduce to a shorter term. For example, in the case of $U_1 \times SU_2$ symmetry, the pairing correlation $\langle \Delta_{12}^\dagger \Delta_{23}\rangle$ can be simply calculated via
addObs!(Tree, U1SUFermions.ΔₛdagΔₛ, (1, 2, 2, 3), (true, true, true, true); Z = U1SUFermions.Z)
  • Support adding 3-site terms, e.g. chiral operator $S_i \cdot (S_j \times S_k)$ pinning field, to the Hamiltonian.

@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/122224

Tagging

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 v1.6.0 -m "<description of version>" 0b3855e4699fc676c4fb9d709ba926b540c369a2
git push origin v1.6.0

Please sign in to comment.