Skip to content

More UCC Features - #601

Draft
ajay-mk wants to merge 5 commits into
masterfrom
ajay/feat/more-ucc
Draft

More UCC Features#601
ajay-mk wants to merge 5 commits into
masterfrom
ajay/feat/more-ucc

Conversation

@ajay-mk

@ajay-mk ajay-mk commented Aug 28, 2026

Copy link
Copy Markdown
Member

Changes

  • Add UCCEOMAssembly to select commutator or projected-Hbar UCC EOM equations.
  • Keep traditional CC on its existing connected Hbar * R path and reject UCC-only assembly options.
  • Add hbar_singles_comm_rank to apply an additional singles-only similarity transform after the primary BCH expansion.
  • Store the engine configuration as CC::Options and add CC::with() for constructing validated configuration variants.
  • Reject orbital-optimized configurations that include singles and Bernoulli configurations that request the additional singles transform.
  • Update the API documentation

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.
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