Skip to content

Add tree-topology TT-ID#4

Merged
yurielnf merged 2 commits into
mainfrom
claude/musing-ishizaka-b185bf
May 21, 2026
Merged

Add tree-topology TT-ID#4
yurielnf merged 2 commits into
mainfrom
claude/musing-ishizaka-b185bf

Conversation

@yurielnf
Copy link
Copy Markdown
Owner

Generalizes TT-ID to arbitrary tree topologies using libtorch tensors. TreeTopology owns the recursion via leaves_to_root/root_to_leaves iterators; TensorTree's eval/sum/overlap are flat edge-local sweeps that absorb one neighbor at a time, with length-1 axes kept so leg positions stay stable. tree_tt_id mirrors the chain TT-CI: per-edge row/col ID with pivots stored as MultiIndex on each directed edge, plus addPivotsAllBonds for global-pivot injection.

yurielnf and others added 2 commits May 20, 2026 22:28
Generalizes TT-ID to arbitrary tree topologies using libtorch tensors.
TreeTopology owns the recursion via leaves_to_root/root_to_leaves
iterators; TensorTree's eval/sum/overlap are flat edge-local sweeps
that absorb one neighbor at a time, with length-1 axes kept so leg
positions stay stable. tree_tt_id mirrors the chain TT-CI: per-edge
row/col ID with pivots stored as MultiIndex on each directed edge,
plus addPivotsAllBonds for global-pivot injection.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@yurielnf yurielnf merged commit 327ddf6 into main May 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant