From 8ab91faea929a69995ff127f7eed969121b7cea1 Mon Sep 17 00:00:00 2001 From: Alexander Ivrii Date: Tue, 28 Jan 2025 14:25:36 +0200 Subject: [PATCH] remove mentioning ``unroller`` translation in docstrings (#13698) * remove mentioning unroller in docstrings * Update qiskit/compiler/transpiler.py Co-authored-by: Julien Gacon --------- Co-authored-by: Julien Gacon --- qiskit/compiler/transpiler.py | 2 +- qiskit/transpiler/preset_passmanagers/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qiskit/compiler/transpiler.py b/qiskit/compiler/transpiler.py index 27de0a7e1811..5e361503091f 100644 --- a/qiskit/compiler/transpiler.py +++ b/qiskit/compiler/transpiler.py @@ -191,7 +191,7 @@ def transpile( # pylint: disable=too-many-return-statements This can also be the external plugin name to use for the ``routing`` stage. You can see a list of installed plugins by using :func:`~.list_stage_plugins` with ``"routing"`` for the ``stage_name`` argument. - translation_method: Name of translation pass ('unroller', 'translator', 'synthesis') + translation_method: Name of translation pass (``"translator"`` or ``"synthesis"``) This can also be the external plugin name to use for the ``translation`` stage. You can see a list of installed plugins by using :func:`~.list_stage_plugins` with ``"translation"`` for the ``stage_name`` argument. diff --git a/qiskit/transpiler/preset_passmanagers/plugin.py b/qiskit/transpiler/preset_passmanagers/plugin.py index ac3b2b618cc9..920460a2b5f5 100644 --- a/qiskit/transpiler/preset_passmanagers/plugin.py +++ b/qiskit/transpiler/preset_passmanagers/plugin.py @@ -79,7 +79,7 @@ ``second_final_layout.compose(first_final_layout, dag.qubits)``). * - ``translation`` - ``qiskit.transpiler.translation`` - - ``translator``, ``synthesis``, ``unroller`` + - ``translator``, ``synthesis`` - The output of this stage is expected to have every operation be a native instruction on the target backend. * - ``optimization``