- Boxes
- definitions
- Ellipses
- theorems and lemmas
- Blue border
- the statement of this result is ready to be formalized; all prerequisites are done
- Orange border
- the statement of this result is not ready to be formalized; the blueprint needs more work
- Blue background
- the proof of this result is ready to be formalized; all prerequisites are done
- Green border
- the statement of this result is formalized
- Green background
- the proof of this result is formalized
- Dark green background
- the proof of this result and all its ancestors are formalized
- Dark green border
- this is in Mathlib
The adjoint of a finite Kraus family \((K_i)_i\) is \((K_i^\dagger )_i\). The adjoint of a layer of plain gates from \(X\) to \(Y\) is the layer from \(Y\) to \(X\) on the same cells, with the adjoint gates and onsite families. The adjoint of a sequence of layers of plain gates on one system is the sequence of the adjoint layers in reverse order.
Let \(f:V\to V'\) group the sites of a geometry \(\Gamma \) on \(V\) into the sites of a geometry \(\Gamma '\) on \(V'\), and let \(r\in \mathbb {N}\). A blocking of \(\Gamma \) into \(\Gamma '\) along \(f\) with \(r\) colours assigns to every cell \(b\) of \(\Gamma \) a cell \(\bar b\) of \(\Gamma '\) with \(f(b)\subseteq \bar b\), and to every cell of \(\Gamma '\) a colour in \(\{ 0,\dots ,r-1\} \), such that distinct cells of \(\Gamma '\) of one colour are disjoint and every cell of \(\Gamma \) has positive cost.
A circuit from \(X\) to \(Z\) is either empty, when \(X=Z\), or a layer \(L\) from \(X\) to some system \(Y\) followed, for every outcome \(i\) of \(L\), by a circuit from \(Y\) to \(Z\). The dependence on \(i\) is classical feedback; a circuit in which no continuation depends on the outcome is unbranched. A branch is a choice of an outcome of every layer along a path, and its Kraus operator is the product of the Kraus operators of its layers, the first layer on the right. The map of the circuit is \(\rho \mapsto \sum _pK_p\rho K_p^\dagger \) over all branches \(p\), and its Heisenberg picture is \(A\mapsto \sum _pK_p^\dagger AK_p\), which is the Heisenberg picture of the first layer applied to those of the continuations. A single layer is a circuit, and a finite sequence of layers on one system applied from the first is an unbranched circuit.
- QuantumCircuit.Circuit
- QuantumCircuit.Circuit.Index
- QuantumCircuit.Circuit.kraus
- QuantumCircuit.Circuit.kraus_done
- QuantumCircuit.Circuit.kraus_step
- QuantumCircuit.Circuit.krausFamily
- QuantumCircuit.Circuit.map
- QuantumCircuit.Circuit.dual
- QuantumCircuit.Circuit.dual_step
- QuantumCircuit.Circuit.ofLayer
- QuantumCircuit.Circuit.seq
A cost of layers determines a cost of circuits by accumulation along the most expensive branch: the cost of a circuit starting with a layer \(L\) is the cost of \(L\) plus the largest cost of a continuation, and the empty circuit costs nothing. Given a weight \(w(b,g)\in \mathbb {N}\) of every gate \(g\) on a cell \(b\), the weight of a layer is the sum of the weights of its gates. The gate count of a layer is the weight \(w(b,g)=c_b\), the sum of the costs of its cells; the number of gates of the layer meeting a site \(s\) is the weight that is \(1\) on cells of positive cost containing \(s\) and \(0\) otherwise. The depth of a layer is \(1\) if it uses a cell of positive cost and \(0\) otherwise. Onsite families cost nothing. A circuit is of depth \(T\) when its depth is at most \(T\).
A geometry on \(V\) is a set \(\mathcal C\) of cells, each with a region \(C_b\subseteq V\) and a cost \(c_b\in \mathbb {N}\). The bonds of a ring, the windows of a chain, the edges of a graph, the wires of one site at cost zero and arbitrary sets of parties are geometries. When there are finitely many cells, the neighbourhood \(\mathcal N(R)\) of a region \(R\) is \(R\) together with every cell meeting \(R\), so \(R\subseteq \mathcal N(R)\). The cells contained in a region \(D\) form a geometry on \(D\).
A layer from \(X\) to \(Y\) consists of a set of pairwise disjoint cells \(b\), each carrying a gate \(g_b\) on \(C_b\), and of a finite Kraus family \((k_{s,\omega })_\omega \) from \(\mathbb {C}^{X_s}\) to \(\mathbb {C}^{Y_s}\) at every site \(s\) met by no cell. Its outcomes are the choices \(i\) of an outcome for every cell and every remaining site, and its Kraus operators are
A property of Kraus families holds locally on the layer when it holds for every gate, as interpreted, and every onsite family. The backward light cone of a region \(R\) through the layer is \(R\) together with every cell of the layer that meets \(R\).
A map of systems from \(V\) to \(V'\) assigns to every system \(X\) on \(V\) a system \(X'\) on \(V'\). A map of layers from the circuits on \(V\) with geometry \(\Gamma \) and gate family \(G\) to those on \(V'\) with \(\Gamma '\) and \(G'\) is a map of systems together with a layer \(L'\) from \(X'\) to \(Y'\) for every layer \(L\) from \(X\) to \(Y\), and a bijection between the Kraus indices of \(L'\) and of \(L\). The image of a circuit replaces every layer by its image, the continuation of an index of \(L'\) being the image of the continuation of the corresponding index of \(L\); the branches of the image are in bijection with those of the circuit.
A property of Kraus families holds locally on a circuit when it holds locally on every layer of every branch. The backward light cone of a region \(R\) through a circuit is obtained from the last layer to the first, each layer adding its cells that meet the current region, over all branches.
For a set of pairwise disjoint cells \(b\) of a geometry and a gate \(g_b\) on each, the layer of these gates carries the identity at every remaining site. The layer of one gate on one cell is the case of a single cell. For a finite Kraus family \((K_\omega )_\omega \) on \(\mathbb {C}^{X_D}\) the family of its placements is the family \((K_\omega \otimes 1)_\omega \) on \(\mathcal H_X\). A layer with no cells has a Kraus family at every site, which may change the basis.
For \(N\ge 1\), the ring of \(N\) sites is the geometry on \(\mathbb {Z}_N\) with one cell \(\{ k,k+1\} \) of cost \(1\) for each site \(k\), indices modulo \(N\). For \(N=1\) the cell is \(\{ 0\} \), and for \(N=2\) both cells are \(\{ 0,1\} \).
For \(g\in G\), \(P_g\) is the permutation matrix of \(x\mapsto g\cdot x\) on the configurations. The map \(g\mapsto P_g\) is a unitary representation of \(G\), and \((P_gAP_g^\dagger )(x,y)=A(x\circ g,y\circ g)\) for every operator \(A\).
A finite Kraus family from \(\mathbb {C}^I\) to \(\mathbb {C}^J\) is a finite set \(\Omega \) of outcomes together with matrices \((K_\omega \in \mathbb {C}^{J\times I})_{\omega \in \Omega }\), with no normalization imposed [ 143 , Theorem 2.1 ] . Its map is the rectangular Kraus map \(\rho \mapsto \sum _\omega K_\omega \rho K_\omega ^\dagger \) and its effect is \(E=\sum _\omega K_\omega ^\dagger K_\omega \). The family is trace-preserving when \(E=1\), which is the trace-preservation condition of Definition 6.1.4 on its operators, and trace-nonincreasing when \(E\leq 1\). A family of one operator \(V\) has map \(\rho \mapsto V\rho V^\dagger \) and effect \(V^\dagger V\); it is trace-nonincreasing exactly when \(V\) is a contraction, and it is called unitary when \(V^\dagger V=1\) and \(VV^\dagger =1\).
The tensor product of finite Kraus families \((K_\omega )_\omega \) from \(\mathbb {C}^I\) to \(\mathbb {C}^J\) and \((L_\nu )_\nu \) from \(\mathbb {C}^{I'}\) to \(\mathbb {C}^{J'}\) is the family \((K_\omega \otimes L_\nu )_{(\omega ,\nu )}\) from \(\mathbb {C}^I\otimes \mathbb {C}^{I'}\) to \(\mathbb {C}^J\otimes \mathbb {C}^{J'}\). The family \(K\) on the left factor of \(\mathbb {C}^I\otimes \mathbb {C}^W\) is its tensor product with the family of the one operator \(1\). The partial trace over \(\mathbb {C}^F\) is the family \((1\otimes \langle f|)_{f\in F}\) from \(\mathbb {C}^J\otimes \mathbb {C}^F\) to \(\mathbb {C}^J\), whose operators are the adjoints of the basis inclusions \(b\mapsto (b,f)\). For bijections \(e:I'\to I\) and \(f:J'\to J\), the relabelled family has the operators \(K_\omega \) with rows indexed through \(f\) and columns through \(e\).
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 \).
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.
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\).
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.
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 '\).
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.
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\).
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\).
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 \).
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)\).
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.
A map \(f:V\to V'\) groups the sites into the blocks \(f^{-1}(b)\), \(b\in V'\). A system \(X\) on \(V\) is a system on \(V'\) with basis \(X_{f^{-1}(b)}\) at \(b\). Its configurations are those of \(X\), by the bijection of Lemma 34.7.1 for the partition into the blocks, and the configurations of a region \(D'\) of blocks are those of its preimage \(f^{-1}(D')\).
For a finite Kraus family \((K^v_\omega )_{\omega \in \Omega _v}\) from \(\mathbb {C}^{X_v}\) to \(\mathbb {C}^{Y_v}\) at every site \(v\), the product family \(\bigotimes _vK^v\) from \(\mathcal H_X\) to \(\mathcal H_Y\) has the outcomes \(j\in \prod _v\Omega _v\) and the operators \(\bigotimes _vK^v_{j_v}\).
On the ring \(\mathbb {Z}_N\) of \(N\ge 1\) sites, the ball of radius \(r\) about a set \(X\) of sites is its neighbourhood of radius \(r\) in the cycle graph, and two sets are separated by \(s\) when they are separated by \(s\) in the cycle graph. The ball of radius \(r\) about \(X\) is the set of sites \(x+m\) with \(x\in X\) and \(\lvert m\rvert \le r\), indices modulo \(N\).
An operator \(A\) on \(\mathcal H_X\) is supported on a region \(D\) when its matrix element \(A_{\sigma \tau }\) vanishes whenever \(\sigma _v\neq \tau _v\) for some \(v\notin D\), and otherwise depends only on \(\sigma |_D\) and \(\tau |_D\). Let \(\mathcal A_D\) be the set of operators supported on \(D\). Then \(A_{\sigma \tau }=A_{\sigma '\tau '}\) for \(A\in \mathcal A_D\) whenever \(\sigma |_D=\sigma '|_D\), \(\tau |_D=\tau '|_D\) and, at every \(v\notin D\), \(\sigma _v=\tau _v\) if and only if \(\sigma '_v=\tau '_v\).
A bound on a set of sites passes to every larger bound on every smaller set, and to compositions; every circuit is bounded on the empty set. The bases of the input are bounded, and so are those of the output along any branch. A circuit of one layer is bounded when its input and output bases are, and a sequence of layers from a system to itself is bounded when the bases of that system are. A circuit whose gates and onsite families are trace-preserving, on nonempty finite bases, has a bound.
- QuantumCircuit.Circuit.IsDimBounded.mono
- QuantumCircuit.Circuit.IsDimBounded.comp
- QuantumCircuit.Circuit.IsDimBounded.input
- QuantumCircuit.Circuit.IsDimBounded.output
- QuantumCircuit.Circuit.exists_isDimBounded
- QuantumCircuit.Circuit.isDimBounded_empty
- QuantumCircuit.Circuit.isDimBounded_ofLayer
- QuantumCircuit.Circuit.isDimBounded_seq
The map \(\Phi \) of a circuit and its Heisenberg picture \(\Phi ^\dagger \) satisfy \(\operatorname {tr}(\Phi (\rho )A)=\operatorname {tr}(\rho \, \Phi ^\dagger (A))\). The Heisenberg picture of the empty circuit is the identity. The circuit of one layer is unbranched and has the Kraus operators of the layer.
The map of the layer is the tensor product of the maps of its gates and onsite families: on a matrix unit \(|x\rangle \! \langle x'|\) its entry at \((y,y')\) is
The blocks of a layer partition the sites, so a sum over the configurations of any system of a product over the blocks of functions of the restrictions is the product over the blocks of the sums over their configurations. Let \(D\) be the union of a set \(N\) of blocks of a layer. In the cut along \(D\), every Kraus operator is \(K_i=K^{\mathrm{near}}_{i_N}\otimes K^{\mathrm{far}}_{i_F}\), the products of the local entries over the blocks in \(N\) and over the remaining blocks \(F\), and for all \(M\) on \(\mathbb {C}^{Y_D}\) and \(N\) on \(\mathbb {C}^{Y_{V\setminus D}}\)
If the families on the blocks in \(F\) are trace-preserving, then \(\sum _{i_F}(K^{\mathrm{far}}_{i_F})^\dagger K^{\mathrm{far}}_{i_F}=1\), so for every \(A_1\) on \(\mathbb {C}^{Y_D}\)
- QuantumCircuit.Layer.Block
- QuantumCircuit.Layer.region
- QuantumCircuit.Layer.BlockIndex
- QuantumCircuit.Layer.indexEquiv
- QuantumCircuit.Layer.region_disjoint
- QuantumCircuit.Layer.blockOf
- QuantumCircuit.Layer.mem_region_blockOf
- QuantumCircuit.Layer.blockOf_eq_of_mem
- QuantumCircuit.Layer.isComplPartition_region
- QuantumCircuit.Layer.sum_prod_region
- QuantumCircuit.Layer.sum_prod_mul_prod
- QuantumCircuit.Layer.blockKraus
- QuantumCircuit.Layer.kraus_apply_eq_prod
- QuantumCircuit.Layer.blockEffect
- QuantumCircuit.Layer.blockEffect_eq_one
- QuantumCircuit.Layer.unionRegion
- QuantumCircuit.Layer.region_subset_unionRegion
- QuantumCircuit.Layer.disjoint_unionRegion
- QuantumCircuit.Layer.isComplPartition
- QuantumCircuit.Layer.nearKraus
- QuantumCircuit.Layer.farKraus
- QuantumCircuit.Layer.farKraus_apply
- QuantumCircuit.Layer.nearFarEquiv
- QuantumCircuit.Layer.kraus_eq_submatrix
- QuantumCircuit.Layer.sum_farKraus
- QuantumCircuit.Layer.dual
- QuantumCircuit.Layer.dual_apply'
- QuantumCircuit.Layer.dual_kronecker
- QuantumCircuit.Layer.dual_place
The family of one unitary matrix is unitary, so the gate of a unitary matrix on a local basis is unitary. A matrix \(M\) on \(\mathbb {C}^{X_a}\) placed on the site \(a\) maps a vector \(\psi \) to the vector whose value at \(\sigma \) is \(\sum _bM_{\sigma _a,b}\, \psi (\sigma [a\mapsto b])\), where \(\sigma [a\mapsto b]\) agrees with \(\sigma \) except at \(a\), where it is \(b\).
For \(N\ge 1\), the neighbourhood of a region \(R\) of the ring is the ball of radius \(1\) about \(R\), and the \(r\)-fold neighbourhood is the ball of radius \(r\).
Let \(L_1,\dots ,L_m\) be layers on one system, and suppose every Kraus operator of \(L_k\) equals \(U_k\). Then the Kraus operator of the sequence along every branch is \(U_m\cdots U_1\). The sequence is unbranched, and a property holding locally on every layer holds locally on the sequence. If every layer has at least one outcome, the cost of the sequence is the sum of the costs of its layers; in particular a sequence of such layers of gate count \(1\) has the gate count \(m\). More generally the cost of an unbranched circuit with a branch, followed by any circuit, is the sum of the two costs.
A trace-preserving Kraus family on a nonempty basis has an operator, and its target basis is nonempty. A layer whose gates and onsite families are trace-preserving, on nonempty bases, has an outcome, and its output bases are nonempty.
If every gate and every onsite family of a circuit has exactly one Kraus operator, for instance if they are unitary, the circuit has exactly one branch \(p\). The Heisenberg picture of a circuit with one branch \(p\) is \(A\mapsto K_p^\dagger AK_p\).
Finite tensor products of rectangular matrices are multiplicative, \(\bigl(\bigotimes _kK_k\bigr)\bigl(\bigotimes _kL_k\bigr) =\bigotimes _kK_kL_k\), and the tensor product of identities is the identity. Multiplying every factor by \(c\) multiplies the product by \(c^{\lvert \nu \rvert }\), so \((cX)^{\otimes N}=c^NX^{\otimes N}\). Transposes and adjoints are taken factorwise, and the trace of a tensor product of square matrices is the product of the traces. Summing tensor products over all choice functions gives the tensor product of the sums, and the tensor product of diagonal matrices \(\operatorname {diag}(f_k)\) is diagonal with entries \(\prod _kf_k(\sigma _k)\). A tensor product vanishes exactly when one of its factors does.
The map of a trace-preserving finite Kraus family is completely positive and trace-preserving. A trace-preserving family is trace-nonincreasing, and a unitary family is trace-preserving. On a matrix unit the map has the entries \(K(|a\rangle \! \langle a'|)_{cc'}=\sum _\omega (K_\omega )_{ca}\overline{(K_\omega )_{c'a'}}\), and a trace-preserving family between one-element bases is the identity.
The map of the tensor product \(K\otimes L\) sends \(\rho \otimes \sigma \) to \(K(\rho )\otimes L(\sigma )\), and its effect is the tensor product of the effects. A linear map on the matrices of \(\mathbb {C}^I\otimes \mathbb {C}^{I'}\) is determined by its values on tensor products. Tensor products of trace-preserving families are trace-preserving, and tensor products of unitary families are unitary; in particular so is a family tensored with the identity. The effect of a relabelled family is the relabelled effect, so relabelling preserves trace preservation and unitarity. The map of the partial-trace family is the partial trace over the right factor, and the family is trace-preserving.
- KrausFamily.map_prod
- KrausFamily.effect_prod
- Matrix.linearMap_ext_kronecker
- KrausFamily.IsTP.prod
- KrausFamily.IsUnitary.prod
- KrausFamily.IsTP.tensorRight
- KrausFamily.IsUnitary.tensorRight
- KrausFamily.effect_reindex
- KrausFamily.IsTP.reindex
- KrausFamily.IsUnitary.reindex
- KrausFamily.map_traceRight
- KrausFamily.isTP_traceRight
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 ] .
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.
- QuantumCircuit.IsAdaptiveProtocol.isKrausCPTP
- QuantumCircuit.IsProtocol.isKrausCPTP
- QuantumCircuit.IsConversion.refl
- QuantumCircuit.IsConversion.mono
- QuantumCircuit.IsConversion.trans
- QuantumCircuit.IsConversion.density
- QuantumCircuit.IsConversion.adaptive
- QuantumCircuit.IsAdaptiveConversion.refl
- QuantumCircuit.IsAdaptiveConversion.mono
- QuantumCircuit.IsAdaptiveConversion.trans
- QuantumCircuit.IsAdaptiveConversion.density
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\):
for every matrix \(N\).
- QuantumCircuit.map_prepareCircuit_apply
- QuantumCircuit.map_traceCircuit_apply
- QuantumCircuit.map_relabelCircuit_apply
- QuantumCircuit.forall_isUnitary_relabelCircuit
- QuantumCircuit.isUnbranched_relabelCircuit
- QuantumCircuit.depth_relabelCircuit
- QuantumCircuit.map_traceCircuit_kronecker
- QuantumCircuit.map_traceCircuit_map_tensorRight
- QuantumCircuit.isDimBounded_relabelCircuit
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.
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.
In the notation of Definition 49.6.3, the operators of the carried family satisfy
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\).
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\).
- Matrix.mul_basisInclusion_apply
- Matrix.conjTranspose_basisInclusion_mul_apply
- Matrix.mul_conjTranspose_basisInclusion_apply_self
- Matrix.mul_conjTranspose_basisInclusion_apply_of_notMem
- Matrix.basisInclusion_mul_single_mul_conjTranspose
- Matrix.basisInclusion_equiv_mul_mul_conjTranspose
- Matrix.basisInclusion_mul_apply_self
- Matrix.basisInclusion_mul_apply_of_notMem
- KrausFamily.isTP_embed
- KrausFamily.map_embed_apply
- KrausFamily.decode_op_inl
- KrausFamily.decode_op_inr
- KrausFamily.map_decode_apply
- KrausFamily.effect_decode
- KrausFamily.isTP_decode
- KrausFamily.decode_op_inl_mul
- KrausFamily.decode_op_inr_mul
- KrausFamily.map_decode_map_embed
- QuantumCircuit.map_encodeCircuit
- QuantumCircuit.map_encodeCircuit_congr
- QuantumCircuit.map_encodeCircuit_trans
- QuantumCircuit.map_decodeCircuit_comp_map_encodeCircuit
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
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.
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.
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.
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 \).
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'}\).
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\).
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.
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.
Let \((K_\omega )_\omega \) be a finite Kraus family with \(\sum _\omega K_\omega ^\dagger K_\omega =1\). Then for every matrix \(X\), not necessarily Hermitian,
Sets with positions in \(\lbrack a,a+w)\) and \(\lbrack b,b+w')\) are separated by \(s\) when \(a+w+s\le b\) and \(b+w'+s\le a+N\). If \(N{\gt}4T+4\), there are sites \(i\) and \(j\) with \(\{ i\} \) and \(\{ j\} \) separated by \(2T\), and a site \(k\) outside the balls of radius \(T\) about \(i\) and about \(j\).
If \(D\subseteq D'\), then \(\mathcal A_D\subseteq \mathcal A_{D'}\), and \(\mathcal A_V\) is the whole matrix algebra.
Let \(W\) be an isometry, \(\sigma \) a matrix on \((\mathcal A\otimes \mathcal S)\otimes \mathbb C^B\), \(\sigma '=(1\otimes W)\sigma (1\otimes W)^\dagger \) and \(v=(1\otimes W)x\). Then
\(\operatorname {tr}_{\mathcal R}\sigma ' =\operatorname {tr}_{\mathbb C^B}\sigma \);
\(\lVert \operatorname {tr}_{\mathcal A}\sigma ' -\operatorname {tr}_{\mathcal A}\lvert v\rangle \langle v\rvert \rVert _1 =\lVert \operatorname {tr}_{\mathcal A}\sigma -\operatorname {tr}_{\mathcal A}\lvert x\rangle \langle x\rvert \rVert _1\);
for \(H=H_L\otimes 1+1\otimes K\), with \(H_L\) acting on \(\mathcal A\otimes \mathcal S\) and \(K\) on \(\mathcal S\otimes \mathcal R\),
\begin{align*} \operatorname {Re}\operatorname {tr}(\sigma ’H) & \le \operatorname {Re}\operatorname {tr}(\sigma (H_L\otimes 1)) +\operatorname {Re}\langle v,(1\otimes K)v\rangle +\lVert K\rVert \, \lVert \operatorname {tr}_{\mathcal A}\sigma -\operatorname {tr}_{\mathcal A}\lvert x\rangle \langle x\rvert \rVert _1. \end{align*}
This is Lemma l:gluing of [ 108 , lines 421–447 ] , for every isometry \(W\) whose range contains the right Schmidt vectors of \(v\). The constant \(n\) of the printed third part is replaced by \(\lVert K\rVert \), which is at most \(n\) for the chain Hamiltonian of the source, where \(K=H_i+H_R\).
Let \(f:V\to V'\) group the sites of a geometry \(\Gamma \) into the sites of a geometry \(\Gamma '\), and let a layer \(L\) of plain gates from \(X\) to \(Y\) on \(\Gamma \) have every cell \(b\) in a cell \(\bar b\) of \(\Gamma '\) after \(f\), with \(\bar b_1\) and \(\bar b_2\) disjoint whenever they are distinct. Then there is a layer \(L'\) of plain gates on \(\Gamma '\) from the blocked system of \(X\) to that of \(Y\) whose cells are the cells \(\bar b\), which is trace-preserving when \(L\) is, and whose map, read on the sites, is the map of \(L\).
Attaching a circuit \(k_p\) to every branch \(p\) of a circuit \(c\) gives a circuit whose branches are the pairs \((p,q)\) of a branch of \(c\) and a branch of \(k_p\), with Kraus operators \(K^{k_p}_qK^c_p\), and its map sends \(\rho \) to \(\sum _p\Phi _{k_p}(K^c_p\rho K^{c\dagger }_p)\); for a circuit starting with a layer this is the map layer by layer, and the map of the circuit of one layer is the map of the layer’s Kraus family. For a continuation independent of \(p\) the map of the composite is the composite of the maps, and the empty circuit is the identity map. A circuit starting with a layer whose continuations all agree is the circuit of the layer followed by one of them, and its Heisenberg picture is that of the layer applied to that of the continuation. The empty circuit is a two-sided identity of composition, and composition is associative.
- QuantumCircuit.Circuit.append
- QuantumCircuit.Circuit.comp
- QuantumCircuit.Circuit.appendIndexEquiv
- QuantumCircuit.Circuit.kraus_append
- QuantumCircuit.Circuit.compIndexEquiv
- QuantumCircuit.Circuit.kraus_comp
- QuantumCircuit.Circuit.map_comp
- QuantumCircuit.Circuit.map_done
- QuantumCircuit.Circuit.done_comp
- QuantumCircuit.Circuit.comp_done
- QuantumCircuit.Circuit.comp_assoc
- QuantumCircuit.Circuit.map_append
- QuantumCircuit.Circuit.map_step
- QuantumCircuit.Circuit.map_ofLayer
- QuantumCircuit.Circuit.step_eq_ofLayer_comp
- QuantumCircuit.Circuit.dual_step_of_forall_eq
The depth of a circuit starting with a layer \(L\) is the depth of \(L\) plus the largest depth of a continuation; in particular the circuit of one layer has the depth of the layer. The cost of a circuit with continuations \(k_p\) attached is at most the cost of the circuit plus the largest cost of a continuation. In particular depth, gate count and the number of gates meeting a site are subadditive under composition. A layer has depth at most \(1\), and the depth of a circuit is at most its gate count. The cost of a sequence of layers is at most the sum of the costs of its layers.
- QuantumCircuit.Circuit.total_append
- QuantumCircuit.Circuit.total_comp
- QuantumCircuit.Circuit.depth_comp
- QuantumCircuit.Circuit.gateCount_comp
- QuantumCircuit.Circuit.participation_comp
- QuantumCircuit.Circuit.total_mono
- QuantumCircuit.Layer.depth_le_gateCount
- QuantumCircuit.Circuit.depth_le_gateCount
- QuantumCircuit.Circuit.total_seq_le
- QuantumCircuit.Circuit.depth_seq_le
- QuantumCircuit.Circuit.gateCount_seq_le
- QuantumCircuit.Layer.depth_le_one
- QuantumCircuit.Circuit.depth_step
- QuantumCircuit.Circuit.depth_ofLayer
Let a circuit be unbranched with trace-preserving gates and onsite families, and let \(A\) be supported on \(R\). Then the Heisenberg picture of \(A\) is supported on the backward light cone of \(R\) [ 11 ] . If the geometry has finitely many cells and every cell has positive cost, the backward light cone lies in the \(T\)-fold neighbourhood of \(R\), where \(T\) is the depth.
Let a circuit be unbranched with trace-preserving gates and onsite families, and let \(A\), \(B\) be supported on regions with disjoint backward light cones. Then the Heisenberg picture of \(AB\) is the product of those of \(A\) and \(B\), and on a product input \(\rho =\bigotimes _s\sigma _s\) with \(\operatorname {tr}\sigma _s=1\),
Let \(b_1,\dots ,b_m\) be an enumeration without repetition of a set of pairwise disjoint cells carrying gates \(g_{b_k}\), under any interpretation. The Kraus operator of the layer at an outcome \(i\) is
the product of the placements of the matrices of the gates at \(i\), and the map of the layer is the composite of the maps of the families of placements of the \(g_{b_k}\), in this order. A property of Kraus families holding for every gate and for the identity holds locally on the layer; in particular a layer of trace-preserving gates is a quantum channel by Theorem 45.2.2. The layer of one gate \(g\) on a cell \(b\) has the weight \(w(b,g)\) for every weight of gates, in particular gate count \(c_b\), and depth \(1\) if \(c_b{\gt}0\). The Kraus operator of a layer with no cells and families \((K^s_\omega )_\omega \) at the sites \(s\), at an outcome \(i\), is the product operator \(\bigotimes _sK^s_{i_s}\), and such a layer has depth \(0\); its map is the map of the product family \(\bigotimes _sK^s\). If every family consists of one operator \(V_s\), the map of the layer is \(\rho \mapsto (\bigotimes _sV_s)\rho (\bigotimes _sV_s)^\dagger \).
- QuantumCircuit.Layer.kraus_ofCells
- QuantumCircuit.Layer.map_ofCells
- QuantumCircuit.Layer.forall_ofCells
- QuantumCircuit.Layer.nonempty_index_ofCells
- QuantumCircuit.Layer.forall_single
- QuantumCircuit.Layer.nonempty_index_single
- QuantumCircuit.Layer.cellCost_single
- QuantumCircuit.Layer.gateCount_single
- QuantumCircuit.Layer.depth_single
- QuantumCircuit.Layer.kraus_ofOnsite
- QuantumCircuit.Layer.depth_ofOnsite
- QuantumCircuit.Circuit.map_ofLayer_ofOnsite_single
- QuantumCircuit.Layer.map_krausFamily_ofOnsite
Let a map of systems from \(V\) to \(V'\) come with linear encodings \(\iota _X\) of the matrices of each system \(X\), and let \(K\in \mathbb {N}\). Suppose that every layer \(L\) on nonempty bases with trace-preserving gates and onsite families is realised by an unbranched circuit on \(V'\) with trace-preserving local families and depth at most \(K\) times that of \(L\), whose map \(\Psi \) satisfies \(\Psi \circ \iota _X=\iota _Y\circ \Phi _L\). Then every unbranched circuit with trace-preserving local families on nonempty bases is realised in the same way, with depth at most \(K\) times its depth.
Let \(W_s\) be a finite basis at every site \(s\). Every circuit of plain gates from \(X\) to \(Z\) has an image from the system \(s\mapsto X_s\times W_s\) to the system \(s\mapsto Z_s\times W_s\) on the same cells: every gate \(g\) on a cell \(D\) becomes \(g\otimes 1\) on \(\mathbb {C}^{X_D}\otimes \mathbb {C}^{W_D}\), and every onsite family \(K\) becomes \(K\otimes 1\). Along corresponding branches \(K'_p=K_p\otimes 1_W\) in the identification of the configurations of the enlarged system with pairs, so the map of the image sends \(\rho \otimes \omega \) to \(\Phi (\rho )\otimes \omega \). The image is locally trace-preserving, or locally unitary, when the circuit is, and its depth and gate count are those of the circuit. If the circuit is bounded by \(B\) on a set \(A\) of sites and \(W_s\) has one element at every \(s\in A\), the image is bounded by \(B\) on \(A\).
- QuantumCircuit.Layer.tensorRight
- QuantumCircuit.Layer.tensorRightIndexEquiv
- QuantumCircuit.Layer.tensorRightIndexEquiv_apply
- QuantumCircuit.Layer.kraus_tensorRight
- QuantumCircuit.Layer.forall_tensorRight
- QuantumCircuit.LayerMap.tensorRight
- QuantumCircuit.Circuit.tensorRight
- QuantumCircuit.Circuit.kraus_tensorRight
- QuantumCircuit.Circuit.map_tensorRight
- QuantumCircuit.Circuit.forall_isTP_tensorRight
- QuantumCircuit.Circuit.forall_isUnitary_tensorRight
- QuantumCircuit.Circuit.depth_tensorRight
- QuantumCircuit.Circuit.gateCount_tensorRight
- QuantumCircuit.Circuit.IsDimBounded.tensorRight
A circuit whose gates and onsite families are trace-preserving is trace-preserving, hence a quantum channel, whether or not it branches.
Let \(K=(K_\omega )_{\omega \in \Omega }\) be a trace-preserving finite Kraus family from \(\mathbb {C}^I\) to \(\mathbb {C}^J\) with \(I\) nonempty, and put \(E=J\times \Omega \) and \(F=I\times \Omega \). There are a basis vector \(e_0\) of \(\mathbb {C}^E\) and a unitary \(U:\mathbb {C}^I\otimes \mathbb {C}^E\to \mathbb {C}^J\otimes \mathbb {C}^F\) with
for every matrix \(\rho \) on \(\mathbb {C}^I\). This is the construction in the proof of [ 143 , Theorem 2.5 ] , not that theorem: the environment here depends on the family and starts in a basis vector, while Theorem 3.12.23 has an environment of fixed dimension \(d(d')^2\) in a general normalized vector.
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\).
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,
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.
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.
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 ] .
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.
- QuantumCircuit.IsProtocol.adaptive
- QuantumCircuit.IsBoundedProtocol.isProtocol
- QuantumCircuit.IsProtocol.id
- QuantumCircuit.IsProtocol.mono
- QuantumCircuit.IsAdaptiveProtocol.id
- QuantumCircuit.IsAdaptiveProtocol.mono
- QuantumCircuit.IsAdaptiveProtocol.comp
- QuantumCircuit.IsProtocol.comp
- QuantumCircuit.IsBoundedProtocol.comp
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.
Let \(D\) be a set of sites. A layer of trace-preserving gates and onsite families on nonempty input bases that is unitary off \(D\), whose circuit is bounded by \(B\) on the sites outside \(D\), has a unitary dilation of its own depth with environments in \(D\) and bound \(B\).
- QuantumCircuit.Layer.repSite
- QuantumCircuit.Layer.repSite_mem
- QuantumCircuit.Layer.repSite_mem_of_not_disjoint
- QuantumCircuit.Layer.IsRep
- QuantumCircuit.Layer.decIsRep
- QuantumCircuit.Layer.IsRep.mem
- QuantumCircuit.Layer.IsRep.eq
- QuantumCircuit.Layer.not_isRep_of_free
- QuantumCircuit.Layer.Distribute
- QuantumCircuit.Layer.distributeCellEquiv
- QuantumCircuit.Layer.distributeFreeEquiv
- QuantumCircuit.Layer.isUnitaryDilation
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
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).
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\).
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.
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\).
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\)
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.
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.
Asymptotic conversion is reflexive and transitive, and phase equivalence is an equivalence relation on families of matrices on a family of systems.
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).
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
for some unit vector \(\eta \) of the output environment [ 124 ] . For \(\varepsilon =0\) the output is exactly \(J_b\varphi \otimes \eta \).
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
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\).
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'\)
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.
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'\)
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.
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 ] .
Let \(S,E\) be finite-dimensional coordinate spaces, let \(\Omega \in S\otimes E\) and \(\phi \in S\) be unit vectors, and set \(\rho =\operatorname {tr}_E|\Omega \rangle \! \langle \Omega |\). If \(\| \rho -|\phi \rangle \! \langle \phi |\| _1\le \varepsilon \), there is a unit vector \(\eta \in E\) with
The environment space is unchanged, and no strict upper bound on \(\varepsilon \) is required.
Let \(M,k\ge 1\), and group the ring \(\mathbb {Z}_{Mk}\) into the \(M\) blocks of \(k\) consecutive sites, the site \(p\) lying in the block \(\lfloor p/k\rfloor \) of the ring \(\mathbb {Z}_M\). For a set \(R\) of blocks, the sites of the blocks in the ball of radius \(r\) about \(R\) lie in the ball of radius \(kr\) 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.
For arbitrary rectangular complex matrices of a fixed size, the trace norm satisfies \(\lVert 0\rVert _1=0\), \(\lVert A+B\rVert _1\leq \lVert A\rVert _1+\lVert B\rVert _1\), \(\lVert cA\rVert _1=|c|\lVert A\rVert _1\), and \(\lVert A^\dagger \rVert _1=\lVert A\rVert _1\); a square matrix of trace norm \(0\) is \(0\). For a finite set \(B\) of branches and complex coefficients \(c_\beta \),
Taking all \(c_\beta =1\) gives the unweighted finite-sum estimate; the empty branch family gives zero. These are the trace-norm properties used in the summation leading to [ 148 , Equation (5.19) ] .
- Matrix.rectangularTraceNorm_zero
- Matrix.rectangularTraceNorm_add_le
- Matrix.rectangularTraceNorm_smul
- Matrix.rectangularTraceNorm_sum_le
- Matrix.rectangularTraceNorm_sum_smul_le
- Matrix.rectangularTraceNorm_conjTranspose_le
- Matrix.rectangularTraceNorm_conjTranspose
- Matrix.rectangularTraceNorm_eq_zero_iff