Skip to content

Commit c0294a1

Browse files
committed
Merge branch 'main' of https://github.com/QuantumKitHub/MPSKitModels.jl into boris-mtk-compat
2 parents 3ae00be + 43a21fa commit c0294a1

File tree

6 files changed

+17
-10
lines changed

6 files changed

+17
-10
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
arch:
3131
- x64
3232
steps:
33-
- uses: actions/checkout@v5
33+
- uses: actions/checkout@v6
3434
- uses: julia-actions/setup-julia@v2
3535
with:
3636
version: ${{ matrix.version }}

.github/workflows/Documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
arch:
2626
- x64
2727
steps:
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929
- uses: julia-actions/setup-julia@latest
3030
with:
3131
version: ${{ matrix.version }}
@@ -35,4 +35,5 @@ jobs:
3535
- name: Build and deploy
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
38+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
3839
run: julia --project=docs/ docs/make.jl

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MPSKitModels"
22
uuid = "ca635005-6f8c-4cd1-b51d-8491250ef2ab"
3+
version = "0.4.5"
34
authors = ["Maarten Van Damme", "Lukas Devos", "Gertian Roose", "Klaas Gunst"]
4-
version = "0.4.4"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -17,7 +17,7 @@ MPSKit = "0.13.1"
1717
MacroTools = "0.5"
1818
PrecompileTools = "1"
1919
QuadGK = "2.11.1"
20-
TensorKit = "0.13,0.14, 0.15"
20+
TensorKit = "0.15, 0.16"
2121
TensorOperations = "5"
2222
TupleTools = "1"
2323
julia = "1.10"

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
# MPSKitModels.jl
22

3-
[![docs][docs-dev-img]][docs-dev-url] [![codecov][codecov-img]][codecov-url] ![CI][ci-url]
3+
| **Documentation** | **Build Status** | **Coverage** |
4+
|:-----------------:|:----------------:|:------------:|
5+
| [![][docs-stable-img]][docs-stable-url] [![][docs-dev-img]][docs-dev-url] | [![CI][ci-img]][ci-url] | [![codecov][codecov-img]][codecov-url] |
6+
7+
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
8+
[docs-stable-url]: https://QuantumKitHub.github.io/MPSKitModels.jl/stable/
49

510
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
611
[docs-dev-url]: https://QuantumKitHub.github.io/MPSKitModels.jl/dev/
712

813
[codecov-img]: https://codecov.io/gh/QuantumKitHub/MPSKitModels.jl/graph/badge.svg?token=MDGR0SONEI
914
[codecov-url]: https://codecov.io/gh/QuantumKitHub/MPSKitModels.jl
1015

11-
[ci-url]: https://github.com/QuantumKitHub/MPSKitModels.jl/workflows/CI/badge.svg
16+
[ci-img]: https://github.com/QuantumKitHub/MPSKitModels.jl/actions/workflows/CI.yml/badge.svg
17+
[ci-url]: https://github.com/QuantumKitHub/MPSKitModels.jl/actions/workflows/CI.yml
1218

1319

1420
```julia

test/hubbardoperators.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ end
7272
mu = randn()
7373

7474
H_triv = hubbard_hamiltonian(Trivial, Trivial; t, U, mu, L)
75-
vals_triv = mapreduce(vcat, eigvals(H_triv)) do (c, v)
75+
vals_triv = mapreduce(vcat, pairs(eigvals(H_triv))) do (c, v)
7676
return repeat(real.(v), dim(c))
7777
end
7878
sort!(vals_triv)
@@ -82,7 +82,7 @@ end
8282
continue
8383
end
8484
H_symm = hubbard_hamiltonian(particle_symmetry, spin_symmetry; t, U, mu, L)
85-
vals_symm = mapreduce(vcat, eigvals(H_symm)) do (c, v)
85+
vals_symm = mapreduce(vcat, pairs(eigvals(H_symm))) do (c, v)
8686
return repeat(real.(v), dim(c))
8787
end
8888
sort!(vals_symm)

test/tjoperators.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ end
105105
106106
for slave_fermion in (false, true)
107107
H_triv = tjhamiltonian(Trivial, Trivial; t, J, mu, L, slave_fermion)
108-
vals_triv = mapreduce(vcat, eigvals(H_triv)) do (c, v)
108+
vals_triv = mapreduce(vcat, pairs(eigvals(H_triv))) do (c, v)
109109
return repeat(real.(v), dim(c))
110110
end
111111
sort!(vals_triv)
@@ -117,7 +117,7 @@ end
117117
H_symm = tjhamiltonian(
118118
particle_symmetry, spin_symmetry; t, J, mu, L, slave_fermion
119119
)
120-
vals_symm = mapreduce(vcat, eigvals(H_symm)) do (c, v)
120+
vals_symm = mapreduce(vcat, pairs(eigvals(H_symm))) do (c, v)
121121
return repeat(real.(v), dim(c))
122122
end
123123
sort!(vals_symm)

0 commit comments

Comments
 (0)