ApplyLayout.run¶
- ApplyLayout.run(dag)[source]¶
Run the ApplyLayout pass on dag.
- Parameters
dag (DAGCircuit) – DAG to map.
- Returns
A mapped DAG (with physical qubits).
- Return type
- Raises
TranspilerError – if no layout is found in property_set or no full physical qubits.