Add noise model figures

This commit is contained in:
2026-04-25 14:14:41 +02:00
parent 5875066581
commit 85771405db
2 changed files with 121 additions and 4 deletions

View File

@@ -12,3 +12,120 @@
\subsection{Practical Methodology} \subsection{Practical Methodology}
\subsection{Stim} \subsection{Stim}
\begin{figure}[H]
\centering
\newcommand{\xerr}{\gate[style={fill=KITblue!50}]{\phantom{1}}}
\newcommand{\xyzerr}{\gate[style={
draw=black,
fill=KITred,
path picture={
% tex-fmt: off
\fill[KITblue!60]
($(path picture bounding box.south west)+(0,0)$)
-- ($(path picture bounding box.north west)+(0,0)$)
-- ($(path picture bounding box.north west)+(0.28,0)$)
-- cycle;
\fill[KITorange!60]
($(path picture bounding box.north east)+(0,0)$)
-- ($(path picture bounding box.south east)+(0,0)$)
-- ($(path picture bounding box.south east)+(-0.28,0)$)
-- cycle;
\fill[KITred!60]
($(path picture bounding box.north east)+(0,0)$)
-- ($(path picture bounding box.south east)+(-0.28,0)$)
-- ($(path picture bounding box.south west)+(0,0)$)
-- ($(path picture bounding box.north west)+(0.28,0)$)
-- cycle;
% tex-fmt: on
}
}]{\phantom{1}}}
\begin{subfigure}{0.48\textwidth}
\centering
% tex-fmt: off
\begin{quantikz}[row sep=4mm, column sep=4mm]
& \xyzerr & \ctrl{3} & & & & & \\
\lstick{$\ket{\psi}$} & \xyzerr & & \ctrl{2} & \ctrl{3} & & & \\
& \xyzerr & & & & \ctrl{2} & & \\
\lstick{$\ket{0}_{\text{A}_1}$} & & \targ{} & \targ{} & & & \meter{} & \setwiretype{c} \\
\lstick{$\ket{0}_{\text{A}_2}$} & & & & \targ{} & \targ{} & \meter{} & \setwiretype{c}
\end{quantikz}
% tex-fmt: on
\caption{Depolarizing channel.}
\end{subfigure}%
\begin{subfigure}{0.48\textwidth}
\centering
% tex-fmt: off
\begin{quantikz}[row sep=4mm, column sep=4mm]
& \xerr & \ctrl{3} & & & & & & \\
\lstick{$\ket{\psi}$} & \xerr & & \ctrl{2} & \ctrl{3} & & & & \\
& \xerr & & & & \ctrl{2} & & & \\
\lstick{$\ket{0}_{\text{A}_1}$} & & \targ{} & \targ{} & & & \xerr & \meter{} & \setwiretype{c} \\
\lstick{$\ket{0}_{\text{A}_2}$} & & & & \targ{} & \targ{} & \xerr & \meter{} & \setwiretype{c}
\end{quantikz}
% tex-fmt: on
\caption{Phenomenological noise.}
\end{subfigure}
\vspace*{3mm}
\centering
\begin{subfigure}[c]{0.75\textwidth}
\centering
% tex-fmt: off
\begin{quantikz}[row sep=4mm, column sep=2mm]
& \xyzerr & \ctrl{3} & \xyzerr \wire[d][3]{q} & & & & & & & & & \\
\lstick{$\ket{\psi}$} & \xyzerr & & & \ctrl{2} & \xyzerr \wire[d][2]{q} & \ctrl{3} & \xyzerr \wire[d][3]{q} & & & & & \\
& \xyzerr & & & & & & & \ctrl{2} & \xyzerr \wire[d][2]{q} & & & \\
\lstick{$\ket{0}_{\text{A}_1}$} & \xyzerr & \targ{} & \xyzerr & \targ{} & \xyzerr & & & & & \xerr & \meter{} & \setwiretype{c} \\
\lstick{$\ket{0}_{\text{A}_2}$} & \xyzerr & & & & & \targ{} & \xyzerr & \targ{} & \xyzerr & \xerr & \meter{} & \setwiretype{c}
\end{quantikz}
% tex-fmt: on
\caption{Circuit-level noise.}
\end{subfigure}%
\hfill%
\begin{subfigure}[c]{0.25\textwidth}
\centering
% tex-fmt: off
\begin{quantikz}[row sep=4mm, column sep=2mm]
\setwiretype{n} & \xerr & \gate[style={right, draw=none, xshift=-15mm}]{\text{X error}} \\
\setwiretype{n} & \xyzerr & \gate[style={right, draw=none, xshift=-15mm}]{\text{X,Z, or Y error}} \\
\setwiretype{n} & \gate{\phantom{1}}\wire[d][1]{q} & \gate[style={right, draw=none, xshift=-15mm},2]{\text{Correlated error}} \\
\setwiretype{n} & \gate{\phantom{1}} &
\end{quantikz}
% tex-fmt: on
\end{subfigure}
\caption{Types of noise models.}
\label{fig:Types of noise models.}
\end{figure}
\begin{figure}[H]
\centering
\begin{tikzpicture}
\node[rectangle, draw, fill=orange!20, minimum
height=2cm, minimum width=2.5cm, align=left] at (0,0)
(internal) {Internal\\ Errors};
\node[signal, draw, fill=orange!20, minimum height=2cm,
minimum width=2.5cm, align=left, signal pointer angle=140]
at (-2.45, 0) (input) {Input\\ Errors};
\node at (1.97,0) {\huge =};
\node[rectangle, draw, fill=orange!20, minimum height=2cm,
minimum width=2.5cm, align=left] at (4,0) (output)
{Output\\ Errors};
\node[above] at (input.north) {\small Input State};
\node[above] at (internal.north) {\small QEC};
\node[above] at (output.north) {\small Output State};
\end{tikzpicture}
\caption{Sources of error in a fault-tolerant \ac{qec} system.}
\end{figure}

View File

@@ -98,11 +98,11 @@
\tableofcontents \tableofcontents
\cleardoublepage \cleardoublepage
\input{chapters/1_introduction.tex} % \input{chapters/1_introduction.tex}
\input{chapters/2_fundamentals.tex} % \input{chapters/2_fundamentals.tex}
\input{chapters/3_fault_tolerant_qec.tex} \input{chapters/3_fault_tolerant_qec.tex}
\input{chapters/4_decoding_under_dems.tex} % \input{chapters/4_decoding_under_dems.tex}
\input{chapters/5_conclusion_and_outlook.tex} % \input{chapters/5_conclusion_and_outlook.tex}
% \appendix % \appendix
% \listoffigures % \listoffigures