diff --git a/src/thesis/chapters/4_decoding_under_dems.tex b/src/thesis/chapters/4_decoding_under_dems.tex index be8d3f4..371de65 100644 --- a/src/thesis/chapters/4_decoding_under_dems.tex +++ b/src/thesis/chapters/4_decoding_under_dems.tex @@ -1448,19 +1448,26 @@ though the process is less global. width=\figwidth, height=\figheight, ymode=log, + % xmode=log, legend style={ cells={anchor=west}, cells={align=left}, }, enlargelimits=false, - ymin=1e-5, ymax=2e-1, + ymin=1e-3, ymax=1e-1, grid=both, - legend pos = south east, - xtick={0.001,0.0015,...,0.004}, + legend pos = north east, + xtick={32,512,1024,2048,4096}, + % xtick={0.001,0.0015,...,0.004}, + xticklabels = + {$32$,$512$,$1{,}024$,,$2{,}048$,,$3{,}072$,,$4{,}096$}, + xtick={32, 512, 1024, 1536, 2048, 2560, 3072, 3584, 4096}, xticklabel style={/pgf/number format/fixed}, xticklabel style={/pgf/number format/precision=4}, + % x tick label style={rotate=45, anchor=north east, + % inner sep=1mm}, scaled x ticks=false, - xlabel={Physical error rate}, + xlabel={Number of BP iterations}, ylabel={Per-round-LER}, extra description/.code={ \node[rotate=90, anchor=south] @@ -1469,37 +1476,44 @@ though the process is less global. }, ] - \foreach \F/\col/\mark in - {3/KITred/triangle,2/KITblue/diamond,1/KITorange/square} { + \foreach \W/\col/\mark in + {3/KITred/triangle,4/KITblue/diamond,5/KITorange/square} { \edef\temp{\noexpand - \addplot+[ - mark=\mark, densely dashed, mark options={fill=\col}, - \col, forget plot - ] + \addplot+[mark=\mark, densely dashed, + forget plot, \col] table[ - col sep=comma, x=physical_p, + col sep=comma, x=max_iter, y=LER_per_round, ] - {res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_False/F_\F/W_5/LERs.csv}; + {res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_False/F_1/W_\W/LERs.csv}; } \temp } - \foreach \F/\col/\mark in - {3/KITred/triangle*,2/KITblue/diamond*,1/KITorange/square*} { + \foreach \W/\col/\mark in + {3/KITred/triangle*,4/KITblue/diamond*,5/KITorange/square*} { \edef\temp{\noexpand \addplot+[mark=\mark, solid, mark options={fill=\col}, \col] table[ - col sep=comma, x=physical_p, + col sep=comma, x=max_iter, y=LER_per_round, ] - {res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_True/F_\F/W_5/LERs.csv}; + {res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_True/F_1/W_\W/LERs.csv}; } \temp - \addlegendentryexpanded{$F = \F$} + \addlegendentryexpanded{$W = \W$} } + + \addplot+[mark=*, solid, mark options={fill=black}, black] + table[ + col sep=comma, x=max_iter, + y=LER_per_round, + ] + {res/sim/max_iter/SyndromeMinSumDecoder/p_0.0025/LERs.csv}; + + \addlegendentry{Whole} \end{axis} \end{tikzpicture} @@ -1519,32 +1533,27 @@ though the process is less global. \centering \begin{subfigure}{0.48\textwidth} \centering - \hspace*{-6mm} + \hspace*{-7mm} \begin{tikzpicture} \begin{axis}[ width=8cm, height=6cm, ymode=log, - % xmode=log, legend style={ cells={anchor=west}, cells={align=left}, }, enlargelimits=false, - ymin=1e-3, ymax=1e-1, + ymin=1e-5, ymax=2e-1, grid=both, - legend pos = north east, - xtick={32,512,1024,2048,4096}, - % xtick={0.001,0.0015,...,0.004}, - xticklabels = - {$32$,$512$,$1{,}024$,,$2{,}048$,,$3{,}072$,,$4{,}096$}, - xtick={32, 512, 1024, 1536, 2048, 2560, 3072, 3584, 4096}, + legend pos = south east, + xtick={0.001,0.0015,...,0.004}, xticklabel style={/pgf/number format/fixed}, xticklabel style={/pgf/number format/precision=4}, x tick label style={rotate=45, anchor=north east, inner sep=1mm}, scaled x ticks=false, - xlabel={Number of BP iterations}, + xlabel={Physical error rate}, ylabel={Per-round-LER}, % extra description/.code={ % \node[rotate=90, anchor=south] @@ -1553,44 +1562,38 @@ though the process is less global. % }, ] - \foreach \W/\col/\mark in - {3/KITred/triangle,4/KITblue/diamond,5/KITorange/square} { + \foreach \F/\col/\mark in + {3/KITred/triangle,2/KITblue/diamond,1/KITorange/square} { \edef\temp{\noexpand - \addplot+[mark=\mark, densely dashed, - forget plot, \col] + \addplot+[ + mark=\mark, densely dashed, mark + options={fill=\col}, + \col, forget plot + ] table[ - col sep=comma, x=max_iter, + col sep=comma, x=physical_p, y=LER_per_round, ] - {res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_False/F_1/W_\W/LERs.csv}; + {res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_False/F_\F/W_5/LERs.csv}; } \temp } - \foreach \W/\col/\mark in - {3/KITred/triangle*,4/KITblue/diamond*,5/KITorange/square*} { + \foreach \F/\col/\mark in + {3/KITred/triangle*,2/KITblue/diamond*,1/KITorange/square*} { \edef\temp{\noexpand \addplot+[mark=\mark, solid, mark options={fill=\col}, \col] table[ - col sep=comma, x=max_iter, + col sep=comma, x=physical_p, y=LER_per_round, ] - {res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_True/F_1/W_\W/LERs.csv}; + {res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_True/F_\F/W_5/LERs.csv}; } \temp - \addlegendentryexpanded{$W = \W$} + \addlegendentryexpanded{$F = \F$} } - - \addplot+[mark=*, solid, mark options={fill=black}, black] - table[ - col sep=comma, x=max_iter, - y=LER_per_round, - ] - {res/sim/max_iter/SyndromeMinSumDecoder/p_0.0025/LERs.csv}; - - \addlegendentry{Whole} \end{axis} \end{tikzpicture} @@ -1599,6 +1602,7 @@ though the process is less global. \hfill% \begin{subfigure}{0.48\textwidth} \centering + \hspace*{-3mm} \begin{tikzpicture} \begin{axis}[ width=8cm, @@ -1624,7 +1628,7 @@ though the process is less global. inner sep=1mm}, scaled x ticks=false, xlabel={Number of BP iterations}, - yticklabels={\empty}, + % yticklabels={\empty}, % ylabel={Per-round-LER}, extra description/.code={ \node[rotate=90, anchor=south] @@ -1664,6 +1668,7 @@ though the process is less global. } \end{axis} \end{tikzpicture} + \vspace{-3.2mm} \caption{Comparison of step sizes for $W=5$.} \end{subfigure}