ITensor / ITensorNetworkAD.jl

Tools for using AD to optimize tensor networks, built on top of ITensor and AutoHOOT.
Apache License 2.0
14 stars 2 forks source link

Add contraction path cache in batch_tensor_contraction, support cotengra #27

Closed LinjianMa closed 3 years ago

mtfishman commented 3 years ago

Looks good, this will be very helpful.

One thing we could try is moving the set of commands in the CI for installing AutoHOOT and cotengra into a file deps/build.jl, which Julia will run as a build step when ITensorNetworkAD gets installed. Similar to the discussions here: https://discourse.julialang.org/t/pycall-pre-installing-a-python-package-required-by-a-julia-package/3316 https://gist.github.com/Luthaf/368a23981c8ec095c3eb

This would make it easier for people to test out the package. We can leave that for a future issue.