Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
theme: jekyll-theme-minimal
theme: jekyll-theme-minimal
markdown: kramdown
kramdown:
math_engine: mathjax
17 changes: 17 additions & 0 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<script>
window.MathJax = {
tex: {
inlineMath: [
['$', '$'],
['\\(', '\\)'],
],
displayMath: [
['$$', '$$'],
['\\[', '\\]'],
],
processEscapes: true,
},
};
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" type="text/javascript"></script>
<!-- link rel="shortcut icon" type="image/x-icon" href="/python-for-physicists/favicon.ico" -->
12 changes: 6 additions & 6 deletions modules/m08-quantum-computing/m08t01-cbits-to-qbits.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading