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