Add param-exploration.tex

This commit is contained in:
2026-03-30 03:56:17 +02:00
parent 7db31aec85
commit b60b1a2aed

View File

@@ -0,0 +1,477 @@
\documentclass{article}
\usepackage[a4paper,left=2cm,right=2cm,top=2.5cm,bottom=2cm]{geometry}
\usepackage{float}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{amsfonts}
\usepackage{mleftright}
\usepackage{bm}
\usepackage{tikz}
\usepackage{subcaption}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepackage{acro}
\usepackage{braket}
\usepackage[
backend=biber,
style=ieee,
sorting=nty,
]{biblatex}
\usepackage{todonotes}
\usepackage{lipsum}
\usetikzlibrary{calc, positioning}
\input{lib/latex-common/common.tex}
\pgfplotsset{colorscheme/matplotlib}
%
%
% Custom commands
%
%
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\figwidth}{8cm}
\newcommand{\figheight}{6.5cm}
%
%
% Acronyms
%
%
\DeclareAcronym{qec}{
short=QEC,
long=quantum error correction
}
\addbibresource{src/proposal/MA.bib}
%
%
% Content
%
%
\title{Parameter Exploration}
\author{Andreas Tsouchlos}
\begin{document}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Whole vs Windowed decoding}
\label{sec:Whole vs Windowed decoding}
\begin{figure}[H]
\centering
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_whole]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=1,+system.W=\W/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~whole}
}
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_sw]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=1,+system.W=\W/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~windowed}
}
\end{axis}
\end{tikzpicture}
\caption{Min-Sum}
\end{subfigure}%
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_whole]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=1,+system.W=\W/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~whole}
}
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_sw]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=1,+system.W=\W/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~windowed}
}
\end{axis}
\end{tikzpicture}
\caption{SPA}
\end{subfigure}
\caption{BP simulations for the [[144,12,12]]-BB code with $F=1,
n_\text{iter,BP}=32$}
\end{figure}
\begin{figure}[H]
\centering
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_whole]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=\F,+system.W=5/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~whole}
}
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_sw]
% {/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=\F,+system.W=5/2026-03-29_23-39-18/LERs.csv};
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=\F,+system.W=5/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~windowed}
}
\end{axis}
\end{tikzpicture}
\caption{Min-Sum}
\end{subfigure}%
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_whole]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=\F,+system.W=5/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~whole}
}
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_sw]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=windowed_vs_whole_param_exploration,+system.F=\F,+system.W=5/2026-03-29_23-39-18/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~windowed}
}
\end{axis}
\end{tikzpicture}
\caption{SPA}
\end{subfigure}
\caption{BP simulations for the [[144,12,12]]-BB code with $W=5,
n_\text{iter,BP}=32$}
\end{figure}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Soft- vs Hard- Information Decoding}
\label{sec:Soft- vs Hard- Information Decoding}
\begin{figure}[H]
\centering
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_hard]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=soft_vs_hard_param_exploration,+system.F=1,+system.W=\W/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~hard}
}
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=*, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_soft]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=soft_vs_hard_param_exploration,+system.F=1,+system.W=\W/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~soft}
}
\end{axis}
\end{tikzpicture}
\caption{Min-Sum}
\end{subfigure}%
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_hard]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=soft_vs_hard_param_exploration,+system.F=1,+system.W=\W/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~hard}
}
\foreach \W/\col in {3/scol2,4/scol1,5/scol0} {
\edef\temp{\noexpand
\addplot+[mark=*, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_soft]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=soft_vs_hard_param_exploration,+system.F=1,+system.W=\W/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$W = \W$~soft}
}
\end{axis}
\end{tikzpicture}
\caption{SPA}
\end{subfigure}
\caption{BP simulations for the [[144,12,12]]-BB code with $F=1,
n_\text{iter,BP}=32$}
\end{figure}
\begin{figure}[H]
\centering
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_hard]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=soft_vs_hard_param_exploration,+system.F=\F,+system.W=5/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~hard}
}
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=*, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_soft]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=minimum_sum,+experiment=soft_vs_hard_param_exploration,+system.F=\F,+system.W=5/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~soft}
}
\end{axis}
\end{tikzpicture}
\caption{Min-Sum}
\end{subfigure}%
\begin{subfigure}{0.5\textwidth}
\begin{tikzpicture}
\begin{axis}[
width=\figwidth,
height=\figheight,
ymode=log,
legend style={
cells={anchor=west},
cells={align=left},
},
enlargelimits=false,
ymin=1e-2, ymax=1,
grid=both,
legend pos = south east,
xtick={0.001,0.0015,...,0.004},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,
xlabel={Physical error rate},
ylabel={LER},
]
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=o, line width=1pt, densely dashed, \col]
table[col sep=comma, x=physical_p, y=LER_hard]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=soft_vs_hard_param_exploration,+system.F=\F,+system.W=5/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~hard}
}
\foreach \F/\col in {1/scol2,2/scol1,3/scol0} {
\edef\temp{\noexpand
\addplot+[mark=*, line width=1pt, \col]
table[col sep=comma, x=physical_p, y=LER_soft]
{/home/andreas/workspace/private/ma-sw-results/outputs/+decoder.bp_method=product_sum,+experiment=soft_vs_hard_param_exploration,+system.F=\F,+system.W=5/2026-03-30_00-06-26/LERs.csv};
}
\temp
\addlegendentryexpanded{$F = \F$~soft}
}
\end{axis}
\end{tikzpicture}
\caption{SPA}
\end{subfigure}
\caption{BP simulations for the [[144,12,12]]-BB code with $W=5,
n_\text{iter,BP}=32$}
\end{figure}
\end{document}