Closed ElePT closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Also, like in #1376, the usage of "you" is preferred to "we".
Hi! A newbie here, sorry if I'm asking something basic. But running this code doesn't give the energy outputs as shown here given by the vqd_values output. Even on the Qiskit page under Qiskit Documentation > Tutorials > VQD algorithm, the outputs are different as to what can be seen here although the code is the same as this one. The output on running print(vqd_values) there is:
[[ 2.91739505 1.64220143 6.46687958 3.14081435 6.26702706 4.63923293 -3.36412161 -3.18023756] [ 1.56977973 4.71301467 6.47954504 3.27439973 5.66727328 5.3138871 -3.6774927 -2.84146135] [ 4.70976873 1.57087934 1.35278717 5.08404009 5.07340295 4.5064013 -3.52919173 -4.24540619] [ 4.70976873 1.57087934 1.35278717 5.08404009 5.07340295 4.5064013 -3.52919173 -4.24540619]]
Why is that? And how to obtain the energy values as shown here by running VQD? Again very sorry if this is something basic I'm asking. Thank you
Summary
After refactoring the VQE tutorials in #1376, I decided to add a new tutorial explaining the VQD algorithm (using primitives).
Details and comments
Blocked by #1376, as it replaces tutorial number
04
, removed in that PR.