Skip to content

Cleanup#306

Merged
ciaranra merged 128 commits into
devfrom
worktree-cleanup
May 13, 2026
Merged

Cleanup#306
ciaranra merged 128 commits into
devfrom
worktree-cleanup

Conversation

@ciaranra
Copy link
Copy Markdown
Member

No description provided.

ciaranra added 30 commits April 11, 2026 20:36
Wraps existing DagFaultAnalyzer + DemSamplerBuilder + DemSampler pipeline
behind a single builder-style type. Lives in pecos-qec alongside the DEM
machinery it wraps (input/output shape is QEC-specific: detectors and
observables, not generic quantum state). Parity test confirms identical
shot batches vs the raw pipeline given equal seeds.
MemStabSim wraps MemBuilder + MeasurementNoiseModel for raw-measurement
sampling, parallel to DemStabSim which wraps DemSampler for detector-level
sampling. Same builder pattern; different aggregation level.

MemStabSim is the honest shape for engine integration (classical engine
wants raw measurement outcomes). DemStabSim stays as the batch research
API for detector events.
- Rename user-facing entry: sample_stab() -> pecos.sampling.stab().
- Document X4 (top-level sim()/sim_neo() + sampling.* catalog) with rejected
  alternatives X1-X3 spelled out.
- Catalog as aliases-not-rivals: sampling.monte_carlo ~ sim, sampling.neo ~
  sim_neo, sampling.stab new.
- Establish graduation rule: submodule entry -> top-level shortcut only when
  load-bearing.
- Reject 'orchestrator as top-level concept' with reasoning.
- Pick .sampling(...) over .orchestration(...) as builder verb: sampling
  strategy varies, orchestrator is singular.
- Mark Path A (QuantumEngine record-and-replay) superseded in skeleton doc.
@PECOS-packages PECOS-packages deleted a comment from coderabbitai Bot May 12, 2026
@ciaranra ciaranra marked this pull request as ready for review May 13, 2026 02:50
@ciaranra ciaranra merged commit 36985e6 into dev May 13, 2026
113 of 115 checks passed
@ciaranra ciaranra deleted the worktree-cleanup branch May 13, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant