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.1.tar.gz (47.1 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.1-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acetn-0.1.1.tar.gz
  • Upload date:
  • Size: 47.1 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.1.tar.gz
Algorithm Hash digest
SHA256 0c7e8554eab5aeff590d21880fedd33dff87708ac7409c7b3c50c28e92558cab
MD5 16ba0702bd7b3c0db381362cfdebcc9b
BLAKE2b-256 e04025a00eaf889a0e193938833f57e4a934b9b6eeaecb5d6ce0b830294bb31d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: acetn-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 62.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e0ec3f73a68f8b5463e41d19f16810fa3bb6101a27fc91e6369d9f5c968485b
MD5 d6a85d6beecc069ae08dea9a3a3ce1c4
BLAKE2b-256 a1830810e3a256f8627807f97dcd617af0a403c83539009931f930fbbc3895ec

See more details on using hashes here.

Provenance

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