- 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
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
hls_config (HLSConfig) – An optional configuration class to use for
HighLevelSynthesispass. Specifies how to synthesize various high-level objects.
The basis translation pass manager
TranspilerError – If the
methodkwarg is not a valid value