Skip to content

Assemble Hamiltonian by operator - #55

Draft
ohno wants to merge 1 commit into
mainfrom
codex/issue-35-loop-order
Draft

Assemble Hamiltonian by operator#55
ohno wants to merge 1 commit into
mainfrom
codex/issue-35-loop-order

Conversation

@ohno

@ohno ohno commented Aug 14, 2026

Copy link
Copy Markdown
Member

Summary

  • assemble the Rayleigh–Ritz Hamiltonian with the operator loop outermost
  • verify that the assembled matrix equals the sum of its operator matrices
  • acknowledge feedback from JuliaHEP Workshop 2025 participants

Impact

Matrix assembly reuses each operator across the basis-pair loop while preserving the numerical result.

Validation

  • Pkg.test() — 552/552 tests passed
  • git diff --check

Closes #35


This pull request was developed with assistance from Codex using GPT-5.6 Sol with High reasoning effort.

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.

Change the loop structure

1 participant