Skip to content

Commit 0ec41e3

Browse files
q-inhomergify[bot]
authored andcommitted
Fix minor typos (#1584)
- overriden -> overridden - effect -> affect (cherry picked from commit e020b73)
1 parent 9953943 commit 0ec41e3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/release_notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3156,7 +3156,7 @@ Deprecation Notes
31563156

31573157
.. releasenotes/notes/0.3/cleanup-curve-analysis-96d7ff706cae5b4e.yaml @ b'a03eb85832e5b10ff32e71e9725b307fd0f1ada4'
31583158
3159-
- Several protected methods of :class:`.CurveAnalysis` intended to be overriden
3159+
- Several protected methods of :class:`.CurveAnalysis` intended to be overridden
31603160
or directly be used by subclass have been deprecated.
31613161
:meth:`CurveAnalysis._data` has been deprecated without alternative method
31623162
to make :class:`.CurveAnalysis` state cleaner. Now relevent curve analysis methods

docs/tutorials/custom_experiment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To create an analysis subclass, one only needs to implement the abstract
6969
:meth:`.BaseAnalysis._run_analysis` method. This method takes an
7070
:class:`.ExperimentData` container and kwarg analysis options. If any
7171
kwargs are used, the :meth:`.BaseAnalysis._default_options` method should be
72-
overriden to define default values for these options. You can also write a custom
72+
overridden to define default values for these options. You can also write a custom
7373
analysis class for an existing experiment class and then run ``exp.analysis = NewAnalysis()``
7474
after instantiating the experiment object ``exp`` to override its default analysis class.
7575

qiskit_experiments/framework/base_analysis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class BaseAnalysis(ABC, StoreInitArgs):
4444
This method should not have side-effects on the analysis class itself
4545
since it could potentially be called asynchronously in multiple threads.
4646
Any configurable option values should be specified in the `_default_options`
47-
class method. These values can be overriden by a user by calling the
47+
class method. These values can be overridden by a user by calling the
4848
`set_options` method or for a single-run can be specified by passing kwarg
4949
options to the :meth:`run` method.
5050
"""
@@ -84,7 +84,7 @@ def copy(self) -> "BaseAnalysis":
8484
"""Return a copy of the analysis"""
8585
# We want to avoid a deep copy be default for performance so we
8686
# need to also copy the Options structures so that if they are
87-
# updated on the copy they don't effect the original.
87+
# updated on the copy they don't affect the original.
8888
ret = copy.copy(self)
8989
ret._options = copy.copy(self._options)
9090
ret._set_options = copy.copy(self._set_options)

qiskit_experiments/framework/base_experiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def copy(self) -> "BaseExperiment":
148148
"""Return a copy of the experiment"""
149149
# We want to avoid a deep copy be default for performance so we
150150
# need to also copy the Options structures so that if they are
151-
# updated on the copy they don't effect the original.
151+
# updated on the copy they don't affect the original.
152152
ret = copy.copy(self)
153153
if self.analysis:
154154
ret.analysis = self.analysis.copy()

0 commit comments

Comments
 (0)