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

Add CircuitAssignAndCircuitPattern #148

Closed bcdonovan closed 1 year ago

bcdonovan commented 1 year ago

This PR adds a new pattern to the MergeCircuits pass. This pattern will match the pattern:

CircuitOP
CBitAssignOp
CircuitOp

and attempt to merge the two CircuitOps together.

github-actions[bot] commented 1 year ago

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