diff --git a/docs/tutorials/hello-world.ipynb b/docs/tutorials/hello-world.ipynb index 9ca8740c6fb..1be99ecd1a7 100644 --- a/docs/tutorials/hello-world.ipynb +++ b/docs/tutorials/hello-world.ipynb @@ -195,12 +195,12 @@ "\n", "When executing circuits on a device, it is important to optimize the set of instructions that the circuit contains and minimize the overall depth (roughly the number of instructions) of the circuit. This ensures that you obtain the best results possible by reducing the effects of error and noise. Additionally, the circuit's instructions must conform to a backend device's [Instruction Set Architecture (ISA)](/docs/guides/transpile#instruction-set-architecture) and must consider the device's basis gates and qubit connectivity.\n", "\n", - "The following code instantiates a real device to submit a job to and transforms the circuit and observables to match that backend's ISA. It requires that you have already [saved your credentials](/docs/guides/cloud-setup)" + "The following code instantiates a real device to submit a job to and transforms the circuit and observables to match that backend's ISA. It requires that you have already [saved your credentials.](/docs/guides/cloud-setup)" ] }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "9a901271", "metadata": {}, "outputs": [ @@ -217,6 +217,8 @@ ], "source": [ "from qiskit_ibm_runtime import QiskitRuntimeService\n", + "# If you haven't already, include the following import:\n", + "# from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager\n", "\n", "service = QiskitRuntimeService()\n", "\n",