/
__init__.py
35 lines (26 loc) · 1.07 KB
/
__init__.py
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
"""TeNPy - a Python library for Tensor Network Algorithms
TeNPy is a library for algorithms working with tensor networks,
e.g., matrix product states and -operators,
designed to study the physics of strongly correlated quantum systems.
The code is intended to be accessible for newcommers
and yet powerful enough for day-to-day research.
"""
# Copyright 2018-2020 TeNPy Developers, GNU GPLv3
# This file marks this directory as a python package.
# load and provide subpackages on first input
from . import algorithms
from . import linalg
from . import models
from . import networks
from . import tools
from . import version
#: hard-coded version string
__version__ = version.version
#: full version from git description, and numpy/scipy/python versions
__full_version__ = version.full_version
__all__ = ["algorithms", "linalg", "models", "networks", "tools", "version", "show_config"]
def show_config():
"""Print information about the version of tenpy and used libraries.
The information printed is :attr:`tenpy.version.version_summary`.
"""
print(version.version_summary)