Skip to content

Add sweep history logging to polynomial SA sampling - #526

Draft
termoshtt wants to merge 1 commit into
mainfrom
codex/add-sa-log-history
Draft

termoshtt wants to merge 1 commit into
mainfrom
codex/add-sa-log-history

Conversation

@termoshtt

Copy link
Copy Markdown
Member

Summary

  • add opt-in per-sweep energy and temperature histories for binary and Ising polynomial simulated annealing through the C++ API, pybind bindings, and SASampler.sample_hubo
  • select history recording once per sampling run and compile history operations out of disabled update loops
  • accumulate accepted energy differences in pre-reserved per-read buffers and return empty (num_reads, 0) histories when logging is disabled
  • reject history requests on unsupported legacy and k-local paths, reserve the existing integer-SA history buffers, and add coverage for logging transitions and supported sampler variants

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