Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.transpiler.preset_passmanagers.level_0_pass_manager

level_0_pass_manager(pass_manager_config)

GitHub

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.

Note

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

Parameters

pass_manager_config (PassManagerConfig) – configuration of the pass manager.

Return type

PassManager

Returns

a level 0 pass manager.

Raises

TranspilerError – if the passmanager config is invalid.

Was this page helpful?
Report a bug or request content on GitHub.