File size: 3,178 Bytes
6288873 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | .. _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.
|