This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Free Node Paradigm
·
353 commits
to master
since this release
We have switched to using a "Free Node" paradigm. Examples of what this looks like can be found on our latest README.
Users have told us that the TensorNetwork object is more cumbersome than helpful, so we will be totally removing it in the next release. This release is out to help users upgrade their code. This is a BREAKING CHANGE. We have made a simple tutorial to upgrade your code.
- New prefered way to import
tensornetworkis now asimport tensornetwork as tn - Deprecated the
TensorNetworkobject. Prefer now to just create your nodes usingtn.Node. All operations such asnet.split_nodecan now be called liketn.split_node. - Added
tn.reachablemethod to get a set of all nodes reachable from another node or set of nodes. This usually can be a drop in replacement for when you had to originally give aTensorNetworkobject in methods like all of thecontractors.