KEMBAR78
New tutorial: generating the electronic hamiltonian by marwafar · Pull Request #2832 · NVIDIA/cuda-quantum · GitHub
Skip to content

Conversation

@marwafar
Copy link
Collaborator

This tutorial explain how to generate the electronic Hamiltonian then convert it to qubit hamiltonian using Jordan Wigner.

@mawolf2023 initially requested these to finally prepare a set of chemistry exercises that will go into CUDA-Q Academic. Other user also need this to introduce chemists (broadly) to the concepts of quantum computing using cudaq.

Signed-off-by: marwafar <mfarag@nvidia.com>
Signed-off-by: marwafar <mfarag@nvidia.com>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Apr 22, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@sacpis
Copy link
Collaborator

sacpis commented Apr 23, 2025

Would you please add it to the applications.rst file?

Signed-off-by: marwafar <mfarag@nvidia.com>
@marwafar
Copy link
Collaborator Author

marwafar commented Apr 23, 2025

Done. Please, note that when running the code, it will generate *.log and *.chk files. To avoid pushing those files, you might need to add these file extension in .gitignore

Signed-off-by: Sachin Pisal <spisal@nvidia.com>
@sacpis
Copy link
Collaborator

sacpis commented Apr 23, 2025

/ok to test 40ef658

Command Bot: Processing...

Signed-off-by: Sachin Pisal <spisal@nvidia.com>
@sacpis
Copy link
Collaborator

sacpis commented Apr 23, 2025

/ok to test 2bf498a

Command Bot: Processing...

@sacpis sacpis self-requested a review April 23, 2025 20:03
Copy link
Collaborator

@sacpis sacpis left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @marwafar.

@sacpis sacpis merged commit 7fb1c67 into NVIDIA:main Apr 23, 2025
197 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 23, 2025
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Apr 23, 2025
@bettinaheim bettinaheim added the documentation Improvements or additions to documentation label May 5, 2025
@bettinaheim bettinaheim added this to the release 0.11.0 milestone May 5, 2025
annagrin pushed a commit to annagrin/cuda-quantum that referenced this pull request Jun 17, 2025
* generate ham

Signed-off-by: marwafar <mfarag@nvidia.com>

* comment the print of ham

Signed-off-by: marwafar <mfarag@nvidia.com>

* update app.rst, title_imag

Signed-off-by: marwafar <mfarag@nvidia.com>

* fix format and spelling

Signed-off-by: Sachin Pisal <spisal@nvidia.com>

* fixing indentation and path

Signed-off-by: Sachin Pisal <spisal@nvidia.com>

---------

Signed-off-by: marwafar <mfarag@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Co-authored-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Anna Gringauze <agringauze@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants