Is there an easy (or even hard) way to draw an execution example of a cryptographic protocol? I'm trying to write about BB84 in my master's thesis, i'm looking for something like this:
or this:
I think the best way can be to use tables, but I'm really struggling. Thanks in advance!
Edit 1: As always, I forgot to put some code. Sorry!
\begin{tabular}{ |p{4cm} |p{1cm}|p{1cm}|p{1cm}||p{1cm}| }
\hline
& 1 & 2 & 3 & 4 \\
\hline
\textbf{(1)} Alice's bitstring & 0 & 1 & 1 & 0 \\
\textbf{(1)} Alice's bases & 1 & 1 & 0 & 0 \\
\textbf{(2)} Qubits sent & $\ket{+}$ & $\ket{-}$ & $\ket{1}$ & $\ket{0}$ \\
\textbf{(3)} Bob's bases & 1 & 0 & 1 & 0\\
\textbf{(3)} Bob's measuring results & \textbf{0} & 0 & 1 & \textbf{0}\\
\hline
\end{tabular}
The main problems are the last two rows.