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.2.tar.gz (46.6 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.2-py3-none-any.whl (61.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for acetn-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2c86b4686c38a98f868e8caf95a89803280315f4b5279743fe1114985259e053
MD5 73eb9104c174eb79b76a9997dd867a0c
BLAKE2b-256 96f5d44e5bc607e114cce8a354b969402a0aa51fcb30471d7767fd9723ebb31a

See more details on using hashes here.

Provenance

The following attestation bundles were made for acetn-0.1.2.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.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for acetn-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 783cac8669b87ccc616919b42bf13cec7525857639245d4a188ede9f6b2aecb5
MD5 45196a50d2c4f07de0ccd62b71640e3a
BLAKE2b-256 ef45d167f5edc364a82526439d6a41d9239f77d80db50f224c6cb15ba9fa0cb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for acetn-0.1.2-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