Skip to content

Conversation

@briling
Copy link
Contributor

@briling 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

@briling briling requested review from YAY-C and liam-o-marsh December 4, 2025 18:01
@briling
Copy link
Contributor Author

briling commented Dec 4, 2025

after #128

@briling
Copy link
Contributor Author

briling commented Dec 5, 2025

todo: check turbomole sign convention

Comment on lines +132 to +134
return scf.uhf.make_rdm1(c, occ)
else:
return scf.hf.make_rdm1(c, occ)
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

wait, what is it?

Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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

@briling briling marked this pull request as ready for review December 9, 2025 16:33
@briling
Copy link
Contributor Author

briling commented Dec 12, 2025

@liam-o-marsh do you think i can merge?

Copy link
Contributor

@liam-o-marsh liam-o-marsh left a 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

@briling briling requested review from liam-o-marsh and removed request for YAY-C December 16, 2025 22:00
@briling
Copy link
Contributor Author

briling commented Dec 16, 2025

@liam-o-marsh is it better now?

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