From 993c396e03716e598b5de4ffa4cd1953270d9322 Mon Sep 17 00:00:00 2001 From: Q-CTRL Robot Date: Thu, 5 Dec 2024 00:09:10 +0000 Subject: [PATCH] fix: Fix Sampler line in Fire Opal get started (#1264) (notebooks update) --- fire-opal/discover/start-using/get-started.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fire-opal/discover/start-using/get-started.ipynb b/fire-opal/discover/start-using/get-started.ipynb index 464f885..9d214ee 100644 --- a/fire-opal/discover/start-using/get-started.ipynb +++ b/fire-opal/discover/start-using/get-started.ipynb @@ -579,7 +579,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": null, "id": "e1b9325d", "metadata": {}, "outputs": [ @@ -606,7 +606,7 @@ "plot_bv_results(\n", " bitstring_results[0],\n", " hidden_string=hidden_string,\n", - " title=f\"Fire Opal ($n=19$)\",\n", + " title=\"Fire Opal ($n=19$)\",\n", " max_columns=100,\n", ")" ] @@ -633,7 +633,7 @@ "from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager\n", "\n", "backend = service.backend(backend_name)\n", - "sampler = Sampler(backend=backend)\n", + "sampler = Sampler(backend)\n", "\n", "circuit_qiskit = qiskit.QuantumCircuit.from_qasm_str(circuit_qasm)\n", "pass_manager = generate_preset_pass_manager(optimization_level=1, backend=backend)\n",