Mathematical Foundations¶
This page captures the minimum canonical equations used across LiDMaS+ workflows. For extended derivations, see LiDMaS+ Math Notes.
Binary Field and Syndrome Map¶
All parity operations are over \( \mathbb{F}_2 \):
For parity-check matrix \(H\) and error vector \(e\):
Surface-code geometry used in paper_04 generators:
Logical Failure Indicator¶
With residual error \(e^{res}=e \oplus c\), logical event indicators are evaluated on canonical logical supports:
and aggregated into logical-error statistics across trials.
Noise Models¶
Pauli mode:
GKP displacement-to-bit mapping (simplified):
with parity extraction from integer bins.
Statistical Estimators¶
For \(N\) trials and \(k\) failures:
Confidence intervals are computed and exported (Wilson/bootstrap depending on workflow stage).
Threshold/Scaling Form¶
Finite-size scaling uses:
with fit objective over binned variance/collapse quality.