We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17d8e53 commit 04b9c64Copy full SHA for 04b9c64
2 files changed
eqsn/gates.py
@@ -19,8 +19,7 @@ class EQSN(object):
19
def __init__(self):
20
self.manager = multiprocessing.Manager()
21
self.shared_dict = SharedDict.get_instance()
22
- # cpu_count = multiprocessing.cpu_count()
23
- cpu_count = 1
+ cpu_count = multiprocessing.cpu_count()
24
process_queue_list = []
25
for _ in range(cpu_count):
26
q = multiprocessing.Queue()
eqsn/qubit_thread.py
@@ -10,7 +10,6 @@
10
MEASURE = 3
11
MERGE_ACCEPT = 4
12
MERGE_SEND = 5
13
-# GIVE_QUBITS_AND_TERMINATE = 6 # Not used anymore
14
MEASURE_NON_DESTRUCTIVE = 7
15
NEW_QUBIT = 8
16
ADD_MERGED_QUBITS_TO_DICT = 9
0 commit comments