diff --git a/docs/guides/algorithmiq-tem.ipynb b/docs/guides/algorithmiq-tem.ipynb index af71fbb847c..abb4ac896c5 100644 --- a/docs/guides/algorithmiq-tem.ipynb +++ b/docs/guides/algorithmiq-tem.ipynb @@ -156,7 +156,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "cc0a8093", "metadata": {}, "outputs": [], @@ -165,6 +165,8 @@ "\n", "tem_function_name = \"algorithmiq/tem\"\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", + "# verify that you have access to the function\n", + "catalog.list()\n", "\n", "# Load your function\n", "tem = catalog.load(tem_function_name)" @@ -230,7 +232,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "47b0db71", "metadata": {}, "outputs": [ @@ -243,6 +245,8 @@ } ], "source": [ + "# Print the ID so you can use it later, if necessary\n", + "print(job.job_id)\n", "print(job.status())" ] }, diff --git a/docs/guides/colibritd-pde.ipynb b/docs/guides/colibritd-pde.ipynb index 4e4e3924a37..d63a86f5f8e 100644 --- a/docs/guides/colibritd-pde.ipynb +++ b/docs/guides/colibritd-pde.ipynb @@ -123,7 +123,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "95a715d2", "metadata": {}, "outputs": [], @@ -132,6 +132,9 @@ "\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", "\n", + "# Verify that you have access to the function\n", + "catalog.list()\n", + "\n", "quick = catalog.load(\"colibritd/quick-pde\")" ] }, @@ -192,6 +195,8 @@ } ], "source": [ + "# Print the ID so you can use it later, if necessary\n", + "print(job.job_id)\n", "print(job.status())\n", "solution = job.result()" ] diff --git a/docs/guides/functions.ipynb b/docs/guides/functions.ipynb index d273f123aa0..d5aeb3616a1 100644 --- a/docs/guides/functions.ipynb +++ b/docs/guides/functions.ipynb @@ -188,7 +188,9 @@ "id": "e3cada45-0364-4096-8481-6eb99d43c656", "metadata": {}, "source": [ - "4. After you have authenticated, you can list the functions from the Qiskit Functions Catalog that you have access to:" + "### List the functions you can access\n", + "\n", + "After you authenticate, you can list the functions from the Qiskit Functions Catalog that you have access to:" ] }, { diff --git a/docs/guides/global-data-quantum-optimizer.ipynb b/docs/guides/global-data-quantum-optimizer.ipynb index b1f96a47132..a73b55b6dd2 100644 --- a/docs/guides/global-data-quantum-optimizer.ipynb +++ b/docs/guides/global-data-quantum-optimizer.ipynb @@ -103,6 +103,9 @@ "\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", "\n", + "# Verify that you have access to the function\n", + "catalog.list()\n", + "\n", "# Access function\n", "dpo_solver = catalog.load(\"global-data-quantum/quantum-portfolio-optimizer\")" ] @@ -327,7 +330,10 @@ " backend_name=\"\",\n", " previous_session_id=[],\n", " apply_postprocess=True,\n", - ")" + ")\n", + "\n", + "# Print the ID so you can use it later, if necessary\n", + "print(dpo_job.job_id)" ] }, { diff --git a/docs/guides/kipu-optimization.ipynb b/docs/guides/kipu-optimization.ipynb index ad8e44f4e9d..7c7a6c0740d 100644 --- a/docs/guides/kipu-optimization.ipynb +++ b/docs/guides/kipu-optimization.ipynb @@ -171,6 +171,9 @@ " token=\"YOUR_API_KEY\",\n", ")\n", "\n", + "# verify that you have access to the function\n", + "catalog.list()\n", + "\n", "# Access Function\n", "optimizer = catalog.load(\"kipu-quantum/iskay-quantum-optimizer\")" ] @@ -289,7 +292,10 @@ " \"options\": options,\n", "}\n", "\n", - "job = optimizer.run(**arguments)" + "job = optimizer.run(**arguments)\n", + "\n", + "# Print the ID so you can use it later, if necessary\n", + "print(job.job_id)" ] }, { diff --git a/docs/guides/multiverse-computing-singularity.ipynb b/docs/guides/multiverse-computing-singularity.ipynb index f388fda44aa..f5291d30425 100644 --- a/docs/guides/multiverse-computing-singularity.ipynb +++ b/docs/guides/multiverse-computing-singularity.ipynb @@ -137,7 +137,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "95a715d2", "metadata": {}, "outputs": [], @@ -146,6 +146,9 @@ "\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", "\n", + "# Verify that you have access to the function\n", + "catalog.list()\n", + "\n", "# load function\n", "singularity = catalog.load(\"multiverse/singularity\")" ] @@ -357,7 +360,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "f5a54432", "metadata": {}, "outputs": [ @@ -380,6 +383,9 @@ "# list available classifiers using the list action\n", "job = singularity.run(action=\"list\")\n", "\n", + "# Print the ID so you can use it later, if necessary\n", + "print(job.job_id)\n", + "\n", "print(job.result())\n", "\n", "# you can also find your classifiers in the shared data directory with a *.pkl.tar extension\n", diff --git a/docs/guides/q-ctrl-optimization-solver.ipynb b/docs/guides/q-ctrl-optimization-solver.ipynb index 9b3c720556c..e3b54bc2c5d 100644 --- a/docs/guides/q-ctrl-optimization-solver.ipynb +++ b/docs/guides/q-ctrl-optimization-solver.ipynb @@ -138,7 +138,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "95a715d2", "metadata": {}, "outputs": [], @@ -147,6 +147,9 @@ "\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", "\n", + "# Verify that you have access to the function\n", + "catalog.list()\n", + "\n", "# Access Function\n", "solver = catalog.load(\"q-ctrl/optimization-solver\")" ] @@ -295,7 +298,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "856fe992", "metadata": {}, "outputs": [ @@ -308,6 +311,9 @@ } ], "source": [ + "# Print the ID so you can use it later, if necessary\n", + "print(maxcut_job.job_id)\n", + "\n", "# Get job status\n", "print(maxcut_job.status())" ] diff --git a/docs/guides/q-ctrl-performance-management.ipynb b/docs/guides/q-ctrl-performance-management.ipynb index 889491b78e6..4730a9d8ce8 100644 --- a/docs/guides/q-ctrl-performance-management.ipynb +++ b/docs/guides/q-ctrl-performance-management.ipynb @@ -140,7 +140,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "11af8fb4", "metadata": {}, "outputs": [], @@ -149,6 +149,9 @@ "\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", "\n", + "# verify that you have access to the function\n", + "catalog.list()\n", + "\n", "# Access Function\n", "perf_mgmt = catalog.load(\"q-ctrl/performance-management\")" ] @@ -471,7 +474,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "b7acbb7f", "metadata": {}, "outputs": [ @@ -487,6 +490,9 @@ } ], "source": [ + "# Print the ID so you can use it later, if necessary\n", + "print(qctrl_sampler_job.job_id)\n", + "\n", "qctrl_sampler_job.status()" ] }, diff --git a/docs/guides/qedma-qesem.ipynb b/docs/guides/qedma-qesem.ipynb index e0b9da8410b..048f5c9531e 100644 --- a/docs/guides/qedma-qesem.ipynb +++ b/docs/guides/qedma-qesem.ipynb @@ -123,7 +123,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "95a715d2", "metadata": {}, "outputs": [], @@ -134,6 +134,9 @@ "\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", "\n", + "# verify that you have access to the function\n", + "catalog.list()\n", + "\n", "qesem_function = catalog.load(\"qedma/qesem\")" ] }, @@ -232,6 +235,9 @@ "metadata": {}, "outputs": [], "source": [ + "# Print the ID so you can use it later, if necessary\n", + "print(sample_job.job_id)\n", + "\n", "print(sample_job.status())\n", "result = sample_job.result()" ] diff --git a/docs/guides/qunova-chemistry.ipynb b/docs/guides/qunova-chemistry.ipynb index 66f285ad891..16d31bac6d1 100644 --- a/docs/guides/qunova-chemistry.ipynb +++ b/docs/guides/qunova-chemistry.ipynb @@ -153,7 +153,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "95a715d2", "metadata": {}, "outputs": [], @@ -163,6 +163,9 @@ "\n", "catalog = QiskitFunctionsCatalog(channel=\"ibm_quantum_platform\")\n", "\n", + "# Verify that you have access to the function\n", + "catalog.list()\n", + "\n", "function = catalog.load(\"qunova/hivqe-chemistry\")" ] },