This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Removal of the TensorNetwork class
·
316 commits
to master
since this release
The TensorNetwork class has been REMOVED and will raise an error if you try to use it. To upgrade your code, please see our simple upgrade guide.
- Added
tn.FiniteMPSclass for your standard MPS applications - Added
tn.reduce_densitymethod for creating a reduced density matrices. - Added
ignore_edge_orderargument to the contractor methods. - Added
tn.split_edgemethod. - Added support for contracting subgraphs of a network. Now you can use the
tn.contractormethods for contracting a subset of your nodes. - Added support for copying a subgraph of the network. When an edge is non-dangling, but only one of the nodes for that edge is in the set of given edges, the "copied" edge become a dangling edge. This is useful for calculating things like environments and normalizations.
- Added a
tn.NodeCollectioncontext manager. This allows you to collect all of your created nodes into a single list or set easily.