Skip to content

add impurity prefix to output files; fix spin-symmetry in Uijkl#5

Merged
yangyu-code merged 6 commits intomainfrom
inchworm
Jan 30, 2026
Merged

add impurity prefix to output files; fix spin-symmetry in Uijkl#5
yangyu-code merged 6 commits intomainfrom
inchworm

Conversation

@gauravharsha
Copy link
Contributor

@gauravharsha gauravharsha commented Jan 26, 2026

Key changes for

  1. handling different impurities in the INCHWORM workflow, where SEET runs one iteration at a time and then terminates to allow the impurity solver to run its jobs.
  2. fixing spin-symmetry in Uijkl file that is generated in the INCHWORM workflow.
  3. testing for the INCHWORM workflow - requires updating the transform.h5 file, generation of which depends on Pull request draft for green-grids.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the INCHWORM workflow to support multiple impurities by adding impurity-specific prefixes to output files, and fixes a spin-symmetry bug in the generation of the two-body interaction tensor (Uijkl file).

Changes:

  • Added impurity index prefix to output filenames (hopping.txt, delta.txt, Uijkl.txt) to enable handling of multiple impurities
  • Restructured Uijkl generation loops to enforce spin symmetry by explicitly separating spin and orbital indices, ensuring only spin-symmetric terms are output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gauravharsha
Copy link
Contributor Author

@yangyu-code the code is now ready for review.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

gauravharsha and others added 3 commits January 29, 2026 02:21
remove require() on cleanup

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@yangyu-code yangyu-code merged commit 5807652 into main Jan 30, 2026
2 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.

3 participants