-
Notifications
You must be signed in to change notification settings - Fork 5
I/O modules #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
I/O modules #130
Conversation
briling
commented
Dec 4, 2025
- Reorganize i/o modules
- Improve ORCA interface
- Improve Metatensor interface
- Reorder MOs/DMs from Gaussian format
- Parce Turbomole MOs files
|
after #128 |
|
todo: check turbomole sign convention |
| return scf.uhf.make_rdm1(c, occ) | ||
| else: | ||
| return scf.hf.make_rdm1(c, occ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for compatibility's sake, you probably should add the ao_repr=True keyword, if it is accepted by those make_rdm1 functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait, what is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's to ensure that the rows/columns of the RDM correspond to atomic orbitals, not molecular/natural orbitals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah I see but in pyscf ao_repr is an argument for post-HF make_rdm1()s only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so if I understood your suggestion correctly we keep this function as is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, if it rejects the argument altogether then yes, keep it as is.
I know that for mol.RHF().run().make_rdm1() I can (and do) use it though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, it swallows kwargs I think.
ao_repr=False returns the same though, so I think it would be rather confusing
9450ad4 to
534ae7e
Compare
7681d8a to
d3acfad
Compare
d3acfad to
3fbde38
Compare
|
@liam-o-marsh do you think i can merge? |
liam-o-marsh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only found documentation fixes this time
|
@liam-o-marsh is it better now? |