Skip to content

Commit

Permalink
Fix an equation which does not display correctly in nbsphinx. (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyongemallo committed May 15, 2020
1 parent 1d21e96 commit 5d6b8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/variational_algorithm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
"source": [
"Another important concept here is that the rotation gate is specified in *half turns* ($ht$). For a rotation about `X`, the gate is:\n",
"\n",
"$ \\cos(ht * \\pi) I + i \\sin(ht * \\pi) X$\n",
"$\\cos(ht * \\pi) I + i \\sin(ht * \\pi) X$\n",
"\n",
"There is a lot of freedom defining a variational ansatz. Here we will do a variation on a [QAOA strategy](https://arxiv.org/abs/1411.4028) and define an ansatz related to the problem we are trying to solve.\n",
"\n",
Expand Down

0 comments on commit 5d6b8bc

Please sign in to comment.