Skip to content

fix: correct noise model — 4 identifiable params, drop anomalous Bell… - #7

Merged
dinohatibovic merged 1 commit into
mainfrom
noise-model-fix
Jul 22, 2026
Merged

fix: correct noise model — 4 identifiable params, drop anomalous Bell…#7
dinohatibovic merged 1 commit into
mainfrom
noise-model-fix

Conversation

@dinohatibovic

Copy link
Copy Markdown
Owner

… row

  • readout collapsed to a single rate r: the previous r0/r1 pair was non-identifiable (model used only their average, optimizer returned r0==r1), so the '5-parameter' model was really 4
  • N_PARAMS_EXTENDED=4 now used in the AIC/BIC penalty (was miscounted as 5)
  • implement fit_simple_model (2-param) so compare_models uses a real fitted SSE instead of the notebook-06 placeholder (sse_ext*1.5)
  • aic_bic_from_sse guards sigma2<=0 (no more -inf)
  • self-test uses the three verified Bell fidelities (0.859/0.940/0.944); the anomalous d5sd9mv (0.9630) row is excluded, matching the CSV/docs
  • self-test correctly prefers the simple model for 3 points
  • analysis/README.md updated to match

Claude-Session: https://claude.ai/code/session_01N5MUSLxPMgCHtck8iMkCvD

Pull request

Summary

Describe the purpose of this pull request.

Changes

  • List the main changes.
  • Mention updated files or documentation.
  • Note any follow-up work.

Validation

  • Ran bash scripts/smoke_test.sh
  • Ran bash scripts/verify_checksums.sh
  • Updated documentation if needed

Additional context

Add screenshots, logs, or related issue links if helpful.

… row

- readout collapsed to a single rate r: the previous r0/r1 pair was
  non-identifiable (model used only their average, optimizer returned
  r0==r1), so the '5-parameter' model was really 4
- N_PARAMS_EXTENDED=4 now used in the AIC/BIC penalty (was miscounted as 5)
- implement fit_simple_model (2-param) so compare_models uses a real fitted
  SSE instead of the notebook-06 placeholder (sse_ext*1.5)
- aic_bic_from_sse guards sigma2<=0 (no more -inf)
- self-test uses the three verified Bell fidelities (0.859/0.940/0.944);
  the anomalous d5sd9mv (0.9630) row is excluded, matching the CSV/docs
- self-test correctly prefers the simple model for 3 points
- analysis/README.md updated to match

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N5MUSLxPMgCHtck8iMkCvD
@dinohatibovic
dinohatibovic merged commit a8252b2 into main Jul 22, 2026
2 checks passed
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.

2 participants