Skip to content

Commit b3427bc

Browse files
authored
v0.13.9 (#374)
* update changelog * move changelog to docs * bump v0.13.9 * regenerate examples * prepare for release
1 parent b8775be commit b3427bc

File tree

29 files changed

+835
-774
lines changed

29 files changed

+835
-774
lines changed

CHANGELOG.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

CITATION.cff

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
cff-version: 1.2.0
22
message: "If you use this software, please cite it as below."
33
authors:
4-
- family-names: "Van Damme"
5-
given-names: "Maarten"
6-
orcid: "https://orcid.org/0000-0002-1558-0568"
74
- family-names: "Devos"
85
given-names: "Lukas"
96
orcid: "https://orcid.org/0000-0002-0256-4200"
7+
- family-names: "Van Damme"
8+
given-names: "Maarten"
9+
orcid: "https://orcid.org/0000-0002-1558-0568"
1010
- family-names: "Haegeman"
1111
given-names: "Jutho"
1212
orcid: "https://orcid.org/0000-0002-0858-291X"
1313

1414
title: "MPSKit"
15-
version: 0.13.5
15+
version: 0.13.9
1616
doi: 10.5281/zenodo.10654900
17-
date-released: 2025-09-05
17+
date-released: 2026-02-03
1818
url: "https://github.com/QuantumKitHub/MPSKit.jl"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "MPSKit"
22
uuid = "bb1c41ca-d63c-52ed-829e-0820dda26502"
3-
version = "0.13.8"
3+
version = "0.13.9"
44
authors = "Lukas Devos, Maarten Van Damme and contributors"
55

66
[deps]

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ makedocs(;
7070
"Examples" => "examples/index.md",
7171
"Library" => "lib/lib.md",
7272
"References" => "references.md",
73+
"Changelog" => "changelog.md",
7374
],
7475
checkdocs = :exports,
7576
doctest = true,

docs/src/changelog.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## Guidelines for updating this changelog
9+
10+
When making changes to this project, please update the "Unreleased" section with your changes under the appropriate category:
11+
12+
- **Added** for new features.
13+
- **Changed** for changes in existing functionality.
14+
- **Deprecated** for soon-to-be removed features.
15+
- **Removed** for now removed features.
16+
- **Fixed** for any bug fixes.
17+
18+
When releasing a new version, move the "Unreleased" changes to a new version section with the release date.
19+
20+
## [Unreleased](https://github.com/QuantumKitHub/MPSKit.jl/compare/v0.13.9...HEAD)
21+
22+
### Added
23+
24+
### Changed
25+
26+
### Deprecated
27+
28+
### Removed
29+
30+
### Fixed
31+
32+
## [0.13.9](https://github.com/QuantumKitHub/MPSKit.jl/compare/v0.13.8...v0.13.9) - 2026-02-03
33+
34+
### Added
35+
36+
- `LocalPreferences.toml` file to ensure `TensorOperations` properly precompiles on testing
37+
infrastructure
38+
- `GeometryStyle` and `OperatorStyle` traits for dispatching on finite/infinite geometry and
39+
operator types ([#352](https://github.com/QuantumKitHub/MPSKit.jl/pull/352), [#354](https://github.com/QuantumKitHub/MPSKit.jl/pull/354))
40+
- `Base.isfinite` methods for MPS types ([#347](https://github.com/QuantumKitHub/MPSKit.jl/pull/347))
41+
- Bose-Hubbard example ([#342](https://github.com/QuantumKitHub/MPSKit.jl/pull/342))
42+
- WindowMPS example update ([#350](https://github.com/QuantumKitHub/MPSKit.jl/pull/350))
43+
- Multifusion category compatibility ([#297](https://github.com/QuantumKitHub/MPSKit.jl/pull/297))
44+
45+
### Fixed
46+
47+
- Dynamic tolerances yielded `NaN` during the initialization stage due to `1 / sqrt(iter)`
48+
where `iter = 0` ([#335](https://github.com/QuantumKitHub/MPSKit.jl/pull/335))
49+
- `InfiniteMPOHamiltonian` environments with low bond dimension and high Krylov dimension now are properly
50+
clamped ([#335](https://github.com/QuantumKitHub/MPSKit.jl/pull/335))
51+
- Logical operator precedence in `getproperty` function ([#346](https://github.com/QuantumKitHub/MPSKit.jl/pull/346))
52+
- Typo in `VUMPSSvdCut` ([#361](https://github.com/QuantumKitHub/MPSKit.jl/pull/361))
53+
- Typo in time formatting for logs ([#336](https://github.com/QuantumKitHub/MPSKit.jl/pull/336))
54+
- Domain/codomain of `MPODerivativeOperator` ([#370](https://github.com/QuantumKitHub/MPSKit.jl/pull/370))
55+
- In-place operations handled more carefully ([#337](https://github.com/QuantumKitHub/MPSKit.jl/pull/337))
56+
- Orthogonalization algorithms now use correct methods ([#373](https://github.com/QuantumKitHub/MPSKit.jl/pull/373))
57+
58+
### Changed
59+
60+
- The `changebonds(state, ::RandExpand)` algorithm now no longer has to perform a
61+
truncated SVD to obtain the desired spaces, and instead sample the space directly
62+
and then generates a random isometry. This should be slightly more performant, but
63+
otherwise equivalent ([#335](https://github.com/QuantumKitHub/MPSKit.jl/pull/335))
64+
- `IDMRG` refactored to follow the `IterativeSolver` interface and share code between
65+
`IDMRG` and `IDMRG2` ([#348](https://github.com/QuantumKitHub/MPSKit.jl/pull/348))
66+
- Bumped compatibility for TensorKit 0.16 and MatrixAlgebraKit 0.6 ([#365](https://github.com/QuantumKitHub/MPSKit.jl/pull/365))
67+
- Removed `_left_orth` and `_right_orth` workarounds in favor of new orthogonalization methods
68+
- Reduced allocation while computing Galerkin error ([#366](https://github.com/QuantumKitHub/MPSKit.jl/pull/366))
69+
- Updated `show` methods to reflect new TensorKit printing ([#341](https://github.com/QuantumKitHub/MPSKit.jl/pull/341))
70+
- More informative errors for finite MPS ([#367](https://github.com/QuantumKitHub/MPSKit.jl/pull/367))
71+
- Minor documentation and docstring improvements ([#363](https://github.com/QuantumKitHub/MPSKit.jl/pull/363), [#372](https://github.com/QuantumKitHub/MPSKit.jl/pull/372), [#371](https://github.com/QuantumKitHub/MPSKit.jl/pull/371))
72+
73+
### Deprecated
74+
75+
### Removed
76+
77+
## [0.13.8](https://github.com/QuantumKitHub/MPSKit.jl/releases/tag/v0.13.8) - 2024-10-31
78+
79+
See full history and previous releases on [GitHub](https://github.com/QuantumKitHub/MPSKit.jl/releases).

docs/src/examples/classic2d/1.hard-hexagon/index.md

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

docs/src/examples/classic2d/1.hard-hexagon/main.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@
147147
"file_extension": ".jl",
148148
"mimetype": "application/julia",
149149
"name": "julia",
150-
"version": "1.12.0"
150+
"version": "1.12.4"
151151
},
152152
"kernelspec": {
153153
"name": "julia-1.12",
154-
"display_name": "Julia 1.12.0",
154+
"display_name": "Julia 1.12.4",
155155
"language": "julia"
156156
}
157157
},

docs/src/examples/quantum1d/1.ising-cft/index.md

Lines changed: 60 additions & 69 deletions
Large diffs are not rendered by default.

docs/src/examples/quantum1d/1.ising-cft/main.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{
2525
"cell_type": "markdown",
2626
"source": [
27-
"The hamiltonian is defined on a finite lattice with periodic boundary conditions,\n",
27+
"The Hamiltonian is defined on a finite lattice with periodic boundary conditions,\n",
2828
"which can be implemented as follows:"
2929
],
3030
"metadata": {}
@@ -45,8 +45,8 @@
4545
"## Exact diagonalisation\n",
4646
"\n",
4747
"In MPSKit, there is support for exact diagonalisation by leveraging the fact that applying\n",
48-
"the hamiltonian to an untruncated MPS will result in an effective hamiltonian on the center\n",
49-
"site which implements the action of the entire hamiltonian. Thus, optimizing the middle\n",
48+
"the Hamiltonian to an untruncated MPS will result in an effective Hamiltonian on the center\n",
49+
"site which implements the action of the entire Hamiltonian. Thus, optimizing the middle\n",
5050
"tensor is equivalent to optimixing a state in the entire Hilbert space, as all other tensors\n",
5151
"are just unitary matrices that mix the basis."
5252
],
@@ -108,7 +108,7 @@
108108
{
109109
"cell_type": "markdown",
110110
"source": [
111-
"We can then calculate the momentum of the groundstate as the expectation value of this\n",
111+
"We can then calculate the momentum of the ground state as the expectation value of this\n",
112112
"operator. However, there is a subtlety because of the degeneracies in the energy\n",
113113
"eigenvalues. The eigensolver will find an orthonormal basis within each energy subspace, but\n",
114114
"this basis is not necessarily a basis of eigenstates of the translation operator. In order\n",
@@ -203,7 +203,7 @@
203203
{
204204
"cell_type": "markdown",
205205
"source": [
206-
"Excitations on top of the groundstate can be found through the use of the quasiparticle\n",
206+
"Excitations on top of the ground state can be found through the use of the quasiparticle\n",
207207
"ansatz. This returns quasiparticle states, which can be converted to regular `FiniteMPS`\n",
208208
"objects."
209209
],
@@ -260,11 +260,11 @@
260260
"file_extension": ".jl",
261261
"mimetype": "application/julia",
262262
"name": "julia",
263-
"version": "1.12.0"
263+
"version": "1.12.4"
264264
},
265265
"kernelspec": {
266266
"name": "julia-1.12",
267-
"display_name": "Julia 1.12.0",
267+
"display_name": "Julia 1.12.4",
268268
"language": "julia"
269269
}
270270
},

docs/src/examples/quantum1d/2.haldane/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ En_2, st_2 = excitations(H, QuasiparticleAnsatz(), ψ, envs; sector = SU2Irrep(2
6161
````
6262

6363
````
64-
0.7989253589480493
64+
0.798925358948053
6565
````
6666

6767
We can go even further and doublecheck the claim that ``S = 1`` is an edge excitation, by plotting the energy density.
@@ -102,7 +102,7 @@ f = fit(Ls .^ (-2), ΔEs, 1)
102102
````
103103

104104
````
105-
0.4517340158584577
105+
0.4517340158584072
106106
````
107107

108108
````julia
@@ -140,23 +140,23 @@ println("minimum @k = $(kspace[idx]):\t ΔE = $(ΔE)")
140140
````
141141

142142
````
143+
[ Info: Found excitations for momentum = 1.8849555921538759
144+
[ Info: Found excitations for momentum = 1.6755160819145563
145+
[ Info: Found excitations for momentum = 2.0943951023931953
146+
[ Info: Found excitations for momentum = 1.4660765716752369
143147
[ Info: Found excitations for momentum = 0.0
144148
[ Info: Found excitations for momentum = 0.20943951023931953
145-
[ Info: Found excitations for momentum = 0.41887902047863906
146-
[ Info: Found excitations for momentum = 0.6283185307179586
147-
[ Info: Found excitations for momentum = 0.8377580409572781
148-
[ Info: Found excitations for momentum = 1.0471975511965976
149149
[ Info: Found excitations for momentum = 1.2566370614359172
150-
[ Info: Found excitations for momentum = 1.4660765716752369
151-
[ Info: Found excitations for momentum = 1.6755160819145563
152-
[ Info: Found excitations for momentum = 1.8849555921538759
153-
[ Info: Found excitations for momentum = 2.0943951023931953
150+
[ Info: Found excitations for momentum = 2.9321531433504737
151+
[ Info: Found excitations for momentum = 0.41887902047863906
154152
[ Info: Found excitations for momentum = 2.303834612632515
153+
[ Info: Found excitations for momentum = 0.6283185307179586
155154
[ Info: Found excitations for momentum = 2.5132741228718345
155+
[ Info: Found excitations for momentum = 1.0471975511965976
156156
[ Info: Found excitations for momentum = 2.722713633111154
157-
[ Info: Found excitations for momentum = 2.9321531433504737
158157
[ Info: Found excitations for momentum = 3.141592653589793
159-
minimum @k = 3.141592653589793: ΔE = 0.41047924851920886
158+
[ Info: Found excitations for momentum = 0.8377580409572781
159+
minimum @k = 3.141592653589793: ΔE = 0.410479248594856
160160
161161
````
162162

0 commit comments

Comments
 (0)