Skip to content

Add HPhi Hubbard momentum standard mode - #61

Merged
tmisawa merged 2 commits into
developfrom
feature/hphi-hubbard-standard-momentum
Jul 9, 2026
Merged

Add HPhi Hubbard momentum standard mode#61
tmisawa merged 2 commits into
developfrom
feature/hphi-hubbard-standard-momentum

Conversation

@tmisawa

@tmisawa tmisawa commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Allow HPhi Standard mode MomentumIndex for canonical one-dimensional Hubbard chains.
  • Keep the existing Spin guard behavior and split the MomentumIndex validation into Spin and Hubbard model-specific helpers.
  • Reject unsupported Hubbard Standard mode combinations, including GC, non-chain lattices, boundary phases, missing fixed nelec/2Sz, longer-range hopping, fields, offsite Coulomb terms, general interactions, pair terms, and unsupported solver methods.

Supported HPhi scope

  • model = FermionHubbard or Hubbard
  • lattice = chain
  • fixed nelec and 2Sz
  • Lanczos or CG
  • nearest-neighbor hopping and onsite U

Verification

Validated through the dependent HPhi CF4b branch:

  • Standard generated qptransidx.def matches hand-written expert-mode TransSym for L=4, nelec=2, 2Sz=0, MomentumIndex=0, U=0.5.
  • The MomentumIndex=0 sector matches the TransSym-free full-space reference.
  • MomentumIndex=1, U=0 gives the expected sector energy -2.0 and the generated translation character for one-site translation is (0, -1).
  • Negative cases reject invalid MomentumIndex, boundary phase, missing 2Sz, offsite Coulomb terms, non-chain lattices, and FullDiag.
  • The generated expert input passes serial and MPI checks with 4 and 16 ranks.

@tmisawa
tmisawa merged commit 32efd2d into develop Jul 9, 2026
12 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.

1 participant