Skip to content

Commit

Permalink
Correct operator ordering (Qiskit#1480)
Browse files Browse the repository at this point in the history
This fixes Qiskit#1477 with the correct ordering of operators
  • Loading branch information
shraddha-aangiras authored Jun 3, 2024
1 parent ff16ad3 commit 41e67b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/start/hello-world.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@
"metadata": {},
"source": [
"<Admonition type=\"note\" title=\"Operator Notation\">\n",
"Here, something like the `ZZ` operator is a shorthand for the tensor product $Z\\otimes Z$, which means measuring Z on qubit 0 and Z on qubit 1 together, and obtaining information about the correlation between qubit 0 and qubit 1. Expectation values like this are also typically written as $\\langle Z_0 Z_1 \\rangle$.\n",
"Here, something like the `ZZ` operator is a shorthand for the tensor product $Z\\otimes Z$, which means measuring Z on qubit 1 and Z on qubit 0 together, and obtaining information about the correlation between qubit 1 and qubit 0. Expectation values like this are also typically written as $\\langle Z_1 Z_0 \\rangle$.\n",
"\n",
"If the state is entangled, then the measurement of $\\langle Z_0 Z_1 \\rangle$ should be 1.\n",
"If the state is entangled, then the measurement of $\\langle Z_1 Z_0 \\rangle$ should be 1.\n",
"</Admonition>"
]
},
Expand Down

0 comments on commit 41e67b6

Please sign in to comment.