What should we add?
qpy.dump allows one to serialize multiple QuantumCircuit objects into one binary, and qpy.load can likewise instantiate multiple QuantumCircuit instances. Services that use QPY as the circuit transport format often need to load multiple circuits, and the de/serialization process can add non-negligible overhead to the round-trip-time of the service when there are many large circuits. If qpy.dump implemented rust-space parallelization of the de/serialization process, this would have the potential of reducing these round-trip times.
I would myself place more priority on the load side because that's the side that lives inside the service, rather than in client land.
What should we add?
qpy.dumpallows one to serialize multipleQuantumCircuitobjects into one binary, andqpy.loadcan likewise instantiate multipleQuantumCircuitinstances. Services that use QPY as the circuit transport format often need to load multiple circuits, and the de/serialization process can add non-negligible overhead to the round-trip-time of the service when there are many large circuits. Ifqpy.dumpimplemented rust-space parallelization of the de/serialization process, this would have the potential of reducing these round-trip times.I would myself place more priority on the
loadside because that's the side that lives inside the service, rather than in client land.