CXCancellation¶
- class CXCancellation(*args, **kwargs)[source]¶
Cancel back-to-back cx gates in dag.
Attributes
Check if the pass is an analysis pass.
Check if the pass is a transformation pass.
Methods
Return the name of the pass.
CXCancellation.run
(dag)Run the CXCancellation pass on dag.