Skip to content

Commit 04b9c64

Browse files
committed
increase process size again
1 parent 17d8e53 commit 04b9c64

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

eqsn/gates.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class EQSN(object):
1919
def __init__(self):
2020
self.manager = multiprocessing.Manager()
2121
self.shared_dict = SharedDict.get_instance()
22-
# cpu_count = multiprocessing.cpu_count()
23-
cpu_count = 1
22+
cpu_count = multiprocessing.cpu_count()
2423
process_queue_list = []
2524
for _ in range(cpu_count):
2625
q = multiprocessing.Queue()

eqsn/qubit_thread.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
MEASURE = 3
1111
MERGE_ACCEPT = 4
1212
MERGE_SEND = 5
13-
# GIVE_QUBITS_AND_TERMINATE = 6 # Not used anymore
1413
MEASURE_NON_DESTRUCTIVE = 7
1514
NEW_QUBIT = 8
1615
ADD_MERGED_QUBITS_TO_DICT = 9

0 commit comments

Comments
 (0)