Skip to content

Commit 8a86893

Browse files
reduced number of shots in weak simulation test
1 parent 3f6c8b8 commit 8a86893

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_Simulator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import pytest
2-
from qiskit.circuit import QuantumCircuit
32
import numpy as np
43

54
from yaqs.core.data_structures.networks import MPO, MPS
@@ -111,7 +110,7 @@ def test_weak_simulation_noise():
111110
model = {'name': 'Ising', 'L': num_qubits, 'J': 1, 'g': 0.5}
112111
circuit = create_Ising_circuit(model, dt=0.1, timesteps=10)
113112
circuit.measure_all()
114-
shots = 1024
113+
shots = 10
115114
max_bond_dim = 4
116115
threshold = 1e-6
117116
window_size = 0

0 commit comments

Comments
 (0)