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

Commit e3ef1a6

Browse files
jimcristofonotcNickolas
authored andcommitted
[Superposition] Fix filename capitalization in workbook (#219)
Binder is sensitive to capitalization of file names in links; this change converts image files' extensions to lowercase and fixes the links to match
1 parent 97592eb commit e3ef1a6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Superposition/Workbook_Superposition.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@
493493
" <td style=\"text-align:center; border:1px solid\">$\\text{CNOT} = \\begin{bmatrix} 1 & 0 & 0 & 0 \\\\ 0 & 1 & 0 & 0 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 1 & 0 \\end{bmatrix}$</td>\n",
494494
" <td style=\"text-align:center; border:1px solid\"><img src=\"./img/CNOTGateCircuit.png\"/></td> \n",
495495
" </tr> \n",
496-
"</table>\n",
497-
"<center>The matrix and circuit representation of CNOT</center>\n",
496+
"</table> <br>\n",
497+
"<center>The matrix and circuit representation of CNOT</center><br>\n",
498498
"\n",
499499
"If we apply the CNOT gate to the state $\\frac{1}{\\sqrt2} (|00\\rangle + |10\\rangle)$, taking the first qubit as the control and the second one as target, we'll get exactly the desired goal state. \n",
500500
"<img src=\"./img/Task6OutputHadamardasControl.png\" width=\"200\"/>\n",
@@ -511,7 +511,7 @@
511511
" <tr>\n",
512512
" <td style=\"text-align:left; border:1px solid\">1. Apply a Hadamard gate to the first qubit. <br/> 2. Applying a CNOT with first qubit as control and second qubit as target.</td>\n",
513513
" <td style=\"text-align:center; border:1px solid; font-bold; font-size: 16px; \">$\\frac{1}{\\sqrt2} (|00\\rangle + |11\\rangle)$</td>\n",
514-
" <td style=\"text-align:center; border:1px solid\"><img src=\"./img/Task6HadamardCNOTCircuit.PNG\"/></td>\n",
514+
" <td style=\"text-align:center; border:1px solid\"><img src=\"./img/Task6HadamardCNOTCircuit.png\"/></td>\n",
515515
" </tr> \n",
516516
"</table>\n",
517517
"\n",
@@ -617,7 +617,7 @@
617617
" <col width=50>\n",
618618
" <col width=300>\n",
619619
" <tr bgcolor=\"white\">\n",
620-
" <td bgcolor=\"white\" style=\"text-align:center\"><img src=\"./img/Task6HadamardCNOTCircuit.PNG\"/></td>\n",
620+
" <td bgcolor=\"white\" style=\"text-align:center\"><img src=\"./img/Task6HadamardCNOTCircuit.png\"/></td>\n",
621621
" <td bgcolor=\"white\" style=\"text-align:center;font-size: 30px\">$\\Longrightarrow$</td>\n",
622622
" <td bgcolor=\"white\" style=\"text-align:center;font-size: 20px\">$\\frac{1}{\\sqrt2} \\big(|00\\rangle + |11\\rangle\\big)$</td>\n",
623623
" </tr> \n",
File renamed without changes.

0 commit comments

Comments
 (0)