level_0_pass_manager
level_0_pass_manager(pass_manager_config)
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. Finally, extra resets are removed.
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
Returns
a level 0 pass manager.
Raises
TranspilerError – if the passmanager config is invalid.