openqasm / qe-compiler

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

cleaning up QUIRToPulse pass #213

Closed reza-j closed 9 months ago

reza-j commented 9 months ago

This PR includes some clean up for QUIRToPulse pass.

1) it erases ALL the DeclareQubitOp at the end of the pass (including the ones not used in the input program) 2) it erases quir barriers before erasing their operands. Currently, barriers can reside outside the circuits and need to be removed before removing the DeclareQubitOps (which are operands to quir barriers).

github-actions[bot] commented 9 months ago

clang-tidy review says "All clean, LGTM! :+1:"

github-actions[bot] commented 9 months ago

clang-tidy review says "All clean, LGTM! :+1:"

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 9 months ago

clang-tidy review says "All clean, LGTM! :+1:"

reza-j commented 9 months ago

added test in af8d4dc

github-actions[bot] commented 9 months ago

clang-tidy review says "All clean, LGTM! :+1:"

github-actions[bot] commented 9 months ago

clang-tidy review says "All clean, LGTM! :+1:"

github-actions[bot] commented 9 months ago

clang-tidy review says "All clean, LGTM! :+1:"

github-actions[bot] commented 9 months ago

clang-tidy review says "All clean, LGTM! :+1:"