Useful commands
Installing he package
With pip:
pip install itensors
With poetry
poetry add itensors
Setting up a development environment
After cloning the repo, run locally:
poetry install
Running tests
After insuring testing dependencies are installed by running poetry install --all-extras, you can run tests via
pytest
Publish new version to PyPI
After updating the relevant version number on pyproject.toml, run the command below
poetry publish --build
Design choices
We follow the ideology of the original ITensor paper. In this section, we specify Python implementation choices, hopefully making the code clearer to follow. Feedback and questions are welcomed
Structs
The key structures used are ITensor, Index, and TensorNetwork. We collocate these base structures under a single itensors/struct.py file.
Metadata
Release files for itensors 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| itensors-0.1.3.tar.gz | 2.1 kB | Without provenance | Details for itensors-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| itensors-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for itensors-0.1.3-py3-none-any.whl |
Total release size: 4.5 kB
Release files / itensors-0.1.3.tar.gz
| Download URL | itensors-0.1.3.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c100dbe9faa843ad090cbc754e6fb8c9d7c26d1c7fd878c79b47b66d76491a34
|
|
BLAKE2b-256 checksum How to use checksums |
ab6cc5cf4ccccf66b570577e5b4cfea882173a178da411031b7f8576032de7b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-28-generic
|
Release files / itensors-0.1.3-py3-none-any.whl
| Download URL | itensors-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe1d2d430942fff3207277742764b5fca88b9acc45f99012134e809384843ca7
|
|
BLAKE2b-256 checksum How to use checksums |
c6e1d8bbef46746a53111efa24a8e4f92967c9b4af95344f4e61a94a2674e337
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-28-generic
|
Security for itensors 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.