-
Notifications
You must be signed in to change notification settings - Fork 163
SQD tutorial: add section on passing initial occupancies #4521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
One or more of the following people are relevant to this code: |
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Thank you for adding this component @kevinsung , I think it will help some issues which a few users have raised.
|
882f38c to
cf0ba3c
Compare
I've edited the notebook to just change the existing workflow, and expanded on the explanation for choosing the Hartree-Fock configuration. I've also added a cell that counts the number of valid configurations returned by the hardware. The diff seems to render incorrectly on GitHub, but it looks fine on ReviewNB. Currently the notebook is showing a warning due to Qiskit/qiskit-addon-sqd#274. I will investigate that. |
|
Ok I've fixed the warning in Qiskit/qiskit-addon-sqd#276 and re-run the notebook with that PR. @caleb-johnson agreed to cut a new release of the SQD addon shortly. I've also updated the reference energy with the results of an improved SCI calculation, and added print statements that print the number of sampled valid bitstrings as well as the final energy error, like this: |
|
Naive question about this PR @kevinsung. Does this address #4430 at all? Or is that something that'll have to be done separately? |
No, this PR does not address #4430. |
Adds a section showing how to pass initial occupancies, which allows SQD to run even if there are no valid configurations. It may also improve convergence.