More UCC Features - #601
Draft
ajay-mk wants to merge 5 commits into
Draft
Conversation
Keeps CC::Options whole rather than decomposing it into one member per option, so with() can round-trip it losslessly — Options::skip_singles stays optional<bool> and is resolved on demand by skip_singles(), rather than being pinned to a resolved bool at construction. with() takes a single callable mutating Options and rebuilds through the normal constructor, so the result is validated while no intermediate state exists to be invalid. That matters because the ctor invariants couple the options: a chain of per-option setters would have to pass through configurations that cannot be valid. This supersedes with_hbar_comm_rank, which was removed separately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
UCCEOMAssemblyto select commutator or projected-HbarUCC EOM equations.Hbar * Rpath and reject UCC-only assembly options.hbar_singles_comm_rankto apply an additional singles-only similarity transform after the primary BCH expansion.CC::Optionsand addCC::with()for constructing validated configuration variants.