Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFerracin committed Sep 23, 2024
1 parent 4c47cf8 commit 291160c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/options/resilience_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _validate_options(self) -> "ResilienceOptionsV2":
# Validate not ZNE+PEC
if self.pec_mitigation is True and self.zne_mitigation is True:
raise ValueError(
"pec_mitigation and zne_mitigation`options cannot be "
"'pec_mitigation' and 'zne_mitigation' options cannot be "
"simultaneously enabled. Set one of them to False."
)

Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_estimator_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class TestEstimatorOptions(IBMTestCase):
({"noise_factors": [1, 3, 5]}, "Unexpected keyword argument"),
(
{"resilience": {"zne_mitigation": True, "pec_mitigation": True}},
"pec_mitigation and zne_mitigation`options cannot be simultaneously enabled",
"'pec_mitigation' and 'zne_mitigation' options cannot be simultaneously enabled",
),
(
{"simulator": {"noise_model": "foo"}},
Expand Down

0 comments on commit 291160c

Please sign in to comment.