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 8d89927
Browse filesBrowse the repository at this point in the historyBrowse files
Make twist! mirror braid! with a public twist!(tdst, tsrc, inds, α, β, ...)
`twist!(t, inds)` and `twist(t, inds)` are now thin wrappers around the
three-argument form, which goes through `unwrap_adjoints` and a `_twist!`
kernel entry like `_braid!`. Adds `twist_pb` with Mooncake and Enzyme rules,
and backend/allocator keywords for `twist`.
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
@@ -24,6 +24,7 @@ When releasing a new version, move the "Unreleased" changes to a new version sec
24
24
25
25
- Enzyme rules for `planartrace!`, with a pullback that also supports adjoint tensors
26
26
-`twist(src, inds; inv = false)` for fusion tree pairs and blocks, returning `src` together with the scalar twist factor of the legs `inds`, which can be given as indices or as a `Bool` mask
27
+
-`twist!(tdst, tsrc, inds, α = 1, β = 0, [backend], [allocator]; inv = false)` computing `tdst = β * tdst + α * twist(tsrc, inds; inv)`, in line with `permute!` and `braid!`, together with Mooncake and Enzyme rules; `twist` now also accepts `backend` and `allocator` keywords
0 commit comments