Open
Description
What's the problem this feature will solve?
Using QMAP to optimize Clifford subcircuits within a larger non-Clifford circuit requires manually extracting, optimizing, and re-adding the Clifford blocks. It would be nice if QMAP would do this automatically.
Describe the solution you'd like
This requires a reimplementation of Qiskits CollectCliffords
transpiler pass within QMAP.