Opened 14 months ago
Last modified 5 months ago
#32034 new enhancement
Graphical representations of tensors
Reported by: | gh-honglizhaobob | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-9.7 |
Component: | graphics | Keywords: | |
Cc: | mkoeppe, egourgoulhon, dimpase | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
As outlined in Meta Ticket #31991, a tensor can admit different types of decompositions / tensor networks. We propose to add visualizations to the tensors (depending on decomposition used), possibly by implementing the __repr__
method.
In the diagrams of a tensor network, we may represent a tensor as a node, and the indices in different dimensions as edges. E.g. an order-3 tensor T(j_1,j_2,j_3 ) would look like a node with 3 edges. And connecting two edges from two tensors will denote tensor contractions. In this way, one may visualize the various decompositions of a tensor more intuitively via a tensor network / graph, along with additional information (such as tensor ranks).
- common tensor softwares (https://tensornetwork.org/software/)
- graphical explanation (https://www.math3ma.com/blog/matrices-as-tensor-network-diagrams)
Change History (5)
comment:1 Changed 14 months ago by
- Description modified (diff)
comment:2 Changed 14 months ago by
comment:3 Changed 13 months ago by
- Milestone changed from sage-9.4 to sage-9.5
comment:4 Changed 8 months ago by
- Milestone changed from sage-9.5 to sage-9.6
comment:5 Changed 5 months ago by
- Milestone changed from sage-9.6 to sage-9.7
This would be very nice. I'd love to see Penrose graphical notation for tensors in Sage!