opt_einsum compatible contractors for large tensor networks
Project description
cotengra
is a python library for contracting tensor networks or einsum
expressions involving large numbers of tensors - the main docs can be found
at cotengra.readthedocs.io.
Some of the key feautures of cotengra
include:
- an explicit contraction tree object that can be flexibly built, modified and visualized
- a 'hyper optimizer' that samples trees while tuning the generating meta-paremeters
- dynamic slicing for massive memory savings and parallelism
- support for hyper edge tensor networks and thus arbitrary einsum equations
- paths that can be supplied to
numpy.einsum
,opt_einsum
,quimb
among others - performing contractions with tensors from many libraries via
autoray
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cotengra-0.2.0.tar.gz
(2.7 MB
view details)
Built Distribution
cotengra-0.2.0-py3-none-any.whl
(111.2 kB
view details)
File details
Details for the file cotengra-0.2.0.tar.gz
.
File metadata
- Download URL: cotengra-0.2.0.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e22fae33e36f6483a047423178a75bc923ec5ac2bc9288d6dce5b27462befd4 |
|
MD5 | 90879922318ff31658d57dd5f1bfba78 |
|
BLAKE2b-256 | 165b766265e5986cf6708f2d80690d3bcb05b68b838c36e2adba2aa4fb5d70d0 |
File details
Details for the file cotengra-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: cotengra-0.2.0-py3-none-any.whl
- Upload date:
- Size: 111.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 261683a7c7b866a09c4bac84ffee2f958e0e7b9e9ebe05550da3f7a433fa8816 |
|
MD5 | 9df8e62b7111a4da54f1b44e4df49742 |
|
BLAKE2b-256 | 29dd5c299b8436713a02c28054f122f0b8416ea7bba68ac3d4d040243dba274e |