\documentclass{lib/cel-thesis/cel-thesis}

\usepackage[a4paper,left=3cm,right=3cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage{float}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{mleftright}
\usepackage{bm}
\usepackage{bbm}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepackage{acro}
\usepackage{braket}
\usepackage{listings}
\usepackage{caption}
% \usepackage[
%     backend=biber,
%     style=ieee,
%     sorting=nty,
% ]{biblatex}
% \usepackage{todonotes}
\usepackage{quantikz}
\usepackage{stmaryrd}
\usepackage{algorithm}
\usepackage[noEnd=false]{algpseudocodex}
\usepackage{nicematrix}
\usepackage{colortbl}
\usepackage{cleveref}
\usepackage{lipsum}

\usetikzlibrary{calc, positioning, arrows, fit}
\usetikzlibrary{external}
\tikzexternalize

% \makeatletter
% \renewcommand{\todo}[2][]{\tikzexternaldisable\@todo[#1]{#2}\tikzexternalenable}
% \makeatother

\setcounter{MaxMatrixCols}{20}

\Crefname{equation}{}{}
\Crefname{section}{Section}{Sections}
\Crefname{subsection}{Subsection}{Subsections}
\Crefname{figure}{Figure}{Figures}

%
%
% Custom commands
%
%

\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\content}[1]{\noindent\indent\red{[#1]\\}}

\newcommand{\figwidth}{10cm}
\newcommand{\figheight}{7.5cm}

%
%
% Acronyms
%
%

\input{acronyms.tex}

\usepackage{babelbib}
\setlanguage

\usepackage{caption}
\usepackage{bm}
\usepackage{subcaption}
\usepackage{todonotes} % great for draft annotations
\DeclareCaptionLabelFormat{bf-nodot}{\textbf{#1}~\textbf{#2}}
\captionsetup{labelformat=bf-nodot,labelsep=colon}

%
%
% Content
%
%

\thesisTitle{Fault Tolerant Quantum Error Correction}
\thesisType{Master's Thesis}
\thesisAuthor{Andreas Tsouchlos}
\thesisAdvisor{Prof. Dr.-Ing. Laurent Schmalen}
\thesisHeadOfInstitute{Prof. Dr.-Ing. Laurent Schmalen}
% \thesisHeadOfInstitute{Prof. Dr.-Ing. Peter Rost}
%\thesisHeadOfInstitute{Prof. Dr.-Ing. Peter Rost\\Prof. Dr.-Ing.
% Laurent Schmalen}
\thesisSupervisor{Jonathan Mandelbaum}
\thesisStartDate{01.11.2025}
\thesisEndDate{04.05.2026}
\thesisSignatureDate{Signature date}
\thesisLanguage{english}

\begin{document}
\pagenumbering{roman}  % all the preliminaries should be counted roman style

\maketitle
\newpage

% \include{chapters/abstract}

\cleardoublepage
\pagenumbering{arabic}

\tableofcontents
\cleardoublepage

\input{chapters/1_introduction.tex}
\input{chapters/2_fundamentals.tex}
\input{chapters/3_fault_tolerant_qec.tex}
\input{chapters/4_decoding_under_dems.tex}
\input{chapters/5_conclusion_and_outlook.tex}

% \appendix
% \listoffigures
% \listoftables
% \include{abbreviations}

\bibliography{lib/cel-thesis/IEEEabrv,src/thesis/bibliography}

\end{document}

