Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
- "src/utility/wigner"
- "src/caches/GetMD5"
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<!-- PROJECT SHIELDS -->
<div align="center">
[![Documentation Status](https://readthedocs.org/projects/tensortrack/badge/?version=stable)](https://tensortrack.readthedocs.io/en/stable/?badge=stable)

[![Documentation Status](https://readthedocs.org/projects/tensortrack/badge/?version=latest)](https://tensortrack.readthedocs.io/en/latest/?badge=latest)
[![CI](https://github.com/quantumghent/TensorTrack/actions/workflows/CI.yml/badge.svg)](https://github.com/quantumghent/TensorTrack/actions/workflows/CI.yml)
[![Codecov](https://codecov.io/gh/quantumghent/TensorTrack/branch/main/graph/badge.svg?token=1I0XEB69TQ)](https://codecov.io/gh/quantumghent/TensorTrack)
[![codecov](https://codecov.io/gh/quantumghent/TensorTrack/graph/badge.svg?token=NdumVqzQuM)](https://codecov.io/gh/quantumghent/TensorTrack)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![DOI](https://zenodo.org/badge/481924253.svg)](https://zenodo.org/badge/latestdoi/481924253)

Expand Down Expand Up @@ -88,6 +88,7 @@ The design of the algorithms is chosen such that the inclusion of symmetries sho
This project depends on the following:
- MATLAB version R2020b or newer
- [Parallel Computing Toolbox](https://de.mathworks.com/products/parallel-computing.html)
- [Deep Learning Toolbox](https://de.mathworks.com/products/deep-learning.html)
- A C++ compiler compatible with your MATLAB version for MEX-file compilation.

### Installation
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
- "src/utility/wigner"
- "src/caches/GetMD5"
11 changes: 5 additions & 6 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
sphinx==4.5.0
sphinx-rtd-theme==0.5.1
sphinxcontrib-matlabdomain==0.12.0
sphinx-prompt
sphinx==5.0.2
sphinx-rtd-theme==0.5.2
sphinxcontrib-matlabdomain==0.18.0
sphinx-prompt==1.5.0
nbsphinx==0.8.9
sphinx-gallery==0.10.1
myst-parser==0.17.2
linkify-it-py==2.0.0

jinja2==3.0.3
25 changes: 3 additions & 22 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
docs_src = os.path.abspath(os.path.dirname(__file__)) # docs source folder
docs_root = os.path.abspath(os.path.join(docs_src, '..')) # docs root folder
repo_root = os.path.abspath(os.path.join(docs_src, '..', '..')) # repo root folder
GITHUBBASE = 'https://github.com/lkdvos/TensorTrack' # repo link
GITHUBBASE = 'https://github.com/QuantumGhent/TensorTrack' # repo link

# -- Project information

Expand Down Expand Up @@ -49,15 +49,14 @@
'sphinx-prompt',
'sphinxcontrib.matlab',
'nbsphinx',
'myst_parser',
'sphinx_gallery.load_style'
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix(es) of source filenames.
source_suffix = ['.rst', '.md']
source_suffix = ['.rst']

# The master toctree document.
master_doc = 'index'
Expand All @@ -67,7 +66,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'default'
Expand Down Expand Up @@ -233,24 +232,6 @@ def linkcode_resolve(domain, info):
]


# -- myst_parser -----------------------------------------------
# extensions for markdown parser
# myst_enable_extensions = [
# "colon_fence",
# "deflist",
# "dollarmath",
# "fieldlist",
# "html_admonition",
# "html_image",
# "linkify",
# "replacements",
# "smartquotes",
# "strikethrough",
# "substitution",
# "tasklist",
# ]


# -- sphinx.ext.mathjax configuration -----------------------------------------------
mathjax3_config = {
"tex": {
Expand Down
327 changes: 143 additions & 184 deletions docs/src/img/Fmove.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
190 changes: 95 additions & 95 deletions docs/src/img/Rmove.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 30 additions & 23 deletions docs/src/img/fusiontensor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/src/img/ipe/Fmove.pdf
Binary file not shown.
5 changes: 5 additions & 0 deletions docs/src/img/ipe/conv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
for i in *.pdf
do
pdf2svg ${i%.*}.pdf ../${i%.*}.svg all
done
7 changes: 6 additions & 1 deletion docs/src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Additionally, for tensors which are invariant under general global symmetries, v
:caption: Manual
:maxdepth: 2

man/intro
man/tensor
man/symmetries
man/algorithms


.. toctree::
Expand All @@ -33,5 +33,10 @@ Additionally, for tensors which are invariant under general global symmetries, v
:maxdepth: 2

lib/tensors
lib/sparse
lib/mps
lib/algorithms
lib/environments
lib/models
lib/utility
lib/caches
59 changes: 59 additions & 0 deletions docs/src/lib/algorithms.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
Algorithms
==========

.. toctree::
:maxdepth: 2

.. module:: src

This section contains the API documentation for the :mod:`.algorithms` module.

Finite MPS algorithms
---------------------

.. autoclass:: src.algorithms.Dmrg
:no-members:
:members: fixedpoint


Infinite MPS algorithms
-----------------------

.. autoclass:: src.algorithms.Vumps
:no-members:
:members: fixedpoint

.. autoclass:: src.algorithms.IDmrg
:no-members:
:members: fixedpoint

.. autoclass:: src.algorithms.IDmrg2
:no-members:
:members: fixedpoint

.. autoclass:: src.algorithms.QPAnsatz
:no-members:
:members: excitations

.. autoclass:: src.algorithms.Vomps
:no-members:
:members: approximate

.. autoclass:: src.algorithms.Expand
:no-members:
:members: changebonds


Infinite PEPS algorithms
------------------------

.. autoclass:: src.algorithms.Ctmrg
:no-members:
:members: fixedpoint



Eigsolvers
----------

.. automodule:: src.algorithms.eigsolvers
2 changes: 1 addition & 1 deletion docs/src/lib/caches.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ This section contains the API documentation for the :mod:`.caches` module.

.. automodule:: src.caches


GetMD5
------

.. automodule:: src.caches.GetMD5

13 changes: 13 additions & 0 deletions docs/src/lib/environments.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Environments
============

.. toctree::
:maxdepth: 2

.. module:: src

This section contains the API documentation for the :mod:`.environments` module.

.. autoclass:: src.environments.FiniteEnvironment
.. autoclass:: src.environments.CtmrgEnvironment
:no-members:
39 changes: 39 additions & 0 deletions docs/src/lib/models.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Models
======

.. toctree::
:maxdepth: 2

.. module:: src

This section contains the API documentation for the :mod:`.models` module.

.. Operators
.. ---------

.. Spin operators
.. ``````````````

.. .. autofunction:: src.models.spinoperators.sigma_min
.. .. autofunction:: src.models.spinoperators.sigma_plus
.. .. autofunction:: src.models.spinoperators.sigma_z
.. .. autofunction:: src.models.spinoperators.sigma_exhange


.. Fermion operators
.. `````````````````

.. .. autofunction:: src.models.fermionoperators.c_min
.. .. autofunction:: src.models.fermionoperators.c_plus
.. .. autofunction:: src.models.fermionoperators.c_number


.. Models
.. ------

.. autofunction:: src.models.quantum1dIsing
.. autofunction:: src.models.quantum1dHeisenberg
.. autofunction:: src.models.quantum1dHubbard

.. autofunction:: src.models.statmech2dIsing

Loading