You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5ece9d1
Browse filesBrowse the repository at this point in the historyBrowse files
Refactor index manipulation kernels around position-indexed subblocks
Index manipulations now run through a single kernel that operates on
subblocks addressed by position: `StridedSubblocks` (sector-independent
views into the flat data of a `TensorMap`) or `TreeSubblocks` (any
`AbstractTensorMap`, through `subblock`), both carrying an optional lazy
conjugation. `TreeTransformer`s store only the mapping between subblock
positions and recoupling coefficients, alongside the subblock structures,
and are cached for every tensor type.
Adjoint sources and destinations, as well as `conj` in `tensoradd!`, are
folded into a conjugation flag, relabeled permutation and levels, and
conjugated scalars, so that `AdjointTensorMap` wrappers no longer force
the uncached generic path (fixes#516, supersedes #519 and #520).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/src/Changelog.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,20 @@ When releasing a new version, move the "Unreleased" changes to a new version sec
24
24
25
25
### Changed
26
26
27
+
- Index manipulations use a single kernel operating on subblocks addressed by position: `StridedSubblocks` (sector-independent views into the flat data of a `TensorMap`) or `TreeSubblocks` (any `AbstractTensorMap`, through `subblock`), both able to carry a lazy conjugation. The `TreeTransformer`s store the mapping between subblock positions and recoupling coefficients and are cached for every tensor type; conjugated and adjoint operands are handled through this mechanism instead of through `AdjointTensorMap` wrappers (internal) ([#516](https://github.com/QuantumKitHub/TensorKit.jl/issues/516))
28
+
27
29
### Deprecated
28
30
29
31
### Removed
30
32
31
33
### Fixed
32
34
35
+
-`braid!`, `permute!` and `transpose!` with a `BraidingTensor` source now use the cached fusion tree transformers ([#516](https://github.com/QuantumKitHub/TensorKit.jl/issues/516))
36
+
33
37
### Performance
34
38
39
+
- In-place `permute!`, `braid!` and `transpose!` with `AdjointTensorMap` sources or destinations, as well as `@tensor` expressions with `conj`, now use the same cached and sector-independent kernel as plain `TensorMap`s; other tensor types (e.g. `DiagonalTensorMap`) also use the cached fusion tree transformers, and `subblocks(::TensorMap)` iterates without hashing fusion trees ([#516](https://github.com/QuantumKitHub/TensorKit.jl/issues/516), [#519](https://github.com/QuantumKitHub/TensorKit.jl/pull/519), [#520](https://github.com/QuantumKitHub/TensorKit.jl/pull/520))
0 commit comments