Def_10: Spacetime Logical Fault #
Statement #
A spacetime logical fault is a collection of space-faults and time-faults that:
- Does not violate any detector (has empty syndrome), AND
- Causes a logical error, i.e., changes the outcome of the gauging measurement or introduces a logical Pauli error on the encoded quantum information.
A spacetime stabilizer is a collection of space-faults and time-faults that:
- Does not violate any detector (has empty syndrome), AND
- Does NOT affect the logical information or measurement outcome.
Every fault with empty syndrome is either a spacetime stabilizer (trivial) or a spacetime logical fault (non-trivial). The set of spacetime stabilizers forms a group, and two faults are equivalent if they differ by a spacetime stabilizer.
Main Definitions #
Syndrome: The set of detectors violated by a spacetime faulthasEmptySyndrome: Whether a fault has empty syndrome (violates no detectors)IsSpacetimeStabilizer: Faults with empty syndrome that don't affect logical informationIsSpacetimeLogicalFault: Faults with empty syndrome that DO affect logical informationFaultEquivalent: Equivalence relation where faults differ by a stabilizer
Key Properties #
spacetimeStabilizerSubgroup: Spacetime stabilizers form a subgroupemptySyndrome_partition: Empty-syndrome faults partition into stabilizers and logical faultsfaultEquivalent_equivalence: Fault equivalence is an equivalence relation
Syndrome #
The syndrome of a spacetime fault is the set of detectors it violates.
Apply a spacetime fault to measurement outcomes. Time-faults flip outcomes.
Equations
- applyFaultToOutcomes baseOutcomes fault m t = if fault.timeErrors m t = true then baseOutcomes m t + 1 else baseOutcomes m t
Instances For
Compute the syndrome of a spacetime fault given a detector collection. The syndrome is the set of detectors violated by the fault.
Equations
- computeSyndrome DC baseOutcomes fault = {D ∈ DC.detectors | D.isViolated (applyFaultToOutcomes baseOutcomes fault)}
Instances For
The syndrome as a predicate on detectors
Equations
- inSyndrome DC baseOutcomes fault D = (D ∈ computeSyndrome DC baseOutcomes fault)
Instances For
A fault has empty syndrome if it violates no detectors
Equations
- hasEmptySyndrome DC baseOutcomes fault = (computeSyndrome DC baseOutcomes fault = ∅)
Instances For
Equations
- decHasEmptySyndrome DC baseOutcomes fault = inferInstanceAs (Decidable (computeSyndrome DC baseOutcomes fault = ∅))
Identity fault has empty syndrome #
The identity fault has empty syndrome (in any fault-free base outcome setting)
Logical Effect Predicate #
To distinguish spacetime stabilizers from logical faults, we need a notion of "affecting logical information". We model this abstractly.
Abstract predicate: whether a fault affects the logical information. This captures:
- Changes to the gauging measurement outcome
- Introduction of logical Pauli errors on encoded qubits
In practice, this is determined by the code structure and logical operators.
Equations
- affectsLogicalInfo logicalEffect fault = logicalEffect fault
Instances For
The negation: fault does NOT affect logical info
Equations
- preservesLogicalInfo logicalEffect fault = ¬logicalEffect fault
Instances For
Spacetime Stabilizers #
Spacetime stabilizers are faults with empty syndrome that preserve logical information.
A spacetime stabilizer: empty syndrome AND preserves logical information
- emptySyndrome : hasEmptySyndrome DC baseOutcomes fault
The fault has empty syndrome (violates no detectors)
- preservesLogical : preservesLogicalInfo logicalEffect fault
The fault preserves logical information
Instances For
The set of spacetime stabilizers as a set
Equations
- spacetimeStabilizerSet DC baseOutcomes logicalEffect = {f : SpacetimeFault V E M | IsSpacetimeStabilizer DC baseOutcomes logicalEffect f}
Instances For
Spacetime Logical Faults #
Spacetime logical faults are faults with empty syndrome that DO affect logical information.
A spacetime logical fault: empty syndrome AND affects logical information
- emptySyndrome : hasEmptySyndrome DC baseOutcomes fault
The fault has empty syndrome (violates no detectors)
- affectsLogical : affectsLogicalInfo logicalEffect fault
The fault DOES affect logical information
Instances For
The set of spacetime logical faults as a set
Equations
- spacetimeLogicalFaultSet DC baseOutcomes logicalEffect = {f : SpacetimeFault V E M | IsSpacetimeLogicalFault DC baseOutcomes logicalEffect f}
Instances For
Partition of Empty-Syndrome Faults #
Every fault with empty syndrome is either a stabilizer or a logical fault.
The set of faults with empty syndrome
Equations
- emptySyndromeSet DC baseOutcomes = {f : SpacetimeFault V E M | hasEmptySyndrome DC baseOutcomes f}
Instances For
Stabilizers and logical faults partition the empty-syndrome faults
Stabilizers and logical faults are disjoint
Union of stabilizers and logical faults equals empty-syndrome set
Spacetime Stabilizers Form a Subgroup #
Under appropriate conditions on the logical effect predicate, spacetime stabilizers form a subgroup of all spacetime faults.
Condition: logical effect is preserved under product (group-like)
- identity_preserves : ¬logicalEffect 1
Identity preserves logical info
- mul_preserves (f g : SpacetimeFault V E M) : ¬logicalEffect f → ¬logicalEffect g → ¬logicalEffect (f * g)
Product of two stabilizers is a stabilizer (closure under multiplication)
- inv_preserves (f : SpacetimeFault V E M) : ¬logicalEffect f → ¬logicalEffect f⁻¹
Inverse of a stabilizer is a stabilizer
Instances For
Condition: syndrome computation respects the group structure
- identity_empty : hasEmptySyndrome DC baseOutcomes 1
Identity has empty syndrome
- mul_respects (f g : SpacetimeFault V E M) : hasEmptySyndrome DC baseOutcomes f → hasEmptySyndrome DC baseOutcomes g → hasEmptySyndrome DC baseOutcomes (f * g)
Product respects syndrome
- inv_respects (f : SpacetimeFault V E M) : hasEmptySyndrome DC baseOutcomes f → hasEmptySyndrome DC baseOutcomes f⁻¹
Inverse respects syndrome
Instances For
Spacetime stabilizers form a subgroup under the right conditions
Equations
- spacetimeStabilizerSubgroup DC baseOutcomes logicalEffect h_logical h_syndrome = { carrier := spacetimeStabilizerSet DC baseOutcomes logicalEffect, mul_mem' := ⋯, one_mem' := ⋯, inv_mem' := ⋯ }
Instances For
Fault Equivalence #
Two faults are equivalent if they differ by a spacetime stabilizer. This forms an equivalence relation.
Two faults are equivalent if they differ by a spacetime stabilizer
Equations
- FaultEquivalent DC baseOutcomes logicalEffect f g = IsSpacetimeStabilizer DC baseOutcomes logicalEffect (f⁻¹ * g)
Instances For
Fault equivalence is reflexive
Fault equivalence is symmetric
Fault equivalence is transitive
Fault equivalence is an equivalence relation
Fault equivalence as a Setoid
Equations
- faultSetoid DC baseOutcomes logicalEffect h_logical h_syndrome = { r := FaultEquivalent DC baseOutcomes logicalEffect, iseqv := ⋯ }
Instances For
Equivalence Classes as Cosets #
Fault equivalence classes correspond to cosets of the stabilizer subgroup.
The quotient by fault equivalence is the quotient by the stabilizer subgroup
Equations
- FaultQuotient DC baseOutcomes logicalEffect h_logical h_syndrome = (SpacetimeFault V E M ⧸ spacetimeStabilizerSubgroup DC baseOutcomes logicalEffect h_logical h_syndrome)
Instances For
Characterization: Logical Fault iff Non-trivial Coset #
A fault is a logical fault iff it represents a non-trivial coset in the quotient.
A fault with empty syndrome is a spacetime logical fault iff it's NOT a stabilizer
Summary #
This formalization captures:
Syndrome: The set of detectors violated by a fault.
Spacetime Stabilizers: Faults with empty syndrome that preserve logical information. These form a subgroup under appropriate conditions.
Spacetime Logical Faults: Faults with empty syndrome that DO affect logical information.
Partition: Every empty-syndrome fault is either a stabilizer or a logical fault.
Fault Equivalence: Two faults are equivalent if they differ by a stabilizer. This is an equivalence relation.