Skip to content

Commit

Permalink
remove redundant sections
Browse files Browse the repository at this point in the history
  • Loading branch information
assafb committed Oct 22, 2024
1 parent 03c757f commit 92eee9d
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions docs/guides/qedma-qesem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,6 @@
"The following code snippet describes how to retrieve the mitigation results (i.e., `estimate_time_only` is False)."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "777ae1d4",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -335,47 +327,6 @@
"print(f'And the associated metadata contains the original observables, making the results easier to interpret: \\n{result[0].metadata}')"
]
},
{
"cell_type": "markdown",
"id": "625d4e77",
"metadata": {},
"source": [
"Below is an example of QESEM execution results. Please note that it also includes the original observables (`PubResult.metadata.observables`), making the results easier to interpret."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "cc58f567",
"metadata": {},
"outputs": [],
"source": [
"PrimitiveResult(\n",
" [\n",
" PubResult(\n",
" data = DataBin(\n",
" evs = [0.98, 1.01], \n",
" stds = [0.028, 0.015], \n",
" shape = (2,)\n",
" ),\n",
" metadata = {\n",
" \"observables\": [\n",
" SparsePauliOp(\n",
" [\"IIIIZ\", \"IIIZI\", \"IIZII\", \"IZIII\", \"ZIIII\"],\n",
" coeffs = [0.2 + 0.0j, 0.2 + 0.0j, 0.2 + 0.0j, 0.2 + 0.0j, 0.2 + 0.0j],\n",
" ),\n",
" SparsePauliOp(\n",
" [\"IIIZZ\", \"ZIXII\"], \n",
" coeffs=[1.0 + 0.0j, 0.5 + 0.0j]\n",
" ),\n",
" ]\n",
" },\n",
" )\n",
" ],\n",
" metadata={}\n",
")\n"
]
},
{
"cell_type": "markdown",
"id": "35aed54a",
Expand Down

0 comments on commit 92eee9d

Please sign in to comment.