qml icon indicating copy to clipboard operation
qml copied to clipboard

Add tutorial

Open minhtriet opened this issue 10 months ago • 10 comments


Title: Find the first excitation energy of hydrogen molecule with VQD

Summary:

Relevant references:

Possible Drawbacks:

Related GitHub Issues:


If you are writing a demonstration, please answer these questions to facilitate the marketing process.

  • GOALS — Finding first excitation energy is necessary to model reaction

  • AUDIENCE — Chemistry researchers, beginners in quantum computing.

  • KEYWORDS — Quantum Chemistry

  • Which of the following types of documentation is most similar to your file? (more details here)

  • [x] Tutorial
  • [x] Demo
  • [x] How-to

[sc-64060]

minhtriet avatar Apr 17 '24 23:04 minhtriet

Hi can I get a thumbnail please :) Right now "/_static/large_demo_thumbnails/thumbnail_large_vqe_vqd.png is copied from another one

minhtriet avatar Apr 18 '24 20:04 minhtriet

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

  • Pull Request ID: 1075
  • Deployment SHA: e966320ca21c0be27f3c78d37ac65a054b6d4eb9 (The Deployment SHA refers to the latest commit hash the docs were built from)

Note: It may take several minutes for updates to this pull request to be reflected on the deployed site.

github-actions[bot] avatar Apr 18 '24 21:04 github-actions[bot]

Hi can I get a thumbnail please :) Right now "/_static/large_demo_thumbnails/thumbnail_large_vqe_vqd.png is copied from another one

Sure, let's wait until the end for that

KetpuntoG avatar Apr 24 '24 13:04 KetpuntoG

remember to click on re-request review once you have worked through all the changes 😄

KetpuntoG avatar Apr 24 '24 13:04 KetpuntoG

Hi @KetpuntoG, I have two questions

  1. I realized that in the last cell, I am using the data from Wikipedia (https://en.wikipedia.org/wiki/Hydrogen, search for the word 1312.0 kJ/mol), which is about H2 atom ionization energy (not excitation, still comparable). However, if I take a look at this paper, then excitation energy depends also on the distance R (I assume it is between the two H molecule). Do you happen to know a way to extract that distance in our current set up, or it should be a separate work.
  2. Where can I see the compiling error? Github action (https://github.com/PennyLaneAI/qml/actions/runs/8873883902) says everything is ok, but some of the latex broke, and my name as an author doesn't appear. Error messages may help me debug this.

I also resolved most of the comments, but not all. Feel free to close comments / create a new ones :)

minhtriet avatar Apr 29 '24 06:04 minhtriet

Hi @KetpuntoG, I have two questions

  1. I realized that in the last cell, I am using the data from Wikipedia (https://en.wikipedia.org/wiki/Hydrogen, search for the word 1312.0 kJ/mol), which is about H2 atom ionization energy (not excitation, still comparable). However, if I take a look at this paper, then excitation energy depends also on the distance R (I assume it is between the two H molecule). Do you happen to know a way to extract that distance in our current set up, or it should be a separate work.
  2. Where can I see the compiling error? Github action (https://github.com/PennyLaneAI/qml/actions/runs/8873883902) says everything is ok, but some of the latex broke, and my name as an author doesn't appear. Error messages may help me debug this.

I also resolved most of the comments, but not all. Feel free to close comments / create a new ones :)

Hi! When you create the molecule, you specify the distance as bond_length.

On the other hand you can check the exact energy by h2.fci_energy.

Your name will not appear yet because you are not in the database but don't worry about that.

To see the details of the error, there is a button to the right of the tests with a red cross that says "details"

I'm going to read the demo again :)

KetpuntoG avatar May 01 '24 13:05 KetpuntoG

Please @minhtriet , do not make any changes to the demo today ⚒️

KetpuntoG avatar May 06 '24 21:05 KetpuntoG

Please @minhtriet , do not make any changes to the demo today ⚒️

Hi, sorry. Shall I try to edit it again tmr? Am trying to make the citing work

minhtriet avatar May 06 '24 21:05 minhtriet

Yes sorry, better tomorrow 💪 We are using to much Github resources and tomorrow we have the release

KetpuntoG avatar May 06 '24 21:05 KetpuntoG

I as trying to get some experimental value for the session Setting expectation but has no luck. Perhaps there is a source out there?

minhtriet avatar May 30 '24 20:05 minhtriet

Hi @soranjh , your last comments have been addressed We are ready for the review 😄

KetpuntoG avatar Jul 05 '24 20:07 KetpuntoG

@ikurecic Thank you, my Pennylane account is at https://www.pennylane.ai/profile/mchau

minhtriet avatar Jul 25 '24 22:07 minhtriet

@ikurecic Thank you, my Pennylane account is at https://www.pennylane.ai/profile/mchau

Thanks for that, @minhtriet ! If you can add a photo and short headline to your profile, that would be fantastic.

I see you've been making some changes based on my suggestions. Please feel free to go through the rest of the comments/suggestions, and tag me after you've addressed them. ☺ We're almost done!

ikurecic avatar Jul 26 '24 08:07 ikurecic

(The check error is on our end and it will hopefully be resolved soon, so you can go ahead and continue with the comments. ☺)

ikurecic avatar Jul 29 '24 12:07 ikurecic

Hi @minhtriet , I see you've been making some updates — could I ask you to look at the remaining suggestions/comments? I think we will be ready to merge this once you do. Please let me know if you have any questions.

ikurecic avatar Aug 02 '24 11:08 ikurecic