documentation
documentation copied to clipboard
Bug in serverless page
URL to the relevant documentation
https://docs.quantum.ibm.com/guides/qiskit-serverless#run-a-qiskit-pattern-remotely-on-qiskit-serverless
Select all that apply
- [ ] typo
- [X] code bug
- [ ] out-of-date content
- [ ] broken link
- [ ] other
Describe the fix.
The code example is missing a job = , e.g. it should be
# Run pattern remotely
pattern = serverless.get("My-Qiskit-Pattern")
job = pattern.run()
# Retrieve status, logs, results
job.status()
job.logs()
job.result()
Otherwise it'd fail with name job not found
cc @pandasa123, @jenglick
The docs are being overhauled in an open PR, and this code no longer exists as it was - if it still needs fixing in the docs being worked on in this PR, please let me know @pandasa123 @jyu00