PennyLaneAI / qml

Introductions to key concepts in quantum programming, as well as tutorials and implementations from cutting-edge quantum computing research.
https://pennylane.ai/qml
Apache License 2.0
537 stars 185 forks source link

GQE demo using Pennylane #1119

Closed JosephRRB closed 2 weeks ago

JosephRRB commented 4 months ago

Before submitting

Please complete the following checklist when submitting a PR:

When all the above are checked, delete everything above the dashed line and fill in the pull request template.


Title: Generative quantum eigensolver demo using Pennylane

Summary: We use Pennylane to generate a static molecular dataset and calculate the corresponding energies to train a small GPT model as described by https://arxiv.org/abs/2401.09253. We show that as training progresses, the GPT model generates operator sequences whose predicted energies more accurately resembles the true energies calculated by Pennylane. In addition, the sampling process is shown to better generate the ground state for better performing models.

Relevant references:

Possible Drawbacks:

Related GitHub Issues:


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

github-actions[bot] commented 4 months ago

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

josh146 commented 4 months ago

Hey @JosephRRB! You'll want to rename the tutorial file, to remove the tutorial_ part of the filename. this instructs to our build system not to try and execute it.

github-actions[bot] commented 4 months ago

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

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