Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Feb 26, 2024
1 parent 6ccd77b commit a1f8c5c
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
25 changes: 18 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion docs/sphinx/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/ja/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 7 additions & 1 deletion misc/make_archive.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
if [ $# -ne 1 ]; then
echo "Usage: $0 <version>"
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"
Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion src/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_
2 changes: 1 addition & 1 deletion tool/tenes_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion tool/tenes_std.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a1f8c5c

Please sign in to comment.