Skip to content

Commit

Permalink
fix: typos in Aer and IBM docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Dec 17, 2024
1 parent b3de3d5 commit 22b62bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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
8 changes: 4 additions & 4 deletions pytket/extensions/qiskit/backends/ibm.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def __init__(
if service is None
else service
)
self._backend: IBMBackend = self._service.backend(backend_name)
self._backend: IBMBackend = self._service.backend(backend_name, use_fractional_gates=True)
config: PulseBackendConfiguration = self._backend.configuration()
self._max_per_job = getattr(config, "max_experiments", 1)

Expand All @@ -193,7 +193,7 @@ def __init__(
self._backend_info = self._get_backend_info(config, props)

self._service = QiskitRuntimeService(
channel="ibm_quantum", token=token, instance=instance
channel="ibm_quantum", token=token, instance=instance,
)
self._session = Session(backend=self._backend)

Expand Down 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 22b62bf

Please sign in to comment.