diff --git a/CMakeLists.txt b/CMakeLists.txt index 1396dd23..b20944e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.6...3.14) message(STATUS "CMake version: " ${CMAKE_VERSION}) project(TeNeS CXX) -set(TENES_VERSION 2.1-dev) +set(TENES_VERSION 2.1.0) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/NEWS.md b/NEWS.md index 163ff063..8070cd13 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,11 +1,22 @@ -# TeNeS v2.0.x Release Notes +# TeNeS v2.1.x Release Notes -## Changes between v2.0.0 and v1.3.4 +## Changes between v2.1.0 and v2.0.0 -- Real-time evolution (https://github.com/issp-center-dev/TeNeS/pull/68) -- Multisite observables (https://github.com/issp-center-dev/TeNeS/pull/69) -- Finite temperature calculation (https://github.com/issp-center-dev/TeNeS/pull/75) -- The bond dimension of CTM is automatically reduced in updating CTM (https://github.com/issp-center-dev/TeNeS/pull/77) +### New features + +- `tenes` + - Enabled to save tensors in the real-time evolution and the finite-temperature calculation ([#88][]) + - Enabled to specify coefficient of observables ([#91][]) +- `tenes_std` + - Enabled to read multiple input files ([#92][]) ### Bug fixes -- The sign of Sy in `tenes_simple` is fixed (https://github.com/issp-center-dev/TeNeS/pull/78) +- `tenes` + - Fixed a bug of combination of RSVD and CTMRG method with shrinkage of chi ([#86][], [#87][]) + + +[#86]: https://github.com/issp-center-dev/TeNeS/pull/86 +[#87]: https://github.com/issp-center-dev/TeNeS/pull/87 +[#88]: https://github.com/issp-center-dev/TeNeS/pull/88 +[#91]: https://github.com/issp-center-dev/TeNeS/pull/91 +[#92]: https://github.com/issp-center-dev/TeNeS/pull/92 diff --git a/docs/sphinx/en/conf.py b/docs/sphinx/en/conf.py index 506a3a07..ce0b54d9 100644 --- a/docs/sphinx/en/conf.py +++ b/docs/sphinx/en/conf.py @@ -57,7 +57,7 @@ # The short X.Y version. version = u'2.1' # The full version, including alpha/beta/rc tags. -release = u'2.1-dev' +release = u'2.1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/sphinx/ja/conf.py b/docs/sphinx/ja/conf.py index f5b0d84f..a8dfe9db 100644 --- a/docs/sphinx/ja/conf.py +++ b/docs/sphinx/ja/conf.py @@ -57,7 +57,7 @@ # The short X.Y version. version = u'2.1' # The full version, including alpha/beta/rc tags. -release = u'2.1-dev' +release = u'2.1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/misc/make_archive.sh b/misc/make_archive.sh index 7bddd447..d37951db 100644 --- a/misc/make_archive.sh +++ b/misc/make_archive.sh @@ -1,3 +1,10 @@ +if [ $# -ne 1 ]; then + echo "Usage: $0 " + exit 1 +fi + +version=$1 + ROOT_DIR=`pwd` if [ -z "$(grep 'project(TeNeS' $ROOT_DIR/CMakeLists.txt 2>/dev/null)" ]; then echo "ERROR: current directory is not the root directory of the TeNeS codes" @@ -27,7 +34,6 @@ for lang in ja en; do done cd $ROOT_DIR -version=2.1-dev git submodule update -i -r git-archive-all \ diff --git a/src/version.hpp b/src/version.hpp index ad202a57..0d8c2ed0 100644 --- a/src/version.hpp +++ b/src/version.hpp @@ -17,6 +17,6 @@ #ifndef TENES_SRC_VERSION_HPP_ #define TENES_SRC_VERSION_HPP_ -#define TENES_VERSION "2.1-dev" +#define TENES_VERSION "2.1.0" #endif // TENES_SRC_VERSION_HPP_ diff --git a/tool/tenes_simple.py b/tool/tenes_simple.py index 1c4482ec..51d272b8 100644 --- a/tool/tenes_simple.py +++ b/tool/tenes_simple.py @@ -1349,7 +1349,7 @@ def tenes_simple( help="Save onsite terms as site Hamiltonians", ) parser.add_argument( - "-v", "--version", dest="version", action="version", version="2.1-dev" + "-v", "--version", dest="version", action="version", version="2.1.0" ) args = parser.parse_args() diff --git a/tool/tenes_std.py b/tool/tenes_std.py index 0579d1a9..4bb6468b 100644 --- a/tool/tenes_std.py +++ b/tool/tenes_std.py @@ -1272,7 +1272,7 @@ def to_toml(self, f: TextIO): "-o", "--output", dest="output", default="input.toml", help="Output TOML file" ) parser.add_argument( - "-v", "--version", dest="version", action="version", version="2.1-dev" + "-v", "--version", dest="version", action="version", version="2.1.0" ) args = parser.parse_args()