You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a non-solved semantic issue with the refactor and it's that there can be (actually, are) Tensors within a TensorNetwork that are connected by the same indices. This case always appears in the contraction of a closed TN, since the last 2 tensors will forcibly have the same indices.
In other cases, this behavior is more strange but it still can happen.
The way mathematicians have solved it in graph theory is adding a "multiplicity" parameter to the edges. Since a TensorNetwork can represent both the nominal graph of TN and its inverse graph, it is easy mathematically to add a multiplicity paramater on functions that access Tensors.
In Tenet, calling select with "multiplicity" of $i$ should select the tensors that matches all the indices and choose the $i$-th element in the list. But does this function always computes the list in the same order? There should be some order but I'm still undecided about what order should it be.
@bsc-quantic/software @bsc-quantic/tensor-networks I'm invoking you to give your opinion on this.
The text was updated successfully, but these errors were encountered:
There is a non-solved semantic issue with the refactor and it's that there can be (actually, are)
Tensor
s within aTensorNetwork
that are connected by the same indices. This case always appears in the contraction of a closed TN, since the last 2 tensors will forcibly have the same indices.In other cases, this behavior is more strange but it still can happen.
The way mathematicians have solved it in graph theory is adding a "multiplicity" parameter to the edges. Since a
TensorNetwork
can represent both the nominal graph of TN and its inverse graph, it is easy mathematically to add amultiplicity
paramater on functions that accessTensor
s.In$i$ should select the tensors that matches all the indices and choose the $i$ -th element in the list. But does this function always computes the list in the same order? There should be some order but I'm still undecided about what order should it be.
Tenet
, callingselect
with "multiplicity" of@bsc-quantic/software @bsc-quantic/tensor-networks I'm invoking you to give your opinion on this.
The text was updated successfully, but these errors were encountered: