Skip to content

Commit

Permalink
fixed typo in Specify observables in the Pauli basis (#2182)
Browse files Browse the repository at this point in the history
fixes #2172

---------

Co-authored-by: CHIESELU <luca.chiese@posteitaliane.it>
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 25, 2024
1 parent 305e99a commit 59e4162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/specify-observables-pauli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"O = \\frac{1}{n} \\sum_{i=1} Z_i\n",
"$$\n",
"\n",
"For observables that are not given in terms of Pauli operators but in a matrix for, we first have to reformulate them\n",
"For observables that are not given in terms of Pauli operators but in a matrix form, we first have to reformulate them\n",
"in the Pauli basis in order to evaluate them on a quantum computer.\n",
"We are always able to find such a representation as the Pauli matrices form a basis for the Hermitian $2^n \\times 2^n$ matrices.\n",
"We expand the observable $O$ as\n",
Expand Down

0 comments on commit 59e4162

Please sign in to comment.