Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK Go to the latest version
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

qiskit.transpiler.PassManagerConfig

class PassManagerConfig(initial_layout=None, basis_gates=None, coupling_map=None, layout_method=None, routing_method=None, translation_method=None, scheduling_method=None, instruction_durations=None, backend_properties=None, seed_transpiler=None)

GitHub

Pass Manager Configuration.

Initialize a PassManagerConfig object

Parameters

  • initial_layout (Layout) – Initial position of virtual qubits on physical qubits.
  • basis_gates (list) – List of basis gate names to unroll to.
  • coupling_map (CouplingMap) – Directed graph represented a coupling map.
  • layout_method (str) – the pass to use for choosing initial qubit placement.
  • routing_method (str) – the pass to use for routing qubits on the architecture.
  • translation_method (str) – the pass to use for translating gates to basis_gates.
  • scheduling_method (str) – the pass to use for scheduling instructions.
  • instruction_durations (InstructionDurations) – Dictionary of duration (in dt) for each instruction.
  • backend_properties (BackendProperties) – Properties returned by a backend, including information on gate errors, readout errors, qubit coherence times, etc.
  • seed_transpiler (int) – Sets random seed for the stochastic parts of the transpiler.

__init__

__init__(initial_layout=None, basis_gates=None, coupling_map=None, layout_method=None, routing_method=None, translation_method=None, scheduling_method=None, instruction_durations=None, backend_properties=None, seed_transpiler=None)

Initialize a PassManagerConfig object

Parameters

  • initial_layout (Layout) – Initial position of virtual qubits on physical qubits.
  • basis_gates (list) – List of basis gate names to unroll to.
  • coupling_map (CouplingMap) – Directed graph represented a coupling map.
  • layout_method (str) – the pass to use for choosing initial qubit placement.
  • routing_method (str) – the pass to use for routing qubits on the architecture.
  • translation_method (str) – the pass to use for translating gates to basis_gates.
  • scheduling_method (str) – the pass to use for scheduling instructions.
  • instruction_durations (InstructionDurations) – Dictionary of duration (in dt) for each instruction.
  • backend_properties (BackendProperties) – Properties returned by a backend, including information on gate errors, readout errors, qubit coherence times, etc.
  • seed_transpiler (int) – Sets random seed for the stochastic parts of the transpiler.

Methods

__init__([initial_layout, basis_gates, …])Initialize a PassManagerConfig object
Was this page helpful?
Report a bug or request content on GitHub.