Closed reza-j closed 9 months ago
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
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).