Skip to content

Commit a346334

Browse files
black
1 parent ee69cba commit a346334

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/incremental_twoqubit.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def energy(params, structures, n, nlayers):
2727
matrix = structures[j, i] * tc.gates._ii_matrix + (
2828
1.0 - structures[j, i]
2929
) * (
30-
K.cos(params[2 * j + 1, i]) * tc.gates._ii_matrix
31-
+ 1.0j * K.sin(params[2 * j + 1, i]) * tc.gates._zz_matrix
32-
)
30+
K.cos(params[2 * j + 1, i]) * tc.gates._ii_matrix
31+
+ 1.0j * K.sin(params[2 * j + 1, i]) * tc.gates._zz_matrix
32+
)
3333
c.any(
3434
i,
3535
i + 1,

0 commit comments

Comments
 (0)