qiskit.transpiler.passes.BasisTranslator.run¶
-
BasisTranslator.
run
(dag)[source]¶ Translate an input DAGCircuit to the target basis.
- Parameters
dag (DAGCircuit) – input dag
- Raises
TranspilerError – if the target basis cannot be reached
- Returns
translated circuit.
- Return type