Skip to content

Commit 6e2f441

Browse files
Wording suggestions
Co-authored-by: Will Shanks <wshaos@posteo.net>
1 parent 98c7e0d commit 6e2f441

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

qiskit_experiments/library/characterization/analysis/t1_analysis.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def estimate_minmax_frequencies(
270270
coefficients: Dict[str, float],
271271
max_amplitudes: Tuple[float, float] = (-0.9, 0.9),
272272
) -> Tuple[float, float]:
273-
"""Inquire maximum and minimum Stark shfit available within specified amplitude range.
273+
"""Inquire maximum and minimum Stark shift available within specified amplitude range.
274274
275275
Args:
276276
coefficients: A dictionary of Stark coefficients.
@@ -286,7 +286,7 @@ def estimate_minmax_frequencies(
286286
if any(missing):
287287
raise KeyError(
288288
"Following coefficient data is missing in the "
289-
f"'stark_coefficients' dictionary: {missing}."
289+
f"stark 'coefficients' dictionary: {missing}."
290290
)
291291

292292
names = cls.stark_coefficients_names # alias

qiskit_experiments/library/characterization/t1.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ def _default_experiment_options(cls) -> Options:
223223
convert tone amplitudes into amount of Stark shift. This dictionary must include
224224
all keys defined in :attr:`.StarkP1SpectAnalysis.stark_coefficients_names`,
225225
which are calibrated with :class:`.StarkRamseyXYAmpScan`.
226-
Alternatively, it searches for these coefficients in the result database
227-
when "latest" is set. This requires having the experiment service set in
228-
the experiment data to analyze.
226+
Alternatively, a search for these coefficients in the result database is run
227+
when "latest" is set. This requires having the experiment service available
228+
in the ``backend`` set for the experiment.
229229
"""
230230
options = super()._default_experiment_options()
231231
options.update_options(

test/library/characterization/test_stark_p1_spect.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ def test_scanning_frequency(self, po1, po2, po3, no1, no2, no3, ferr):
146146
"""Test scanning frequency with experiment service.
147147
148148
This is a sort of round-trip test.
149-
We generate amplitude from frequency through experimetn class.
150-
this amplitude is converted into frequency again with the same coefficients.
151-
Two frequencies must be consistent.
149+
We generate amplitudes from frequencies through the experiment class.
150+
These amplitudes are converted into frequencies again with the same coefficients.
151+
The two sets of frequencies must be consistent.
152152
"""
153153
service = self.create_service_helper(po1, po2, po3, no1, no2, no3, ferr, 0, "fake_hanoi")
154154

0 commit comments

Comments
 (0)