Quantum Information and Channels: A formalization blueprint

49 Protocols of channels

A protocol is a circuit of Chapter 45 with plain gates whose gates and onsite families are trace-preserving, of bounded depth, regarded through the channel it realises. The classes of protocols below are restrictions of circuits: an adaptive protocol may choose later layers by the outcomes of earlier ones, a protocol is unbranched, and a bounded protocol in addition has every basis along it of bounded size. On a geometry whose cells have positive cost the Heisenberg picture of a protocol of depth \(T\) has light cones of radius \(T\), and expectations after the conversion of a product input factorize at distance greater than \(2T\). Approximate conversions compose with additive depths and errors, and mutual asymptotic conversion at polylogarithmic depth is an equivalence relation. A protocol whose bases have at most \(q\) elements is simulated in the same depth by a protocol on an alphabet of \(q\) letters at every site.

49.1 Protocols and conversions

Let \(\Gamma \) be a geometry on a finite set of sites, \(X\) and \(Z\) systems on it, and \(T\in \mathbb {N}\). A linear map \(\Phi \) from the matrices on \(\mathcal H_X\) to those on \(\mathcal H_Z\) is realised by an adaptive protocol of depth at most \(T\) if it is the map of a circuit from \(X\) to \(Z\) of plain gates whose gates and onsite families are trace-preserving and whose depth is at most \(T\). It is realised by a protocol if the circuit can be taken unbranched, and by a protocol bounded by \(B\) if every basis along the circuit also has between \(1\) and \(B\) elements. A matrix \(\rho \) on \(\mathcal H_X\) is converted into a matrix \(\sigma \) on \(\mathcal H_Z\) in depth \(T\) if some \(\Phi \) realised by a protocol of depth at most \(T\) has \(\Phi (\rho )=\sigma \), and converted adaptively if some \(\Phi \) realised by an adaptive protocol of depth at most \(T\) has \(\Phi (\rho )=\sigma \).

A protocol is an adaptive protocol, and a protocol bounded by \(B\) is a protocol. The identity is realised by a protocol of depth \(0\), and a protocol or adaptive protocol of depth at most \(T\) has depth at most every \(T'\ge T\). If \(\Phi \) and \(\Psi \) are realised in depths \(T\) and \(T'\) by protocols of one of the three classes, with the same bound \(B\) for bounded protocols, then \(\Psi \circ \Phi \) is realised in depth \(T+T'\) by a protocol of the same class.

Proof ▶

The empty circuit realises the identity. Compose the circuits. The map of the composite is \(\Psi \circ \Phi \) and its depth is at most \(T+T'\); local trace preservation, being unbranched and the dimension bound pass to the composite.

Lemma 49.1.3 Classical feedforward
✓

Let \(L\) be a layer of trace-preserving plain gates from \(X\) to \(Y\) with Kraus operators \((K_i)_i\) and depth \(t\), and for each \(i\) let \(\Psi _i\) be realised by an adaptive protocol of depth at most \(T\). Then

\begin{align} \rho & \mapsto \sum _i\Psi _i\bigl(K_i\rho K_i^\dagger \bigr) \notag \end{align}

is realised by an adaptive protocol of depth at most \(t+T\). This is the classical feedforward of  [ 124 ] : the operations after \(L\) depend on its outcome.

Proof ▶

Let \(c_i\) be the circuit of \(\Psi _i\), and take the circuit that applies \(L\) and then, on the outcome \(i\), continues with \(c_i\). Its map is the displayed sum, its gates and onsite families are those of \(L\) and of the \(c_i\), and its depth is \(t\) plus the largest depth of the \(c_i\).

The map of an adaptive protocol is completely positive and trace-preserving. Every matrix is converted into itself in depth \(0\); a conversion in depth \(T\) is one in every depth \(T'\ge T\); converting \(\rho \) into \(\sigma \) in depth \(T_1\) and \(\sigma \) into \(\tau \) in depth \(T_2\) converts \(\rho \) into \(\tau \) in depth \(T_1+T_2\); and a conversion maps density matrices to density matrices. A conversion is an adaptive conversion, and the same statements hold for adaptive conversions.

Proof ▶

The circuit of an adaptive protocol has trace-preserving gates and onsite families, so its map is completely positive and trace-preserving by Theorem 45.5.4. The remaining statements follow from Theorem 49.1.2, and such a map sends positive semidefinite matrices of unit trace to positive semidefinite matrices of unit trace.

The input and output bases of a protocol bounded by \(B\) have between \(1\) and \(B\) elements, and a protocol bounded by \(B\) is bounded by every \(C\ge B\). A protocol on nonempty input bases is bounded by some \(B\), which depends on the protocol.

Proof ▶

The input bases are bounded by definition. The map of a circuit whose gates and onsite families are trace-preserving is trace-preserving by Theorem 45.5.4, so on nonempty input bases the circuit has a branch, and along it the output bases are bounded. A bound by \(B\) on every basis is a bound by every \(C\ge B\). The last statement is Lemma 45.4.5.

49.2 Channel circuits and onsite channels

Two restrictions of protocols recur in local channel conversions: sequences of layers of channels on one system, and layers with no cells, which apply a channel at every site and may change the bases, as attaching and discarding ancillas do. Both are protocols, and the measurement of an instrument followed by channels chosen by its outcome is a channel.

Definition 49.2.1 Ancilla in a mixed state
✓

For vectors \(w_k\in \mathbb {C}^\gamma \), the ancilla state is \(\tau =\sum _kw_kw_k^\dagger \), and attaching the ancilla to \(\mathbb {C}^\alpha \) is the Kraus family from \(\mathbb {C}^\alpha \) to \(\mathbb {C}^\alpha \otimes \mathbb {C}^\gamma \) of the operators \(|x\rangle \mapsto |x\rangle \otimes w_k\).

Attaching the ancilla maps \(\rho \) to \(\rho \otimes \tau \). Its effect is \(\bigl(\sum _k\lVert w_k\rVert ^2\bigr)1\), so it is trace-preserving when \(\sum _k\lVert w_k\rVert ^2=1\), and then the partial trace over the ancilla after the attachment is the identity  [ 124 ] .

Proof ▶

The operator for \(w_k\) has the entries \(\delta _{x'x}(w_k)_a\) at \(((x',a),x)\), so the entry of the map at \(((x,a),(y,b))\) is \(\rho _{xy}\sum _k(w_k)_a\overline{(w_k)_b}\), and the product of the adjoint of the operator with itself is \(\lVert w_k\rVert ^2\, 1\). The partial trace of \(\rho \otimes \tau \) is \((\operatorname{tr}\tau )\rho \) with \(\operatorname{tr}\tau =\sum _k\lVert w_k\rVert ^2\).

Lemma 49.2.3 Feedforward after an instrument
✓

Let \((K_i)_i\) be a trace-preserving Kraus family, read as an instrument with outcome \(i\), and let \(S_i\) be channels. Then \(\rho \mapsto \sum _iS_i(K_i\rho K_i^\dagger )\) is a channel. If \(S_i=S\) for all \(i\), this map is \(S\) after the map of the family. This is the classical feedforward of  [ 124 ] , with no division by outcome probabilities.

Proof ▶

Let \((A_{ij})_j\) be Kraus operators of \(S_i\) with \(\sum _jA_{ij}^\dagger A_{ij}=1\). The map has the Kraus operators \(A_{ij}K_i\), and \(\sum _{i,j}K_i^\dagger A_{ij}^\dagger A_{ij}K_i=\sum _iK_i^\dagger K_i=1\). The second statement is linearity of \(S\).

A layer with no cells and Kraus families \(K^s\) at the sites realises the product channel \(\bigotimes _sK^s\), which maps \(\bigotimes _s\sigma _s\) to \(\bigotimes _sK^s(\sigma _s)\). Its backward light cone of a region \(R\) is \(R\): the Heisenberg picture of an onsite channel keeps the support of an operator, and is multiplicative on operators supported on disjoint regions  [ 124 ] . It has a local property when every \(K^s\) has it.

Proof ▶

A sum over the choices \(j\) of an index at every site of \(\bigotimes _vf_v(j_v)\) is \(\bigotimes _v\sum _if_v(i)\), entrywise the expansion of a product of sums; apply it to \(f_v(i)=K^v_i\sigma _vK_i^{v\dagger }\), since product operators multiply sitewise. The layer has no cells, so its light cone adds nothing to \(R\), and Theorem 45.2.3 and Lemma 45.2.4 apply.

A layer of trace-preserving plain gates and onsite families of depth \(t\) is a protocol of depth \(t\). A sequence \(L_1,\dots ,L_m\) of such layers on one system is a protocol of depth at most \(m\), with map \(\Phi _{L_m}\circ \dots \circ \Phi _{L_1}\); the depth counts only the layers using a cell of positive cost. A product of trace-preserving families, one at every site, is a protocol of depth \(0\). Hence attaching ancillas by an onsite channel, running a sequence of \(m\) layers on the enlarged sites and discarding by an onsite channel converts every \(\rho \) into the result in depth \(m\)  [ 124 ] . A circuit with one branch, such as a circuit of unitary gates, has as map the conjugation by its Kraus operator, so a unitary circuit of depth \(T\) is the channel circuit \(\rho \mapsto U\rho U^\dagger \) of depth \(T\)  [ 113 ] .

Proof ▶

The circuit of one layer has the depth and the map of the layer. A sequence of layers is the circuit of its first layer followed by the rest, so its map is computed layer by layer and its depth is at most the sum of the depths of its layers, each at most \(1\). A layer with no cells has depth \(0\) and realises the product channel (Lemma 49.2.4). The conversion is the composition of the three protocols (Theorem 49.1.2). The map of a circuit is the sum over its branches of the conjugations by their Kraus operators.

49.3 Approximate and asymptotic conversion

The protocols of this chapter are unbranched and their onsite families may enlarge the local bases, while every layer using a cell of positive cost is counted once whatever the sizes of the bases. This differs from the protocols assisted by measurements and classical communication of  [ 124 ] , whose intersite gates act on physical qudits of fixed dimension; no simulation or inclusion between the two relations is proved, and the definitions below are those of the present model.

Definition 49.3.1 Approximate conversion
✓
#

A matrix \(\rho \) on \(\mathcal H_X\) is converted into a matrix \(\sigma \) on \(\mathcal H_Z\) in depth \(T\) with error \(\varepsilon \) if some \(\Phi \) realised by a protocol of depth at most \(T\) has \(\lVert \Phi (\rho )-\sigma \rVert _1\le \varepsilon \).

The map of a protocol contracts the trace norm of every matrix. Every matrix is converted into itself in depth \(0\) with error \(0\), larger bounds keep a conversion, and a conversion with error \(0\) is an exact conversion. If \(\rho \) is converted into \(\sigma \) in depth \(T_1\) with error \(\varepsilon _1\) and \(\sigma \) into \(\tau \) in depth \(T_2\) with error \(\varepsilon _2\), then \(\rho \) is converted into \(\tau \) in depth \(T_1+T_2\) with error \(\varepsilon _1+\varepsilon _2\).

Proof ▶

The map of a protocol is that of a trace-preserving Kraus family, so Lemma 24.1.2.6 gives the contraction. For the composite \(\Psi \circ \Phi \) of Theorem 49.1.2,

\begin{align} \lVert \Psi (\Phi (\rho ))-\tau \rVert _1 & \le \lVert \Psi (\Phi (\rho )-\sigma )\rVert _1+\lVert \Psi (\sigma )-\tau \rVert _1 \le \varepsilon _1+\varepsilon _2. \notag \end{align}

The trace norm vanishes only at \(0\), which gives the case of error \(0\).

Definition 49.3.3 Asymptotic conversion and phase equivalence
✓

Let \(\Gamma _N\) be geometries indexed by \(N\in \mathbb {N}\), and \(\rho _N\) and \(\sigma _N\) matrices on systems over them. The family \((\rho _N)\) is asymptotically converted into \((\sigma _N)\) if there are \(k\in \mathbb {N}\), \(C\ge 0\) and errors \(\varepsilon _N\to 0\) such that, for all large \(N\), \(\rho _N\) is converted into \(\sigma _N\) on \(\Gamma _N\) with error \(\varepsilon _N\) in a depth at most \(C(1+\log (N+1))^k\). Two families are phase equivalent if each is asymptotically converted into the other.

Asymptotic conversion is reflexive and transitive, and phase equivalence is an equivalence relation on families of matrices on a family of systems.

Proof ▶

Reflexivity uses the empty protocols. For transitivity the errors add and tend to \(0\) by Theorem 49.3.2, and \(C_1(1+\log (N+1))^{k_1}+C_2(1+\log (N+1))^{k_2}\le (C_1+C_2)(1+\log (N+1))^{\max (k_1,k_2)}\) because \(1+\log (N+1)\ge 1\).

49.4 Light cones of protocols

For a linear map \(\Phi \) from the matrices on \(\mathcal H_X\) to those on \(\mathcal H_Z\), \(\Phi ^*\) denotes its adjoint for the trace pairing (Definition 2.5.1); for the map of a circuit it is the Heisenberg picture (Lemma 45.3.3).

Let \(\Gamma \) have finitely many cells, each of positive cost, and let \(\Phi \) be realised by a protocol of depth at most \(T\). Then \(\Phi ^*\) maps an operator supported on a region \(R\) to an operator supported on the \(T\)-fold neighbourhood of \(R\), and \(\Phi ^*(AB)=\Phi ^*(A)\Phi ^*(B)\) for \(A\) supported on \(R\) and \(B\) supported on \(R'\) when the \(T\)-fold neighbourhoods of \(R\) and \(R'\) are disjoint. If a product \(\bigotimes _s\sigma _s\) with \(\operatorname {tr}\sigma _s=1\) is converted into \(\sigma \) in depth \(T\), then for such \(A\) and \(B\)

\begin{align} \operatorname {tr}(\sigma AB)& =\operatorname {tr}(\sigma A)\operatorname {tr}(\sigma B). \notag \end{align}
Proof ▶

By Lemma 45.3.3, \(\Phi ^*\) is the Heisenberg picture of the circuit. Its backward light cone of \(R\) lies in the \(T\)-fold neighbourhood of \(R\) because the geometry has finitely many cells, every cell has positive cost and the depth is at most \(T\), so Theorems 45.5.12 and 45.5.13 apply.

Let \(f:V\to V'\) group the sites into blocks, let a geometry \(\Gamma '\) on \(V'\) have finitely many cells, each of positive cost, and let \(\Phi \) be realised on the blocked system by a protocol of depth at most \(T\). Read on the sites, as \(\rho \mapsto \Phi (\rho )\) with \(\rho \) a matrix on \(\mathcal H_X\), its adjoint maps an operator supported on a region \(R\) of blocks to an operator supported on the preimage under \(f\) of the \(T\)-fold neighbourhood of \(R\), and is multiplicative on operators supported on regions with disjoint \(T\)-fold neighbourhoods.

Proof ▶

Write \(\pi \) for the identification of the matrices on the blocked system with those on the sites, induced by the identification of configurations. The map read on the sites is \(\Phi \circ \pi ^{-1}\), and by Lemma 2.5.2

\begin{align} (\Phi \circ \pi ^{-1})^*& =\pi \circ \Phi ^*. \notag \end{align}

The map \(\pi \) is multiplicative and, by Lemma 34.9.2, sends an operator placed on a region of blocks to the same operator placed on its preimage under \(f\); Theorem 49.4.1 applied to \(\Phi ^*\) gives both statements.

Theorem 49.4.3 Approximate factorization of correlations
✓

Let \(\Gamma \) have finitely many cells, each of positive cost, and let a product \(\bigotimes _s\sigma _s\) with \(\operatorname {tr}\sigma _s=1\) be converted into \(\sigma \) in depth \(T\) with error \(\varepsilon \). Write \(c=\lVert \bigotimes _s\sigma _s\rVert _1\), which is \(1\) for states. For \(A\) supported on \(R\) and \(B\) supported on \(R'\), where the \(T\)-fold neighbourhoods of \(R\) and \(R'\) are disjoint,

\begin{align} \lvert \operatorname {tr}(\sigma AB) -\operatorname {tr}(\sigma A)\operatorname {tr}(\sigma B)\rvert & \le \varepsilon \lVert A\rVert \lVert B\rVert (1+2c+\varepsilon ). \notag \end{align}
Proof ▶

Let \(\sigma '=\Phi (\bigotimes _s\sigma _s)\) be the exact output of the protocol and \(D=\sigma -\sigma '\), so \(\lVert D\rVert _1\le \varepsilon \) and, by Theorem 49.3.2, \(\lVert \sigma '\rVert _1\le c\). By Theorem 49.4.1, \(\operatorname {tr}(\sigma 'AB)=\operatorname {tr}(\sigma 'A)\operatorname {tr}(\sigma 'B)\), and expanding \(\operatorname {tr}(\sigma X)=\operatorname {tr}(\sigma 'X)+\operatorname {tr}(DX)\),

\begin{align} \operatorname {tr}(\sigma AB)-\operatorname {tr}(\sigma A)\operatorname {tr}(\sigma B) & =\operatorname {tr}(DAB)-\operatorname {tr}(\sigma ’A)\operatorname {tr}(DB) -\operatorname {tr}(DA)\operatorname {tr}(\sigma ’B) -\operatorname {tr}(DA)\operatorname {tr}(DB). \notag \end{align}

Each trace is bounded by \(\lvert \operatorname {tr}(YX)\rvert \le \lVert X\rVert \lVert Y\rVert _1\) (Theorem 22.11.2), and \(\lVert AB\rVert \le \lVert A\rVert \lVert B\rVert \).

49.5 Protocols on the ring

On the ring geometry (Definition 45.1.3) every cell has cost \(1\) and the \(T\)-fold neighbourhood of a region is its ring ball of radius \(T\) (Lemma 45.1.5), so the light cones of Section 49.4 are ring balls.

Let \(\Phi \) be realised by a protocol of depth at most \(T\) on the ring of \(N\ge 1\) sites. Then \(\Phi ^*\) maps an operator supported on a region \(R\) to an operator supported on the ball of radius \(T\) about \(R\), and \(\Phi ^*(AB)=\Phi ^*(A)\Phi ^*(B)\) for \(A\) supported on \(R\) and \(B\) supported on \(R'\) when the balls of radius \(T\) about \(R\) and \(R'\) are disjoint  [ 113 ] .

Proof ▶

Theorem 49.4.1 with the \(T\)-fold neighbourhoods identified by Lemma 45.1.5.

Theorem 49.5.2 No correlations beyond twice the depth
✓

Let a product \(\bigotimes _s\sigma _s\) with \(\operatorname {tr}\sigma _s=1\) be converted into \(\sigma \) in depth \(T\) on the ring of \(N\ge 1\) sites, and let the regions \(R\) and \(R'\) be separated by \(2T\). Then for \(A\) supported on \(R\) and \(B\) supported on \(R'\)

\begin{align} \operatorname {tr}(\sigma AB)& =\operatorname {tr}(\sigma A)\operatorname {tr}(\sigma B). \notag \end{align}

This is the necessary condition of  [ 124 , Proposition 2 ] , stated there for pure states prepared by unitary circuits, here for product inputs and local channels with ancillas and discarding, without measurements.

Proof ▶

By Lemma 34.13.9 the balls of radius \(T\) about \(R\) and \(R'\) are disjoint; they are the \(T\)-fold neighbourhoods by Lemma 45.1.5, and Theorem 49.4.1 applies.

Theorem 49.5.3 Approximately vanishing correlations beyond twice the depth
✓

Let a product \(\bigotimes _s\sigma _s\) with \(\operatorname {tr}\sigma _s=1\) be converted into \(\sigma \) in depth \(T\) with error \(\varepsilon \) on the ring of \(N\ge 1\) sites, and let the regions \(R\) and \(R'\) be separated by \(2T\). Then for \(A\) supported on \(R\) and \(B\) supported on \(R'\)

\begin{align} \lvert \operatorname {tr}(\sigma AB) -\operatorname {tr}(\sigma A)\operatorname {tr}(\sigma B)\rvert & \le \varepsilon \lVert A\rVert \lVert B\rVert \bigl(1+2\lVert \textstyle \bigotimes _s\sigma _s\rVert _1+\varepsilon \bigr). \notag \end{align}
Proof ▶

As for Theorem 49.5.2, with Theorem 49.4.3 in place of Theorem 49.4.1.

Let \(M,k\ge 1\), group the ring of \(Mk\) sites into the ring of \(M\) blocks of \(k\) consecutive sites, and let \(\Phi \) be realised on the blocked system by a protocol of depth at most \(T\) on the ring of blocks. Read on the sites, the adjoint of \(\Phi \) maps an operator supported on a region \(R\) of blocks to an operator supported on the ball of radius \(kT\) about the sites of the blocks in \(R\). This is the locality on the blocked chain of  [ 124 , main text ] , read on the unblocked chain.

Proof ▶

By Theorem 49.4.2 the operator is supported on the sites of the blocks in the \(T\)-fold neighbourhood of \(R\), which is the ball of radius \(T\) about \(R\) by Lemma 45.1.5. These sites lie in the ball of radius \(kT\) about the sites of \(R\) by Theorem 34.13.10.

49.6 Encoding into a constant alphabet

A protocol whose bases along it have at most \(q\) elements is simulated, without changing its depth, by a protocol on the alphabet \(\{ 0,\dots ,q-1\} \) at every site: every basis is embedded into this alphabet, and every gate and onsite family is replaced by one that acts as it on the image of the embedding and sends the rest of its input to a fixed basis vector.

Let \(e:\alpha \to \beta \) be an injective map of finite sets and \(J_e\) its basis inclusion (Definition 33.5.1). The encoding along \(e\) is the Kraus family with the one operator \(J_e\). For \(x_0\in \alpha \), the decoding along \(e\) with fallback \(x_0\) is the Kraus family with the operators \(J_e^\dagger \) and \(|x_0\rangle \langle b|\) for every \(b\notin e(\alpha )\). For injective maps \(e_s\) of the bases of a system at every site, the sitewise encoding and decoding are the circuits of one layer with no cells and these families at every site.

For the basis inclusion of an injective map \(e\) and matrices \(M\), \((MJ_e)_{ya}=M_{y,e(a)}\), \((J_e^\dagger M)_{ax}=M_{e(a),x}\), \((J_eM)_{e(a),x}=M_{ax}\) and \((MJ_e^\dagger )_{x,e(a)}=M_{xa}\); the rows of \(J_eM\) and the columns of \(MJ_e^\dagger \) outside \(e(\alpha )\) vanish. Hence \(J_e|a\rangle \! \langle a'|J_e^\dagger =|e(a)\rangle \! \langle e(a')|\), and for a bijection \(\sigma \) the conjugation by \(J_\sigma \) relabels the entries along \(\sigma \). The encoding is \(\rho \mapsto J_e\rho J_e^\dagger \) and the decoding is \(\rho \mapsto J_e^\dagger \rho J_e+\sum _{b\notin e(\alpha )}|x_0\rangle \langle b|\rho |b\rangle \langle x_0|\), and both are trace-preserving. On the image of \(J_e\) the decoding operator \(J_e^\dagger \) inverts \(J_e\) and the operators \(|x_0\rangle \langle b|\) vanish, so decoding after encoding is the identity, and so is the sitewise decoding after the sitewise encoding. The sitewise encoding does not depend on the geometry, and the sitewise encoding along the composites \(g_s\circ e_s\) is the encoding along \(g\) after the encoding along \(e\), since \(J_{g\circ e}=J_gJ_e\).

Proof ▶

The entries of \(J_e\) are \((J_e)_{ba}=1\) if \(b=e(a)\) and \(0\) otherwise, and \(e\) is injective; \(J_e^\dagger J_e=1\) by Lemma 33.5.2. The effect of the decoding is \(J_eJ_e^\dagger +\sum _{b\notin e(\alpha )}|b\rangle \langle b|\), the sum of the projections onto the span of \(e(\alpha )\) and onto its complement. On the sites, a Kraus operator of the sitewise decoding times the basis inclusion of the product map is the product of the operators at the sites times their basis inclusions, which is \(1\) for the operators \(J_{e_s}^\dagger \) at every site and \(0\) otherwise.

Definition 49.6.3 Encoded family
✓
#

Let \(K=(K_i)_i\) be a Kraus family from \(\mathbb {C}^\alpha \) to \(\mathbb {C}^\beta \), let \(e:\alpha \to \alpha '\) and \(f:\beta \to \beta '\) be injective, and let \(y_0\in \beta '\). The family carried along \(e\) and \(f\) has the operators \(J_fK_iJ_e^\dagger \) for every \(i\) and \(|y_0\rangle \langle a|(1-J_eJ_e^\dagger )\) for every \(a\in \alpha '\).

In the notation of Definition 49.6.3, the operators of the carried family satisfy

\begin{align} (J_fK_iJ_e^\dagger )J_e& =J_fK_i, & |y_0\rangle \langle a|(1-J_eJ_e^\dagger )J_e& =0. \notag \end{align}

The carried family is trace-preserving if \(K\) is, and the carried family after the encoding along \(e\) is the encoding along \(f\) after \(K\).

Proof ▶

The identities follow from \(J_e^\dagger J_e=1\) (Lemma 33.5.2). The effect of the carried family is \(J_e(\sum _iK_i^\dagger K_i)J_e^\dagger +(1-J_eJ_e^\dagger )\), which is \(1\) if \(\sum _iK_i^\dagger K_i=1\). On a matrix \(J_e\rho J_e^\dagger \) the operators of the second kind contribute \(0\), and those of the first kind give \(J_fK_i\rho K_i^\dagger J_f^\dagger \).

Theorem 49.6.5 Encoding of layers
✓

Let a layer of plain gates from \(X\) to \(Y\) have trace-preserving gates and onsite families, let the bases of \(X\) be nonempty, and let \(e_s\) and \(f_s\) be injective maps of the bases of \(X\) and of \(Y\) into the bases of systems \(X'\) and \(Y'\). Then there is a layer from \(X'\) to \(Y'\) on the same cells, with trace-preserving gates and onsite families, whose map after the sitewise encoding along \(e\) is the sitewise encoding along \(f\) after the map of the layer.

Proof ▶

The bases of \(Y\) are nonempty by Lemma 45.5.6, so every basis of \(Y'\) has a vector \(y_0\) in the image of \(f\). Carry every gate and every onsite family along the embeddings of its cell or site with this fallback, and write \(J_e\) and \(J_f\) for the basis inclusions of the products of the \(e_s\) and of the \(f_s\). A Kraus operator \(L'_p\) of the new layer is the product of the operators on the cells and sites; call \(p\) of the first kind if all of them are of the first kind, and then let \(L_p\) be the corresponding Kraus operator of the layer. Then

\begin{align} L’_pJ_e& =J_fL_p\quad \text{($p$ of the first kind)}, & L’_pJ_e& =0\quad \text{(otherwise)}. \notag \end{align}

On a configuration in the image of the \(f_s\) the first identity is, factor by factor, that of Lemma 49.6.4, and outside it the factor at a site off the image vanishes by Lemma 49.6.2; the second holds because one factor is of the second kind. The indices of the first kind are in bijection with the Kraus indices of the layer, so \(\sum _pL'_pJ_e\rho J_e^\dagger L_p'^\dagger =J_f(\sum _pL_p\rho L_p^\dagger )J_f^\dagger \).

Let \(B\le q\), and let a circuit of plain gates from \(X\) to \(Z\) have trace-preserving gates and onsite families and every basis along it between \(1\) and \(B\) elements. For injective maps \(e_s\) and \(f_s\) of the bases of \(X\) and of \(Z\) into \(\{ 0,\dots ,q-1\} \) there is a circuit on \(\{ 0,\dots ,q-1\} \) at every site, with trace-preserving gates and onsite families, of the same depth, unbranched if the circuit is, whose map after the sitewise encoding along \(e\) is the sitewise encoding along \(f\) after the map of the circuit. In particular, if \(\Phi \) is realised by a protocol bounded by \(B\) in depth at most \(T\), then a map \(\Phi '\) realised by a protocol on \(\{ 0,\dots ,q-1\} \) in depth at most \(T\) satisfies \(\Phi '\circ \mathcal E_e=\mathcal E_f\circ \Phi \) for the sitewise encodings \(\mathcal E_e\) and \(\mathcal E_f\).

Proof ▶

By induction on the circuit. The empty circuit is replaced by the sitewise decoding along \(e\) followed by the sitewise encoding along \(f\), of depth \(0\), which acts on the image of the encoding along \(e\) as the encoding along \(f\) by Lemma 49.6.2. For a layer \(L\) with continuations \(c_i\), the layer has a Kraus index and nonempty output bases by Lemma 45.5.6. Embed the bases after the layer into \(\{ 0,\dots ,q-1\} \), which is possible because they have at most \(B\le q\) elements, carry the layer along the embeddings as in the proof of Theorem 49.6.5, and follow each Kraus index \(p\) of the first kind by the encoded continuation \(c'_i\) of the corresponding index \(i\) of the layer, and every other index by the encoded continuation of a fixed index. With the identities of that proof, the map \(\Phi '\) of the new circuit satisfies

\begin{align} \Phi ’(J_e\rho J_e^\dagger ) & =\sum _{p\text{ of the first kind}}\Phi ’_{c'_p}(L’_pJ_e\rho J_e^\dagger L_p’^\dagger ) =\sum _i\Phi ’_{c'_i}(J_gL_i\rho L_i^\dagger J_g^\dagger ) =J_f\Bigl(\sum _i\Phi _{c_i}(L_i\rho L_i^\dagger )\Bigr)J_f^\dagger , \notag \end{align}

where \(J_g\) is the basis inclusion of the bases after the layer, since \(L'_pJ_e=0\) for the other indices. The encoded layer has the cells of the layer and the continuations have the depths of the original ones, so the depth is unchanged; equal continuations have equal encodings, so an unbranched circuit stays unbranched.

Let \(B\le q\), and let an unbranched circuit of plain gates from \(X\) to \(Z\) have trace-preserving gates and onsite families and every basis along it between \(1\) and \(B\) elements. For injective maps \(e_s\) and \(f_s\) of the bases of \(X\) and of \(Z\) into \(\{ 0,\dots ,q-1\} \) there are layers \(L_1,\dots ,L_m\) on \(\{ 0,\dots ,q-1\} \) at every site, with trace-preserving gates and onsite families and total depth at most that of the circuit, whose sequence after the sitewise encoding along \(e\) is the sitewise encoding along \(f\) after the map of the circuit. Every intermediate system is the register \(\{ 0,\dots ,q-1\} \). In particular, a map realised by a protocol bounded by \(B\) in depth at most \(T\) is carried to such a sequence of total depth at most \(T\).

Proof ▶

By induction on the circuit. The empty circuit is replaced by the encoding of the layer of identities along \(e\) and \(f\) (Theorem 49.6.5), a single layer on the register without cells, which acts on the image of the encoding along \(e\) as the encoding along \(f\). For a first layer \(L\) with continuations, all equal since the circuit is unbranched, the layer has a Kraus index and nonempty output bases (Lemma 45.5.6); embed the bases after \(L\) into the register by \(g\), encode \(L\) along \(e\) and \(g\) on its own cells (Theorem 49.6.5), and put it in front of the sequence given by induction for the continuation along \(g\) and \(f\). The encoded layer has the cells, hence the depth, of \(L\), and the map of the sequence is computed layer by layer (Theorem 49.2.5).

49.7 Blocking protocols

A blocking of a geometry into the geometry of its blocks (Definition 45.1.6) turns a protocol of depth \(T\) into a protocol of depth \(rT\) on the blocks, where \(r\) is the number of colours. For the ring of \(Mk\) sites blocked into \(M\) blocks of \(k\) consecutive sites (Definition 45.1.7) the depth is \(2T\) for \(M\) even and \(3T\) for \(M\) odd.

Let \(\Gamma \) be blocked into \(\Gamma '\) along \(f\) with \(r\) colours, let the bases of \(X\) be nonempty, and let \(\Phi \) from the matrices on \(\mathcal H_X\) to those on \(\mathcal H_Z\) be realised by a protocol of depth at most \(T\) on \(\Gamma \). Then \(\pi _Z\circ \Phi \circ \pi _X^{-1}\) is realised by a protocol of depth at most \(rT\) on \(\Gamma '\), where \(\pi _X\) identifies the matrices on \(\mathcal H_X\) with those on the blocked system.

Proof ▶

By Theorem 45.8.12, applied to the blocking of systems with the identifications \(\pi _X\) and \(K=r\), it suffices to realise a single trace-preserving layer \(L\) from \(X\) to \(Y\) on nonempty bases by a protocol on \(\Gamma '\) of depth at most \(r\) times the depth of \(L\), intertwining \(\pi _X\) and \(\pi _Y\). If \(L\) has no cells, Theorem 45.8.13 gives a layer on \(\Gamma '\) with no cells, of depth \(0\). Otherwise \(L\) has depth \(1\), since the cells of \(\Gamma \) have positive cost. The bases of \(Y\) are nonempty by Lemma 45.5.6; let \(W_s=X_s\sqcup Y_s\), and let \(\mathcal E\) and \(\mathcal D\) be the sitewise encoding of \(X\) and decoding of \(Y\) along the two inclusions into \(W\) (Definition 49.6.1). Theorem 49.6.5 gives a trace-preserving layer \(L'\) on \(W\) with the cells of \(L\) and \(\Phi _{L'}\circ \mathcal E=\mathcal E_Y\circ \Phi _L\), so \(\Phi _L=\mathcal D\circ \Phi _{L'}\circ \mathcal E\) by Lemma 49.6.2. Split \(L'\) into the layer \(L'_c\) of its gates on the cells \(b\) with \(\bar b\) of colour \(c\), for \(c{\lt}r\), and the layer \(O\) with no cells carrying the onsite families of \(L'\) at the free sites and the identity elsewhere:

\begin{align} \Phi _L& =\mathcal D\circ \Phi _O\circ \Phi _{L'_0}\circ \dots \circ \Phi _{L'_{r-1}}\circ \mathcal E. \label{eq:protocols_block_split} \end{align}

The factorization \(\Phi _{L'}=\Phi _O\circ \Phi _{L'_{\mathrm{cells}}}\) through the layer \(L'_{\mathrm{cells}}\) of all gates holds Kraus operator by Kraus operator. Let \(w_0\) be the configuration equal to \(y\) on the cells and to \(x\) at the free sites. Since \(O_k\) is the identity on the cells and the Kraus operator \(C_i\) of \(L'_{\mathrm{cells}}\) is the identity at the free sites, every other term of the sum vanishes, and

\begin{align} (O_kC_i)(y,x)& =\sum _wO_k(y,w)\, C_i(w,x)=O_k(y,w_0)\, C_i(w_0,x)=L’_{(i,k)}(y,x), \notag \end{align}

the Kraus operator of \(L'\) with the outcomes \(i\) of its gates and \(k\) of its onsite families. The layer of all gates is the composite of the layers \(L'_c\) by Theorem 45.6.5, enumerating the cells colour by colour. Each factor of (1) is a trace-preserving layer whose cells have pairwise disjoint covering cells, those of one colour, so Theorem 45.8.13 gives a layer on \(\Gamma '\) realising it, of depth \(0\) for \(\mathcal E\), \(O\) and \(\mathcal D\), which have no cells, and at most \(1\) for each \(L'_c\). Composing these layers gives a protocol of depth at most \(r\).

Theorem 49.7.2 A conversion followed by a conversion on the blocks
✓

Let \(\Gamma \) be blocked into \(\Gamma '\) along \(f\) with \(r\) colours and let the bases of \(X\) be nonempty. If \(\rho \) is converted into \(\sigma \) in depth \(T\) on \(\Gamma \) and the blocked \(\sigma \) is converted into \(\tau \) in depth \(U\) on \(\Gamma '\), then the blocked \(\rho \) is converted into \(\tau \) in depth \(rT+U\) on \(\Gamma '\). This is the blocking of  [ 124 , main text ] : a state is converted, its sites are grouped into blocks of neighbouring sites, and the blocked state is converted further.

Proof ▶

Theorem 49.7.1 realises the first conversion, read on the blocks, in depth \(rT\), and composition with the second adds the depths.

49.8 Unitary dilation

Every protocol is a preparation of basis vectors on an environment at every site, an unbranched circuit of unitary gates on the same geometry, of no larger depth, and a partial trace over the output environments. The environments live in the local bases; the geometry and its costs do not change.

Definition 49.8.1 Preparation, partial trace and relabelling
✓

For bases \(E_s\) and basis vectors \(e_s\in E_s\), the preparation is the sitewise encoding along \(a\mapsto (a,e_s)\), and the partial trace over bases \(F_s\) is the onsite layer of the partial traces over \(\mathbb {C}^{F_s}\). The relabelling along bijections of the local bases is the sitewise encoding along them.

The preparation acts as \(\rho \mapsto \rho \otimes |e\rangle \! \langle e|\) and the partial trace as \(M\mapsto \operatorname{tr}_F M\); the relabelling acts by relabelling the entries, and it is an unbranched unitary circuit of depth \(0\), bounded by \(B\) on a set of sites when its input bases are. The partial trace over \(\mathbb {C}^F\) of \(A\otimes \omega \) is \((\operatorname{tr}\omega )A\), and it commutes with a circuit tensored with the identity on \(\mathbb {C}^F\):

\begin{align} \operatorname{tr}_F\bigl((\Phi \otimes \mathrm{id})(N)\bigr)& =\Phi (\operatorname{tr}_FN) \label{eq:protocols_trace_tensor_right} \end{align}

for every matrix \(N\).

Proof ▶

The three circuits are single layers with no cells, so their maps are tensor products of the local maps: the encodings along \(a\mapsto (a,e_s)\) and along bijections (Lemma 49.6.2), and the partial traces over \(\mathbb {C}^{F_s}\) (Lemma 2.15.17). A sitewise encoding along bijections has unitary onsite families, one Kraus index and no cells. The partial trace of \(A\otimes \omega \) is computed entrywise. Both sides of (2) are linear in \(N\), so it suffices to take \(N=A\otimes \omega \); then the left side is \(\operatorname{tr}_F(\Phi (A)\otimes \omega )=(\operatorname{tr}\omega )\Phi (A)=\Phi (\operatorname{tr}_F(A\otimes \omega ))\) by Theorem 45.8.11. A relabelling is a bijection at every site, so its output bases have as many elements as its input bases, and a circuit of one layer is bounded when its input and output bases are (Lemma 45.4.5).

Definition 49.8.3 Unitary dilation
✓

Let \(D\) be a set of sites and \(B\) a natural number. A map \(\Phi \) has a unitary dilation of depth \(T\) with environments in \(D\) and bound \(B\) when there are bases \(E_s\) and \(F_s\), with at most one element at every site \(s\notin D\), basis vectors \(e_s\in E_s\) and an unbranched circuit \(c\) of unitary gates and onsite families of depth at most \(T\) from \(s\mapsto X_s\times E_s\) to \(s\mapsto Z_s\times F_s\), bounded by \(B\) on the sites outside \(D\), with \(\Phi (\rho )=\operatorname{tr}_F\bigl(\Phi _c(\rho \otimes |e\rangle \! \langle e|)\bigr)\).

Definition 49.8.4 Unitary off a set of sites
✓

Let \(D\) be a set of sites. A layer is unitary off \(D\) when its gate on every nonempty cell disjoint from \(D\) and its onsite family at every site outside \(D\) are unitary. A circuit is unitary off \(D\) when each of its layers is.

Lemma 49.8.5 Circuits unitary off a set
✓

Every circuit is unitary off the set of all sites, and a circuit of unitary gates and onsite families is unitary off every set of sites.

Proof ▶

By induction on the circuit. No nonempty cell is disjoint from the set of all sites, and no site lies outside it.

Let \(D\) be a set of sites, and let every basis \(X_s\) with \(s\notin D\) have between \(1\) and \(B\) elements. Then the identity has a unitary dilation of depth \(0\) with environments in \(D\) and bound \(B\). A unitary dilation of depth \(T\) with environments in \(D\) and bound \(B\) is one of every larger depth and every larger bound.

Proof ▶

With one-element bases \(E_s=F_s=\{ *\} \), the empty circuit is the identity, and \(\operatorname{tr}_F(\rho \otimes |e\rangle \! \langle e|)=\rho \) because the sum over the configurations of \(F\) has one term; its only basis at \(s\) is \(X_s\times \{ *\} \), with \(\lvert X_s\rvert \) elements. A circuit of depth at most \(T\) has depth at most every \(T'\geq T\), and a bound passes to every larger bound (Lemma 45.4.5).

If \(\Phi _1\) and \(\Phi _2\) have unitary dilations of depths \(T_1\) and \(T_2\) with environments in a set \(D\) of sites and bound \(B\), then \(\Phi _2\circ \Phi _1\) has one of depth \(T_1+T_2\) with environments in \(D\) and bound \(B\).

Proof ▶

Let the dilations have environments \(E_1,F_1\) and \(E_2,F_2\); the composite has the environments \(E_1\times E_2\) and \(F_2\times F_1\), which have at most one element outside \(D\). Prepare both environments, regroup, apply \(c_1\otimes 1_{E_2}\), regroup, apply \(c_2\otimes 1_{F_1}\) and regroup; the regroupings are relabellings of depth \(0\). On \(\rho \otimes |e_1\rangle \! \langle e_1|\otimes |e_2\rangle \! \langle e_2|\) the first step gives \(M\otimes |e_2\rangle \! \langle e_2|\) with \(M=\Phi _{c_1}(\rho \otimes |e_1\rangle \! \langle e_1|)\) by Theorem 45.8.11. The partial trace over \(F_2\times F_1\) is the partial trace over \(F_2\) after the one over \(F_1\), which commutes with \(c_2\otimes 1_{F_1}\); and the partial trace over \(F_1\) of the regrouped \(M\otimes |e_2\rangle \! \langle e_2|\) is \(\operatorname{tr}_{F_1}M\otimes |e_2\rangle \! \langle e_2|\), where \(\operatorname{tr}_{F_1}M=\Phi _1(\rho )\). For the bound, a unitary circuit has a branch (Lemma 45.5.7), so the output bases of \(c_1\) and \(c_2\) at a site \(s\notin D\) are bounded (Lemma 45.4.5); in particular \(F_1\) is nonempty there, and \(E_2\) contains \(e_2\), so both have exactly one element at \(s\). Tensoring with them keeps the bound (Theorem 45.8.11), each regrouping has input bases with as many elements as an input or output basis of \(c_1\) or \(c_2\), and bounds pass to compositions.

Proof ▶

The dilating circuit is one layer of unitary gates on the same cells. Keep every unitary gate and onsite family, with a one-element environment (relabelled along \(a\mapsto (a,*)\) it stays unitary, Lemma 2.15.17), and replace every other one by its unitary dilation (Theorem 3.11.14). The environment of a gate is one basis for its whole cell; place it at one chosen site of the cell, a site of \(D\) if the cell meets \(D\), and give the other sites of the cell a one-element basis, so that the configurations of the environment on the cell are the environment of the gate. A site \(s\notin D\) then carries one-element bases only: a cell whose environment is placed at \(s\) is disjoint from \(D\), so its gate is unitary, and an onsite family at \(s\) is unitary. The dilated bases at such a site have as many elements as \(X_s\) and \(Y_s\), which the layer has a Kraus index to bound (Lemma 45.5.6), so the dilating layer is bounded by \(B\) outside \(D\) (Lemma 45.4.5). A gate on an empty cell acts on a one-element basis, so by trace preservation its map is the identity (Lemma 2.15.15); replace it by the identity. Write \(U_b\) and \(V_s\) for the dilations of the gate \(g_b\) and of the onsite family \(k_s\), with environments \(F_b\) and \(F_s\) started in \(e_b\) and \(e_s\). By Lemma 45.1.13 for the dilated layer,

\begin{align} \operatorname{tr}_F\bigl(\Phi _U(|x,e\rangle \! \langle x’,e|)\bigr)_{yy'} & =\prod _b\sum _{f\in F_b}\Phi _{U_b} \bigl(|x|_{C_b},e_b\rangle \! \langle x’|_{C_b},e_b|\bigr)_{(y|_{C_b},f),(y'|_{C_b},f)} \notag \\ & \qquad \cdot \prod _s\sum _{f\in F_s}\Phi _{V_s} \bigl(|x_s,e_s\rangle \! \langle x’_s,e_s|\bigr)_{(y_s,f),(y'_s,f)} \notag \\ & =\prod _b\Phi _{g_b}\bigl(|x|_{C_b}\rangle \! \langle x’|_{C_b}|\bigr)_{y|_{C_b},y'|_{C_b}} \prod _s\Phi _{k_s}\bigl(|x_s\rangle \! \langle x’_s|\bigr)_{y_s,y'_s}, \notag \end{align}

by Theorem 3.11.14 on every factor. By Lemma 45.1.13 again this is the entry of the map of the layer on \(|x\rangle \! \langle x'|\); the matrix units span. The sum over the configurations of \(F\) factors into the sums over the \(F_b\) and the \(F_s\) because the cells and the remaining sites partition the sites (Lemma 45.2.1).

Let \(D\) be a set of sites, and let \(c\) be an unbranched circuit of trace-preserving gates and onsite families on nonempty input bases that is unitary off \(D\) and bounded by \(B\) on the sites outside \(D\). Then the map of \(c\) has a unitary dilation of the depth of \(c\) with environments in \(D\) and bound \(B\). In particular the gates of the dilating circuit on the cells disjoint from \(D\) act on the system alone.

Proof ▶

By induction on the circuit. The empty circuit is the identity, which has a dilation of depth \(0\) (Lemma 49.8.6). A layer of a trace-preserving circuit on nonempty bases has a Kraus index and nonempty output bases (Lemma 45.5.6), so an unbranched circuit is its first layer followed by one continuation. Compose the dilation of the layer (Theorem 49.8.8) with that of the continuation (Theorem 49.8.7); the first layer and the continuation are unitary off \(D\), the circuit of the first layer is bounded by the input bounds of the circuit and of the continuation (Lemma 45.4.5), and the depth of the circuit is that of the layer plus that of the continuation.

Every protocol of depth at most \(T\) on nonempty input bases has a unitary dilation of depth \(T\): it is \(\rho \mapsto \operatorname{tr}_F\bigl(\Phi _c(\rho \otimes |e\rangle \! \langle e|)\bigr)\) for bases \(E_s\), \(F_s\), basis vectors \(e_s\in E_s\) and an unbranched circuit \(c\) of unitary gates and onsite families of depth at most \(T\) on the same geometry.

Proof ▶

The circuit of the protocol is unitary off the set of all sites (Lemma 49.8.5) and bounded by \(0\) on the empty set (Lemma 45.4.5); apply Theorem 49.8.9 with \(D\) the set of all sites, and pass to the depth \(T\) (Lemma 49.8.6).

Let \(c\) be a circuit of unitary gates and onsite families from the system with bases \(X_s\times E_s\) to the system with bases \(Z_s\times F_s\), let \(e_s\in E_s\) be basis vectors, and let \(\Phi (\rho )=\operatorname{tr}_F\bigl(\Phi _c(\rho \otimes |e\rangle \! \langle e|)\bigr)\). Let \(\psi \) and \(\varphi \) be unit vectors with \(\lVert \Phi (|\psi \rangle \! \langle \psi |)-|\varphi \rangle \! \langle \varphi |\rVert _1\le \varepsilon \). Then the Kraus operator \(U\) of \(c\) satisfies

\begin{equation} \lVert U(\psi \otimes e)-\varphi \otimes \eta \rVert \le \sqrt{2\varepsilon } \label{eq:protocols_dilation_output} \end{equation}
3

for some unit vector \(\eta \) of the output environment. For \(\varepsilon =0\) the output is the pure state \(\varphi \otimes \eta \). Consequently, every map with a unitary dilation that sends \(|\psi \rangle \! \langle \psi |\) to within \(\varepsilon \) of \(|\varphi \rangle \! \langle \varphi |\) in trace norm has a dilating circuit, with the same environments, bound and depth, satisfying (3).

Proof ▶

A circuit of unitary local families has a unique branch (Lemma 45.5.7), so it has one Kraus operator \(U\), and \(U^\dagger U=1\) because the circuit is trace-preserving (Theorem 45.5.4). By Lemma 49.8.2,

\begin{equation} \Phi (|\psi \rangle \! \langle \psi |)=\operatorname{tr}_F|\Omega \rangle \! \langle \Omega |,\qquad \Omega =U(\psi \otimes e),\qquad \lVert \Omega \rVert =\lVert \psi \rVert =1. \notag \end{equation}
4

The pure-marginal estimate (Theorem 16.3.2.1) applied to \(\Omega \), read on the configurations of \(Z\) and of \(F\), gives (3).

49.9 Physical ports

A protocol on the ring whose gates act on pairs of neighbouring sites is simulated on a ring whose intersite gates act on one physical qudit of each of the two sites only, every site holding a local memory of qudits.

Definition 49.9.1 The ring with physical ports
✓

For \(W\ge 1\), the ring of \(N\) sites with \(W\) wires per site is the geometry on \(\mathbb {Z}_N\times \{ 0,\dots ,W-1\} \) with a cell of cost \(0\) consisting of all the wires of each site \(i\), and a cell of cost \(1\) consisting of the wires \((i,0)\) and \((i+1,0)\), the ports of the sites \(i\) and \(i+1\), for each site \(i\). For \(W=2k+1\) and qudits of dimension \(d\), the data embedding sends a register \(x\in \{ 0,\dots ,d-1\} ^k\) of the site \(i\) to the configuration of the wires of \(i\) with the digit \(x_t\) on the wire \(1+t\) and \(0\) on the port and on the wires \(1+k+t\).

Definition 49.9.2 Codes on the wires
✓

A code of a site of the ring with ports is an injective map of a finite set into the configurations of the wires of the site. The port code sends \(x\in \{ 0,\dots ,d-1\} \) to the configuration with \(x\) on the port and \(0\) on the other wires: the logical qudit sits on the physical port and the local memory is in \(0\). The single sites form the geometry with one cell \(\{ s\} \) of cost \(0\) for each site \(s\).

Let \(L\) be a layer of trace-preserving gates and onsite families on the single sites of the ring of \(N\) sites, every site carrying the configurations of the \(2k+1\) wires of a site of the ring with ports, and let \(D\) be a set of wires containing a wire of every site. Then some map \(\Phi \) on the ring with ports with a unitary dilation of depth \(0\), with environments in \(D\) and bound \(d\), acts on the wires as \(L\) acts on the sites.

Proof ▶

Read the family of \(L\) at every site as a gate on the cell of all the wires of the site, of cost \(0\). This layer has the Kraus operators of \(L\) read on the wires and no free wire; each of its gates acts on a cell meeting \(D\), so it is unitary off \(D\), and every basis is \(\{ 0,\dots ,d-1\} \). Theorem 49.8.8 gives the dilation.

Let \(\pi \) be a permutation of the sites that preserves each of a family of pairwise disjoint cells and fixes every other site. On each cell \(C\) let \(g_C\) be the operator with the entries \((g_C)_{u'u}=[u=u'\circ \pi ]\) on the configurations of the qudits of \(C\). Every \(g_C\) is unitary, and the layer of the gates \(g_C\) has the single Kraus operator \(P_\pi \).

Proof ▶

The operator \(g_C\) is the permutation matrix of the bijection \(u\mapsto u\circ \pi ^{-1}\) of the configurations of \(C\), since \(\pi \) maps \(C\) onto itself. By Lemma 45.1.13 the entry of the layer at \((y,x)\) is the product of the entries \([x|_C=y|_C\circ \pi ]\) over the cells and of \([x_v=y_v]=[x_v=y_{\pi (v)}]\) over the other sites, which is \([x=y\circ \pi ]\), the entry of \(P_\pi \).

Let \(N\ge 2\) and let \(L\) be a layer of trace-preserving plain gates and onsite families on the ring of \(N\) sites, with the registers \(\{ 0,\dots ,d-1\} ^k\) at every site, \(d\ge 1\). Let \(\iota \) be the encoding of the registers in the wires of the ring with ports and \(2k+1\) wires per site along the data embedding, and let \(D\) be a set of wires containing a wire of every site. Then some map \(\Phi \) on the ring with ports with a unitary dilation of depth at most \(2k\) times the depth of \(L\) with environments in \(D\) and bound \(d\) satisfies \(\Phi \circ \iota =\iota \circ \Phi _L\): throughout the dilating circuit every wire outside \(D\) has dimension at most \(d\).

Proof ▶

Let \(C\) be the set of the left ends \(j\) of the cells \(\{ j,j+1\} \) of \(L\). Since \(N\ge 2\) the sites \(j\) and \(j+1\) are distinct, so the disjointness of the cells gives \(j+1\notin C\) for \(j\in C\). For each \(t{\lt}k\) run three layers of exchanges of wires: the port with the wire \(1+t\) at the sites of \(C\), the ports of \(j\) and \(j+1\) for \(j\in C\), and the port with the wire \(1+k+t\) at the sites \(j+1\). Each is a layer of unitary gates on pairwise disjoint cells whose single Kraus operator is the permutation operator \(P_\pi \) of the exchange \(\pi \) (Lemma 49.9.4); only the middle one has cost, so the sequence \(F\) of the \(3k\) layers has depth at most \(k\) times that of \(L\), and by Lemma 45.6.1 its Kraus operator is \(P=P_\tau \) for the product \(\tau \) of the exchanges. Following the wires through the rounds,

\begin{equation} \tau (j,1+t)=(j+1,1+k+t)\quad (j\in C),\qquad \tau (i,1+t)=(i,1+t)\quad (i\notin C). \label{eq:protocols_port_trajectory} \end{equation}
4

Let \(h(j)=j+1\) for \(j\in C\) and \(h(i)=i\) otherwise. By (4) the wire \(\tau (r,1+t)\) lies at the site \(h(r)\), so the registers of the sites \(h^{-1}(i)\), moved along \(\tau \), form a code in the wires of the site \(i\). Coarsen \(L\) along \(h\) (Theorem 45.8.13): every cell \(\{ j,j+1\} \) is carried to the single site \(j+1\). Encode the coarse layer along these codes (Theorem 49.6.5), and read its families on single sites as gates on all the wires of a site, at cost \(0\); call this layer \(M\). With \(J\) the basis inclusion of the data embedding, the code of the moved registers is the basis inclusion \(PJ\), so

\begin{equation} \Phi _M(PJ\rho J^\dagger P^\dagger )=PJ\, \Phi _L(\rho )\, J^\dagger P^\dagger . \notag \end{equation}
5

The adjoint sequence \(F^\dagger \) (Definition 45.6.2) has the Kraus operator \(P^\dagger \) and the same depth, and every routing layer has a unique branch (Lemma 45.5.7), so \(F\) and \(F^\dagger \) act as conjugation by \(P\) and by \(P^\dagger \). Since \(P^\dagger P=1\), the circuit \(F\), then \(M\), then \(F^\dagger \) sends \(J\rho J^\dagger \) to \(J\, \Phi _L(\rho )\, J^\dagger \), and its depth is at most \(2k\) times that of \(L\). The circuits \(F\) and \(F^\dagger \) are unitary, hence unitary off \(D\) (Lemma 49.8.5), and have unitary dilations with environments in \(D\) (Theorem 49.8.9). The layer \(M\) has no free site, and each of its gates acts on all the wires of a site, a cell meeting \(D\); so \(M\) is unitary off \(D\) and has a unitary dilation of depth \(0\) with environments in \(D\) (Theorem 49.8.8, Lemma 49.8.6). Every basis of \(F\), \(F^\dagger \) and \(M\) at a wire is \(\{ 0,\dots ,d-1\} \), so these circuits are bounded by \(d\) (Lemma 45.4.5) and all three dilations have bound \(d\). They compose (Theorem 49.8.7).

Let \(N\ge 2\), \(d\ge 1\), \(B\le d^k\), and let \(\Phi \) be realised on the ring of \(N\) sites by a protocol of depth at most \(T\) bounded by \(B\). Let \(e\) and \(f\) be sitewise injective maps of its input and output bases into the registers \(\{ 0,\dots ,d-1\} ^k\), let \(\iota \) be the encoding of the registers in the ring with ports and \(2k+1\) wires per site along the data embedding, and let \(D\) be a set of wires containing a wire of every site. Then some map \(\Phi '\) on the ring with ports with a unitary dilation of depth at most \(2kT\) with environments in \(D\) and bound \(d\) satisfies

\begin{equation} \Phi '\circ \iota \circ \mathcal E_e=\iota \circ \mathcal E_f\circ \Phi , \notag \end{equation}
5

where \(\mathcal E_e\) and \(\mathcal E_f\) are the encodings along \(e\) and \(f\). One may take \(k=\lceil \log _dB\rceil \). Throughout the dilating circuit every wire outside \(D\) has dimension at most \(d\). For \(k\ge 1\) and \(D\) the wires other than the ports, each gate on a cell of two ports is therefore a unitary on the two port wires alone, each of dimension at most \(d\), and the environments stay local, as in the source (arXiv:2103.13367, Supplement, proof of Proposition 2, p. 8); for \(k=0\) every local space of the protocol is one-dimensional. Composed with Theorem 49.8.11, this gives the pure and the approximately pure outputs of the compiled protocol; the exact case is \(\varepsilon =0\).

Proof ▶

By induction on the unbranched circuit of \(\Phi \). Every basis along it has between \(1\) and \(B\le d^k\) elements, so each has an injective map into the registers. For the empty circuit, encode the layer of identities along \(e\) and \(f\) (Theorem 49.6.5); it has no cells, so its routing (Lemma 49.9.5) has depth \(0\). For a circuit with a first layer \(L\) to a system \(Y\), choose an encoding \(g\) of \(Y\), encode \(L\) along \(e\) and \(g\) (Theorem 49.6.5, with Lemma 45.5.6 for the nonempty bases), route the encoded layer, and compose its dilation with the one given by induction for the continuation along \(g\) and \(f\) (Theorem 49.8.7); the depths add.

Remark 49.9.7
#

The source appends the environments as further qudits of dimension \(d\) at the sites; here they are finite bases at the wires of \(D\). Padding a finite environment into qudits is not formalized.

Lemma 49.9.8 Changing the codes of the sites is free
✓

Let \(a\) and \(a'\) be codes of nonempty finite sets at the sites of the ring with ports, with sitewise encodings \(\mathcal E_a\) and \(\mathcal E_{a'}\) read on the wires, and let \(D\) be a set of wires containing a wire of every site. Then some map \(\Psi \) with a unitary dilation of depth \(0\), with environments in \(D\) and bound \(d\), satisfies \(\Psi \circ \mathcal E_a=\mathcal E_{a'}\).

Proof ▶

Encode the layer of identities on the single sites along \(a\) and \(a'\) (Theorem 49.6.5) and apply Lemma 49.9.3 to the encoded layer; the sitewise encodings do not depend on the geometry (Lemma 49.6.2).

Theorem 49.9.9 Bounded protocols between codes on the wires
✓

Let \(N\ge 2\), \(d\ge 1\), \(B\le d^k\), and let \(\Phi \) be realised on the ring of \(N\) sites by a protocol of depth at most \(T\) bounded by \(B\). Let \(a\) and \(b\) be codes of its input and output bases in the wires of the ring with ports and \(2k+1\) wires per site, and let \(D\) be a set of wires containing a wire of every site. Then some map \(\Phi '\) with a unitary dilation of depth at most \(2kT\), with environments in \(D\) and bound \(d\), satisfies \(\Phi '\circ \mathcal E_a=\mathcal E_b\circ \Phi \). With the port codes, the logical systems sit on the physical ports and the local memories start and end in \(0\), as in the source (arXiv:2103.13367, Supplement, proof of Proposition 2, p. 8).

Proof ▶

The bases of \(\Phi \) have between \(1\) and \(B\le d^k\) elements (Lemma 49.1.5), so they have codes \(e\) and \(f\) in the registers. Change the code \(a\) into the data code of \(e\) (Lemma 49.9.8), apply Theorem 49.9.6, and change the data code of \(f\) into \(b\); the dilations compose (Theorem 49.8.7) with depth \(0+2kT+0\). The data code of \(e\) is the data embedding after \(\mathcal E_e\) (Lemma 49.6.2).

In the setting of Theorem 49.9.9, let \(J_a\) and \(J_b\) be the isometries of the codes, and let \(\psi \), \(\varphi \) be unit vectors with \(\lVert \Phi (|\psi \rangle \! \langle \psi |)-|\varphi \rangle \! \langle \varphi |\rVert _1\le \varepsilon \). Then there are environments at the wires, with one element outside \(D\), basis vectors \(e\), and an unbranched circuit \(c\) of unitary gates of depth at most \(2kT\) on the ring with ports, every wire outside \(D\) of dimension at most \(d\) throughout, such that preparing \(e\), running \(c\) and tracing out the output environments satisfies \(\Phi '\circ \mathcal E_a=\mathcal E_b\circ \Phi \), and the Kraus operator \(U\) of \(c\) satisfies

\begin{equation} \lVert U(J_a\psi \otimes e)-J_b\varphi \otimes \eta \rVert \le \sqrt{2\varepsilon } \notag \end{equation}
5

for some unit vector \(\eta \) of the output environment  [ 124 ] . For \(\varepsilon =0\) the output is exactly \(J_b\varphi \otimes \eta \).

Proof ▶

On the wires, \(\mathcal E_a(|\psi \rangle \! \langle \psi |)=|J_a\psi \rangle \! \langle J_a\psi |\), and \(\Phi '(|J_a\psi \rangle \! \langle J_a\psi |)=J_b\Phi (|\psi \rangle \! \langle \psi |)J_b^\dagger \). The isometries \(J_a\) and \(J_b\) preserve the norm of vectors and, on both sides, the trace norm, so \(\lVert \Phi '(|J_a\psi \rangle \! \langle J_a\psi |)-|J_b\varphi \rangle \! \langle J_b\varphi |\rVert _1\le \varepsilon \) with unit vectors \(J_a\psi \) and \(J_b\varphi \). Theorem 49.8.11 applied to the dilation of \(\Phi '\) gives the circuit.