Skip to main content

Ace-TN: Simple and Efficient iPEPS Simulation

About

Ace-TN is an efficient and easy-to-use library for simulating infinite projected entangled-pair states (iPEPS) using the corner-transfer matrix renormalization group (CTMRG) method.

  • GPU Acceleration: Supports GPU computations, offering a significant performance boost for larger and more complex iPEPS simulations.
  • Multi-GPU Support: Can utilize multiple GPUs, allowing users to scale calculations to the largest possible system sizes.
  • Flexible and Easy to Use: Easy and straightforward API, providing easy management of tensors and flexible model Hamiltonian construction.

See our preprint at https://arxiv.org/abs/2503.13900.

Getting Started

Installation

To install Ace-TN, use:

pip install acetn

Quickstart

After installation, a simple example calculation can be run by using python3 script.py for the following script.py:

from acetn.ipeps import Ipeps

# Set simulation options in the config
config = {
    "TN":{
        "nx": 2,
        "ny": 2,
        "dims": {"phys": 2, "bond": 2, "chi": 20},
    },
    "model":{
        "name": "heisenberg",
        "params": {"J": 1.0},
    },
}

# Initialize an iPEPS
ipeps = Ipeps(config)

# Perform imaginary-time evolution steps
ipeps.evolve(dtau=0.01, steps=100)

# Measure observables
measurements = ipeps.measure()

For more details on usage, see the project documentation or try some of the example scripts in the samples directory.

Multi-GPU Usage

Run a script script.py in multi-GPU mode using N processes and N GPUs with

torchrun --nproc_per_node=N script.py

Citing

If you found Ace-TN useful for your research, please cite:

@misc{AceTN_2025,
      title={Ace-TN: GPU-Accelerated Corner-Transfer-Matrix Renormalization of Infinite Projected Entangled-Pair States}, 
      author={Addison D. S. Richards and Erik S. Sørensen},
      year={2025},
      eprint={2503.13900},
      archivePrefix={arXiv},
      primaryClass={cond-mat.str-el},
      url={https://arxiv.org/abs/2503.13900}, 
}

License

Ace-TN is licensed under the Apache-2.0 License. See the LICENSE file for more details.

Metadata

Release files for acetn 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acetn 0.1.3
File Size Uploaded Provenance
acetn-0.1.3.tar.gz 50.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for acetn 0.1.3
File Interpreter ABI Platform
acetn-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 117.8 kB

Release files / acetn-0.1.3.tar.gz

Download URL acetn-0.1.3.tar.gz
Size 50.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f158882ae735299af24a5260ca4e121b82f6c5573978a960e9842724da1e694
BLAKE2b-256 checksum
How to use checksums
cd22197ca4a8f80f48d0658a75823ed6813ce95a5d8e6eed59ce5235e4288d5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.

Transparency log

Release files / acetn-0.1.3-py3-none-any.whl

Download URL acetn-0.1.3-py3-none-any.whl
Size 67.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75f1536c00ef62ca1b33d7595bdfb4453b5f4897a76efdfe90652f3bd1008d09
BLAKE2b-256 checksum
How to use checksums
5b8f699f4e9587837fb36fa5972aa1209bb139ef7efb4674c4cb13b8c5759da8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.

Transparency log

Security for acetn 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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for acetn-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page