Skip to main content

GPU-accelerated corner-transfer-matrix renormalization of infinite projected entangled-pair states.

Project description

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.

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

acetn-0.1.3.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

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

acetn-0.1.3-py3-none-any.whl (67.5 kB view details)

Uploaded Python 3

File details

Details for the file acetn-0.1.3.tar.gz.

File metadata

  • Download URL: acetn-0.1.3.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for acetn-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4f158882ae735299af24a5260ca4e121b82f6c5573978a960e9842724da1e694
MD5 8340d85cd2779d44a25b232fbce64647
BLAKE2b-256 cd22197ca4a8f80f48d0658a75823ed6813ce95a5d8e6eed59ce5235e4288d5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for acetn-0.1.3.tar.gz:

Publisher: publish.yml on ace-tn/ace-tn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file acetn-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: acetn-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 67.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for acetn-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 75f1536c00ef62ca1b33d7595bdfb4453b5f4897a76efdfe90652f3bd1008d09
MD5 24043734986af1492f41517d734f7e53
BLAKE2b-256 5b8f699f4e9587837fb36fa5972aa1209bb139ef7efb4674c4cb13b8c5759da8

See more details on using hashes here.

Provenance

The following attestation bundles were made for acetn-0.1.3-py3-none-any.whl:

Publisher: publish.yml on ace-tn/ace-tn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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