# qiskit.transpiler.preset_passmanagers.level_3_pass_manager¶

level_3_pass_manager(pass_manager_config)[código fonte]

Level 3 pass manager: heavy optimization by noise adaptive qubit mapping and gate cancellation using commutativity rules and unitary synthesis.

This pass manager applies the user-given initial layout. If none is given, a search for a perfect layout (i.e. one that satisfies all 2-qubit interactions) is conducted. If no such layout is found, and device calibration information is available, the circuit is mapped to the qubits with best readouts and to CX gates with highest fidelity.

The pass manager then transforms the circuit to match the coupling constraints. It is then unrolled to the basis, and any flipped cx directions are fixed. Finally, optimizations in the form of commutative gate cancellation, resynthesis of two-qubit unitary blocks, and redundant reset removal are performed.

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 3 pass manager.

Levanta

TranspilerError – if the passmanager config is invalid.