-
Notifications
You must be signed in to change notification settings - Fork 216
DMET Demo #1330
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?
Conversation
|
👋 Hey, looks like you've updated some demos! 🐘 Don't forget to update the Please hide this comment once the field(s) are updated. Thanks! |
Co-authored-by: Soran Jahangiri <[email protected]>
Co-authored-by: Soran Jahangiri <[email protected]>
Co-authored-by: Soran Jahangiri <[email protected]>
Co-authored-by: Soran Jahangiri <[email protected]>
demonstrations_v2/tutorial_dmet_embedding/tutorial_dmet_embedding.py
Outdated
Show resolved
Hide resolved
Your preview is ready 🎉!You can view your changes here
|
| # | ||
| # one_elec = one_particle(h1[0]) | ||
| # two_elec = two_particle(np.swapaxes(h2, 1, 3)) # swap to physicist's notation | ||
| # qubit_op = observable([one_elec,two_elec], mapping="jordan_wigner") |
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.
Same, print only some of its components 😉
Co-authored-by: ixfoduap <[email protected]>
|
ixfoduap
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.
Please address my minor comments before merging
Co-authored-by: ixfoduap <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
josh146
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.
Thanks @ddhawan11. I'm curious, was there a reason for not making this tutorial executable? Based on the requirements (things just needing to be pip installable), this looks very doable.
Co-authored-by: Josh Izaac <[email protected]>
|
Before submitting
Please complete the following checklist when submitting a PR:
Ensure that your tutorial executes correctly, and conforms to the
guidelines specified in the README.
Remember to do a grammar check of the content you include.
All tutorials conform to
PEP8 standards.
To auto format files, simply
pip install black, and thenrun
black -l 100 path/to/file.py.When all the above are checked, delete everything above the dashed
line and fill in the pull request template.
Title:
Density Matrix Embedding Theory (DMET) Demo
Summary:
This demo outlines the basics of density matrix embedding theory, and provides instructions on how to execute the method.
Relevant references:
Possible Drawbacks:
Related GitHub Issues:
If you are writing a demonstration, please answer these questions to facilitate the marketing process.
GOALS — Why are we working on this now?
Eg. Promote a new PL feature or show a PL implementation of a recent paper.
AUDIENCE — Who is this for?
Eg. Chemistry researchers, PL educators, beginners in quantum computing.
KEYWORDS — What words should be included in the marketing post?
Which of the following types of documentation is most similar to your file?
(more details here)