From f4e18c3016c956e8fa490693ec47d7aae2634a8d Mon Sep 17 00:00:00 2001 From: Callum Macpherson <93673602+CalMacCQ@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:34:22 +0000 Subject: [PATCH] fix: typos in Aer and IBM docstrings (#440) * fix: typos in Aer and IBM docstrings * revert unintended change * formatting fix * remove comma --- pytket/extensions/qiskit/backends/aer.py | 4 ++-- pytket/extensions/qiskit/backends/ibm.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pytket/extensions/qiskit/backends/aer.py b/pytket/extensions/qiskit/backends/aer.py index a6a879f4..82ce1333 100644 --- a/pytket/extensions/qiskit/backends/aer.py +++ b/pytket/extensions/qiskit/backends/aer.py @@ -320,7 +320,7 @@ def get_compiled_circuit( prompting more computationally heavy optimising compilation that can lead to reduced gate count in circuits. :type optimisation_level: int, optional - :param timeout: Only valid for optimisation level 3, gives a maximimum time + :param timeout: Only valid for optimisation level 3, gives a maximum time for running a single thread of the pass `GreedyPauliSimp`. Increase for optimising larger circuits. :type timeout: int, optional @@ -368,7 +368,7 @@ def get_compiled_circuits( compilation. See :py:meth:`default_compilation_pass` for a description of the different levels (0, 1, 2 or 3). Defaults to 2. :type optimisation_level: int, optional - :param timeout: Only valid for optimisation level 3, gives a maximimum time + :param timeout: Only valid for optimisation level 3, gives a maximum time for running a single thread of the pass `GreedyPauliSimp`. Increase for optimising larger circuits. :type timeout: int, optional diff --git a/pytket/extensions/qiskit/backends/ibm.py b/pytket/extensions/qiskit/backends/ibm.py index e4069d06..3fc21320 100644 --- a/pytket/extensions/qiskit/backends/ibm.py +++ b/pytket/extensions/qiskit/backends/ibm.py @@ -478,7 +478,7 @@ def get_compiled_circuit( prompting more computationally heavy optimising compilation that can lead to reduced gate count in circuits. :type optimisation_level: int, optional - :param timeout: Only valid for optimisation level 3, gives a maximimum time + :param timeout: Only valid for optimisation level 3, gives a maximum time for running a single thread of the pass `GreedyPauliSimp`. Increase for optimising larger circuits. :type timeout: int, optional @@ -526,7 +526,7 @@ def get_compiled_circuits( compilation. See :py:meth:`default_compilation_pass` for a description of the different levels (0, 1, 2 or 3). Defaults to 2. :type optimisation_level: int, optional - :param timeout: Only valid for optimisation level 3, gives a maximimum time + :param timeout: Only valid for optimisation level 3, gives a maximum time for running a single thread of the pass `GreedyPauliSimp`. Increase for optimising larger circuits. :type timeout: int, optional