You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 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](../README.md).
- [ ] Remember to do a grammar check of the content you include.
- [ ] All tutorials conform to
[PEP8 standards](https://www.python.org/dev/peps/pep-0008/).
To auto format files, simply `pip install black`, and then
run `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:**
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.
- Story ticket:
https://app.shortcut.com/xanaduai/story/64095/contribute-gqe-demo-as-a-pennylane-demo
**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](https://www.notion.so/xanaduai/Different-kinds-of-documentation-69200645fe59442991c71f9e7d8a77f8))
- [ ] Tutorial
- [ ] Demo
- [ ] How-to
---------
Co-authored-by: JosephRRB <joseph.bunao@xanadu.ai>
Co-authored-by: Josh Izaac <josh146@gmail.com>
Co-authored-by: Ivana Kurečić <ivana@xanadu.ai>
"seoDescription": "Learn how you can train a small GPT model using the generative quantum eigensolver (GQE) technique and PennyLane data.",
26
+
"doi": "",
27
+
"canonicalURL": "/qml/demos/gqe_training",
28
+
"references": [
29
+
{
30
+
"id": "nakaji2024",
31
+
"type": "article",
32
+
"title": "The generative quantum eigensolver (GQE) and its application for ground state search",
33
+
"authors": "K. Nakaji, L. B. Kristensen, J. A. Campos-Gonzalez-Angulo, M. G. Vakili, H. Huang, M. Bagherimehrab, C. Gorgulla, F. Wong, A. McCaskey, J. S. Kim, T. Nguyen, P. Rao, A. Aspuru-Guzik",
34
+
"year": "2024",
35
+
"journal": "",
36
+
"url": "https://arxiv.org/abs/2401.09253"
37
+
},
38
+
{
39
+
"id": "radford2019",
40
+
"type": "article",
41
+
"title": "Language Models are Unsupervised Multitask Learners",
42
+
"authors": "A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever",
0 commit comments