Skip to content

Commit 7c42e50

Browse files
committed
Update README.md, add metadata to pyproject.toml and fix typo in documentation
1 parent dbbbb92 commit 7c42e50

File tree

3 files changed

+57
-13
lines changed

3 files changed

+57
-13
lines changed

README.md

Lines changed: 54 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
1-
variPEPS -- Versatile tensor network library for variational ground state simulations in two spatial dimensions.
2-
================================================================================================================
1+
2+
# variPEPS -- Versatile tensor network library for variational ground state simulations in two spatial dimensions.
33

44
[![DOI](https://zenodo.org/badge/773767511.svg)](https://zenodo.org/doi/10.5281/zenodo.10852390)
55
[![Documentation Status](https://readthedocs.org/projects/varipeps/badge/?version=latest)](https://varipeps.readthedocs.io/en/stable/?badge=latest)
66

7-
Install dependencies
8-
--------------------
7+
variPEPS is the Python variant of the tensor network library developed for
8+
variational ground state simulations in two spatial dimensions applying gradient
9+
optimization using automatic differentation.
10+
11+
For a detailed report on the method, please see our publication currently available as preprint on arXiv: [https://arxiv.org/abs/2308.12358](https://arxiv.org/abs/2308.12358).
12+
13+
## Installation
14+
### Installation using pip
15+
The current version of the variPEPS Python package is available on [PyPI](https://pypi.org/project/variPEPS/). It can be easily installed by using the Python package manager pip:
16+
```bash
17+
$ python3 -m pip install variPEPS
18+
```
19+
20+
### Installation using poetry
921

10-
The dependencies in this project are managed by poetry. Please see the [upstream
11-
documentation](http://python-poetry.org/docs/) how to use it.
22+
The dependencies in this project are managed by poetry and the tool can also be used to install the package including a fixed set of dependencies with a specific version. For more details how poetry is operating, please see the [upstream documentation](http://python-poetry.org/docs/).
1223

13-
To install dependencies you can just run:
24+
To install dependencies you can just run in the main folder of the variPEPS project:
1425
```bash
1526
$ poetry install
1627
```
@@ -19,9 +30,40 @@ or if you do not need the development packages:
1930
$ poetry install --no-dev
2031
```
2132

22-
Usage
23-
-----
33+
## Usage
2434

25-
To play around with the files provides you can use `ipython` which is executed
26-
by `$ poetry run ipython`. Then you can just use the normal `import`/`from
27-
... import` syntax to load the provided classes and functions.
35+
For detailed information how to use the package we want to point out to the [documentation of the project](https://varipeps.readthedocs.io/en/stable).
36+
37+
## Citation
38+
39+
We are happy if you want to use the framework for your research. For the citation of our work we ask to use the following references (the publication with the method description, the Zenodo reference for this Git repository and the repository itself):
40+
* J. Naumann, E. L. Weerda, M. Rizzi, J. Eisert, and P. Schmoll, variPEPS -- a versatile tensor network library for variational ground state simulations in two spatial dimensions (2023), [arXiv:2308.12358](https://arxiv.org/abs/2308.12358).
41+
* J. Naumann, P. Schmoll, F. Wilde, and F. Krein, [variPEPS (Python version)](https://zenodo.org/doi/10.5281/zenodo.10852390), Zenodo.
42+
* J. Naumann, P. Schmoll, F. Wilde, and F. Krein, [variPEPS -- a versatile tensor network library for variational ground state simulations in two spatial dimensions](https://github.com/variPEPS/variPEPS_Python), GitHub.
43+
44+
The BibTeX code for these references are:
45+
```bibtex
46+
@misc{naumann23_varipeps,
47+
title = {variPEPS -- a versatile tensor network library for variational ground state simulations in two spatial dimensions},
48+
author = {Jan Naumann and Erik Lennart Weerda and Matteo Rizzi and Jens Eisert and Philipp Schmoll},
49+
year = {2023},
50+
eprint = {2308.12358},
51+
archivePrefix = {arXiv},
52+
primaryClass = {cond-mat.str-el}
53+
}
54+
55+
@software{naumann24_varipeps_python,
56+
author = {Jan Naumann and Philipp Schmoll and Frederik Wilde and Finn Krein},
57+
title = {{variPEPS (Python version)}},
58+
howpublished = {Zenodo},
59+
url = {https://doi.org/10.5281/ZENODO.10852390},
60+
doi = {10.5281/ZENODO.10852390},
61+
}
62+
63+
@software{varipeps_python_github,
64+
author = {Jan Naumann and Philipp Schmoll and Frederik Wilde and Finn Krein},
65+
title = {{\emph{variPEPS} -- a versatile tensor network library for variational ground state simulations in two spatial dimensions}},
66+
url = {https://github.com/variPEPS/variPEPS_Python},
67+
howpublished = {GitHub},
68+
}
69+
```

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description = "Versatile tensor network library for variational ground state sim
55
authors = ["Jan Naumann <j.naumann@fu-berlin.de>", "Philipp Schmoll <philipp.schmoll@fu-berlin.de>", "Frederik Wilde", "Finn Krein"]
66
license = "GPL-3.0-or-later"
77
readme = "README.md"
8+
repository = "https://github.com/variPEPS/variPEPS_Python"
9+
documentation = "https://varipeps.readthedocs.io/en/stable/"
810
packages = [{include = "varipeps"}]
911

1012
[tool.poetry.dependencies]

varipeps/expectation/spiral_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def apply_unitary(
3636
unitary_operator_D (:obj:`jax.numpy.ndarray`):
3737
Array with the eigenvalues of the operator from which the unitary
3838
is generated.
39-
unitary_operator_D (:obj:`jax.numpy.ndarray`):
39+
unitary_operator_sigma (:obj:`jax.numpy.ndarray`):
4040
Array with the eigenvectors of the operator from which the unitary
4141
is generated.
4242
phys_d (:obj:`int`):

0 commit comments

Comments
 (0)