From 174c239095bd0e13d012eb05383bdcc98321e999 Mon Sep 17 00:00:00 2001 From: Noureldin Date: Fri, 6 Oct 2023 18:22:52 +0000 Subject: [PATCH] fix docstring indentation --- ...quantum_error_correction_scheme_summary.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/qualtran/surface_code/quantum_error_correction_scheme_summary.py b/qualtran/surface_code/quantum_error_correction_scheme_summary.py index 951be466f..956a62d5a 100644 --- a/qualtran/surface_code/quantum_error_correction_scheme_summary.py +++ b/qualtran/surface_code/quantum_error_correction_scheme_summary.py @@ -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.