Skip to content

Commit

Permalink
Fix docstring of ZneOptions (#2061)
Browse files Browse the repository at this point in the history
* Fix docstring of ZneOptions

* remove redundant \\

---------

Co-authored-by: Kevin Tian <[email protected]>
  • Loading branch information
t-imamichi and kt474 authored Dec 2, 2024
1 parent a4c538a commit a5c6ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_ibm_runtime/options/zne_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit a5c6ce6

Please sign in to comment.