Skip to content

Commit 27c0b11

Browse files
committed
Update testtrotter.py
1 parent 8339b25 commit 27c0b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Programs/Trotterization/testtrotter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from scipy.linalg import expm
33

44
# --- Simulation Parameters (user configurable) ---
5-
num_qubits = 3 # Number of qubits in the system
5+
num_qubits = 2 # Number of qubits in the system
66
num_terms = 3 * num_qubits # Number of random Pauli terms in H (e.g., 3*n)
77
total_time = 1.0 # Total evolution time
88
trotter_steps = 10 # Number of Trotter steps (N)

0 commit comments

Comments
 (0)