We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee85a33 commit cb1ee87Copy full SHA for cb1ee87
varipeps/contractions/apply.py
@@ -121,7 +121,10 @@ class definition for details.
121
if f == "tensor":
122
tensors.append(peps_tensors[ti])
123
elif f == "tensor_conj":
124
- if hasattr(peps_tensor_objs[ti], "tensor_conj") and peps_tensor_objs[ti].tensor_conj is not None:
+ if (
125
+ hasattr(peps_tensor_objs[ti], "tensor_conj")
126
+ and peps_tensor_objs[ti].tensor_conj is not None
127
+ ):
128
tensors.append(peps_tensor_objs[ti].tensor_conj)
129
else:
130
tensors.append(peps_tensors[ti].conj())
0 commit comments