openqasm / qe-compiler

An MLIR based compiler dynamic circuit compiler for real-time control systems supporting OpenQASM 3
Other
38 stars 12 forks source link

add threading to updateParameters #332

Closed bcdonovan closed 1 month ago

bcdonovan commented 1 month ago

Adds threading support to the updateParameters method used in bindArguments. This will create threads for the patch point expression conversion from string to a calculated value.

The number of threads is controlled by the python interfaces number_of_threads option:

defaults to -1

Testing indicates that the majority of time in spent in the zip_close line limiting opportunities for applying additional parallelism.