Skip to content

Commit

Permalink
delete duplicate cell
Browse files Browse the repository at this point in the history
  • Loading branch information
beckykd committed Nov 7, 2024
1 parent 0ec7e9a commit b22ca9a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions docs/guides/debug-qiskit-runtime-jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -443,16 +443,6 @@
" )"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We have some rough and simplified guidelines which we can use to improve circuits of this type:\n",
"- If the absolute difference is > 0.9, mitigation will likely not help\n",
"- Otherwise, PEA can improve the results\n",
"Since all of the absolute difference above are < 0.9, we can be hopeful that applying PEA to the original circuit will allow us to improve the quality of its results"
]
},
{
"cell_type": "markdown",
"id": "2b4da945-7916-4b69-b5c8-1e1c504c41a9",
Expand Down Expand Up @@ -545,11 +535,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Look at the mean relative difference to quickly tell the best choice for your options\n",
"# Look at the mean absolute difference to quickly tell the best choice for your options\n",
"for factors, res in zip(noise_factors, results):\n",
" d = rdiff(ideal_results[0], res[0])\n",
" print(\n",
" f\"Mean relative difference for factors {factors}:\\n {np.round(np.mean(d), 2)}%\\n\"\n",
" f\"Mean absolute difference for factors {factors}:\\n {np.round(np.mean(d), 2)}%\\n\"\n",
" )"
]
},
Expand Down

0 comments on commit b22ca9a

Please sign in to comment.