Logical error rates
A logical error rate quantifies failure of encoded information under a specified logical task, duration, basis and decoding protocol.
On this page
Explanation and significance
The unit matters: per cycle, per logical gate, per second and per full algorithm are different quantities. Memory experiments often fit logical-observable decay over repeated correction rounds. The result depends on initialization, final readout, decoder and treatment of discarded shots. It must not be compared with physical gate infidelity without matching the task.
Mechanism and mathematical structure
For independent logical bit flips with probability p per cycle, a binary logical observable decays as (1-2p)^r after r cycles. The probability of an odd number of flips is [1-(1-2p)^r]/2. Solving from a measured decay factor lambda per cycle gives p=(1-lambda)/2. This is a model, not a universal form for every encoded channel.
Fully worked reference example
With p=0.001 and r=100, the odd-flip probability is [1-0.998^100]/2≈0.0907166. Multiplying p by r gives 0.1, a first-order approximation that differs because two flips cancel the measured bit value. The observable can saturate at one-half even while many faults occur. Reporting only final failure without duration hides the underlying rate.
Limits and misconceptions
A logical-Z memory test may not reveal logical-Z phase errors if it stores a Z eigenstate; complementary bases are needed to characterize both error types. Postselected rates need acceptance. A decoder using future syndrome data has different latency implications from a real-time decoder.
Scientific relationships
Is a performance property of an encoded task. Depends on code, decoder and operation schedule. Is distinct from syndrome event frequency and physical error rate.
Reconstructing a logical Pauli channel
An encoded qubit can undergo different logical X, Y, and Z error probabilities within one correction cycle. For a Pauli channel with probabilities p_I,p_X,p_Y,p_Z, the logical Bloch components are multiplied by λ_X=1−2(p_Y+p_Z), λ_Y=1−2(p_X+p_Z), and λ_Z=1−2(p_X+p_Y). Each eigenvalue describes decay of an observable, not the probability that the identically named Pauli error occurred. A logical Z error leaves a stored Z eigenvalue unchanged while damaging X and Y coherence.
Solving these three linear equations gives p_X=(1+λ_X−λ_Y−λ_Z)/4, with cyclic permutations for p_Y and p_Z. A synthetic channel with p_X=0.001, p_Y=0.0002, and p_Z=0.003 has λ_X=0.9936, λ_Y=0.992, and λ_Z=0.9976. Substituting the eigenvalues recovers all three probabilities. Its average identity-gate fidelity is 1−(2/3)(p_X+p_Y+p_Z)=0.9972. The total nonidentity Pauli probability is 0.0042, so even in this simple model average infidelity and total error probability differ.
Measuring only two axes leaves one combination unresolved unless extra assumptions are supplied. Positivity also constrains possible fitted eigenvalues: the reconstructed probabilities must be nonnegative and sum to at most one. Independent unconstrained exponential fits can violate these conditions through statistical fluctuation or because the logical channel is not Pauli diagonal.
Coherent logical errors produce a different time dependence
Suppose each cycle applies the same unwanted logical R_Z(θ). Starting in a logical X eigenstate, the X expectation after r cycles is cos(rθ), while a logical Z eigenstate remains unchanged. For small rθ, the X failure probability is approximately r²θ²/4. A stochastic logical Z error with the same single-cycle X failure produces an approximately linear initial accumulation. Fitting a short coherent oscillation segment with an exponential can therefore assign a misleading constant rate.
Randomization, decoder-frame updates, or fluctuating control phases may change how such errors accumulate, but that change must be established for the actual protocol. A logical channel can also contain leakage from the encoded subspace. Then a normalized qubit channel conditioned on survival describes only the surviving ensemble; a trace-decreasing map or an explicit leakage outcome is needed to describe all attempts.
Separating boundaries from repeated storage
A common phenomenological fit is C(r)=Aλ^r, where C is a signed logical contrast and A incorporates preparation and terminal measurement effects. An additional offset may be required when outcome asymmetry exists. Treating A as unity without evidence pushes boundary errors into the fitted per-cycle parameter, especially at small r. Conversely, reporting λ alone omits the practical error of preparing and reading the memory once.
If the correction-cycle duration is τ and logical bit flips form a continuous Poisson process of rate Γ, then parity contrast decays as exp(−2Γrτ). Matching λ gives Γ=−ln(λ)/(2τ). The factor of two arises because the measured bit changes sign on each flip. For λ=0.998 and τ=1 microsecond, Γ≈1,001.0013 per second. Using −ln(1−p)/τ instead would describe a different survival event, namely no flips, rather than the observed odd-flip probability.
Censoring and decoder boundaries
Discarding records with leakage flags, suspicious syndromes, or failed initialization changes the ensemble. If acceptance depends on duration, a low conditional failure curve can coexist with rapidly declining usable yield. A useful report supplies accepted counts, attempted counts, and reasons for rejection at each duration. A protocol that halts and flags a fault has a different operational output from one that silently returns a wrong logical value.
The decoder belongs to the definition of the reported rate. Offline decoding with a future time window can improve retrospective assignments while requiring information that was unavailable before a logical feedforward deadline. Reporting both the scientific decoding result and the corresponding latency boundary makes clear which computational use the number supports. Syndrome-event frequency alone cannot determine the logical rate because many detectable physical errors are correctly removed.
Relating a memory measurement to an algorithm
For G independent logical operations with identical failure probability p_L, the probability of at least one failure is 1−(1−p_L)^G. Without independence, the union bound remains at most Gp_L if each event has that marginal bound. Memory-cycle data do not automatically supply p_L for lattice surgery, injection, or non-Clifford gates. Different Bloch components and leakage can evolve differently, so one fitted decay constant cannot fully specify the logical channel or a task.
A time-dependent hazard is experimentally distinguishable
If conditional bit-flip probabilities vary by cycle, the contrast is Π_j(1−2p_j), rather than λ^r with one constant λ. For example, p_j=0.0005 for fifty cycles followed by 0.002 for fifty cycles yields contrast 0.999^50×0.996^50. Its final value can be matched by a constant effective rate, but intermediate measurements reveal the change. Aggregating only the final duration loses that diagnostic information. Decoder adaptation, increasing leakage population, or a drifting control frequency can produce such changes for different physical reasons. A fitted average remains a useful descriptive statistic when labeled, but extrapolating it to longer circuits assumes the same time dependence continues.
Sources
Verification scope
Citation identity checked ·
Online publication in 2024; journal volume 638 in 2025. Memory demonstration scope must be preserved.
Verification scope
Citation identity checked ·
Architecture and surface-code tutorial; numerical thresholds remain model-specific.