Tamil
மொழிகள்
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.preset_passmanagers.common.generate_pre_op_passmanager

generate_pre_op_passmanager(target=None, coupling_map=None, remove_reset_in_zero=False)[source]

Generate a pre-optimization loop PassManager

This pass manager will check to ensure that directionality from the coupling map is respected

Parameters
  • target (Target) -- the Target object representing the backend

  • coupling_map (CouplingMap) -- The coupling map to use

  • remove_reset_in_zero (bool) -- If True include the remove reset in zero pass in the generated PassManager

Returns

The pass manager

Return type

PassManager