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 |
|
Much better user experience at the beginning ! Thank you !
generates:
TIP: Currently, the Workloads table on IBM Quantum Platform only reflects Qiskit Runtime workloads. To see the status of your Qiskit Serverless workloads, use job.status(). Find an example in the Run your first Qiskit Serverless workload remotely guide. Thanks |
done in f5d5d55 |
Removed in 89b577b |
I had already removed this - just in case you're seeing an old version, be sure you're using this as the preview url: https://qiskit.github.io/documentation/pr-4715/docs/guides/serverless-first-program |
Turns out the magic commands only work when they are at the very top of a cell. In conversation with @frankharkins I got some history on the inclusion of magic commands in this file. When it was added, it was to make the notebook testable in our CI, and the expectation wasn't that the user would download and run the file start-to-end. Given the new confusion, Frank recommends that we remove them and instead put in regular Python that users can run end-to-end, AND be testable by our CI. We would reword a bit to make sure it's clear what the user is supposed to do. |
cc: @acastellane
It appears that the original guide was written with the expectation that the user would download the notebook and run it end-to-end, but hidden code and magic commands don't appear in the published docs, which can be confusing to the user. Clarifying the content to explain this and to make sure the workflow makes sense whether it is run from the downloaded version, or from a copy-and-paste notebook.