French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.passes.SabreLayout.run

SabreLayout.run(dag)[source]

Run the SabreLayout pass on dag.

Paramètres

dag (DAGCircuit) – DAG to find layout for.

Renvoie

The output dag if swap mapping was run

(otherwise the input dag is returned unmodified).

Type renvoyé

DAGCircuit

Lève

TranspilerError – if dag wider than self.coupling_map