-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththesis.tex
More file actions
106 lines (93 loc) · 2.53 KB
/
thesis.tex
File metadata and controls
106 lines (93 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
\documentclass[11pt]{asu}
\usepackage[]{graphics}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{listings}
\usepackage{url}
\usepackage[dvipsnames]{xcolor}
\usepackage{soul}
\usepackage{courier}
\usepackage{csquotes}
\usepackage{fixltx2e}
\usepackage{xinttools}
\usepackage{physics}
\usepackage{multirow}
\usepackage{verbatim}
\usepackage{float}
\usepackage{units}
\usepackage{calc}
\usepackage[]{algorithm2e}
\usepackage[toc,page]{appendix}
\newcounter{bitindex}
\clubpenalty=5000
\widowpenalty=5000
\renewcommand\lstlistlistingname{List of Listings}
\setlength{\belowcaptionskip}{.25in}
\definecolor{myblue}{rgb}{0,0,0.6}
\lstset{language=python,
numberstyle=\footnotesize,
basicstyle=\ttfamily\footnotesize,
commentstyle=\color{myblue},
morekeywords={with, as},
numbers=left,
stepnumber=1,
frame=single,
breaklines=true,
showstringspaces=false
}
% define tag textSq for visualizing quantum gates
\makeatletter
\def\textSq#1{%
\begingroup% make boxes and lengths local
\setlength{\fboxsep}{0.3ex}% SET ANY DESIRED PADDING HERE
\setbox1=\hbox{#1}% save the contents
\setlength{\@tempdima}{\maxof{\wd1}{\ht1+\dp1}}% size of the box
\setlength{\@tempdimb}{(\@tempdima-\ht1+\dp1)/2}% vertical raise
\raise-\@tempdimb\hbox{\fbox{\vbox to \@tempdima{%
\vfil\hbox to \@tempdima{\hfil\copy1\hfil}\vfil}}}%
\endgroup%
}
\def\Sq#1{\textSq{\ensuremath{#1}}}%
\makeatother
%inline code command, using courier font
\definecolor{light-gray}{gray}{0.90}
\newcommand{\plaintext}[1]{\texttt{#1}}
\newcommand{\code}[1]{\begin{verbatim}[#1]\end{verbatim}}
\title{A Simulation of the BB84 Quantum Key Exchange Protocol}
\degree{Bachelor of Science}
\department{Computer Science}
\gradmonth{December}
\gradyear{2019}
\author{Andrew Thorp}
\thesischair{Raghuveer Mohan, Ph.D.}
\thesismemberone{Chad Waters, M.Sc.}
\thesismembertwo{Raghuveer Mohan, Ph.D.}
\deptchair{Rahman Tashakkori, Ph.D.}
\dean{Dean}
\begin{document}
\begin{preliminary}
\maketitle
\makecopyright
\input{0x_acknowledgements.tex}
\input{01_abstract.tex}
\tableofcontents
%\listoftables
\listoffigures
\lstlistoflistings
\end{preliminary}
\newlinestretch{2}
\begin{doublespace}
\input{02_introduction.tex}
\input{03_background.tex}
\input{04_bb84.tex}
\input{05_implementation.tex}
\input{06_conclusion.tex}
\end{doublespace}
\newpage
\newlinestretch{1}
\addcontentsline{toc}{chapter}{bibliography}
\bibliography{bibliography}
\bibliographystyle{plain}
\end{document}