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 8d5d02f
Browse filesBrowse the repository at this point in the historyBrowse files
Precompute planar trace kernels in a TraceTransformer
`planartrace!` now precomputes the subblock positions and recoupling
coefficients in a cached `TraceTransformer`, and executes them with a
sector-independent kernel, analogous to the index manipulations. This
replaces the per-tree loop that built ad-hoc single-pair `FusionTreeBlock`s.
- `planar_trace` is defined for `Union{FusionTreePair, FusionTreeBlock}`,
with unique-fusion pairs returning `dst => coeff` and blocks `dst => U`,
and throws when the traced sectors are not dual to each other
- the transformer skips such (sub)blocks upfront and groups the data by
destination, such that every destination subblock is written once and
`β` is handled inside the kernel
- blocks with several destination trees are traced (and permuted) into a
buffer, recoupled with a single matmul and added into the destination
- `FusionTreeBlock`s hash their uncoupled sectors and duality flags
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/src/Changelog.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ When releasing a new version, move the "Unreleased" changes to a new version sec
30
30
- Require TensorKitSectors v0.3.10
31
31
-`@cached` can be used from other modules, such as package extensions, which then own the cache of the methods they add; these caches are shown with their module in `global_cache_info` after registration in `__init__` (internal)
32
32
- The `TreeTransformer`s used in index manipulations are now constructed and cached per storagetype of the destination tensor, which is also a dispatch point for storage-specific transformers with their own cache (internal)
33
+
-`planartrace!` precomputes and caches a `TraceTransformer` with the subblock positions and recoupling coefficients, and executes it with a kernel shared by all sectortypes, analogous to the index manipulations; `planar_trace` is now also defined for `FusionTreeBlock`s (internal)
0 commit comments