Step I. Finite dimensional self-adjoint case. Suppose that f:\mathbb{Z}_m^n\to M_d^{\mathrm{sa}} and equip \mathbb{T}_m^n=(\mathbb{R}/m\mathbb{Z})^n with normalized Lebesgue measure d\nu(z)=m^{-n}\,dz on [0,m)^n. In the sequel, integer vectors in the argument of f are reduced coordinatewise modulo m. Define
F(z)=f(\lfloor z\rfloor)=f(\lfloor z_{1}\rfloor,\cdots, \lfloor z_{n}\rfloor),\qquad z\in\mathbb{R}^n,
It is clear that F is measurable and has finite range such that
F(z+me_j)=F(z),\qquad z\in \mathbb{R}^{n}.
In the sequel, we view F as the function defined on \mathbb{T}^{n}_{m} taking values in M^{\mathrm{sa}}_{d}. For any integrable function h:\mathbb{T}^{n}_{m}\to \mathbb{R}, by the decomposition of the cube \mathbb{T}^{n}_{m}, we have the following
\begin{split}
\int_{\mathbb{T}_m^n}h(z)\,d\nu(z)&=\frac{1}{m^{n}}\int_{\sqcup_{x\in \{0,\cdots, m-1\}^{n}}[x,x+1)^{n}}h(z)~dz\\
&=\frac{1}{m^{n}}\sum_{x\in \{0,\cdots, m-1\}^{n}}\int_{[x,x+1)^{n}}h(z)~dz\\
&=\frac{1}{m^{n}}\sum_{x\in\{0,\ldots,m-1\}^n}\int_{[0,1)^n}h(x+z)\,dz.
\end{split}
Let x be uniform on \{0,\ldots,m-1\}^n, and let U, W be independent of x and of each other such that U is uniform on [0,1)^n and W is as in Lemma 5.1. Then by the definition of F, it is clear that
F(x+U)=f(x),\qquad
F(x+U+W)=f(x+\lfloor U+W\rfloor).
We claim here that the variable \lfloor U+W\rfloor is a random variable which is independent of x such that the distribution of \lfloor U+W\rfloor is uniform on \{-1,0,1\}^n. Indeed, for each j\in \{1,\cdots,n\}, we have
\begin{aligned}
\mathbb{P}\{\theta: \lfloor U_{j}+W_{j}\rfloor(\theta)=1\}&=\int_{[0,1)}\int_{\mathbb{R}}\psi(t)\chi_{[1,\infty)}(\omega+t)~dt~d\omega\\
&=\int_{\mathbb{R}}\psi(t)\left(\int_{[0,1)}\chi_{[1,\infty)}(\omega+t)~d\omega\right)dt\\
&=\int_{0}^{\infty}t\psi(t)dt=\frac{1}{3}.
\end{aligned}
For other cases, it is also easy to compute that
\mathbb{P}\{\theta:\lfloor U_{j}+W_{j} \rfloor(\theta)=0\}=\mathbb{P}\{\theta:\lfloor U_{j}+W_{j}\rfloor(\theta)=-1\}=\frac{1}{3}.
This completes the proof of our claim. Hence, (Proof) yields that
\int_{\mathbb{T}_m^n}\mathbb{E}_W\left\lVert F(z+W)-F(z)\right\rVert_{1}^2\,d\nu(z)=\mathbb{E}_{(x,\varepsilon)\in\mathbb{Z}_m^n\times\{-1,0,1\}^{n}}\left\lVert f(x+\varepsilon)-f(x)\right\rVert_{1}^2.
We now apply the smoothing approximation argument as follows. Let g be defined by (?). By Proposition 5.2, the function g is C^{1} and periodic. For every z, the Cauchy–Schwarz inequality gives
\bigl(\mathbb{E}_W\left\lVert F(z+W)-F(z)\right\rVert_{1}\bigr)^2\leq\mathbb{E}_W\left(\left\lVert F(z+W)-F(z)\right\rVert_{1}^2\right).
Hence, applying Proposition 5.2 and (?) we obtain that
\begin{split}
\left\lVert F-g\right\rVert_{L_{2}(\mathbb{T}^{n}_{m};S_{1})}&\leq 3\left(\int_{\mathbb{T}^{n}_{m}}\left(\mathbb{E}_{W}\left\|F(z+W)-F(z)\right\|_{1}\right)^{2}~d\nu(z)\right)^{1/2}\\
&\leq 3\left(\int_{T^{n}_{m}}\mathbb{E}_{W}\left\|F(z+W)-F(z)\right\|^{2}_{1}~d\nu(z)\right)^{1/2}\\
&=3\left(\mathbb{E}_{(x,\varepsilon)\in\mathbb{Z}_m^n\times\{-1,0,1\}^{n}}\left\lVert f(x+\varepsilon)-f(x)\right\rVert_{1}^2\right)^{1/2},
\end{split}
and
\left(\sum_{j=1}^n\left\lVert \partial_jg\right\rVert_{L_2(\mathbb{T}^{n}_{m};S_1)}^2\right)^{1/2}\leq6\sqrt{70}\left(\mathbb{E}_{(x,\varepsilon)\in\mathbb{Z}_m^n\times\{-1,0,1\}^{n}}\left\lVert f(x+\varepsilon)-f(x)\right\rVert_{1}^2\right)^{1/2}.
For an integer vector h\in \mathbb{N}^{n} and the fact F(x+u+h)=f(x+h) for each u\in [0,1)^{n}, we have
\begin{split}
\left\lVert F(\cdot+h)-F\right\rVert_{L_2(\mathbb{T}^{n}_{m};S_1)}^2&=\int_{T^{n}_{m}}\|F(z+h)-F(z)\|^{2}_{1}~d\nu(z)\\
&=\mathbb{E}_{x\in \mathbb{Z}^{n}_{m}}\int_{[0,1)^{n}}\|F(x+u+h)-F(x+u)\|^{2}_{1}~d u\\
&=\mathbb{E}_{x\in\mathbb{Z}_m^n}\left\lVert f(x+h)-f(x)\right\rVert_{1}^{2}.
\end{split}
Since m is even, it follows from (?) that
\left(\sum_{j=1}^{n}\mathbb{E}_{x\in \mathbb{Z}^{n}_{m}}\left\lVert f(x+\tfrac m2e_j)-f(x)\right\rVert_{1}^2\right)^{1/2}=\left(\sum_{j=1}^n
\left\lVert F(\cdot+\tfrac m2e_j)-F\right\rVert_{L_2(\mathbb{T}^{n}_{m}; S_1)}^2\right)^{1/2}.
For each j, by g\in C^{1}(\mathbb{R}^{n};M^{\mathrm{sa}}_{d}), the fundamental theorem of calculus gives
g(z+\tfrac m2e_j)-g(z)=\int_0^{m/2}\partial_jg(z+te_j)\,dt.
Hence, the Minkowski inequality yields
\begin{split}
\left\lVert g(\cdot+\tfrac m2e_j)-g\right\rVert_{L_2(\mathbb{T}^{n}_{m};S_1)}\leq\int_0^{m/2}\left\lVert \partial_jg(\cdot+te_j)\right\rVert_{L_2(\mathbb{T}^{n}_{m};S_1)}\,dt=\frac m2\left\lVert \partial_jg\right\rVert_{L_2(\mathbb{T}^{n}_{m}; S_1)}.
\end{split}
where we used the fact that uniform measure on \mathbb{T}^{n}_{m} is translation invariant. Applying (?), we obtain
\begin{split}
&\left(\sum_{j=1}^{n}\mathbb{E}_{x\in \mathbb{Z}^{n}_{m}}\left\lVert f(x+\frac{m}{2}e_{j})-f(x)\right\rVert_{1}^{2}\right)^{1/2}\\
\leq&\left(\sum_{j=1}^{n}\left\lVert F(\cdot+\frac{m}{2}e_{j})-g(\cdot+\frac{m}{2}e_{j})\right\rVert_{L_{2}(\mathbb{T}^{n}_{m};S_{1})}^{2}\right)^{1/2}\\
&+\left(\sum_{j=1}^{n}\left\lVert g(\cdot+\frac{m}{2}e_{j})-g\right\rVert_{L_{2}(\mathbb{T}^{n}_{m};S_{1})}^{2}\right)^{1/2}+\sqrt{n}\left\lVert F-g\right\rVert_{L_{2}(\mathbb{T}^{n}_{m};S_{1})}\\
=&2\sqrt{n}\left\lVert F-g\right\rVert_{L_{2}(\mathbb{T}^{n}_{m};S_{1})}+\left(\sum_{j=1}^{n}\left\lVert g(\cdot+\frac{m}{2}e_{j})-g\right\rVert_{L_{2}(\mathbb{T}^{n}_{m};S_{1})}^{2}\right)^{1/2}.
\end{split}
Due to (?), we now apply Proposition 5.2 and (?) to (?) and obtain that
\begin{split}
&\left(\sum_{j=1}^{n}\mathbb{E}_{x\in \mathbb{Z}^{n}_{m}}\left\lVert f(x+\frac{m}{2}e_{j})-f(x)\right\rVert_{1}^{2}\right)^{1/2}\\
\leq& 2\sqrt{n}\left\lVert F-g\right\rVert_{L_{2}(\mathbb{T}^{n}_{m};S_{1})}+3\sqrt{70}m\left(\mathbb{E}_{(x,\varepsilon)\in\mathbb{Z}_m^n\times\{-1,0,1\}^{n}}\left\lVert f(x+\varepsilon)-f(x)\right\rVert_{1}^2\right)^{1/2}\\
\leq & (6\sqrt{n}+3\sqrt{70}m)\left(\mathbb{E}_{(x,\varepsilon)\in \mathbb{Z}^{n}_{m}\times \{-1,0,1\}^{n}}\left\lVert f(x+\varepsilon)-f(x)\right\rVert_{1}^{2}\right)^{1/2},
\end{split}
for every f:\mathbb{Z}^{n}_{m}\to M^{\mathrm{sa}}_{d}. This completes the proof for the self-adjoint matrices setting.
Step II. Finite dimensional case. For a matrix A\in M_{d}, we define the Hermitian dilation of A by
\widetilde{A}\coloneqq\frac{1}{2}
\begin{pmatrix}
0&A\\ A^*&0
\end{pmatrix}\in M_{2d}^{\mathrm{sa}}
It is easy to see that
\left\lVert \widetilde{A}\right\rVert_{1}=\frac12\operatorname{Tr}(AA^*)^{1/2}+\frac12\operatorname{Tr}(A^*A)^{1/2}=\left\lVert A\right\rVert_{1}.
By the Hermitian dilation of matrices, we now define the Hermitian dilation of a function f:\mathbb{Z}^{n}_{m}\to M_{d} as follows
\widetilde f(x)=\frac{1}{2}
\begin{pmatrix}
0&f(x)\\ f(x)^*&0
\end{pmatrix}\in M_{2d}^{\mathrm{sa}}, \qquad x\in \mathbb{Z}^{n}_{m}.
Hence, for a given f:\mathbb{Z}^{n}_{m}\to M_{d}, we apply (?) to \widetilde{f} to obtain
\begin{aligned}
&\left(\sum_{j=1}^{n}\mathbb{E}_{x\in \mathbb{Z}^{n}_{m}}\left\lVert f(x+\frac{m}{2}e_{j})-f(x)\right\rVert_{1}^{2}\right)^{1/2}\\
=&\left(\sum_{j=1}^{n}\mathbb{E}_{x\in \mathbb{Z}^{n}_{m}}\left\lVert \widetilde{f}(x+\frac{m}{2}e_{j})-\widetilde{f}(x)\right\rVert_{1}^{2}\right)^{1/2}\\
\leq & (6\sqrt{n}+3\sqrt{70}m)\left(\mathbb{E}_{(x,\varepsilon)\in \mathbb{Z}^{n}_{m}\times \{-1,0,1\}^{n}}\left\lVert \widetilde{f}(x+\varepsilon)-\widetilde{f}(x)\right\rVert_{1}^{2}\right)^{1/2}\\
=&(6\sqrt{n}+3\sqrt{70}m)\left(\mathbb{E}_{(x,\varepsilon)\in \mathbb{Z}^{n}_{m}\times \{-1,0,1\}^{n}}\left\lVert f(x+\varepsilon)-f(x)\right\rVert_{1}^{2}\right)^{1/2}.
\end{aligned}
This proves the assertion for mappings taking values in arbitrary finite dimensional matrices.
Step III. Infinite dimensional case via approximation. For each x\in\mathbb{Z}_m^n, by the singular value decomposition of f(x), we have
f(x)=\sum_{k=1}^\infty s_k(x)u_k(x)\otimes v_k(x)
with
\|f(x)\|_{1}=\sum_{k=1}^\infty s_k(x)<\infty,
and u\otimes v denotes the operator h\mapsto\langle h,v\rangle u. For each N\in \mathbb{N}, let
f_N(x)=\sum_{k=1}^N s_k(x)u_k(x)\otimes v_k(x),\qquad
\eta_N=\max_{x\in\mathbb{Z}_m^n}\sum_{k>N}s_k(x).
By the definition of the Schatten trace class norm, it follows that \left\lVert f_N(x)-f(x)\right\rVert_{1}=\sum_{k>N}s_k(x)\to 0 as N\to \infty. Since \mathbb{Z}^{n}_{m} is a finite set, we have \eta_N\to0. By Step II, it follows that for each N\in \mathbb{N}
\begin{split}
&\left(\sum_{j=1}^{n}\mathbb{E}_{x\in \mathbb{Z}^{n}_{m}}\left\lVert f_{N}(x+\frac{m}{2}e_{j})-f_{N}(x)\right\rVert_{1}^{2}\right)^{1/2}\\
\leq&(6\sqrt{n}+3\sqrt{70}m)\left(\mathbb{E}_{(x,\varepsilon)\in \mathbb{Z}^{n}_{m}\times \{-1,0,1\}^{n}}\left\lVert f_{N}(x+\varepsilon)-f_{N}(x)\right\rVert_{1}^{2}\right)^{1/2}
\end{split}
Taking N\to \infty on the both sides of (?) yields the desired result.