From 4e85b69c8d923612f134f265222e47f79ea523cc Mon Sep 17 00:00:00 2001 From: lkdvos Date: Mon, 13 Jul 2026 13:22:01 -0400 Subject: [PATCH 1/5] Update changelog for v0.17.1 --- docs/src/Changelog.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/src/Changelog.md b/docs/src/Changelog.md index 699c46fe0..442b3cca0 100644 --- a/docs/src/Changelog.md +++ b/docs/src/Changelog.md @@ -18,7 +18,7 @@ When making changes to this project, please update the "Unreleased" section with When releasing a new version, move the "Unreleased" changes to a new version section with the release date. -## [Unreleased](https://github.com/QuantumKitHub/TensorKit.jl/compare/v0.17.0...HEAD) +## [Unreleased](https://github.com/QuantumKitHub/TensorKit.jl/compare/v0.17.1...HEAD) ### Added @@ -32,6 +32,30 @@ When releasing a new version, move the "Unreleased" changes to a new version sec ### Performance +## [0.17.1](https://github.com/QuantumKitHub/TensorKit.jl/compare/v0.17.0...v0.17.1) - 2026-07-13 + +### Added + +- Enzyme AD support: forward and reverse rules (with tests) for TensorOperations contractions, index manipulations, linear algebra, and VectorInterface operations ([#436](https://github.com/QuantumKitHub/TensorKit.jl/pull/436), [#437](https://github.com/QuantumKitHub/TensorKit.jl/pull/437), [#440](https://github.com/QuantumKitHub/TensorKit.jl/pull/440), [#449](https://github.com/QuantumKitHub/TensorKit.jl/pull/449), [#451](https://github.com/QuantumKitHub/TensorKit.jl/pull/451), [#466](https://github.com/QuantumKitHub/TensorKit.jl/pull/466)) +- `exponential` and `exponential!` for the matrix exponential of tensors ([#465](https://github.com/QuantumKitHub/TensorKit.jl/pull/465)) + +### Changed + +- Consolidated duplicated GPU logic into a new GPUArrays extension ([#460](https://github.com/QuantumKitHub/TensorKit.jl/pull/460)) +- Removed explicit dependence on cuTENSOR for the CUDA extension ([#455](https://github.com/QuantumKitHub/TensorKit.jl/pull/455)) +- Improved `DimensionMismatch` error message in the `TensorMap` constructor ([#456](https://github.com/QuantumKitHub/TensorKit.jl/pull/456)) + +### Fixed + +- Added missing zero-derivatives and an in-place rrule test for `svd_trunc` ([#448](https://github.com/QuantumKitHub/TensorKit.jl/pull/448)) + +### Performance + +- Reduced overhead in the `TensorMap` constructor and in `sectorequal`/`sectorhash` for trivial symmetries ([#476](https://github.com/QuantumKitHub/TensorKit.jl/pull/476)) +- Further trivial-symmetry improvements and reduced respecialization for `contract!` ([#479](https://github.com/QuantumKitHub/TensorKit.jl/pull/479)) +- Fast path for trivial tensors into the TensorOperations machinery ([#463](https://github.com/QuantumKitHub/TensorKit.jl/pull/463)) +- Marked more error strings as lazy to reduce runtime overhead ([#478](https://github.com/QuantumKitHub/TensorKit.jl/pull/478)) + ## [0.17.0](https://github.com/QuantumKitHub/TensorKit.jl/compare/v0.16.5...v0.17.0) - 2026-06-03 ### Added From 2b7093ea64306e2e8a047f699bd5afbd46697d06 Mon Sep 17 00:00:00 2001 From: lkdvos Date: Mon, 13 Jul 2026 13:22:10 -0400 Subject: [PATCH 2/5] Bump version to v0.17.1 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 505e078ee..4344242d5 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "TensorKit" uuid = "07d1fe3e-3e46-537d-9eac-e9e13d0d4cec" -version = "0.17.0" +version = "0.17.1" authors = ["Jutho Haegeman, Lukas Devos"] [workspace] From 21493f3b3718d645e30b1432a554cdb3cf23d510 Mon Sep 17 00:00:00 2001 From: lkdvos Date: Mon, 13 Jul 2026 13:22:22 -0400 Subject: [PATCH 3/5] Update CITATION.cff for v0.17.1 --- CITATION.cff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index a702dc964..7fa169338 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,9 +8,9 @@ authors: given-names: "Jutho" orcid: "https://orcid.org/0000-0002-0858-291X" title: "TensorKit.jl" -version: "0.17.0" +version: "0.17.1" doi: "10.5281/zenodo.8421339" -date-released: "2026-06-03" +date-released: "2026-07-13" url: "https://github.com/QuantumKitHub/TensorKit.jl" preferred-citation: type: article From a33630eb9d0323d93a16b423ab3c10b629012baf Mon Sep 17 00:00:00 2001 From: lkdvos Date: Tue, 14 Jul 2026 16:51:01 -0400 Subject: [PATCH 4/5] Document #485 and MatrixAlgebraKit 0.6.9 bump in changelog --- docs/src/Changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/Changelog.md b/docs/src/Changelog.md index 442b3cca0..0ac406406 100644 --- a/docs/src/Changelog.md +++ b/docs/src/Changelog.md @@ -38,6 +38,7 @@ When releasing a new version, move the "Unreleased" changes to a new version sec - Enzyme AD support: forward and reverse rules (with tests) for TensorOperations contractions, index manipulations, linear algebra, and VectorInterface operations ([#436](https://github.com/QuantumKitHub/TensorKit.jl/pull/436), [#437](https://github.com/QuantumKitHub/TensorKit.jl/pull/437), [#440](https://github.com/QuantumKitHub/TensorKit.jl/pull/440), [#449](https://github.com/QuantumKitHub/TensorKit.jl/pull/449), [#451](https://github.com/QuantumKitHub/TensorKit.jl/pull/451), [#466](https://github.com/QuantumKitHub/TensorKit.jl/pull/466)) - `exponential` and `exponential!` for the matrix exponential of tensors ([#465](https://github.com/QuantumKitHub/TensorKit.jl/pull/465)) +- Docstrings for `catdomain` and `catcodomain` ([#485](https://github.com/QuantumKitHub/TensorKit.jl/pull/485)) ### Changed From eb7c9c6930a0b688b7750e3b4a6f5fd968e6a562 Mon Sep 17 00:00:00 2001 From: lkdvos Date: Tue, 14 Jul 2026 16:56:46 -0400 Subject: [PATCH 5/5] Address review comments: clarify Enzyme index-manip mode, note cuTENSOR --- docs/src/Changelog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/Changelog.md b/docs/src/Changelog.md index 0ac406406..74a238fc2 100644 --- a/docs/src/Changelog.md +++ b/docs/src/Changelog.md @@ -36,14 +36,14 @@ When releasing a new version, move the "Unreleased" changes to a new version sec ### Added -- Enzyme AD support: forward and reverse rules (with tests) for TensorOperations contractions, index manipulations, linear algebra, and VectorInterface operations ([#436](https://github.com/QuantumKitHub/TensorKit.jl/pull/436), [#437](https://github.com/QuantumKitHub/TensorKit.jl/pull/437), [#440](https://github.com/QuantumKitHub/TensorKit.jl/pull/440), [#449](https://github.com/QuantumKitHub/TensorKit.jl/pull/449), [#451](https://github.com/QuantumKitHub/TensorKit.jl/pull/451), [#466](https://github.com/QuantumKitHub/TensorKit.jl/pull/466)) +- Enzyme AD support: forward and reverse rules (with tests) for TensorOperations contractions, linear algebra, and VectorInterface operations, and reverse rules for index manipulations ([#436](https://github.com/QuantumKitHub/TensorKit.jl/pull/436), [#437](https://github.com/QuantumKitHub/TensorKit.jl/pull/437), [#440](https://github.com/QuantumKitHub/TensorKit.jl/pull/440), [#449](https://github.com/QuantumKitHub/TensorKit.jl/pull/449), [#451](https://github.com/QuantumKitHub/TensorKit.jl/pull/451), [#466](https://github.com/QuantumKitHub/TensorKit.jl/pull/466)) - `exponential` and `exponential!` for the matrix exponential of tensors ([#465](https://github.com/QuantumKitHub/TensorKit.jl/pull/465)) - Docstrings for `catdomain` and `catcodomain` ([#485](https://github.com/QuantumKitHub/TensorKit.jl/pull/485)) ### Changed - Consolidated duplicated GPU logic into a new GPUArrays extension ([#460](https://github.com/QuantumKitHub/TensorKit.jl/pull/460)) -- Removed explicit dependence on cuTENSOR for the CUDA extension ([#455](https://github.com/QuantumKitHub/TensorKit.jl/pull/455)) +- Removed explicit dependence on cuTENSOR for the CUDA extension; importing `cuTENSOR` is still recommended for best performance, as it enables the corresponding TensorOperations extension ([#455](https://github.com/QuantumKitHub/TensorKit.jl/pull/455)) - Improved `DimensionMismatch` error message in the `TensorMap` constructor ([#456](https://github.com/QuantumKitHub/TensorKit.jl/pull/456)) ### Fixed