# qiskit.transpiler.passes.UnitarySynthesis.run¶

UnitarySynthesis.run(dag)[Quellcode]

Run the UnitarySynthesis pass on dag.

Parameter

dag (DAGCircuit) – input dag.

Rückgabetyp

DAGCircuit

Rückgabe

Output dag with UnitaryGates synthesized to target basis.

Verursacht
1. 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.