SeQUeNCe
SeQUeNCe copied to clipboard
Parallelizing quantum manager server
Current implementation lets processes share a dictionary to record the quantum state. However, the shared dictionary will lock if one process is reading or writing the whole dictionary. This lock may affect the performance of parallelization.
https://github.com/sequence-toolbox/SeQUeNCe/blob/770c2971d11c9f0feb37c818dbceb31177aec7ae/src/kernel/quantum_manager_server.py#L109
We hope to design a new shared data structure to avoid unnecessary lock.