Skip to content

Commit f7d4d7d

Browse files
committed
Fix incorrect description of SVD truncation that the sqrt() is used
1 parent cfc4e67 commit f7d4d7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

peps_ad/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ class PEPS_AD_Config:
6565
ctmrg_verbose_output (:obj:`bool`):
6666
Print verbose output in CTMRG routine.
6767
ctmrg_truncation_eps (:obj:`float`):
68-
Value for cut off of singular values compared to the biggest one. Used
69-
in calculation of CTMRG projectors.
68+
Value for cut off of the sqrt of the singular values compared to the
69+
biggest one. Used in the calculation of the CTMRG projectors.
7070
ctmrg_fail_if_not_converged (:obj:`bool`):
7171
Flag if the CTMRG routine should fail with an error if no convergence
7272
can be reached within the maximal number of steps.

peps_ad/ctmrg/routine.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def calc_ctmrg_env(
402402
new_truncation_eps
403403
<= peps_ad_config.ctmrg_increase_truncation_eps_max_value
404404
):
405-
print(f"CTMRG: Increasing SVD truncation eps to {new_truncation_eps}.")
405+
print(f"CTMRG: Increasing sqrt(SVD) truncation eps to {new_truncation_eps}.")
406406
peps_ad_global_state.ctmrg_effective_truncation_eps = new_truncation_eps
407407
working_unitcell = unitcell
408408
continue

0 commit comments

Comments
 (0)