# qiskit.transpiler.preset_passmanagers.level_0_pass_manager¶

level_0_pass_manager(pass_manager_config)[código fonte]

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.

Nota

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

Parâmetros

pass_manager_config (PassManagerConfig) – configuration of the pass manager.

Tipo de retorno

PassManager

Retorna

a level 0 pass manager.

Levanta

TranspilerError – if the passmanager config is invalid.