Definition 9: Syndrome #
Statement #
The syndrome of a spacetime fault (Def 7) is the set of detectors (Def 8) that are violated by the fault. A detector is violated if the product of its measurement outcomes is −1 instead of the expected +1.
Equivalently, working over Z₂, if detectors are indexed as D₁, …, Dₘ, the syndrome can be identified with a binary vector s ∈ Z₂^m where sⱼ = 1 iff detector Dⱼ is violated.
Main Results #
syndromeFault: The syndrome of a spacetime fault as a finset of detector indicessyndromeVec: The syndrome as a binary vector s ∈ (I → ZMod 2)mem_syndromeFault_iff: Detector i is in the syndrome iff it is violated by the faultsyndromeVec_eq_one_iff: s(i) = 1 iff detector i is violated
Corollaries #
syndromeFault_empty: The syndrome is empty for the fault-free configurationsyndromeVec_zero: The syndrome vector is zero for no faultssyndromeFault_eq_syndrome: The spacetime syndrome reduces to the time-fault syndromesyndromeVec_sum: The sum of the syndrome vector counts violated detectors (mod 2)
Decidability of isViolated #
Detector.isViolated is decidable because it reduces to equality in ZMod 2,
which has DecidableEq.
Equations
- D.decidableIsViolated faults = inferInstanceAs (Decidable (D.observedParity faults = 1))
Syndrome of a Spacetime Fault #
The syndrome of a spacetime fault F with respect to a collection of detectors: the finset of detector indices that are violated by F. Since detectors depend only on measurement outcomes (time-faults flip outcomes), the syndrome is determined by the time-fault component of F.
Equations
- syndromeFault detectors F = {i : I | (detectors i).isViolated F.timeFaults}
Instances For
The syndrome as a binary vector: s(i) = 1 if detector i is violated, 0 otherwise. This is the Z₂^m representation from the paper.
Equations
- syndromeVec detectors F i = if (detectors i).isViolated F.timeFaults then 1 else 0
Instances For
Membership and characterization #
A detector index is in the syndrome iff the detector is violated by the spacetime fault.
The syndrome vector is 1 at index i iff detector i is violated.
The syndrome vector is 0 at index i iff detector i is not violated.
Consistency with Def_8 syndrome #
The spacetime syndrome equals the Def_8 syndrome applied to the time-fault component. This captures the key fact that detectors depend only on measurement outcomes, so only time-faults affect the syndrome.
Empty fault syndrome #
The syndrome is empty for the fault-free spacetime configuration.
The syndrome vector is zero for the fault-free configuration.
Syndrome vector and finset correspondence #
The syndrome finset is exactly the support of the syndrome vector.
Membership in syndrome finset iff the syndrome vector entry is 1.
Not in syndrome finset iff the syndrome vector entry is 0.
Space-faults do not affect the syndrome #
Space-faults do not affect the syndrome: two spacetime faults with the same time-faults produce the same syndrome. This formalizes the key insight that the syndrome depends only on measurement outcome flips (time-faults).
The syndrome vector is the same for faults with identical time-fault components.
Syndrome of pure space-faults and pure time-faults #
A pure space-fault (no time-faults) has empty syndrome.
A pure space-fault has zero syndrome vector.
Syndrome cardinality #
The number of violated detectors equals the cardinality of the syndrome.
Syndrome sum (mod 2) #
The sum of the syndrome vector counts the number of violated detectors mod 2.
Syndrome determined by flip parity #
The syndrome is equivalently described using flip parities of detectors.
The syndrome vector can be computed via flip parities.
Single fault syndrome #
A pure space-fault has empty syndrome: space-faults don't violate detectors.
A detector not containing any faulted measurement is not violated.
Syndrome determines information about errors #
The syndrome captures the error information revealed by detectors: two faults produce the same syndrome iff they violate the same detectors.
Two faults with the same syndrome have identical syndrome vectors.