Python port of the ITensors framework
Project description
[!WARNING] This project is an independent Python Port of the Julia project, still in its early stages. We are not officially affiliated with the Flatiron Institute nor the authors of ITensor.
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file itensors-0.1.3.tar.gz.
File metadata
- Download URL: itensors-0.1.3.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-28-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c100dbe9faa843ad090cbc754e6fb8c9d7c26d1c7fd878c79b47b66d76491a34
|
|
| MD5 |
9bd1cb569c8ca30cc6912da21cac0421
|
|
| BLAKE2b-256 |
ab6cc5cf4ccccf66b570577e5b4cfea882173a178da411031b7f8576032de7b4
|
File details
Details for the file itensors-0.1.3-py3-none-any.whl.
File metadata
- Download URL: itensors-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-28-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe1d2d430942fff3207277742764b5fca88b9acc45f99012134e809384843ca7
|
|
| MD5 |
7e021ae7ee447630fca3fc4227707dc5
|
|
| BLAKE2b-256 |
c6e1d8bbef46746a53111efa24a8e4f92967c9b4af95344f4e61a94a2674e337
|