Skip to content

Commit

Permalink
fix: typos in Aer and IBM docstrings (#440)
Browse files Browse the repository at this point in the history
* fix: typos in Aer and IBM docstrings

* revert unintended change

* formatting fix

* remove comma
  • Loading branch information
CalMacCQ authored Dec 17, 2024
1 parent b3de3d5 commit f4e18c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pytket/extensions/qiskit/backends/aer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pytket/extensions/qiskit/backends/ibm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f4e18c3

Please sign in to comment.