\subsection{Implementing affine updates} To retain functions $r_j(x)$ of an unknown posterior, the device must update their means from the observed symbols alone. We implement affine updates of the form \begin{equation}\label{eq:affine-moments} r\longmapsto b+\mathsf M r,\qquad a_0:=\sum_j|b_j|,\quad a_1:=\sum_{j,\ell}|\mathsf M_{j\ell}|,\quad a_0+a_1<1. \end{equation} For a power-of-two dimension $d$, use the $M=d^2-1$ nonidentity Hermitian Pauli strings $P_j$ (tensor products of $I,X,Y,Z$), with $P_1$ a single Pauli $Z$. They have eigenvalues $\pm1$ and $\tr(P_jP_\ell)=d\,\mathbf1_{j=\ell}$. If $\sum_j|r_j(x)|\le1$, then $\rho_x=(I+\sum_jr_j(x)P_j)/d$ is a density matrix with $\tr(P_j\rho_x)=r_j(x)$. \begin{lemma}\label{lem:affine-physical} The affine update \eqref{eq:affine-moments} is realized by a CPTP map on all $d$-dimensional inputs. On trace-zero differences it contracts trace norm by at most $a_1$. For every power of two $N$, the same coordinate update with $M=N-1$ is realized by an $N$-state stochastic map; its mean-feature errors contract in coefficient $\ell^1$ norm by at most $a_1$. \end{lemma} \begin{proof} On unnormalized inputs $X$, let \[ \begin{aligned} \mathcal D_0(X)&=\tr(X)I/d,& \mathcal P_j^s(X)&=\tr(X)(I+sP_j)/d,\\ \mathcal C_{j\ell}^s(X)&=\tr(X)I/d+s\tr(P_\ell X)P_j/d, &&s=\pm1. \end{aligned} \] The last channel measures $P_\ell$ and prepares $(I+s vP_j)/d$ after outcome $v$. The positive mixture \begin{equation}\label{eq:affine-channel} \Phi=(1-a_0-a_1)\mathcal D_0 +\sum_j|b_j|\mathcal P_j^{\operatorname{sign}b_j} +\sum_{j,\ell}|\mathsf M_{j\ell}| \mathcal C_{j\ell}^{\operatorname{sign}\mathsf M_{j\ell}} \end{equation} is therefore CPTP and has coordinates $b+\mathsf M r$. Zero terms are omitted. Preparations vanish on trace-zero differences, while every $\mathcal C_{j\ell}^s$ contracts their trace norm by at most one. For the classical construction write $s,j$ as $\log_2N$-bit strings and set $t_{s,j}=(-1)^{s\cdot j}$, omitting $j=0$. These rows form a matrix of signs with orthogonal columns, usually called a Walsh matrix. Thus $\sum_s t_s=0$ and $\sum_s t_st_s^{\mathsf T}=NI$. Define \begin{equation}\label{eq:affine-walsh} \mathsf K(s,v)=\frac{1+t_v^{\mathsf T}(b+\mathsf M t_s)}N. \end{equation} Its entries are at least $(1-a_0-a_1)/N$, each row sums to one, and its expected destination feature is $b+\mathsf M t_s$. Since $\|\mathsf M\|_{1\to1}\le a_1$, its mean features have the claimed error bound. A reference feature $r(x)$ is prepared with probabilities $(1+t_s^{\mathsf T}r(x))/N$ whenever $\|r(x)\|_1\le1$. \end{proof}