30 Def 11: Spacetime Logical Fault
A spacetime logical fault is a collection of space-faults and time-faults (Def 7) that:
Does not violate any detector (i.e., the syndrome (Def 9) is empty), AND
Changes the outcome of the fault-tolerant gauging measurement procedure (Def 10).
A spacetime stabilizer is a collection of space-faults and time-faults that:
Does not violate any detector, AND
Does NOT change the outcome of the procedure.
Every syndrome-free fault collection is either a spacetime logical fault or a spacetime stabilizer.
A spacetime fault \(F\) is syndrome-free with respect to a collection of detectors \((\delta _i)_{i \in I}\) if the syndrome is empty, i.e.,
Equivalently, no detector is violated by the time-faults of \(F\).
A fault \(F\) is syndrome-free if and only if for every detector index \(i \in I\), the detector \(\delta _i\) is not violated by \(F\)’s time-faults:
Unfolding the definitions of \(\operatorname {IsSyndromeFree}\) and \(\operatorname {syndromeFault}\), the condition that the filter of violated detectors equals the empty set is equivalent, by simplification using the universal membership and true-implies rules, to the statement that no detector is violated.
A fault \(F\) is syndrome-free if and only if the syndrome vector is identically zero:
We rewrite using the characterization that syndrome-free means every detector is not violated. For the forward direction, assume every detector is not violated. By extensionality, for each index \(i\), the syndrome vector at \(i\) is defined by an if-then-else on whether \(\delta _i\) is violated; since it is not, the value is \(0\), so the entire vector is \(0\). For the reverse direction, assume the syndrome vector equals \(0\). For any index \(i\), we extract the component at \(i\), which equals \(0\). Suppose for contradiction that \(\delta _i\) is violated; then the if-branch gives value \(1\), contradicting \(1 \neq 0\).
A spacetime fault \(F\) is outcome-preserving with respect to a predicate \(\operatorname {outcomePreserving}\) if \(\operatorname {outcomePreserving}(F)\) holds. This means the net effect of \(F\) on the procedure is trivial: it preserves both the measurement sign and the logical information in the post-measurement state.
A spacetime fault \(F\) changes the outcome if it is not outcome-preserving:
A spacetime logical fault is a spacetime fault \(F\) satisfying:
\(\operatorname {IsSyndromeFree}(\delta , F)\): No detector is violated (syndrome is empty).
\(\operatorname {IsOutcomeChanging}(F)\): The fault changes the measurement result or applies a non-trivial logical operator to the post-measurement state.
A spacetime stabilizer is a spacetime fault \(F\) satisfying:
\(\operatorname {IsSyndromeFree}(\delta , F)\): No detector is violated (syndrome is empty).
\(\operatorname {IsOutcomePreserving}(F)\): The fault preserves both the measurement result and the logical information in the post-measurement state.
Every syndrome-free fault is either a spacetime logical fault or a spacetime stabilizer: if \(\operatorname {IsSyndromeFree}(\delta , F)\) holds, then
We consider two cases on whether \(\operatorname {outcomePreserving}(F)\) holds. If it does, then \(F\) is a spacetime stabilizer (the right disjunct), constructed from the syndrome-free hypothesis and the outcome-preserving property. If it does not, then \(F\) is a spacetime logical fault (the left disjunct), constructed from the syndrome-free hypothesis and the negation of outcome-preserving.
The dichotomy is exclusive: if \(F\) is a spacetime logical fault, then it is not a spacetime stabilizer.
Assume \(F\) is a spacetime logical fault and suppose for contradiction it is also a stabilizer. Then \(F\) is outcome-preserving (from the stabilizer condition), but \(F\) is also outcome-changing (from the logical fault condition). The outcome-changing condition is the negation of outcome-preserving, giving a contradiction.
Conversely, if \(F\) is a spacetime stabilizer, then it is not a spacetime logical fault.
Assume \(F\) is a stabilizer and suppose for contradiction it is also a logical fault. Then the logical fault’s outcome-changing condition contradicts the stabilizer’s outcome-preserving condition.
A spacetime logical fault is syndrome-free.
This is the first component of the conjunction defining a spacetime logical fault.
A spacetime logical fault changes the outcome.
This is the second component of the conjunction defining a spacetime logical fault.
A spacetime stabilizer is syndrome-free.
This is the first component of the conjunction defining a spacetime stabilizer.
A spacetime stabilizer preserves the outcome.
This is the second component of the conjunction defining a spacetime stabilizer.
The empty spacetime fault has empty syndrome: no faults means no detector violations.
Unfolding the definition of \(\operatorname {IsSyndromeFree}\), we rewrite using the fact that the syndrome of the empty fault is empty (\(\operatorname {syndromeFault\_ empty}\)).
The empty fault is a spacetime stabilizer, provided it is outcome-preserving (the natural requirement that no fault means no change).
The proof constructs the pair: the first component is \(\operatorname {empty\_ isSyndromeFree}\) applied to the detectors, and the second component is the hypothesis that the empty fault is outcome-preserving.
A syndrome-free fault of weight \(0\) equals the empty fault.
Rewriting the hypothesis \(F.\! \operatorname {weight} = 0\) using the lemma \(\operatorname {weight\_ zero\_ iff\_ empty}\), the result follows directly.
A spacetime logical fault must have positive weight: \(0 {\lt} F.\! \operatorname {weight}\). It cannot be the empty fault.
Suppose for contradiction that \(F.\! \operatorname {weight} \leq 0\). Pushing the negation, we get \(F.\! \operatorname {weight} = 0\) (since weight is a natural number). By the theorem \(\operatorname {syndromeFree\_ weight\_ zero\_ eq\_ empty}\) applied to \(F\)’s syndrome-free property, we conclude \(F = \operatorname {empty}\). Substituting, the logical fault condition requires \(\neg \, \operatorname {outcomePreserving}(\operatorname {empty})\), which contradicts the hypothesis that the empty fault is outcome-preserving.
A spacetime logical fault has zero syndrome vector: \(\operatorname {syndromeVec}(\delta , F) = 0\).
This follows by applying the forward direction of \(\operatorname {isSyndromeFree\_ iff\_ syndromeVec}\) to the syndrome-free component of the logical fault hypothesis.
A spacetime stabilizer has zero syndrome vector: \(\operatorname {syndromeVec}(\delta , F) = 0\).
This follows by applying the forward direction of \(\operatorname {isSyndromeFree\_ iff\_ syndromeVec}\) to the syndrome-free component of the stabilizer hypothesis.
The set of all syndrome-free faults partitions into logical faults and stabilizers:
For the forward direction, we apply \(\operatorname {syndromeFree\_ dichotomy}\). For the reverse direction, we case-split on whether \(F\) is a logical fault or a stabilizer; in either case, the first component of the conjunction gives syndrome-freeness.
A syndrome-free fault is a logical fault if and only if it is not a stabilizer:
For the forward direction, we apply \(\operatorname {logicalFault\_ not\_ stabilizer}\). For the reverse direction, assume \(F\) is not a stabilizer. We construct the logical fault: the first component is the syndrome-free hypothesis. For the second component (outcome-changing), assume for contradiction that \(F\) is outcome-preserving. Then \(F\) would be a stabilizer (pairing syndrome-free with outcome-preserving), contradicting the hypothesis.
A syndrome-free fault is a stabilizer if and only if it is not a logical fault:
For the forward direction, assume \(F\) is a stabilizer and suppose \(F\) is also a logical fault; we apply \(\operatorname {logicalFault\_ not\_ stabilizer}\) to derive a contradiction. For the reverse direction, assume \(F\) is not a logical fault. We construct the stabilizer: the first component is syndrome-freeness. For the second (outcome-preserving), suppose for contradiction that \(F\) is not outcome-preserving; then \(F\) would be a logical fault, contradicting the hypothesis.
The sign flip indicator for the fault-tolerant gauging procedure is defined as the parity of time-faults that affect Gauss’s law measurements:
computed in \(\mathbb {Z}/2\mathbb {Z}\). The gauging sign \(\sigma = \sum _v \varepsilon _v\), and a time-fault on a Gauss measurement flips one \(\varepsilon _v\).
A fault flips the gauging sign if the sign flip indicator equals \(1\):
A fault preserves the gauging sign if the sign flip indicator equals \(0\):
The sign flip indicator is always \(0\) or \(1\) in \(\mathbb {Z}/2\mathbb {Z}\):
Every element \(x \in \mathbb {Z}/2\mathbb {Z}\) satisfies \(x = 0 \lor x = 1\). This is verified by case analysis on the two elements of \(\mathbb {Z}/2\mathbb {Z}\) followed by simplification. The result then follows by applying this fact to \(\operatorname {gaussSignFlip}(F)\).
A fault either flips or preserves the gauging sign:
We case-split on whether \(\operatorname {gaussSignFlip}(F)\) is \(0\) or \(1\) using \(\operatorname {gaussSignFlip\_ zero\_ or\_ one}\). If it is \(0\), then \(F\) preserves the gauging sign (the right disjunct). If it is \(1\), then \(F\) flips the gauging sign (the left disjunct).
If a fault flips the gauging sign, then it does not preserve it.
Assume \(F\) flips the gauging sign, so \(\operatorname {gaussSignFlip}(F) = 1\). Suppose for contradiction that \(F\) also preserves the gauging sign, so \(\operatorname {gaussSignFlip}(F) = 0\). Rewriting, we get \(0 = 1\), which contradicts \(0 \neq 1\).
If a fault preserves the gauging sign, then it does not flip it.
Assume \(F\) preserves the gauging sign and suppose for contradiction that \(F\) flips it. By \(\operatorname {flipsGaugingSign\_ not\_ preserves}\), flipping implies not preserving, contradicting our assumption.
A spacetime fault \(F\) is syndrome-free in the gauging procedure if no detector from the spacetime code is violated:
Here the detector index type is the specialized \(\operatorname {DetectorIndex}\; V\; C\; J\; G.\! \operatorname {edgeSet}\; d\) from the fault-tolerant gauging procedure.
A gauging logical fault is a spacetime fault in the gauging procedure that is syndrome-free AND changes the outcome:
A gauging stabilizer is a spacetime fault in the gauging procedure that is syndrome-free AND preserves the outcome:
Every syndrome-free fault in the gauging procedure is either a gauging logical fault or a gauging stabilizer.
We case-split on whether \(\operatorname {outcomePreserving}(F)\) holds. If yes, \(F\) is a gauging stabilizer (right disjunct). If no, \(F\) is a gauging logical fault (left disjunct).
The gauging dichotomy is exclusive: a gauging logical fault is not a gauging stabilizer.
Assume \(F\) is a gauging logical fault and suppose it is also a stabilizer. The logical fault condition gives \(\neg \, \operatorname {outcomePreserving}(F)\), while the stabilizer condition gives \(\operatorname {outcomePreserving}(F)\), a contradiction.
A gauging stabilizer is not a gauging logical fault.
Assume \(F\) is a gauging stabilizer and suppose it is also a logical fault. The logical fault’s outcome-changing condition contradicts the stabilizer’s outcome-preserving condition.
A syndrome-free gauging fault is a logical fault if and only if it is not a stabilizer.
For the forward direction, apply \(\operatorname {gaugingLogicalFault\_ not\_ stabilizer}\). For the reverse direction, assume \(F\) is syndrome-free but not a stabilizer. We construct the logical fault: the first component is syndrome-freeness. For the second, assume for contradiction that \(F\) is outcome-preserving; then pairing with syndrome-freeness gives a stabilizer, contradicting the hypothesis.
A syndrome-free gauging fault is a stabilizer if and only if it is not a logical fault.
For the forward direction, assume \(F\) is a stabilizer and suppose it is also a logical fault; we apply \(\operatorname {gaugingLogicalFault\_ not\_ stabilizer}\) to derive a contradiction. For the reverse direction, assume \(F\) is syndrome-free but not a logical fault. We construct the stabilizer: the first component is syndrome-freeness. For the second, suppose for contradiction that \(F\) is not outcome-preserving; then pairing with syndrome-freeness gives a logical fault, contradicting the hypothesis.