Closed MeltemTolunay closed 8 months ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 8481137071: | 0.0% |
Covered Lines: | 290 |
Relevant Lines: | 290 |
@haimeng-zhang let's try to have this reviewed by end of day tomorrow so that @MeltemTolunay can act on the feedback and we can merge by Friday.
The notebook looks great! Here are a few suggestions:
Some more thoughts below (I think we can discuss and address them in a later version)
[link discriptor](https://link-url-here.org)
instead of displaying the plain URL.hf_circuit.draw(output="mpl", style="iqp")
; it may suppress the warning message.I made the following changes per @haimeng-zhang's review:
Later we can also discuss inserting more explanation for the chemistry background. Since a regular VQE tutorial will soon be made available on the Learning Platform where these information are already available, I think we can omit these in this tutorial for now.
Thank you for the comments @pedrorrivero! I made the requested changes.
Summary
Add ADAPT-VQE tutorial.
Details and comments
This tutorial uses Qiskit Pattern formalism and does not rely on any application packages such as Qiskit Nature. LiH ground state computation is chosen as an example in this tutorial. Functions to build the problem Hamiltonian, the initial Hartree-Fock state, the single and double excitation operators under the Jordan-Wigner transform and the gradient are all explicitly written.