Expand description
Sort-merge propagation pipeline: scan → bucket → merge. See §5.
Constants§
- SMALL_
SUM_ THRESHOLD - Empirical threshold below which a hashmap-based fast path beats sort-merge (§8.3). Subject to benchmarking.
Functions§
- apply_
layer - Apply a single channel to a
PauliSum, producing the next layer. - apply_
layer_ adjoint - Apply a channel’s adjoint to a
PauliSum. Used bypropagateinDirection::Heisenbergmode; structurally identical toapply_layerbut routes throughChannel::apply_adjoint.