TensorNetwork icon indicating copy to clipboard operation
TensorNetwork copied to clipboard

update contraction tutorials

Open mganahl opened this issue 5 years ago • 6 comments

We now also have Glen's contractor. We should add a tutorial for that

mganahl avatar Jul 21 '20 11:07 mganahl

I would actually love to add a wrapper around glen's code that automatically optimizes the contraction order. Maybe tn.ncon_optimized(...)?

chaserileyroberts avatar Jul 21 '20 18:07 chaserileyroberts

Tooling is all there, this would just be an API addition.

chaserileyroberts avatar Jul 21 '20 18:07 chaserileyroberts

Hi Guys I see the issue is still open, can I work on it, but I'm actually new to open source. It would be really grateful if someone could help me out with it.

adarshiremath avatar Aug 30 '21 02:08 adarshiremath

Hi, and sorry for the late reply! Basically, we need a tutorial that explains how to use the different methods for finding a contraction path of a network. You can either write a small colab notebook, and we'll link to it on the main page, or you can write a .rst file and we'll add it to the documentation.

A simple notebook could just initialize a few nodes, connect them and then use the tn.contractors module to find the optimal contration path (similarly, using the ncon API). The code is all in tn.contractors/opt_einsum_paths and tn.contractors/custom_path_solvers.

mganahl avatar Sep 07 '21 10:09 mganahl

Hi, I see the issue is still open, can I work on it.

BitGeek29 avatar Aug 25 '22 15:08 BitGeek29

Are there any more fixes needed. I'm looking for first contribution.

Mahas1234 avatar Apr 22 '24 10:04 Mahas1234