Skip to content

Commit eb8c381

Browse files
Fixed operator order in ZZ expval desc
1 parent 6faf96b commit eb8c381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/start/hello-world.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@
151151
"metadata": {},
152152
"source": [
153153
"<Admonition type=\"note\" title=\"Operator Notation\">\n",
154-
"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",
154+
"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_1 Z_0 \\rangle$.\n",
155155
"\n",
156-
"If the state is entangled, then the measurement of $\\langle Z_0 Z_1 \\rangle$ should be 1.\n",
156+
"If the state is entangled, then the measurement of $\\langle Z_1 Z_0 \\rangle$ should be 1.\n",
157157
"</Admonition>"
158158
]
159159
},

0 commit comments

Comments
 (0)