Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.preset_passmanagers.common.generate_translation_passmanager

generate_translation_passmanager(target, basis_gates=None, method='translator', approximation_degree=None, coupling_map=None, backend_props=None, unitary_synthesis_method='default', unitary_synthesis_plugin_config=None, hls_config=None)[ソース]

Generate a basis translation PassManager

パラメータ
  • target (Target) – the Target object representing the backend

  • basis_gates (list) – A list of str gate names that represent the basis gates on the backend target

  • method (str) – The basis translation method to use

  • approximation_degree (Optional[float]) – The heuristic approximation degree to use. Can be between 0 and 1.

  • coupling_map (CouplingMap) – the coupling map of the backend in case synthesis is done on a physical circuit. The directionality of the coupling_map will be taken into account if pulse_optimize is True/None and natural_direction is True/None.

  • unitary_synthesis_plugin_config (dict) – The optional dictionary plugin configuration, this is plugin specific refer to the specified plugin’s documentation for how to use.

  • backend_props (BackendProperties) – Properties of a backend to synthesize for (e.g. gate fidelities).

  • unitary_synthesis_method (str) – The unitary synthesis method to use. You can see a list of installed plugins with unitary_synthesis_plugin_names().

  • hls_config (HLSConfig) – An optional configuration class to use for HighLevelSynthesis pass. Specifies how to synthesize various high-level objects.

戻り値

The basis translation pass manager

戻り値の型

PassManager

例外

TranspilerError – If the method kwarg is not a valid value