# qiskit.transpiler.preset_passmanagers.level_0_pass_manager¶

level_0_pass_manager(pass_manager_config)[Quellcode]

Level 0 pass manager: no explicit optimization other than mapping to backend.

This pass manager applies the user-given initial layout. If none is given, a trivial layout consisting of mapping the i-th virtual qubit to the i-th physical qubit is used. Any unused physical qubit is allocated as ancilla space.

The pass manager then unrolls the circuit to the desired basis, and transforms the circuit to match the coupling map.

Bemerkung

In simulators where coupling_map=None, only the unrolling and optimization stages are done.

Parameter

pass_manager_config (PassManagerConfig) – configuration of the pass manager.

Rückgabetyp

PassManager

Rückgabe

a level 0 pass manager.

Verursacht

TranspilerError – if the passmanager config is invalid.