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

performance improvements for quir to pulse #314

Closed reza-j closed 3 months ago

reza-j commented 3 months ago

This PR improves the performance of quir to pulse with (a) using addArgument function instead of insertArgument; (b) using a faster data structure for operand name to index map. The PR also removes adding the attributes which I originally added but are unused in the code currently.

reza-j commented 3 months ago

added two more fixes in f564f5d: erasing quir ops more efficiently, and using unordered_map