bsc-quantic / rosnet

Large-scale tensor algebra using pyCOMPSs
Apache License 2.0
4 stars 0 forks source link

Improve quimb and cotengra support #16

Closed mofeing closed 1 year ago

mofeing commented 2 years ago

quimb

tn = qtn.TensorNetwork(...)

with rosnet.set_slice_inds(['a','b','c']):
    res = tn.contract()

cotengra

rosnet.contract_tree(tree)