From 39952bcae53ddf7ebf93258e7440ca16e31f57ec Mon Sep 17 00:00:00 2001 From: "Kevin J. Sung" Date: Wed, 7 Feb 2024 04:32:50 -0500 Subject: [PATCH] fix argument documentation of transpile functions (#11728) --- qiskit/compiler/transpiler.py | 2 +- qiskit/transpiler/preset_passmanagers/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qiskit/compiler/transpiler.py b/qiskit/compiler/transpiler.py index eaed6744ff0..dd6758acc16 100644 --- a/qiskit/compiler/transpiler.py +++ b/qiskit/compiler/transpiler.py @@ -232,7 +232,7 @@ def callback_func(**kwargs): default this setting will have no effect as the default unitary synthesis method does not take custom configuration. This should only be necessary when a unitary synthesis plugin is specified with - the ``unitary_synthesis`` argument. As this is custom for each + the ``unitary_synthesis_method`` argument. As this is custom for each unitary synthesis plugin refer to the plugin documentation for how to use this option. target: A backend transpiler target. Normally this is specified as part of diff --git a/qiskit/transpiler/preset_passmanagers/__init__.py b/qiskit/transpiler/preset_passmanagers/__init__.py index 6a8dab2ba33..f19b82fb3a1 100644 --- a/qiskit/transpiler/preset_passmanagers/__init__.py +++ b/qiskit/transpiler/preset_passmanagers/__init__.py @@ -179,7 +179,7 @@ def generate_preset_pass_manager( default this setting will have no effect as the default unitary synthesis method does not take custom configuration. This should only be necessary when a unitary synthesis plugin is specified with - the ``unitary_synthesis`` argument. As this is custom for each + the ``unitary_synthesis_method`` argument. As this is custom for each unitary synthesis plugin refer to the plugin documentation for how to use this option. hls_config (HLSConfig): An optional configuration class :class:`~.HLSConfig`