-
Notifications
You must be signed in to change notification settings - Fork 23
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
Evaluations Tutorial Notebook #146
Evaluations Tutorial Notebook #146
Conversation
In this PR and #147, I have just updated the template examples to make more sense (i.e., dimension of MO basis is same as dimension of AO basis and only one density matrix is used). Again, this is just a template, so we need a better example. Perhaps @PaulWAyers should weigh in here (you mentioned hydrogen selenide as a good running example, I believe). |
If we want an example where we have no calculations undergirding it, the ANOs are a good choice. The ANOs themselves are "molecular orbitals" and if one wishes to check a transformation thereof, one can do a random transformation with unit determinant, i.e., a transformation in where the exponentiation is the matrix exponential and This would have the "right structure" for AOs (nonorthogonal but normalized and linearly independent) and MOs (orthogonal and normalized). As for a "real molecule" I think that |
63d72e6
to
882abee
Compare
Hi @maximilianvz and @FarnazH, I am very sorry for the lateness, I know we are short on time. Here is the evaluation tutorial (the part regarding the electron density and associated properties). I split it into parts (if not it would be too big). I think some of these examples can be used for the manuscript (at least the ideas). If needed I can make a version with the graphs with better quality. I used the formaldehyde molecule but we can (easily) change it. I will be working on what is missing, evaluations of orbitals, properties derived from 1rdm and electrostatic potential. PD: The headings across the notebooks have an inconsistency. In |
@marco-2023, thanks for your updates to this notebook. The added visual aspects look really great! Based on my understanding of your message above, you want to make separate notebooks for density/related properties, electrostatic potential, etc. Is that correct? My main comment is on the last part of the notebook: ![]() What is promised in the highlighted text is not done. I'm not sure if you plan on adding a plot for this part of the notebook, but if not, that sentence should be removed. Also, the part about "In the example code below, presume the following derivative of the density is desired:" should be removed, I believe. On the topic of numbering versus not numbering headings, it seems like it's easier to get away with not numbering them in this notebook as compared to the others, because each section is pretty intimately connected with the last. In this way, you can tell a story nicely about what you're doing, but I don't see why you couldn't still number the headings. In my opinion, its probably easier to keep numbering them, but if feel strongly about it, I have no problem with removing them from the other notebooks (this is probably the option requiring more work), so long as fluidity is not compromised. I agree that the file names could be more illustrative. If you have suggestions, please push them. Thanks! |
Thanks, @maximilianvz for going through the notebooks in detail. I fixed the issues you pointed out. It happened again that I first wrote the idea that was going to be implemented, then changed it to something more interesting and then I forgot to update the markdown part. Sorry for that. |
@maximilianvz, @FarnazH I added the last examples notebook (it took me more than I thought, sorry about that). The order of the notebooks can be improved (I did not have as much time as I would want for this). @maximilianvz, feel free to modify them.
@FarnazH when you can, please let me know which parts will be used on the paper and I can make the paper notebook . Again sorry for the lateness. |
@marco-2023, it looks to me like there are two nearly identical notebooks here: |
@marco-2023, in On the topic of Ehrenfest Hessian from ![]() where you say that it should be zero, but the assertion yields |
Hi @maximilianvz I renamed the file On this note, this second file does not have the positive definite kinetic energy example, I moved the example to 1rdms properties because it is a property derived from it. |
I think Ehrenfest force should be zero (a zero vector) at the center-of-mass for a symmetric system, as it will be a critical/Lagrange point. I would be very surprised if the Ehrenfest Hessian were the zero matrix. |
Hi @maximilianvz , I fixed the problem of the duplicated notebooks. I left |
Thank you @PaulWAyers for pointing out the error, I fixed the print statement accordingly. |
Hi @marco-2023, I was checking this tutorials, I might be wrong but I think you may be referencing the wrong fchk in the |
Hi @leila-pujal |
No worries! Thanks for making the tutorials they look really good with the visualization. I'll message you again if I have other doubts before merging the PR and the integrals one. Thanks again for all the work you put into making the tutorials. |
for more information, see https://pre-commit.ci
I split the evaluations tutorial and grouped teh electron density and its related properties.
Fixed plane used in the examples Fixed calculate the norm of the Ehrenfest force before plot
- Move `ch2o_q_0.fchk` to tutorials folder - Delete `c2h4_q0.fchk` and use `C2H4_hf_ccpvdz.fchk instead` - Fix 3d visualization error
1a8052c
to
0661fef
Compare
Hi @marco-2023 and @maximilianvz , I went over your notebooks a while ago and everything looked good to me. I am adding some minor changes, mainly to what fchk files we are adding to the repo. I force-pushed this branch because pre-commit bot made changes before we excluded this folder from its workflow. I will merge this after the tests pass. Thanks a lot for working on this. |
Steps
Add tests for each unit of code added (e.g. function, class)Update documentationDescription
This is a separated notebook corresponding to the Evaluations section of the notebook from PR #142 (closed).
Type of Changes
Related Issue