Skip to content

Commit 1283e05

Browse files
committed
789
1 parent 21c8e02 commit 1283e05

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

_includes/head.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,21 @@
1515
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
1616
</script>
1717

18+
<script>
19+
window.MathJax = {
20+
tex: {
21+
inlineMath: [['$', '$'], ['\\(', '\\)']],
22+
displayMath: [['$$', '$$'], ['\\[', '\\]']]
23+
},
24+
options: {
25+
skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
26+
ignoreHtmlClass: 'nostem'
27+
}
28+
};
29+
</script>
30+
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" async></script>
31+
32+
1833
<!-- For all browsers -->
1934
<link rel="stylesheet" href="{{ base_path }}/assets/css/main.css">
2035

_pages/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ redirect_from:
1313

1414
## About Me
1515

16-
The world of quantum mechanics is often depicted as a bizarre and counterintuitive place. Particles existing in multiple states simultaneously $(|\psi\rangle = \alpha|0\rangle + \beta|1\rangle)$, spooky action at a distance – it all sounds like science fiction. But here’s the thing: quantum mechanics isn’t some fringe theory. It’s the undeniably successful framework that underpins the behavior of the universe at its most fundamental level.
16+
The world of quantum mechanics is often depicted as a bizarre and counterintuitive place. Particles existing in multiple states simultaneously $(|\psi\rangle = \alpha |0\rangle + \beta |1\rangle)$ , spooky action at a distance – it all sounds like science fiction. But here’s the thing: quantum mechanics isn’t some fringe theory. It’s the undeniably successful framework that underpins the behavior of the universe at its most fundamental level.
1717

1818
My passion lies in demystifying this "weirdness" and translating it into powerful, real-world applications. I believe that by embracing concepts like **superposition**, **wave-particle duality**, and **entanglement**, we can unlock a new era of technological innovation. My work focuses on the intersection of quantum computing and artificial intelligence, exploring how quantum algorithms can solve problems currently intractable for even the most powerful classical supercomputers.
1919

_teaching/2014-spring-teaching-1.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,24 @@ $
8686
|\psi\rangle = \alpha |0\rangle + \beta |1\rangle
8787
$
8888

89-
> In this expression, $(\alpha)$ and \(\beta\) are complex amplitudes such that $(|\alpha|^2 + |\beta|^2 = 1)$.
89+
> In this expression, $(\alpha)$ and \(\beta\) are complex amplitudes such that \(|/alpha|^2 + |/beta|^2 = 1\)
9090

91+
## MathJax
9192

93+
Support for MathJax (version 3.* via [jsDelivr](https://www.jsdelivr.com/), [documentation](https://docs.mathjax.org/en/latest/)) is included in the template:
94+
95+
$$
96+
\displaylines{
97+
\nabla \cdot E= \frac{\rho}{\epsilon_0} \\\
98+
\nabla \cdot B=0 \\\
99+
\nabla \times E= -\partial_tB \\\
100+
\nabla \times B = \mu_0 \left(J + \varepsilon_0 \partial_t E \right)
101+
}
102+
$$
103+
104+
The default delimiters of `$$...$$` and `\\[...\\]` are supported for displayed mathematics, while `\\(...\\)` should be used for in-line mathematics (ex., \\(a^2 + b^2 = c^2\\))
105+
106+
**Note** that since Academic Pages uses Markdown which cases some interference with MathJax and LaTeX for escaping characters and new lines, although [some workarounds exist](https://math.codidact.com/posts/278763/278772#answer-278772). In some cases, such as when you are including MathJax in a `citation` field for publications, it may be necessary to use `\(...\)` for inline delineation.
92107
---
93108

94109
Let me know your site structure (`Jekyll`, `custom HTML`, `pure Markdown`, etc.), and I can give you a copy-paste-ready solution for your specific case.

0 commit comments

Comments
 (0)