Skip to content

Commit abf54dd

Browse files
committed
updated test
1 parent f6888de commit abf54dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_measuring_from_threads.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ def test_measure_from_threads():
1111
def measure_or_hadamard(id):
1212
n = random.randrange(10, 100, 1)
1313
for _ in range(n):
14-
time.sleep(0.01)
14+
time.sleep(0.05)
1515
q_sim.H_gate(id)
1616
print("Finished Hadamard, measure qubit %s!" % id)
1717
print(q_sim.measure(id))
1818
print("Finished with Measure!")
1919

20-
nr_threads = 10
20+
nr_threads = 5
2121
ids = [str(x) for x in range(nr_threads)]
2222
for id in ids:
2323
q_sim.new_qubit(id)

0 commit comments

Comments
 (0)