Skip to content

Commit

Permalink
Remove backend_properties argument from generate_translation_passmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT committed Jan 21, 2025
1 parent d9dbc39 commit 6e2a4c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions qiskit/transpiler/preset_passmanagers/builtin_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ def pass_manager(self, pass_manager_config, optimization_level=None) -> PassMana
method="translator",
approximation_degree=pass_manager_config.approximation_degree,
coupling_map=pass_manager_config.coupling_map,
backend_props=pass_manager_config.backend_properties,
unitary_synthesis_method=pass_manager_config.unitary_synthesis_method,
unitary_synthesis_plugin_config=pass_manager_config.unitary_synthesis_plugin_config,
hls_config=pass_manager_config.hls_config,
Expand All @@ -225,7 +224,6 @@ def pass_manager(self, pass_manager_config, optimization_level=None) -> PassMana
method="synthesis",
approximation_degree=pass_manager_config.approximation_degree,
coupling_map=pass_manager_config.coupling_map,
backend_props=pass_manager_config.backend_properties,
unitary_synthesis_method=pass_manager_config.unitary_synthesis_method,
unitary_synthesis_plugin_config=pass_manager_config.unitary_synthesis_plugin_config,
hls_config=pass_manager_config.hls_config,
Expand Down
3 changes: 0 additions & 3 deletions qiskit/transpiler/preset_passmanagers/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@ def generate_translation_passmanager(
method="translator",
approximation_degree=None,
coupling_map=None,
backend_props=None,
unitary_synthesis_method="default",
unitary_synthesis_plugin_config=None,
hls_config=None,
Expand All @@ -441,8 +440,6 @@ def generate_translation_passmanager(
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 :func:`.unitary_synthesis_plugin_names`.
hls_config (HLSConfig): An optional configuration class to use for
Expand Down

0 comments on commit 6e2a4c2

Please sign in to comment.