Skip to content

Commit 25e1c6c

Browse files
committed
minor comment change
1 parent ef74147 commit 25e1c6c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/qldpc/codes/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3239,7 +3239,7 @@ def _get_error_probs_by_weight(
32393239

32403240
@dataclasses.dataclass
32413241
class ErrorRateFunc:
3242-
"""Container computing logical error and discard rates from importance-sampled simulation data.
3242+
"""Container for raw simulation data used to compute logical error and discard rates.
32433243
32443244
An instance of this class is built and returned by the .get_logical_error_rate_func method of
32453245
ClassicalCode, QuditCode, and CSSCode. If
@@ -3253,7 +3253,7 @@ class ErrorRateFunc:
32533253
error rate.
32543254
"""
32553255

3256-
# number of times we simulated each error weight
3256+
# number of times we sampled each error weight
32573257
num_samples: npt.NDArray[np.int_]
32583258

32593259
# number of failures and discards by error weight

0 commit comments

Comments
 (0)