From f3242d1ddadf0aff366016a80a3002cd5a0ec2da Mon Sep 17 00:00:00 2001
From: Sampreet Kalita <9553215+Sampreet@users.noreply.github.com>
Date: Sat, 11 Jul 2026 12:07:01 +0100
Subject: [PATCH 1/3] Add HTML header for MathJax
---
_includes/head.html | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 _includes/head.html
diff --git a/_includes/head.html b/_includes/head.html
new file mode 100644
index 0000000..839ea29
--- /dev/null
+++ b/_includes/head.html
@@ -0,0 +1,25 @@
+
+
From 0ecb29d9b8424fcff1357f09d0247f5f7cb913b9 Mon Sep 17 00:00:00 2001
From: Sampreet Kalita <9553215+Sampreet@users.noreply.github.com>
Date: Sat, 11 Jul 2026 13:13:10 +0100
Subject: [PATCH 2/3] Update config and head for MathJax
---
_config.yml | 5 ++++-
_includes/head-custom.html | 19 +++++++++++++++++++
_includes/head.html | 25 -------------------------
3 files changed, 23 insertions(+), 26 deletions(-)
create mode 100644 _includes/head-custom.html
delete mode 100644 _includes/head.html
diff --git a/_config.yml b/_config.yml
index 2f7efbe..90883d4 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1 +1,4 @@
-theme: jekyll-theme-minimal
\ No newline at end of file
+theme: jekyll-theme-minimal
+markdown: kramdown
+kramdown:
+ math_engine: mathjax
\ No newline at end of file
diff --git a/_includes/head-custom.html b/_includes/head-custom.html
new file mode 100644
index 0000000..16c27ac
--- /dev/null
+++ b/_includes/head-custom.html
@@ -0,0 +1,19 @@
+
+
+
\ No newline at end of file
diff --git a/_includes/head.html b/_includes/head.html
deleted file mode 100644
index 839ea29..0000000
--- a/_includes/head.html
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
From 4429c6db4b100b85016d8856f85191fff8cfaede Mon Sep 17 00:00:00 2001
From: Sampreet Kalita <9553215+Sampreet@users.noreply.github.com>
Date: Sat, 11 Jul 2026 13:23:58 +0100
Subject: [PATCH 3/3] Add escapes for MathJax
---
_includes/head-custom.html | 4 +---
.../m08-quantum-computing/m08t01-cbits-to-qbits.md | 12 ++++++------
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/_includes/head-custom.html b/_includes/head-custom.html
index 16c27ac..b83fbbc 100644
--- a/_includes/head-custom.html
+++ b/_includes/head-custom.html
@@ -9,9 +9,7 @@
['$$', '$$'],
['\\[', '\\]'],
],
- equationNumbers: {
- autoNumber: "all",
- },
+ processEscapes: true,
},
};
diff --git a/modules/m08-quantum-computing/m08t01-cbits-to-qbits.md b/modules/m08-quantum-computing/m08t01-cbits-to-qbits.md
index d848c34..d297af5 100644
--- a/modules/m08-quantum-computing/m08t01-cbits-to-qbits.md
+++ b/modules/m08-quantum-computing/m08t01-cbits-to-qbits.md
@@ -36,21 +36,21 @@ Specifically, a qubit is a superposition of the orthonormal basis vectors of a t
The *computational basis* is defined by eigenstates $\ket{0}$ and $\ket{1}$ and their superposition state:
$$
-\ket{0} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}
+\ket{0} = \begin{pmatrix} 1 \\ 0 \end{pmatrix},
\quad
-\ket{1} = \begin{pmatrix} 0 \\ 1 \end{pmatrix}
+\ket{1} = \begin{pmatrix} 0 \\ 1 \end{pmatrix};
\quad
-\ket{\psi} = c_{0} \ket{0} + c_{1} \ket{1}
+\ket{\psi} = c_{0} \ket{0} + c_{1} \ket{1}.
$$
The *standard basis* consists of the eigenstates $\ket{+}$ and $\ket{-}$ and their superposition state:
$$
-\ket{+} = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 \\ 1 \end{pmatrix}
+\ket{+} = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 \\ 1 \end{pmatrix},
\quad
-\ket{-} = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 \\ -1 \end{pmatrix}
+\ket{-} = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 \\ -1 \end{pmatrix};
\quad
-\ket{\psi} = c_{+} \ket{0} + c_{-} \ket{1}
+\ket{\psi} = c_{+} \ket{0} + c_{-} \ket{1}.
$$
### Entanglement