Abstract
To utilize quantum error-correcting codes, a decoder must infer the logical sector from the measured syndrome. Beyond producing a hard logical decision, some decoders provide soft information that estimates the reliability of that decision. For minimum-weight perfect matching (MWPM), a common confidence measure is the complementary gap. Neural-network decoders trained with binary cross entropy naturally output a different confidence score, the logit, whose usefulness for post-selection has already been demonstrated. Here, we compare the logit of a pretrained graph neural-network (GNN) decoder with the complementary gaps of uncorrelated and correlation-aware MWPM, evaluated on identical syndromes from rotated-surface-code memory experiments under circuit-level noise. Incorporating correlations substantially improves matching-based hard decisions, post-selection performance, and calibration, reversing the GNN's advantage at larger code distances while leaving it superior at smaller distance. Exchanging confidence scores shows that their ability to rank logical failures is decoder-relative. An exact-posterior comparison at small distance, together with larger-distance log-loss measurements, further shows that neither score universally provides the closer approximation to posterior soft information. These results reveal that much of the apparent advantage of learned confidence over the standard matching gap arises from correlations omitted by the matching model. Nevertheless, learned logits provide useful soft information without requiring an explicit detector error model or competing-sector matching calculations at inference, offering an alternative where matching-based confidence is costly or unavailable.