Skip to content

Commit

Permalink
fix docstring indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NoureldinYosri committed Oct 6, 2023
1 parent a24c06f commit 174c239
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions qualtran/surface_code/quantum_error_correction_scheme_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@
class QuantumErrorCorrectionSchemeSummary(abc.ABC):
r"""QuantumErrorCorrectionSchemeSummary represents a high level view of a QEC scheme.
QuantumErrorCorrectionSchemeSummary provides estimates for the logical error rate,
number of physical qubits and the logical time step given a code distance and
physical assumptions.
The logical error rate as a function of code distance $d$ and physical error rate $p$
is given by
$$
a \left ( \frac{p}{p^*} \right )^\frac{d + 1}{2}
$$
Where $a$ is the error_rate_scaler and $p^*$ is the error_rate_threshold.
Note: The logical error-suppression factor $\Lambda = \frac{p^*}{p}$
QuantumErrorCorrectionSchemeSummary provides estimates for the logical error rate,
number of physical qubits and the logical time step given a code distance and
physical assumptions.
The logical error rate as a function of code distance $d$ and physical error rate $p$
is given by
$$
a \left ( \frac{p}{p^*} \right )^\frac{d + 1}{2}
$$
Where $a$ is the error_rate_scaler and $p^*$ is the error_rate_threshold.
Note: The logical error-suppression factor $\Lambda = \frac{p^*}{p}$
Attributes:
error_rate_scaler: Logical error rate coefficient.
Expand Down

0 comments on commit 174c239

Please sign in to comment.