Download data/docs/source/general.rst from introvoyz041/variPEPS_Python: direct link, hf CLI and curl.
- Browser
- Download file 3.18 kB
-
https://huggingface.co/datasets/introvoyz041/variPEPS_Python/resolve/main/data/docs/source/general.rst
- Command line
-
hf download hf://datasets/introvoyz041/variPEPS_Python/data/docs/source/general.rst
-
curl -L -o general.rst https://huggingface.co/datasets/introvoyz041/variPEPS_Python/resolve/main/data/docs/source/general.rst
3.18 kB
| .. _general: | |
| Introduction | |
| ============ | |
| variPEPS is a Python tensor network library developed for variational ground | |
| state simulations in two spatial dimensions applying gradient optimization using | |
| automatic differentation. | |
| For a detailed report on the method, please see `our open-access publication on | |
| SciPost (doi:10.21468/SciPostPhysLectNotes.86) | |
| <https://doi.org/10.21468/SciPostPhysLectNotes.86>`_. | |
| Installation using pip | |
| ====================== | |
| The current version of the variPEPS Python package is available on `PyPI | |
| <https://pypi.org/project/variPEPS/>`_. It can be easily installed using the | |
| Python package manager pip: | |
| .. code-block:: console | |
| $ python3 -m pip install variPEPS | |
| Core Features | |
| ============= | |
| * Calculation of expectation values, structure factors, overlaps and correlation | |
| lengths of infinite PEPS states. | |
| * Variational optimization for ground state search of Hamiltonian models using | |
| automatic differentiation. | |
| * Predefined mappings of other lattices (kagome, maple-leaf, ...) to square and | |
| triangular PEPS structure. | |
| * Support for spiral-PEPS method (`Phys. Rev. Lett. 133, 176502 (2024) | |
| <https://doi.org/10.1103/PhysRevLett.133.176502>`_). | |
| * Reference implementation of the split-CTMRG (`Phys. Rev. B 111, 235116 (2025) | |
| <https://doi.org/10.1103/PhysRevB.111.235116>`_) and triangular-CTMRG | |
| (`Phys. Rev. B 113, 045117 (2026) <https://doi.org/10.1103/g5gm-tzf8>`_) | |
| variants. | |
| * Direct support of just-in-time compilation (JIT) and GPU devices thanks to the | |
| :obj:`jax` framework. | |
| Usage | |
| ===== | |
| The :obj:`varipeps` module is organized in several submodules corresponding to | |
| the different features. For a variational optimization the most important parts | |
| are (a full overview can be found in the :ref:`api`): | |
| * :obj:`varipeps.peps`: To define iPEPS unit cell and the tensors on each site, | |
| the library provides in this submodule the abstractions to define such a unit | |
| cell. | |
| * :obj:`varipeps.expectation`: In this submodule the helper functions to define | |
| and calculate common expecation functions on the iPEPS unit | |
| cell. Particularly, the function can be used to define the Hamiltonian terms | |
| of the model of interest. | |
| * :obj:`varipeps.mapping`: If not only interactions on the square lattice are of | |
| interest but also models on other 2d lattices, in this submodule one can find | |
| mappings of other lattices. Also the files there can be a good starting point | |
| to implement even more lattices. | |
| * :obj:`varipeps.optimization`: The submodule providing the optimization | |
| algorithm and interface of the library. In almost all cases, one will interact | |
| with this part by the main function | |
| :obj:`varipeps.optimization.optimize_peps_network` or the convience wrapper around t. | |
| All these different modules can be seen in action in the :ref:`examples` | |
| section of the documentation where exemplary code is discussed in detail. | |
| Citation | |
| ======== | |
| We are happy if you want to use the framework for your research. To cite our | |
| work we provide a list of our preferred references on the `GitHub page of the | |
| project | |
| <https://github.com/variPEPS/variPEPS_Python?tab=readme-ov-file#citation>`_. Please | |
| check there for a current list. | |