Skip to content

Commit 9405213

Browse files
authored
Typos in Variational algorithm design course (#3725)
@christopherporter1 can you please verify this is correct? Closes #3718
1 parent 821ae3c commit 9405213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

learning/courses/variational-algorithm-design/examples-and-applications.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@
467467
},
468468
{
469469
"cell_type": "code",
470-
"execution_count": 13,
470+
"execution_count": null,
471471
"id": "241a5b4d-b5cf-41c9-a8d2-4ebf65b47a5e",
472472
"metadata": {},
473473
"outputs": [
@@ -481,7 +481,7 @@
481481
],
482482
"source": [
483483
"experimental_min_eigenvalue_ref = cost_func_vqe(\n",
484-
" result.x, raw_ansatz, observable_1, estimator\n",
484+
" ref_result.x, ref_ansatz, observable_1, estimator\n",
485485
")\n",
486486
"print(experimental_min_eigenvalue_ref)"
487487
]

0 commit comments

Comments
 (0)