TensorNetwork
TensorNetwork copied to clipboard
A library for easy and efficient manipulation of tensor networks.
We should consider renaming the methods around NconBuilder. Current changes proposed: NconBuilder -> ContractionBuilder tn.contract -> tn.contract_edge tn.finalize -> tn.contract
The function `ncon` is powerful and beloved by veteran tensor networkers. Yet despite its prowess, its matlabian exterior prevents it from feeling like a natural python function. First, edge indices...
Having not followed the recent PRs, our group became aware of the new `Tensor` class with the release of 0.4.2. We found that `tensornetwork.ncon`, `tensornetwork.conj` and `tensornetwork.node` now take `Tensor`...
Tensor should support the numpy-like function `item`, which converts a size-1 Tensor into a Python scalar.
Right now there's a bit of a confusing situation going on where the term `Tensor` refers both to the type of a given backend array (the old use) and to...
I am trying to reproduce the MNIST classification task with an MPS ansatz and encountered very slow compilation times when using jit. And even without jitting, the MPS contraction seems...