diff --git a/docs/build/conditional-reset.ipynb b/docs/build/conditional-reset.ipynb index 682d158e045..3878072c21c 100644 --- a/docs/build/conditional-reset.ipynb +++ b/docs/build/conditional-reset.ipynb @@ -43,7 +43,7 @@ "from ibm_quantum_widgets import *\n", "\n", "# qiskit-ibmq-provider has been deprecated.\n", - "# Please see the Migration Guides in https://ibm.biz/provider_migration_guide for details.\n", + "# See the Migration Guides in https://ibm.biz/provider_migration_guide for details.\n", "from qiskit_ibm_runtime import QiskitRuntimeService, Sampler, Estimator, Session, Options\n", "\n", "# Loading your IBM Quantum account(s)\n", @@ -53,6 +53,16 @@ "# result = Sampler().run(circuits).result()" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "backend = service.least_busy(operational=True, simulator=False)\n", + "backend.name" + ] + }, { "attachments": {}, "cell_type": "markdown", @@ -135,6 +145,21 @@ "job_monitor(job1q_0)" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from qiskit_ibm_runtime import Sampler\n", + "\n", + "sampler = Sampler(backend)\n", + "\n", + "circs0 = [h_x_circ, h_reset_x_circ(1), h_reset_x_circ(3), h_reset_x_circ(5)]\n", + "job1q_0 = sampler.run(circs0, initial_layout=[0])\n", + "# job1q_0.status(job1q_0)" + ] + }, { "cell_type": "code", "execution_count": 33,