Skip to main content

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.

PyPI - Version PyPI - Python Version PyPI - Format GitHub commit activity

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

WIP

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

itensors-0.1.2.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

itensors-0.1.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file itensors-0.1.2.tar.gz.

File metadata

  • Download URL: itensors-0.1.2.tar.gz
  • Upload date:
  • Size: 1.6 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

Hashes for itensors-0.1.2.tar.gz
Algorithm Hash digest
SHA256 046397b67072adc13f06b8f2dd95925cbc8d8a1ec1b793c264e7fbdb19486114
MD5 aa8358785688a7bbc96f04480c5eaeb9
BLAKE2b-256 6a5649b4ccd5a45c140f0e70ce25fe6ee360090f10ccce3a1e09ebec15c21423

See more details on using hashes here.

File details

Details for the file itensors-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: itensors-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.0 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

Hashes for itensors-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eac57e382f7a973b63f2d1c175951fc365d196087a0973a58956f450db89f916
MD5 1630845ae0c502f0fb64b0bee069dd4a
BLAKE2b-256 4328637e3244a41fb2febc9ffa553babef2164e10d7442e0284221a8bfd43a17

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page