Merge branch 'main' of https://github.com/Qiskit/documentation into FH/serverless-test
This commit is contained in:
commit
9aa39f81b0
|
@ -73,7 +73,7 @@ jobs:
|
|||
with:
|
||||
# Install Linux deps if the specific guides were changed, or
|
||||
# if all files are being tested.
|
||||
install-linux-deps: ${{ steps.linux-changed-files.outputs.any_changed == 'true' || steps.all-changed-files.outputs.any_changed == 'false' }}
|
||||
install-linux-deps: ${{ steps.linux-changed-files.outputs.any_changed == 'true' || steps.changed-config.outputs.any_changed == 'true' }}
|
||||
ibm-quantum-token: ${{ secrets.IBM_QUANTUM_TEST_TOKEN }}
|
||||
|
||||
- name: Check lint
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
"id": "f522b54f-93e5-45e9-9dc7-a2287eb4c707",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Select your program with `serverless.get('PROGRAM_NAME')`:"
|
||||
"Select your program with `serverless.load('PROGRAM_NAME')`:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -146,7 +146,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"transpile_remote_serverless = serverless.get('transpile_remote_serverless')"
|
||||
"transpile_remote_serverless = serverless.load('transpile_remote_serverless')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -330,7 +330,7 @@
|
|||
"source": [
|
||||
"## List previously run jobs run with Qiskit Serverless\n",
|
||||
"\n",
|
||||
"You can use `get_jobs()` to list all jobs submitted to Qiskit Serverless:"
|
||||
"You can use `jobs()` to list all jobs submitted to Qiskit Serverless:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -354,7 +354,7 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"old_jobs = serverless.get_jobs()\n",
|
||||
"old_jobs = serverless.jobs()\n",
|
||||
"old_jobs"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -31,6 +31,8 @@ notebooks_normal_test = [
|
|||
"docs/guides/error-mitigation-and-suppression-techniques.ipynb",
|
||||
"docs/guides/error-mitigation-and-suppression-techniques.ipynb",
|
||||
"docs/guides/serverless-manage-resources.ipynb",
|
||||
"docs/guides/serverless-first-program.ipynb",
|
||||
"docs/guides/serverless-run-first-workload.ipynb",
|
||||
]
|
||||
|
||||
# Don't test the following notebooks (this section can include glob patterns)
|
||||
|
@ -55,7 +57,5 @@ notebooks_that_submit_jobs = [
|
|||
# memory on a reasonable device.
|
||||
notebooks_no_mock = [
|
||||
"docs/guides/hello-world.ipynb",
|
||||
"docs/guides/serverless-first-program.ipynb",
|
||||
"docs/guides/serverless-run-first-workload.ipynb",
|
||||
"docs/guides/noise-learning.ipynb"
|
||||
]
|
||||
|
|
|
@ -5,3 +5,4 @@ qiskit[all]~=1.2.1
|
|||
qiskit-aer~=0.15.1
|
||||
qiskit-ibm-runtime~=0.29.1
|
||||
qiskit-serverless~=0.16.3
|
||||
qiskit-ibm-catalog~=0.0
|
||||
|
|
Loading…
Reference in New Issue