Skip to content

Commit df04730

Browse files
committed
Add more normalizations for Fishman to stabilize it
1 parent 475ad73 commit df04730

File tree

2 files changed

+66
-83
lines changed

2 files changed

+66
-83
lines changed

varipeps/ctmrg/absorption.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from varipeps.config import VariPEPS_Config
2626
from varipeps.global_state import VariPEPS_Global_State
2727

28-
2928
from typing import Sequence, Tuple, List, Dict, Literal
3029

3130
CTMRG_Orientation = Literal["top-left", "top-right", "bottom-left", "bottom-right"]
@@ -1392,11 +1391,11 @@ def do_absorption_step_split_transfer(
13921391
result, bottom_smallest_S = do_bottom_absorption_split_transfer(
13931392
peps_tensors, result, config, state
13941393
)
1395-
# result = gauge_fix_ctmrg_tensors(peps_tensors, result)
13961394
norm_smallest_S = jnp.linalg.norm(
13971395
jnp.asarray(
13981396
left_smallest_S + top_smallest_S + right_smallest_S + bottom_smallest_S
13991397
),
14001398
ord=jnp.inf,
14011399
)
1400+
14021401
return result, norm_smallest_S

0 commit comments

Comments
 (0)