About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
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
Parameters
- 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 (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
- hls_config (HLSConfig) – An optional configuration class to use for
HighLevelSynthesis
pass. Specifies how to synthesize various high-level objects.
Returns
The basis translation pass manager
Return type
Raises
TranspilerError – If the method
kwarg is not a valid value
Was this page helpful?
Report a bug or request content on GitHub.