Skip to content

Commit a4097d9

Browse files
committed
Revert "Fix gauge of CTM tensors by the maximal value of the tensor"
This reverts commit fbaa5e1.
1 parent 06735ff commit a4097d9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

varipeps/ctmrg/absorption.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,7 @@ def _get_ctmrg_1x2_structure(
9696

9797
def _post_process_CTM_tensors(a: jnp.ndarray, config: VariPEPS_Config) -> jnp.ndarray:
9898
a = a / jnp.linalg.norm(a)
99-
100-
idx = jnp.argmax(jnp.abs(a))
101-
max_val = a.flatten()[idx]
102-
phase = max_val / jnp.abs(max_val)
103-
104-
return a * phase.conj()
99+
return a
105100

106101

107102
def do_left_absorption(

0 commit comments

Comments
 (0)