Release v0.17.2 - #550
Merged
Merged
Release v0.17.2#550
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- isunitspace: require dim(V) == 1 for GenericUnit sectors (#537) - GradedSpace ⊕/supremum: check unit homogeneity of the result (#538) - isconj(::ComplexSpace): return isdual(V) instead of always true (#539) - multi_associator: return a vector, not a scalar, on early-exit for GenericFusion (#540) - split(f, 0): use leftunit(f.coupled) instead of indexing an empty uncoupled tuple (#541) - repartition: return a Pair in the identity branch, matching every other branch (#542) - Mooncake scalar_pullback: accumulate into the tangent instead of overwriting it (#543) - rand/randn/randexp/randisometry(rng, T, space): fix one(domain) typo (#544) - pinv(::DiagonalTensorMap): fix inverted atol/rtol defaulting and empty-tensor throw (#545) - t1 / t2: promote to a float scalartype, matching t1 \ t2 (#546) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- split(f, 0): also guard innerlines_extended construction, which still indexed the empty uncoupled tuple for a 0-leg tree - pinv(::DiagonalTensorMap): use eps (not sqrt(eps)) for the default rtol, matching _default_rtol's convention and dense LinearAlgebra.pinv Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- pinv(::DiagonalTensorMap): reuse _default_rtol instead of duplicating its formula - Add regression tests for split(f, 0) on a genuine 0-leg tree and for multi_associator's early-exit branch on a GenericFusion sector Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was
linked to
issues
Sep 20, 2026
Member
Author
|
This is a PR with the release, along with a number of small fixes for issues that got uncovered by doing a generic 🤖-audit. I'm still running the MPSKit testsuite locally to make sure things are now settled correctly, but after that confirmation I think this is ready to release. |
Codecov Report❌ Patch coverage is
🚀 New features to boost your workflow:
|
Jutho
reviewed
Sep 21, 2026
Jutho
reviewed
Sep 21, 2026
Jutho
reviewed
Sep 21, 2026
Jutho
reviewed
Sep 21, 2026
Jutho
approved these changes
Sep 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TensorKit.jl v0.17.2
A performance-and-correctness patch release fixing an up-to-80x adjoint
permute!slowdown, a@planarcontraction bug, and a batch of small bugs found in a pre-release audit.Highlights
permute!/braid!/transpose!being up to 80x slower than the plain-tensor path (Refactor index manipulation kernels around position-indexed subblocks #526)@planar/planarcontract!now canonicalizes index partitions before allocating, fixing incorrect/erroring contractions with non-planar partitions and restoring mixed-spacetypesupport (Fix contraction of tensors with mixed elementary space types #531, Fix planar index reordering and remove_contractedspace#532)flip, unit insertion/removal, and planar operations (Try letting Enzyme make rules for insert/remove unit #488, Forward enzyme rule and tests for flip #489, Reverse/forward Enzyme rules, refactoring, and tests for planar ops #474)isunitspace,GradedSpace⊕/supremum,isconj(::ComplexSpace),multi_associator,split,repartition, the Mooncakescalarrule,rand/randnwith an explicitrng,pinv(::DiagonalTensorMap), andt1 / t2Closes #537, #538, #539, #540, #541, #542, #543, #544, #545, #546
Full Changelog
See CHANGELOG for the complete list of changes.