Skip to content

Commit fbeec6a

Browse files
author
abraham.asfaw
committed
Updated episode 4 matrix notation for Jupyter tex
1 parent 4de19f9 commit fbeec6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Coding_With_Qiskit/ep4_Gates.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@
9292
"source": [
9393
"The matrix representation of the example above is given as\n",
9494
"\n",
95-
"$$\\begin{bmatrix} 0 & 1 \\\\ 1 & 0 \\end{bmatrix}\\begin{pmatrix} 1 \\\\ 0 \\end{pmatrix} = \\begin{pmatrix} 0 \\\\ 1 \\end{pmatrix}$$\n",
95+
"$$\\begin{bmatrix} 0 & 1 \\\\ 1 & 0 \\end{bmatrix}\\begin{bmatrix} 1 \\\\ 0 \\end{bmatrix} = \\begin{bmatrix} 0 \\\\ 1 \\end{bmatrix}$$\n",
9696
"and\n",
97-
"$$\\begin{bmatrix} 0 & 1 \\\\ 1 & 0 \\end{bmatrix}\\begin{pmatrix} 0 \\\\ 1 \\end{pmatrix} = \\begin{pmatrix} 1 \\\\ 0 \\end{pmatrix}$$"
97+
"$$\\begin{bmatrix} 0 & 1 \\\\ 1 & 0 \\end{bmatrix}\\begin{bmatrix} 0 \\\\ 1 \\end{bmatrix} = \\begin{bmatrix} 1 \\\\ 0 \\end{bmatrix}$$"
9898
]
9999
},
100100
{

0 commit comments

Comments
 (0)