qiskit.transpiler.passes.UnitarySynthesis.run¶
- UnitarySynthesis.run(dag)[source]¶
Run the UnitarySynthesis pass on dag.
- Parameters
dag (
DAGCircuit
) – input dag.- Return type
- Returns
Output dag with UnitaryGates synthesized to target basis.
- Raises
TranspilerError – if a ‘method’ was specified for the class and is not found in the installed plugins list. The list of installed plugins can be queried with
unitary_synthesis_plugin_names()