cotengra-0.2.0
توضیحات
opt_einsum compatible contractors for large tensor networks
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cotengra-0.2.0 |
| نام | cotengra |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Johnnie Gray |
| ایمیل نویسنده | johnniemcgray@gmail.com |
| آدرس صفحه اصلی | https://github.com/jcmgray/cotengra |
| آدرس اینترنتی | https://pypi.org/project/cotengra/ |
| مجوز | Apache |
<p align="left"><img src="https://imgur.com/OM5XyaD.png" alt="cotengra" width="300px"></p>
`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](https://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`](https://numpy.org/doc/stable/reference/generated/numpy.einsum.html), [`opt_einsum`](https://dgasmith.github.io/opt_einsum/), [`quimb`](https://quimb.readthedocs.io/en/latest/) among others
* **performing contractions** with tensors from many libraries via [`autoray`](https://github.com/jcmgray/autoray)
<p align="center"><img src="https://imgur.com/jMO138y.png" alt="cotengra" width="500px"></p>
نیازمندی
| مقدار | نام |
|---|---|
| - | opt-einsum |
| - | tqdm |
| - | cytoolz |
| - | optuna |
| - | autoray |
| >=2.0 | sphinx |
| - | sphinx-autoapi |
| - | sphinx-copybutton |
| - | myst-nb |
| - | furo |
| - | setuptools-scm |
| !=8.7.0 | ipython |
| - | kahypar |
| - | optuna |
| - | networkx |
| - | autoray |
| - | ray |
| - | numpy |
| - | kahypar |
| - | matplotlib |
| - | networkxaltair |
| - | seaborn |
| - | pytest |
| - | dask |
| - | distributed |
| - | baytune |
| - | skopt |
| - | chocolate |
| - | nevergrad |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl cotengra-0.2.0:
pip install cotengra-0.2.0.whl
نصب پکیج tar.gz cotengra-0.2.0:
pip install cotengra-0.2.0.tar.gz