Skip to content

Commit

Permalink
Typo in 05_torch_connector.ipynb (#703)
Browse files Browse the repository at this point in the history
There is a typo in the comments at line 602 in the regression task. A simple parameterized ansatz is initialized in the code cells and not again a feature map.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
FelixLehn and mergify[bot] authored Oct 26, 2023
1 parent 299c672 commit 3d676d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/05_torch_connector.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@
"feature_map = QuantumCircuit(1, name=\"fm\")\n",
"feature_map.ry(param_x, 0)\n",
"\n",
"# Construct simple feature map\n",
"# Construct simple parameterized ansatz\n",
"param_y = Parameter(\"y\")\n",
"ansatz = QuantumCircuit(1, name=\"vf\")\n",
"ansatz.ry(param_y, 0)\n",
Expand Down

0 comments on commit 3d676d1

Please sign in to comment.