Version 0.8.0
First of all: We have optimized the cython parts such that they can now link directly against MKL and have been optimized for the case of small blocks inside charge-conserved tensors.
During compilation, TeNPy now checks whether MKL is available, and then directly links against it.
This changed the depencies: in particular, when you created a conda environment for TeNPy, it is highly recommended
to start off with a new one based on the environment.yml
file.
If you want to continue using the existing conda environment, you need to conda install mkl-devel
before compilation. Additionally, when you use the conda-forge
channel of conda, you should pin blas to use MKL by conda install libblas=*=*mkl
.
Another great reason to update are simulation classes and a console script tenpy-run
to allow running and even resuming a simulation when it aborted!
See (this introduction)[https://tenpy.readthedocs.io/en/latest/intro/simulations.html] for details.
Further, there is a big change in verbosity: we switched to using Python's default :mod:logging
mechanism.
This implies that by default you don't get any output besides error messages and warning any more, at least not in pre-simulation
setups.
See (this userguide)[https://tenpy.readthedocs.io/en/latest/intro/logging.html] on how to get the output back, and what to change in your code.
Finally, note that the default (stable) git branch was renamed from master
to main
.