We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d84ddd commit 8c93a94Copy full SHA for 8c93a94
examples/timeevolution_trotter.py
@@ -38,7 +38,7 @@ def Trotter_step_unitary(input_state, tau, nqubit):
38
)
39
40
ninput = 2
41
-input_state = np.zeros((ninput, 2 ** nqubit))
+input_state = np.zeros((ninput, 2**nqubit))
42
input_state[0, 0] = 1.0
43
input_state[1, -1] = 1.0
44
0 commit comments