Decompose¶
- class Decompose(gate=None)[source]¶
Expand a gate in a circuit using its decomposition rules.
Decompose initializer.
- Parameters
gate (
Optional
[Type
[Gate
]]) – gate to decompose.
Attributes
Check if the pass is an analysis pass.
Check if the pass is a transformation pass.
Methods
Return the name of the pass.
Decompose.run
(dag)Run the Decompose pass on dag.