Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Fixed typo of C_{U} and Controlled Z gate #1313

Merged
merged 3 commits into from
May 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tutorials/circuits/3_summary_of_quantum_operations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,7 @@
"\n",
"To work out these matrix elements, let\n",
"\n",
"$$C_{(jk), (lm)} = \\left(\\underset{\\text{qubit}~1}{\\left\\langle j \\right|} \\otimes \\underset{\\text{qubit}~0}{\\left\\langle k \\right|}\\right) C_{U} \\left(\\underset{\\text{qubit}~1}{\\left| l \\right\\rangle} \\otimes \\underset{\\text{qubit}~0}{\\left| k \\right\\rangle}\\right),$$\n",
"$$C_{(jk), (lm)} = \\left(\\underset{\\text{qubit}~1}{\\left\\langle j \\right|} \\otimes \\underset{\\text{qubit}~0}{\\left\\langle k \\right|}\\right) C_{U} \\left(\\underset{\\text{qubit}~1}{\\left| l \\right\\rangle} \\otimes \\underset{\\text{qubit}~0}{\\left| m \\right\\rangle}\\right),$$\n",
"\n",
"compute the action of $C_{U}$ (given above), and compute the inner products.\n",
"\n",
Expand Down Expand Up @@ -1688,7 +1688,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Controlled $Z$ (or, controlled Phase) gate\n",
"#### Controlled $Z$ (or, controlled Phase-Flip) gate\n",
"\n",
"Similarly, the controlled Z gate flips the phase of the target qubit if the control qubit is $\\left|1\\right\\rangle$. The matrix looks the same regardless of whether the MSB or LSB is the control qubit:\n",
"\n",
Expand Down