From de3622bc188a19c7df6b90a7210149b2e9a69597 Mon Sep 17 00:00:00 2001 From: catornow Date: Wed, 29 Sep 2021 19:13:55 +0200 Subject: [PATCH] Modified docstrings --- .../passes/optimization/echo_rzx_weyl_decomposition.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qiskit/transpiler/passes/optimization/echo_rzx_weyl_decomposition.py b/qiskit/transpiler/passes/optimization/echo_rzx_weyl_decomposition.py index 2b38911451fb..76e0ecc13ac9 100644 --- a/qiskit/transpiler/passes/optimization/echo_rzx_weyl_decomposition.py +++ b/qiskit/transpiler/passes/optimization/echo_rzx_weyl_decomposition.py @@ -83,13 +83,13 @@ def run(self, dag: DAGCircuit): input dag. Args: - dag (DAGCircuit): DAG to map. + dag (DAGCircuit): DAG to rewrite. Returns: - DAGCircuit: The rearranged dag. + DAGCircuit: The modified dag. Raises: - TranspilerError: If the circuit cannot be mapped. + TranspilerError: If the circuit cannot be rewritten. """ if len(dag.qregs) > 1: