TrivialLayout.run

TrivialLayout.run(dag)[source]

Run the TrivialLayout pass on dag.

Parameters

dag (DAGCircuit) – DAG to find layout for.

Raises

TranspilerError – if dag wider than self.coupling_map