-
Notifications
You must be signed in to change notification settings - Fork 86
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
Fit new notebooks into existing content #1160
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
One or more of the the following people are requested to review this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! The notebooks look good and are appropriate in the new sections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me! The only thing I think might be missing is an explanation of the PubResult
data types that are return from the sampler and estimator somewhere on the Run page. Though perhaps that would fit into a separate issue.
Good point, I've made #1194 to track that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I've made #1194 to track that.
Great! Looks good to ship 💯
} | ||
] | ||
}, | ||
{ | ||
"title": "Quantum Serverless workloads", | ||
"url": "/run/quantum-serverless" | ||
}, | ||
{ | ||
"title": "Visualize results", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should go above quantum serverless in the side bar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does output work for this file? It doesn't seem like it'd be deterministic when we rerun the notebook, or if a local user runs with a different account?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The output will be deterministic when running using my account (which we also use in our actions). Users won't have access to this job but I think that's ok, plus there's no way to demonstrate retrieving a job without picking one from my account.
@@ -32,7 +32,7 @@ | |||
] | |||
NOTEBOOKS_THAT_SUBMIT_JOBS = [ | |||
"docs/start/hello-world.ipynb", | |||
"docs/analyze/saving-and-retrieving.ipynb", | |||
"docs/run/save-and-retrieve.ipynb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outdated
Fix oversight in #1160. This notebook no longer submits jobs so can be removed from the list.
This page originally submitted a simple job using the cloud simulator as a demonstration. Since the simulators are being deprecated, #1160 removed the job-submitting step and hardcoded the `job_id` into the notebook. This was a bad idea because it means the notebook breaks if not run with my IBM Quantum account. This PR reorganises the page to get `job_id` programatically first. This lets us avoid hardcoding the `job_id` in the notebook, which means we can run the notebook with any IBM account that has submitted at least one job. --------- Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
PRs Qiskit#977 and Qiskit#1099 added some new pages in anticipation of a restructure which has since been postponed. This PR fits those pages into our current content structure.
Fix oversight in Qiskit#1160. This notebook no longer submits jobs so can be removed from the list.
This page originally submitted a simple job using the cloud simulator as a demonstration. Since the simulators are being deprecated, Qiskit#1160 removed the job-submitting step and hardcoded the `job_id` into the notebook. This was a bad idea because it means the notebook breaks if not run with my IBM Quantum account. This PR reorganises the page to get `job_id` programatically first. This lets us avoid hardcoding the `job_id` in the notebook, which means we can run the notebook with any IBM account that has submitted at least one job. --------- Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
PRs #977 and #1099 added some new pages in anticipation of a restructure which has since been postponed. This PR fits those pages into our current content structure.