Skip to content

Commit 86bc809

Browse files
committed
update nb2
1 parent 9e56bb3 commit 86bc809

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

examples/error_mitigation/on_mitiq/2_Zero_noise_extrapolation_with_mitiq.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
},
131131
{
132132
"cell_type": "code",
133-
"execution_count": 4,
133+
"execution_count": null,
134134
"id": "2a0b8339",
135135
"metadata": {},
136136
"outputs": [],
@@ -148,7 +148,7 @@
148148
},
149149
{
150150
"cell_type": "code",
151-
"execution_count": 5,
151+
"execution_count": null,
152152
"id": "d097fc89",
153153
"metadata": {},
154154
"outputs": [
@@ -170,7 +170,6 @@
170170
"\n",
171171
"circ = Circuit()\n",
172172
"ideal_evs = []\n",
173-
"ideal_stds = []\n",
174173
"for steps in range(10):\n",
175174
" circ+= time_step + time_step\n",
176175
" res = qd_exact.run(circ + obs, shots = 0).result()\n",
@@ -181,7 +180,7 @@
181180
},
182181
{
183182
"cell_type": "code",
184-
"execution_count": 6,
183+
"execution_count": null,
185184
"id": "5d969024",
186185
"metadata": {},
187186
"outputs": [
@@ -207,7 +206,6 @@
207206
}
208207
],
209208
"source": [
210-
"# plt.errorbar(range(len(ideal_evs)), ideal_evs, ideal_stds, capsize=3, marker='x',linewidth=1)\n",
211209
"for i in range(num_qubits):\n",
212210
" plt.plot(range(10), dat[:,i], label = f'{i}', linestyle = (1,(i+1,1)))\n",
213211
"plt.legend()\n",

0 commit comments

Comments
 (0)