From c34e815e89da35a3f1c41888d9d2633901e9aa0f Mon Sep 17 00:00:00 2001 From: Takashi Imamichi Date: Thu, 28 Nov 2024 16:51:02 +0900 Subject: [PATCH 1/2] Fix docstring of ZneOptions --- qiskit_ibm_runtime/options/zne_options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qiskit_ibm_runtime/options/zne_options.py b/qiskit_ibm_runtime/options/zne_options.py index b4414b5ca..4389f1027 100644 --- a/qiskit_ibm_runtime/options/zne_options.py +++ b/qiskit_ibm_runtime/options/zne_options.py @@ -111,8 +111,8 @@ class ZneOptions: The available options are: * ``"exponential"``, which fits the data using an exponential decaying function defined - as :math:`f(x; A, \tau) = A e^{-x/\tau}`, where :math:`A = f(0; A, \tau)` is the - value at zero noise (:math:`x=0`\\) and :math:`\tau>0` is a positive rate. + as :math:`f(x; A, \\tau) = A e^{-x/\\tau}`, where :math:`A = f(0; A, \\tau)` is the + value at zero noise (:math:`x=0`\\) and :math:`\\tau>0` is a positive rate. * ``"double_exponential"``, which uses a sum of two exponential as in Ref. 1. * ``"polynomial_degree_(1 <= k <= 7)"``, which uses a polynomial function defined as :math:`f(x; c_0, c_1, \\ldots, c_k) = \\sum_{i=0, k} c_i x^i`. From e51fba2fa0493b2f8791a84926f1c77c7c245beb Mon Sep 17 00:00:00 2001 From: Takashi Imamichi Date: Thu, 28 Nov 2024 16:56:10 +0900 Subject: [PATCH 2/2] remove redundant \\ --- qiskit_ibm_runtime/options/zne_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_ibm_runtime/options/zne_options.py b/qiskit_ibm_runtime/options/zne_options.py index 4389f1027..c13b46c36 100644 --- a/qiskit_ibm_runtime/options/zne_options.py +++ b/qiskit_ibm_runtime/options/zne_options.py @@ -112,7 +112,7 @@ class ZneOptions: * ``"exponential"``, which fits the data using an exponential decaying function defined as :math:`f(x; A, \\tau) = A e^{-x/\\tau}`, where :math:`A = f(0; A, \\tau)` is the - value at zero noise (:math:`x=0`\\) and :math:`\\tau>0` is a positive rate. + value at zero noise (:math:`x=0`) and :math:`\\tau>0` is a positive rate. * ``"double_exponential"``, which uses a sum of two exponential as in Ref. 1. * ``"polynomial_degree_(1 <= k <= 7)"``, which uses a polynomial function defined as :math:`f(x; c_0, c_1, \\ldots, c_k) = \\sum_{i=0, k} c_i x^i`.