qiskit.transpiler.passes.UnitarySynthesis.run¶
-
UnitarySynthesis.
run
(dag)[source]¶ Run the UnitarySynthesis pass on dag.
- Parameters
dag (
DAGCircuit
) – input dag.- Return type
DAGCircuit
- Returns
Output dag with UnitaryGates synthesized to target basis.
- Raises
pulse_optimize is True but pulse optimal decomposition is not known for requested basis. 2. pulse_optimize is True and natural_direction is True but a preferred gate direction can’t be determined from the coupling map or the relative gate lengths.