Skip to content

Commit 656fecc

Browse files
committed
added pdf
1 parent 1fa01fd commit 656fecc

File tree

130 files changed

+30818
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+30818
-192
lines changed
0 Bytes
Binary file not shown.

doc/pub/week5/ipynb/week5.ipynb

Lines changed: 191 additions & 191 deletions
Large diffs are not rendered by default.

doc/src/week5/README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This IPython notebook week5.ipynb does not require any additional
2+
programs.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
\begin{Verbatim}[commandchars=\\\{\},codes={\catcode`\$=3\catcode`\^=7\catcode`\_=8\relax}]
2+
\PYG{o}{\PYGZpc{}}\PYG{n}{matplotlib} \PYG{n}{inline}
3+
\PYG{k+kn}{from} \PYG{n+nn}{matplotlib} \PYG{k+kn}{import} \PYG{n}{pyplot} \PYG{k}{as} \PYG{n}{plt}
4+
\PYG{k+kn}{import} \PYG{n+nn}{numpy} \PYG{k}{as} \PYG{n+nn}{np}
5+
\PYG{k+kn}{from} \PYG{n+nn}{scipy.linalg} \PYG{k+kn}{import} \PYG{n}{logm}\PYG{p}{,} \PYG{n}{expm}
6+
\PYG{k}{def} \PYG{n+nf}{log2M}\PYG{p}{(}\PYG{n}{a}\PYG{p}{):} \PYG{c+c1}{\PYGZsh{} base 2 matrix logarithm}
7+
\PYG{k}{return} \PYG{n}{logm}\PYG{p}{(}\PYG{n}{a}\PYG{p}{)}\PYG{o}{/}\PYG{n}{np}\PYG{o}{.}\PYG{n}{log}\PYG{p}{(}\PYG{l+m+mf}{2.0}\PYG{p}{)}
8+
9+
\PYG{n}{dim} \PYG{o}{=} \PYG{l+m+mi}{4}
10+
\PYG{n}{Hamiltonian} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{zeros}\PYG{p}{((}\PYG{n}{dim}\PYG{p}{,}\PYG{n}{dim}\PYG{p}{))}
11+
\PYG{c+c1}{\PYGZsh{}number of lambda values}
12+
\PYG{n}{n} \PYG{o}{=} \PYG{l+m+mi}{40}
13+
\PYG{n}{lmbd} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{linspace}\PYG{p}{(}\PYG{l+m+mf}{0.0}\PYG{p}{,}\PYG{l+m+mf}{1.0}\PYG{p}{,}\PYG{n}{n}\PYG{p}{)}
14+
\PYG{n}{Hx} \PYG{o}{=} \PYG{l+m+mf}{2.0}
15+
\PYG{n}{Hz} \PYG{o}{=} \PYG{l+m+mf}{3.0}
16+
\PYG{c+c1}{\PYGZsh{} Non\PYGZhy{}diagonal part as sigma\PYGZus{}x tensor product with sigma\PYGZus{}x}
17+
\PYG{n}{sx} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{matrix}\PYG{p}{([[}\PYG{l+m+mi}{0}\PYG{p}{,}\PYG{l+m+mi}{1}\PYG{p}{],[}\PYG{l+m+mi}{1}\PYG{p}{,}\PYG{l+m+mi}{0}\PYG{p}{]])}
18+
\PYG{n}{sx2} \PYG{o}{=} \PYG{n}{Hx}\PYG{o}{*}\PYG{n}{np}\PYG{o}{.}\PYG{n}{kron}\PYG{p}{(}\PYG{n}{sx}\PYG{p}{,} \PYG{n}{sx}\PYG{p}{)}
19+
\PYG{c+c1}{\PYGZsh{} Diagonal part as sigma\PYGZus{}z tensor product with sigma\PYGZus{}z}
20+
\PYG{n}{sz} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{matrix}\PYG{p}{([[}\PYG{l+m+mi}{1}\PYG{p}{,}\PYG{l+m+mi}{0}\PYG{p}{],[}\PYG{l+m+mi}{0}\PYG{p}{,}\PYG{o}{\PYGZhy{}}\PYG{l+m+mi}{1}\PYG{p}{]])}
21+
\PYG{n}{sz2} \PYG{o}{=} \PYG{n}{Hz}\PYG{o}{*}\PYG{n}{np}\PYG{o}{.}\PYG{n}{kron}\PYG{p}{(}\PYG{n}{sz}\PYG{p}{,} \PYG{n}{sz}\PYG{p}{)}
22+
\PYG{n}{noninteracting} \PYG{o}{=} \PYG{p}{[}\PYG{l+m+mf}{0.0}\PYG{p}{,} \PYG{l+m+mf}{2.5}\PYG{p}{,} \PYG{l+m+mf}{6.5}\PYG{p}{,} \PYG{l+m+mf}{7.0}\PYG{p}{]}
23+
\PYG{n}{D} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{diag}\PYG{p}{(}\PYG{n}{noninteracting}\PYG{p}{)}
24+
\PYG{n}{Eigenvalue} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{zeros}\PYG{p}{((}\PYG{n}{dim}\PYG{p}{,}\PYG{n}{n}\PYG{p}{))}
25+
\PYG{n}{Entropy} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{zeros}\PYG{p}{(}\PYG{n}{n}\PYG{p}{)}
26+
27+
\PYG{k}{for} \PYG{n}{i} \PYG{o+ow}{in} \PYG{n+nb}{range}\PYG{p}{(}\PYG{n}{n}\PYG{p}{):}
28+
\PYG{n}{Hamiltonian} \PYG{o}{=} \PYG{n}{lmbd}\PYG{p}{[}\PYG{n}{i}\PYG{p}{]}\PYG{o}{*}\PYG{p}{(}\PYG{n}{sx2}\PYG{o}{+}\PYG{n}{sz2}\PYG{p}{)}\PYG{o}{+}\PYG{n}{D}
29+
\PYG{c+c1}{\PYGZsh{} diagonalize and obtain eigenvalues, not necessarily sorted}
30+
\PYG{n}{EigValues}\PYG{p}{,} \PYG{n}{EigVectors} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{linalg}\PYG{o}{.}\PYG{n}{eig}\PYG{p}{(}\PYG{n}{Hamiltonian}\PYG{p}{)}
31+
\PYG{c+c1}{\PYGZsh{} sort eigenvectors and eigenvalues}
32+
\PYG{n}{permute} \PYG{o}{=} \PYG{n}{EigValues}\PYG{o}{.}\PYG{n}{argsort}\PYG{p}{()}
33+
\PYG{n}{EigValues} \PYG{o}{=} \PYG{n}{EigValues}\PYG{p}{[}\PYG{n}{permute}\PYG{p}{]}
34+
\PYG{n}{EigVectors} \PYG{o}{=} \PYG{n}{EigVectors}\PYG{p}{[:,}\PYG{n}{permute}\PYG{p}{]}
35+
\PYG{c+c1}{\PYGZsh{} Compute density matrix for selected system state, here ground state}
36+
\PYG{n}{DensityMatrix} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{zeros}\PYG{p}{((}\PYG{n}{dim}\PYG{p}{,}\PYG{n}{dim}\PYG{p}{))}
37+
\PYG{n}{DensityMatrix} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{outer}\PYG{p}{(}\PYG{n}{EigVectors}\PYG{p}{[:,}\PYG{l+m+mi}{0}\PYG{p}{],}\PYG{n}{EigVectors}\PYG{p}{[:,}\PYG{l+m+mi}{0}\PYG{p}{])}
38+
\PYG{c+c1}{\PYGZsh{} Project down on substates and find density matrix for subsystem}
39+
\PYG{n}{d} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{matrix}\PYG{p}{([[}\PYG{l+m+mi}{1}\PYG{p}{,}\PYG{l+m+mi}{0}\PYG{p}{],[}\PYG{l+m+mi}{0}\PYG{p}{,}\PYG{l+m+mi}{1}\PYG{p}{]])}
40+
\PYG{n}{v1} \PYG{o}{=} \PYG{p}{[}\PYG{l+m+mf}{1.0}\PYG{p}{,}\PYG{l+m+mf}{0.0}\PYG{p}{]}
41+
\PYG{n}{proj1} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{kron}\PYG{p}{(}\PYG{n}{v1}\PYG{p}{,}\PYG{n}{d}\PYG{p}{)}
42+
\PYG{n}{x1} \PYG{o}{=} \PYG{n}{proj1} \PYG{o}{@} \PYG{n}{DensityMatrix} \PYG{o}{@} \PYG{n}{proj1}\PYG{o}{.}\PYG{n}{T}
43+
\PYG{n}{v2} \PYG{o}{=} \PYG{p}{[}\PYG{l+m+mf}{0.0}\PYG{p}{,}\PYG{l+m+mf}{1.0}\PYG{p}{]}
44+
\PYG{n}{proj2} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{kron}\PYG{p}{(}\PYG{n}{v2}\PYG{p}{,}\PYG{n}{d}\PYG{p}{)}
45+
\PYG{n}{x2} \PYG{o}{=} \PYG{n}{proj2} \PYG{o}{@} \PYG{n}{DensityMatrix} \PYG{o}{@} \PYG{n}{proj2}\PYG{o}{.}\PYG{n}{T}
46+
\PYG{c+c1}{\PYGZsh{} Total density matrix for subsystem}
47+
\PYG{n}{total} \PYG{o}{=} \PYG{n}{x1}\PYG{o}{+}\PYG{n}{x2}
48+
\PYG{c+c1}{\PYGZsh{} von Neumann Entropy for subsystem}
49+
\PYG{n}{Entropy}\PYG{p}{[}\PYG{n}{i}\PYG{p}{]} \PYG{o}{=} \PYG{o}{\PYGZhy{}}\PYG{n}{np}\PYG{o}{.}\PYG{n}{matrix}\PYG{o}{.}\PYG{n}{trace}\PYG{p}{(}\PYG{n}{total} \PYG{o}{@} \PYG{n}{log2M}\PYG{p}{(}\PYG{n}{total}\PYG{p}{))}
50+
\PYG{c+c1}{\PYGZsh{} Plotting eigenvalues and entropy as functions of interaction strengths}
51+
\PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{0}\PYG{p}{,}\PYG{n}{i}\PYG{p}{]} \PYG{o}{=} \PYG{n}{EigValues}\PYG{p}{[}\PYG{l+m+mi}{0}\PYG{p}{]}
52+
\PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{1}\PYG{p}{,}\PYG{n}{i}\PYG{p}{]} \PYG{o}{=} \PYG{n}{EigValues}\PYG{p}{[}\PYG{l+m+mi}{1}\PYG{p}{]}
53+
\PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{2}\PYG{p}{,}\PYG{n}{i}\PYG{p}{]} \PYG{o}{=} \PYG{n}{EigValues}\PYG{p}{[}\PYG{l+m+mi}{2}\PYG{p}{]}
54+
\PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{3}\PYG{p}{,}\PYG{n}{i}\PYG{p}{]} \PYG{o}{=} \PYG{n}{EigValues}\PYG{p}{[}\PYG{l+m+mi}{3}\PYG{p}{]}
55+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{plot}\PYG{p}{(}\PYG{n}{lmbd}\PYG{p}{,} \PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{0}\PYG{p}{,:]} \PYG{p}{,}\PYG{l+s+s1}{\PYGZsq{}b\PYGZhy{}\PYGZsq{}}\PYG{p}{,}\PYG{n}{lmbd}\PYG{p}{,} \PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{1}\PYG{p}{,:],}\PYG{l+s+s1}{\PYGZsq{}g\PYGZhy{}\PYGZsq{}}\PYG{p}{,)}
56+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{plot}\PYG{p}{(}\PYG{n}{lmbd}\PYG{p}{,} \PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{2}\PYG{p}{,:]} \PYG{p}{,}\PYG{l+s+s1}{\PYGZsq{}r\PYGZhy{}\PYGZsq{}}\PYG{p}{,}\PYG{n}{lmbd}\PYG{p}{,} \PYG{n}{Eigenvalue}\PYG{p}{[}\PYG{l+m+mi}{3}\PYG{p}{,:],}\PYG{l+s+s1}{\PYGZsq{}y\PYGZhy{}\PYGZsq{}}\PYG{p}{,)}
57+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{xlabel}\PYG{p}{(}\PYG{l+s+s1}{\PYGZsq{}\PYGZdl{}\PYGZbs{}lambda\PYGZdl{}\PYGZsq{}}\PYG{p}{)}
58+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{ylabel}\PYG{p}{(}\PYG{l+s+s1}{\PYGZsq{}Eigenvalues\PYGZsq{}}\PYG{p}{)}
59+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{show}\PYG{p}{()}
60+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{plot}\PYG{p}{(}\PYG{n}{lmbd}\PYG{p}{,} \PYG{n}{Entropy}\PYG{p}{)}
61+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{xlabel}\PYG{p}{(}\PYG{l+s+s1}{\PYGZsq{}\PYGZdl{}\PYGZbs{}lambda\PYGZdl{}\PYGZsq{}}\PYG{p}{)}
62+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{ylabel}\PYG{p}{(}\PYG{l+s+s1}{\PYGZsq{}Entropy\PYGZsq{}}\PYG{p}{)}
63+
\PYG{n}{plt}\PYG{o}{.}\PYG{n}{show}
64+
65+
\end{Verbatim}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
2+
\makeatletter
3+
\def\PYG@reset{\let\PYG@it=\relax \let\PYG@bf=\relax%
4+
\let\PYG@ul=\relax \let\PYG@tc=\relax%
5+
\let\PYG@bc=\relax \let\PYG@ff=\relax}
6+
\def\PYG@tok#1{\csname PYG@tok@#1\endcsname}
7+
\def\PYG@toks#1+{\ifx\relax#1\empty\else%
8+
\PYG@tok{#1}\expandafter\PYG@toks\fi}
9+
\def\PYG@do#1{\PYG@bc{\PYG@tc{\PYG@ul{%
10+
\PYG@it{\PYG@bf{\PYG@ff{#1}}}}}}}
11+
\def\PYG#1#2{\PYG@reset\PYG@toks#1+\relax+\PYG@do{#2}}
12+
13+
\@namedef{PYG@tok@w}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}}
14+
\@namedef{PYG@tok@c}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
15+
\@namedef{PYG@tok@cp}{\def\PYG@tc##1{\textcolor[rgb]{0.61,0.40,0.00}{##1}}}
16+
\@namedef{PYG@tok@k}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
17+
\@namedef{PYG@tok@kp}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
18+
\@namedef{PYG@tok@kt}{\def\PYG@tc##1{\textcolor[rgb]{0.69,0.00,0.25}{##1}}}
19+
\@namedef{PYG@tok@o}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
20+
\@namedef{PYG@tok@ow}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
21+
\@namedef{PYG@tok@nb}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
22+
\@namedef{PYG@tok@nf}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
23+
\@namedef{PYG@tok@nc}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
24+
\@namedef{PYG@tok@nn}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
25+
\@namedef{PYG@tok@ne}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.80,0.25,0.22}{##1}}}
26+
\@namedef{PYG@tok@nv}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
27+
\@namedef{PYG@tok@no}{\def\PYG@tc##1{\textcolor[rgb]{0.53,0.00,0.00}{##1}}}
28+
\@namedef{PYG@tok@nl}{\def\PYG@tc##1{\textcolor[rgb]{0.46,0.46,0.00}{##1}}}
29+
\@namedef{PYG@tok@ni}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.44,0.44,0.44}{##1}}}
30+
\@namedef{PYG@tok@na}{\def\PYG@tc##1{\textcolor[rgb]{0.41,0.47,0.13}{##1}}}
31+
\@namedef{PYG@tok@nt}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
32+
\@namedef{PYG@tok@nd}{\def\PYG@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
33+
\@namedef{PYG@tok@s}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
34+
\@namedef{PYG@tok@sd}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
35+
\@namedef{PYG@tok@si}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.64,0.35,0.47}{##1}}}
36+
\@namedef{PYG@tok@se}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.67,0.36,0.12}{##1}}}
37+
\@namedef{PYG@tok@sr}{\def\PYG@tc##1{\textcolor[rgb]{0.64,0.35,0.47}{##1}}}
38+
\@namedef{PYG@tok@ss}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
39+
\@namedef{PYG@tok@sx}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
40+
\@namedef{PYG@tok@m}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
41+
\@namedef{PYG@tok@gh}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
42+
\@namedef{PYG@tok@gu}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
43+
\@namedef{PYG@tok@gd}{\def\PYG@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
44+
\@namedef{PYG@tok@gi}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.52,0.00}{##1}}}
45+
\@namedef{PYG@tok@gr}{\def\PYG@tc##1{\textcolor[rgb]{0.89,0.00,0.00}{##1}}}
46+
\@namedef{PYG@tok@ge}{\let\PYG@it=\textit}
47+
\@namedef{PYG@tok@gs}{\let\PYG@bf=\textbf}
48+
\@namedef{PYG@tok@ges}{\let\PYG@bf=\textbf\let\PYG@it=\textit}
49+
\@namedef{PYG@tok@gp}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
50+
\@namedef{PYG@tok@go}{\def\PYG@tc##1{\textcolor[rgb]{0.44,0.44,0.44}{##1}}}
51+
\@namedef{PYG@tok@gt}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.27,0.87}{##1}}}
52+
\@namedef{PYG@tok@err}{\def\PYG@bc##1{{\setlength{\fboxsep}{\string -\fboxrule}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}}
53+
\@namedef{PYG@tok@kc}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
54+
\@namedef{PYG@tok@kd}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
55+
\@namedef{PYG@tok@kn}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
56+
\@namedef{PYG@tok@kr}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
57+
\@namedef{PYG@tok@bp}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
58+
\@namedef{PYG@tok@fm}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
59+
\@namedef{PYG@tok@vc}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
60+
\@namedef{PYG@tok@vg}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
61+
\@namedef{PYG@tok@vi}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
62+
\@namedef{PYG@tok@vm}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
63+
\@namedef{PYG@tok@sa}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
64+
\@namedef{PYG@tok@sb}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
65+
\@namedef{PYG@tok@sc}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
66+
\@namedef{PYG@tok@dl}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
67+
\@namedef{PYG@tok@s2}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
68+
\@namedef{PYG@tok@sh}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
69+
\@namedef{PYG@tok@s1}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
70+
\@namedef{PYG@tok@mb}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
71+
\@namedef{PYG@tok@mf}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
72+
\@namedef{PYG@tok@mh}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
73+
\@namedef{PYG@tok@mi}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
74+
\@namedef{PYG@tok@il}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
75+
\@namedef{PYG@tok@mo}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
76+
\@namedef{PYG@tok@ch}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
77+
\@namedef{PYG@tok@cm}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
78+
\@namedef{PYG@tok@cpf}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
79+
\@namedef{PYG@tok@c1}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
80+
\@namedef{PYG@tok@cs}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
81+
82+
\def\PYGZbs{\char`\\}
83+
\def\PYGZus{\char`\_}
84+
\def\PYGZob{\char`\{}
85+
\def\PYGZcb{\char`\}}
86+
\def\PYGZca{\char`\^}
87+
\def\PYGZam{\char`\&}
88+
\def\PYGZlt{\char`\<}
89+
\def\PYGZgt{\char`\>}
90+
\def\PYGZsh{\char`\#}
91+
\def\PYGZpc{\char`\%}
92+
\def\PYGZdl{\char`\$}
93+
\def\PYGZhy{\char`\-}
94+
\def\PYGZsq{\char`\'}
95+
\def\PYGZdq{\char`\"}
96+
\def\PYGZti{\char`\~}
97+
% for compatibility with earlier versions
98+
\def\PYGZat{@}
99+
\def\PYGZlb{[}
100+
\def\PYGZrb{]}
101+
\makeatother
102+
191 Bytes
Binary file not shown.

doc/src/week5/make.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ system doconce format html $name --html_style=bootstrap --pygments_html_style=de
5050
system doconce format ipynb $name $opt
5151

5252

53-
5453
# LaTeX Beamer slides
5554
beamertheme=red_plain
5655
system doconce format pdflatex $name --latex_title_layout=beamer --latex_table_format=footnotesize $opt

doc/src/week5/reveal.js/.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
.svn
3+
log/*.log
4+
tmp/**
5+
node_modules/
6+
.sass-cache
7+
css/reveal.min.css
8+
js/reveal.min.js
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- 0.10
4+
before_script:
5+
- npm install -g grunt-cli
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Contributing
2+
3+
Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
4+
5+
6+
### Personal Support
7+
If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
8+
9+
10+
### Bug Reports
11+
When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
12+
13+
14+
### Pull Requests
15+
- Should follow the coding style of the file you work in, most importantly:
16+
- Tabs to indent
17+
- Single-quoted strings
18+
- Should be made towards the **dev branch**
19+
- Should be submitted from a feature/topic branch (not your master)
20+
21+
22+
### Plugins
23+
Please do not submit plugins as pull requests. They should be maintained in their own separate repository. More information here: https://github.com/hakimel/reveal.js/wiki/Plugin-Guidelines

0 commit comments

Comments
 (0)