Skip to content

Add support for terminal flip MC during ring-break perturbations#159

Merged
lohedges merged 1 commit into
develfrom
feature_ring_break_terminal_flip
Jun 23, 2026
Merged

Add support for terminal flip MC during ring-break perturbations#159
lohedges merged 1 commit into
develfrom
feature_ring_break_terminal_flip

Conversation

@lohedges

Copy link
Copy Markdown
Contributor

This PR adds support for terminal-flip MC simulations during ring-breaking perturbations, which were previously forbidden. To do so we check for terminal groups at either end state, then generated a deduplicated set of states. Attempting to flip a state that is only present in one state at a lambda value where it is not present will just result in a failed attempt, so is a safe operation.

The PR also adds to clamp to an exponent to avoid overflow in a log message.

@lohedges lohedges added enhancement New feature or request cresset Related to work with Cresset labels Jun 23, 2026
@lohedges lohedges merged commit 57267f9 into devel Jun 23, 2026
4 checks passed
@lohedges lohedges deleted the feature_ring_break_terminal_flip branch June 23, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cresset Related to work with Cresset enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant