Skip to main contentIBM Quantum Documentation

qiskit.transpiler.preset_passmanagers.common.generate_embed_passmanager

generate_embed_passmanager(coupling_map)

Generate a layout embedding PassManager

This is used to generate a PassManager object that can be used to expand and apply an initial layout to a circuit

Parameters

coupling_map (CouplingMap) – The coupling map for the backend to embed the circuit to.

Returns

The embedding passmanager that assumes the layout property

set has been set in earlier stages

Return type

PassManager

Was this page helpful?