cotengra icon indicating copy to clipboard operation
cotengra copied to clipboard

Hyper optimized contraction trees for large tensor networks and einsums

Results 13 cotengra issues
Sort by recently updated
recently updated
newest added

**What happened?** Cotengra fails to compute the cost of a given path: ``` math.log2(trial['write']) / 1000 ``` when the "write" value is negative. **Minimal Complete Verifiable Example** ``` pyenv local...

with code "tree_r_f=tree.subtree_reconfigure_forest(progbar=True)", I enconter the problem " AttributeError: 'ProcessPoolExecutor' object has no attribute 'scatter' ", could you please help me ?

I was wondering if there exists functionality in `cotengra` or `quimb` or `opt_einsum` to parse a file for the purposes of calculating contraction costs alone, without needing or caring about...

Hi! We could not install Kahypar on Mac. We opened an issue in Kahypar repo through the link: https://github.com/kahypar/kahypar/issues/103 We are wondering if the problem might be something related to...

`test_resistance_centrality ` fails on aarch64 with: ``` [ 91s] =================================== FAILURES =================================== [ 91s] __________________________ test_resistance_centrality __________________________ [ 91s] [gw2] linux -- Python 3.9.18 /usr/bin/python3.9 [ 91s] [ 91s] def...

I noticed the Cargo.toml and src/lib.rs in the repository. I am able to build a wheel with it by changing the build-backend from setuptools to maturin and changing the version...

I am using cotengra by calling Python from Julia using PyCall. I have created an apposite interface to make it work, however with newer cotengra updates it starts giving me...

In https://github.com/dgasmith/opt_einsum/issues/217#issuecomment-1620525115, @jcmgray stated that running `cotengra` optimization via `oe.contract_path(expression, *operands, optimize=opt)` (where `opt` is a `cotengra` optimizer) is slower than doing it via `quimb`. I have to add more...

Based on https://github.com/ti2-group/hybrid_contraction_tree_optimizer/ Unfortunately I just realized that the RandomOptimizer does not optimize the costmod and temperature. Not sure how I missed that while going over the code. Without that...

Hi Johnnie, Since it's been a little while numpy>=2.0.0 is released, would there be interest in making it compatible with new numpy? For example, if we just install cotengra by...