dwavesystems / dwave-gate

dwave-gate is a software package for constructing, modifying and running quantum circuits on the provided state-vector simulator.
Apache License 2.0
12 stars 7 forks source link

Reenable parallel computation in the simulator #26

Open arcondello opened 1 year ago

arcondello commented 1 year ago

Currently, looping over the basis states is not done in parallel, see https://github.com/dwavesystems/dwave-gate/blob/10b70b6bd92b1e75639b8ffabfbf3750de4f91e7/dwave/gate/simulator/operation_generation.py#L331

The reason is that supporting OMP in Python wheels is non-trivial because it requires the user to have omp installed. We should investigate using C++ parallel execution.