- 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
For \(\rho \succeq 0\) on \(\mathbb {C}^T\), the canonical purification is the vector in \(\mathbb {C}^T\otimes \mathbb {C}^T\) with coefficient matrix \(\sqrt\rho \). Its reduced state is \(\rho \) and its squared norm is \(\operatorname{tr}\rho \), so it is a possibly unnormalized purification of \(\rho \), and a purification in the sense of Definition 1.2.1 when \(\rho \) is a density operator. For \(s\in \mathbb {C}^T\otimes \mathbb {C}^{B_T}\) and \(s'\in \mathbb {C}^E\otimes \mathbb {C}^{B_E}\), write \(s\otimes s'\) for their product regrouped in \((\mathbb {C}^T\otimes \mathbb {C}^E)\otimes (\mathbb {C}^{B_T}\otimes \mathbb {C}^{B_E})\). Its reduced state on \(\mathbb {C}^T\otimes \mathbb {C}^E\) is the tensor product of the reduced states of \(s\) and \(s'\).
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\).
Let \(b\) be a cell and let \(Y\) agree with \(X\) outside \(C_b\). For a gate \(g\) on \(C_b\) from \(X\) to \(Y\), the layer of \(g\) on \(b\) has the single cell \(b\) with the gate \(g\), and at every site \(s\notin C_b\) the onsite family consisting of the matrix of the identification \(X_s=Y_s\); the sites met by no cell are those outside \(C_b\). When \(Y=X\) it is the layer of one gate of Lemma 45.1.10. For a site \(s_0\), a system \(Y\) agreeing with \(X\) at every site \(s\neq s_0\), and a matrix \(A\) from \(\mathbb {C}^{X_{s_0}}\) to \(\mathbb {C}^{Y_{s_0}}\), the layer of \(A\) at \(s_0\) has no cell, the onsite family \(\{ A\} \) at \(s_0\) and the identification at every other site.
A layer acts as the identity at a site \(s\) met by no cell when \(Y_s=X_s\) and every member of its onsite family at \(s\) is the identity matrix; this holds when the onsite family at \(s\) consists of identity matrices. A layer is one step when it has no cell, or one cell and acts as the identity at every site met by no cell. The layer of one gate on a cell, a layer of onsite families only, and the layer of one matrix at one site are one step. A circuit is sequential when every layer of every branch is one step; this passes to a circuit with continuations attached when it holds for the circuit and every continuation, hence to compositions, and the circuit of one layer that is one step is sequential.
- QuantumCircuit.Layer.gateAt
- QuantumCircuit.Layer.free_gateAt_iff
- QuantumCircuit.Layer.gateAt_eq_single
- QuantumCircuit.Layer.onsiteOpAt
- QuantumCircuit.Layer.IsIdentityAt
- QuantumCircuit.Layer.isIdentityAt_of_op_eq
- QuantumCircuit.Layer.IsStep
- QuantumCircuit.Layer.isStep_gateAt
- QuantumCircuit.Layer.isStep_ofOnsite
- QuantumCircuit.Layer.isStep_onsiteOpAt
- QuantumCircuit.Circuit.IsSequential
- QuantumCircuit.Circuit.IsSequential.append
- QuantumCircuit.Circuit.IsSequential.comp
- QuantumCircuit.Circuit.isSequential_ofLayer
A gate family assigns to every region \(D\) and systems \(X,Y\) a set of gates on \(D\) from \(X\) to \(Y\), each with a finite set of outcomes. An interpretation assigns to every outcome of every gate a matrix in \(\mathbb {C}^{Y_D\times X_D}\). The plain gates on \(D\) are the finite Kraus families from \(\mathbb {C}^{X_D}\) to \(\mathbb {C}^{Y_D}\), each interpreted as itself. Keeping the matrices out of the gates allows one circuit to be evaluated against different oracles, and allows gates that are themselves formal expressions, such as weighted sums of circuits.
A morphism of gate families on the same sites maps every gate on \(D\) from \(X\) to \(Y\) to a gate on \(D\) from \(X\) to \(Y\), with a bijection of outcomes. It is compatible with interpretations when the interpreted matrices agree outcome by outcome.
The sum of two gate families has the gates of both, each with its outcomes, and the interpretations of the two families give an interpretation of the sum. The inclusion of the gates of the first family is a morphism of gate families compatible with the interpretations.
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.
A gate family has one outcome per gate when every gate has exactly one outcome; every outcome of such a gate is then that outcome. A circuit is single when every gate of every layer on every branch has exactly one outcome and every onsite family exactly one member. Equivalently, the property of having exactly one member holds locally on the circuit. The empty circuit is single, a single circuit has exactly one branch, being single passes to a circuit with continuations attached when it holds for the circuit and every continuation, hence to compositions, and the circuit of one layer of a gate family with one outcome per gate is single when every onsite family of the layer has one member.
- QuantumCircuit.GateFamily.UniqueOutcome
- QuantumCircuit.GateFamily.UniqueOutcome.outcome
- QuantumCircuit.GateFamily.UniqueOutcome.eq_outcome
- QuantumCircuit.Circuit.IsSingle
- QuantumCircuit.Circuit.isSingle_done
- QuantumCircuit.Circuit.IsSingle.nonempty_unique_index
- QuantumCircuit.Circuit.isSingle_iff_forall
- QuantumCircuit.Circuit.IsSingle.append
- QuantumCircuit.Circuit.IsSingle.comp
- QuantumCircuit.Circuit.isSingle_ofLayer
For a set of sites \(S\), the geometry of all finite sets of sites has a cell \(D\) with sites \(D\) for every finite set \(D\subseteq S\). A cell of one site costs \(0\), and every other cell, the empty cell included, costs \(1\). Thus every cell costs at most \(1\), and a cell has positive cost exactly when it is not a single site.
- QuantumCircuit.Geometry.subsets
- QuantumCircuit.Geometry.subsets_cell
- QuantumCircuit.Geometry.subsets_cost
- QuantumCircuit.Geometry.subsets_cost_empty
- QuantumCircuit.Geometry.subsets_cost_singleton
- QuantumCircuit.Geometry.subsets_cost_of_two_le_card
- QuantumCircuit.Geometry.subsets_cost_pos_iff
- QuantumCircuit.Geometry.subsets_cost_le_one
For \(G:\mathbb {C}^D\to \mathbb {C}^{D'}\) and \(\gamma \in \mathbb {C}^B\), define \(A_{G,\gamma }:\mathbb {C}^D\to \mathbb {C}^{D'\times B}\) by \((A_{G,\gamma })_{(y,e),x}=G_{yx}\gamma _e\). For an arbitrary \(A:\mathbb {C}^D\to \mathbb {C}^{D'\times B}\) and an old inventory \(J\), its idle lift \(\mathcal L_J(A)\) is given by
This is \(A\otimes I_J\) followed by the stated output permutation. On an arbitrary vector \(\xi \), \((\mathcal L_J(A)\xi )_{y,j,e}=\sum _x A_{(y,e),x}\xi _{x,j}\). In particular,
The actual operator bounds are
Likewise \((K\otimes I_J)(v\otimes w)=Kv\otimes w\) and \(\lVert K\otimes I_J\rVert \leq \lVert K\rVert \) for arbitrary rectangular \(K\). No dimension lower bounds are needed.
- Matrix.idleGarbageLift
- Matrix.prepMatrix
- Matrix.idleGarbageLift_mulVec
- Matrix.idleGarbageLift_append_mulVec
- Matrix.idleGarbageLift_eq_kronecker_submatrix
- Matrix.norm_idleGarbageLift_le
- Matrix.idleGarbageLift_sub
- Matrix.norm_idleGarbageLift_sub_le
- Matrix.prepMatrix_prodComm_mul_mulVec
- Matrix.norm_prepMatrix_prodComm_mul_le
- Matrix.kronecker_one_tensorVector
For a finite set of sites \(\nu \) and matrices \(K_k\) with rows indexed by \(I_k\) and columns by \(J_k\), the tensor product \(\bigotimes _kK_k\) is the matrix with rows indexed by \(\prod _kI_k\), columns by \(\prod _kJ_k\), and entries
For a matrix \(V\) with rows indexed by \(I\) and columns by \(J\), the \(N\)-fold tensor power \(V^{\otimes N}\) is the tensor product of the constant family \(V\) over \(N\) sites, indexed by \(I^N\) and \(J^N\). For a system of sites with on-site matrices \(m_v\), the product operator \(\bigotimes _vm_v\) is the tensor product over the sites.
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\).
Let \(p\neq q\) be parties and \(\alpha ,\beta \) finite sets. The system \(X^{pq}_{\alpha \beta }\) has the basis \(\alpha \times X_p\) at \(p\), \(\beta \times X_q\) at \(q\), and \(X_s\) at every other party; it agrees with \(X\) outside \(\{ p,q\} \). Its configurations are pairs of a configuration of the fresh factors and a configuration of \(X\): the bijection \(X^{pq}_{\alpha \beta ,P}\to (\alpha \times \beta )\times X_P\) sends \(z\) to \(((a,b),x)\), where \(z_p=(a,x_p)\), \(z_q=(b,x_q)\) and \(z_s=x_s\) for \(s\notin \{ p,q\} \) [ 148 , Section 5.1 ] . The fresh factors alone form the system \(F^{pq}_{\alpha \beta }\) with the basis \(\alpha \) at \(p\), \(\beta \) at \(q\), and a single basis vector at every other party; its bases are single points when \(\alpha \) and \(\beta \) are, its configurations are the pairs \(\alpha \times \beta \), and
At every party \(s\) the basis of \(X^{pq}_{\alpha \beta }\) is \(F^{pq}_{\alpha \beta ,s}\times X_s\), so \(|X^{pq}_{\alpha \beta ,s}|=|F^{pq}_{\alpha \beta ,s}|\, |X_s|\). For matrices \(C_s\) from \(\mathbb {C}^{Y_s}\) to \(\mathbb {C}^{Y'_s}\), the operation \(C_s\) beside the fresh factors is the matrix \(1\otimes C_s\) from \(\mathbb {C}^{Y^{pq}_{\alpha \beta ,s}}\) to \(\mathbb {C}^{Y'^{pq}_{\alpha \beta ,s}}\), read through these bases.
- QuantumCircuit.Party.addPair
- QuantumCircuit.Party.addPairLeft
- QuantumCircuit.Party.addPairRight
- QuantumCircuit.Party.addPair_of_ne
- QuantumCircuit.Party.addPair_eq_of_notMem
- QuantumCircuit.Party.addPairConfigEquiv
- QuantumCircuit.Party.addPairConfigEquiv_apply_fst
- QuantumCircuit.Party.addPairConfigEquiv_apply_snd_left
- QuantumCircuit.Party.addPairConfigEquiv_apply_snd_right
- QuantumCircuit.Party.addPairConfigEquiv_apply_snd_of_ne
- QuantumCircuit.Party.addPairConfigEquiv_symm_apply_left
- QuantumCircuit.Party.addPairConfigEquiv_symm_apply_right
- QuantumCircuit.Party.addPairConfigEquiv_symm_apply_of_ne
- QuantumCircuit.Party.pairFactor
- QuantumCircuit.Party.pairFactor.unique
- QuantumCircuit.Party.addPairSiteEquiv
- QuantumCircuit.Party.card_pairFactor
- QuantumCircuit.Party.card_addPair
- QuantumCircuit.Party.pairFactorConfigEquiv
- QuantumCircuit.Party.addPairMatrix
Let \(\mathcal G\) be a gate family with one outcome per gate, with an interpretation, and let \(\mathcal A\) be a condition on the gates of \(\mathcal G\). A party circuit is allowed for \(\mathcal A\) when its local operations are contractions, \(\lVert A\rVert \le 1\) and \(\lVert A_p\rVert \le 1\), and every gate \(g\) satisfies \(\mathcal A\) and has \(\lVert M_g\rVert \le 1\) [ 148 , Section 5.1 ] . A party circuit is locally contractive when its local operations are contractions; its gates are not constrained.
Let \(Q\neq P_\circ \). The contraction of the birth at \(P_\circ \) is \(M_\sigma =V_\sigma ^\dagger (1_{\mathcal B_T}\otimes K)\), from \(\mathcal B_T\otimes \mathbb {C}^{[q]^T}\otimes \mathbb {C}^{[q]^U}\) to \(\mathbb {C}^{[q]^U}\).
The birth word from \(X^S\) to \(X^{S^{T\to Q}}\) is the normalized pair source \(s\) on a fresh copy of \([q]^T\) added at \(Q\) and a fresh factor \(\mathcal B_T\) added at \(P_\circ \), followed by one local operation at every party: at \(Q\) the matrix of the bijection \(\beta _Q^{-1}\), so that the new copy of \(T\) joins the sites of \(Q\); at \(P_\circ \) the matrix \(M_\sigma \), read on the bases through \(\beta _P\) and \(\beta '_P\), so that the copy of \(T\) held by \(P_\circ \) before the birth leaves \(P_\circ \); and the identification of equal bases at every other party. In [ 148 , proof of Lemma 6.5 ] the contraction \(K\) is applied before the pair source; it acts on factors other than those of the source, and here it is applied after the source, together with \(V_\sigma ^\dagger \), in one local operation at \(P_\circ \).
The death chain from \(X^{S^{T\to Q}}\) to \(X^S\) is the monomial made of one local operation at every party, the matrix of \(\beta _Q\) at \(Q\), the adjoint \(M_\sigma ^\dagger =(1_{\mathcal B_T}\otimes K^\dagger )V_\sigma \) at \(P_\circ \) read through the same bijections, and the identification of equal bases elsewhere, followed by the normalized pair effect \(\langle s|\) on the copy of \(T\) at \(Q\) and on \(\mathcal B_T\) at \(P_\circ \). Since \(M_\sigma ^\dagger \) acts on factors other than those of the pair effect, it is applied before the effect.
Let \(c\) be an original circuit from \(X\) to \(Y\), \(S\) a set of parties, \(r,K\in \mathbb {N}\), \(\varepsilon \in \mathbb {R}\), \(x\in \mathcal H_X\) and \(y\in \mathcal H_Y\). The circuit \(c\) is a bounded change from \(x\) to \(y\) with participants in \(S\), bounds \(r\), \(K\) and error \(\varepsilon \) if
\(c\) has at most one nonprivate gate;
the cell of every gate of \(c\) lies in \(S\);
every monomial of every gate expansion has at most \(r\) pair effects and the coefficient sum of every gate expansion is at most \(K\);
every gate expansion has at most \(K\) monomials;
\(\lVert \operatorname {op}(c)x-y\rVert \leq \varepsilon \).
Two lists \(\mathbf F\), \(\mathbf F'\) of sheets with an idle system \(W\) and \(\xi \in \mathcal H_W\) have a bounded change if some original circuit from \(\mathrm{St}(\mathbf F;W)\) to \(\mathrm{St}(\mathbf F';W)\) is a bounded change from \(\omega _{\mathbf F}(\xi )\) to \(\omega _{\mathbf F'}(\xi )\), and a source-bounded change with constant \(r_s\) if moreover that circuit satisfies the pair-source bound \(r_s\) [ 148 , Proposition 7.1 ] , [ 148 , Theorem 5.2 ] . A source-bounded change is a bounded change, and all three notions persist when \(S\) is enlarged and \(r\), \(K\), \(\varepsilon \) and \(r_s\) are increased.
- QuantumCircuit.Party.OriginalCircuit.IsBoundedChange
- QuantumCircuit.Party.OriginalCircuit.IsBoundedChange.mono
- QuantumCircuit.Party.HasBoundedChange
- QuantumCircuit.Party.HasSourceBoundedChange
- QuantumCircuit.Party.HasSourceBoundedChange.hasBoundedChange
- QuantumCircuit.Party.HasBoundedChange.mono
- QuantumCircuit.Party.HasSourceBoundedChange.mono
A chain form from \(X\) to \(W\) consists of an effect chain \(C\) from \(X_P\) to \(W_P\), a list \(E\) of pair-source occurrences (its effects), for every \(m\) a bijection between the stack registers of \(C\) and the stack configurations \(J_m(E)\), and for every \(m\) and every \(\kappa :\{ 0,\ldots ,n{-}1\} \to \{ 0,\ldots ,m{-}1\} \), \(n\) the number of effects of \(C\), a word \(R_{m,\kappa }\) from \(X\) to \(W^m_E\). The chain form of a word \(w\) has the chain \(\mathrm{op}(w)\) without effects and the word \(w\) itself. A completion rule \(k\) from \(Y\) to \(W\) assigns a chain form \(k(v)\) from \(X\) to \(W\) to every word \(v\) from any system \(X\) to \(Y\).
For a circuit \(c\) of pair sources and pair effects from \(Z\) to \(Y\), a completion rule \(k\) from \(Y\) to \(W\) and a word \(w\) from \(X\) to \(Z\), the chain form \(\Phi (c,k)(w)\) is defined by recursion on \(c\) [ 148 , Lemma 5.1 ] .
The empty circuit gives \(k(w)\); a local operation, local operations at every party, or a pair source \(h\) give \(k(h\circ w)\).
A pair effect \(g\) on \(p\ne q\) with pair basis \(\alpha \times \beta \) and vector \(\eta \) closes the current piece: let \(k(\emptyset )\) be the completion of the empty word on \(Y\), with chain \(C'\), effects \(E'\) and words \(R'\). The chain of \(\Phi (c,k)(w)\) is \(C'E_gF\), where \(F\) is \(\mathrm{op}(w)\) read along \(Z_P\cong (\alpha \times \beta )\times Y_P\) and \(E_g\) is the effect of \(\eta \); its effects are \((p,q,\eta )\) followed by \(E'\), its stack registers are identified factor by factor, and its words are \(R_{m,\kappa }=\tilde R'_{m,\kappa '}\circ \iota _{\kappa _0}\circ w\), where \(\iota _{\kappa _0}\) is the insertion word of \(g\) at position \(\kappa _0\), \(\kappa '\) is \(\kappa \) without its first value, and \(\tilde R'_{m,\kappa '}\) is \(R'_{m,\kappa '}\) beside the new stack.
A composition \(c'\circ c\) gives \(\Phi (c,\Phi (c',k))\).
One pair effect is a circuit of pair sources and pair effects with the operator of the pair effect, and for a word \(w\), a pair effect \(g\) and a circuit \(c\) the circuit \(c\circ g\circ w\) is the word, then the effect, then \(c\).
The chain form of a monomial \(M\) from \(X\) to \(Y\) is \(\Phi (M,k_0)(\emptyset )\), where \(k_0\) assigns to a word its chain form. Its chain \(C_M\), its effects \(E_M\) and its words \(R^M_{m,\kappa }\), from \(X\) to \(Y^m_{E_M}\), are the effect chain, the effects and the replacement words of \(M\). Composing with the bijection of stack registers identifies the configurations of \(T^m_{E_M}\) with \(T_P\) times the stack registers of \(C_M\).
- QuantumCircuit.Party.ChainForm
- QuantumCircuit.Party.ChainForm.ofWord
- QuantumCircuit.Party.ChainCont
- QuantumCircuit.Party.chainFormAux
- QuantumCircuit.Party.chainFormAux_comp
- QuantumCircuit.Party.chainFormAux_done
- QuantumCircuit.Party.chainFormAux_localOp
- QuantumCircuit.Party.chainFormAux_localOps
- QuantumCircuit.Party.chainFormAux_source
- QuantumCircuit.Party.chainFormAux_effect
- QuantumCircuit.Party.PairEffectGate.toChain
- QuantumCircuit.Party.Word.thenEffect
- QuantumCircuit.Party.PairEffectGate.op_toChain
- QuantumCircuit.Party.Monomial.chainForm
- QuantumCircuit.Party.Monomial.toEffectChain
- QuantumCircuit.Party.Monomial.chainEffects
- QuantumCircuit.Party.Monomial.stackEquiv
- QuantumCircuit.Party.Monomial.replaceWord
For \(T\subseteq \Lambda \) and a party \(Q\), the sheet \(S^{T\to Q}\) hands the sites of \(T\) to \(Q\): its owner is \(Q\) on \(T\) and \(o_S\) elsewhere. For a party \(P_\circ \), the set \(E_S(P_\circ )=\{ x:o_S(x)\neq P_\circ \} \) is the set \(E\) of [ 148 , Lemma 6.5 ] , whose hole part is empty on a sheet. Let \(E=E_S(P_\circ )\) and \(U=\Lambda \setminus (T\cup E)\).
For every \(T\) and \(Q\), the sites owned by \(Q\) in \(S^{T\to Q}\) are those of \(T\) and those owned by \(Q\) in \(S\); if \(Q\neq P_\circ \) the sites owned by \(P_\circ \) in \(S^{T\to Q}\) are those of \(U\); and the sites owned by \(P_\circ \) in \(S^{T\to P_\circ }\) are those of \(T\cup U\). If moreover every site of \(T\) is owned by \(P_\circ \) in \(S\), then \(T\) and \(E\) are disjoint, \(S^{T\to P_\circ }=S\), the sites owned by \(P_\circ \) in \(S\) are those of \(T\cup U\), a site lies in \((T\cup E)\setminus T\) exactly when it is not owned by \(P_\circ \), every party \(r\notin \{ P_\circ ,Q\} \) owns the same sites in \(S\) and in \(S^{T\to Q}\), the sites of \(U\) are owned by \(P_\circ \) in both sheets, the sites of \(T\) by \(Q\) in \(S^{T\to Q}\), and the owners on \(E\) are unchanged.
- QuantumCircuit.Party.Sheet.changeOwner
- QuantumCircuit.Party.Sheet.birthEnv
- QuantumCircuit.Party.Sheet.mem_birthEnv
- QuantumCircuit.Party.Sheet.disjoint_birthEnv
- QuantumCircuit.Party.Sheet.changeOwner_eq_self
- QuantumCircuit.Party.Sheet.changeOwner_birth_owners
- QuantumCircuit.Party.Sheet.owner_eq_iff_of_birth
- QuantumCircuit.Party.Sheet.changeOwner_owner_eq_self_iff
- QuantumCircuit.Party.Sheet.changeOwner_owner_eq_iff
- QuantumCircuit.Party.Sheet.changeOwner_owner_eq_iff_of_ne
- QuantumCircuit.Party.Sheet.changeOwner_self_owner_eq_iff
- QuantumCircuit.Party.Sheet.mem_sdiff_birthEnv_iff
Let \(\mathcal G\) be a gate family on \(P\). A party circuit from a system \(X\) to a system \(Y\) with gates in \(\mathcal G\) is built by the following rules [ 148 , Section 5.1 ] :
the empty circuit from \(X\) to \(X\);
one gate \(g\) of \(\mathcal G\) on a set \(D\subseteq P\), its cell, from \(X\) to a system \(Y\) with \(Y_s=X_s\) for every \(s\notin D\); the other parties are spectators, and the cell may be empty;
one local operation at a party \(p\): a matrix \(A\) from \(\mathbb {C}^{X_p}\) to \(\mathbb {C}^{Y_p}\), where \(Y_s=X_s\) for every \(s\neq p\);
local operations at every party at once: matrices \(A_p\) from \(\mathbb {C}^{X_p}\) to \(\mathbb {C}^{Y_p}\) for all \(p\in P\);
the composition \(c'\circ c\) of a party circuit \(c\) from \(X\) to \(Y\) and a party circuit \(c'\) from \(Y\) to \(Z\), first \(c\) and then \(c'\).
The party circuits given by the first four rules are the party circuits of one step. The circuit \(\widehat c\) of a party circuit \(c\) is the circuit on the geometry of all finite sets of parties defined rule by rule: the empty circuit; the circuit of the layer of \(g\) on \(D\); the circuit of the layer of \(A\) at \(p\); the circuit of the layer with no cell and the one-member family \(\{ A_p\} \) at every party \(p\); and the composition of \(\widehat c\) and \(\widehat{c'}\). When every gate of \(\mathcal G\) has one outcome, \(\widehat c\) has one branch (Theorem 52.1.1.2), and for an interpretation of \(\mathcal G\) the operator \(T_c\) of \(c\), a matrix from \(\mathcal H_X\) to \(\mathcal H_Y\), is the Kraus operator of that branch.
Let \(B\) be a region, \(l\in B\), let \(Y_v=X_v\) at the sites \(v\in B\) other than \(l\), and let \(e\colon Y_l\to \alpha \times X_l\) be a bijection. Then a configuration \(z\) of \(Y\) on \(B\) is a pair of a fresh part \(e(z_l)_1\) and the configuration of \(X\) on \(B\) equal to \(e(z_l)_2\) at \(l\) and to \(z_v\) at \(v\neq l\). A pair source \(g\) on its cell \(D\) has the image cell \(f(D)=\{ f(l),f(r)\} \). If \(f(l)\neq f(r)\), the coarse source \(g^f\) is the pair source on \(f(D)\) from \(X^f\) to \(Y^f\) with endpoints \(f(l)\) and \(f(r)\), the fresh bases and the vector of \(g\), its fresh factors located in the bases of the blocks by the preceding bijection. The word \(w^f\) read on the blocks of \(f\) is defined by induction on the word \(w\):
the empty word stays empty, and a composition becomes the composition of the coarse words;
a pair source \(g\) with \(f(l)\neq f(r)\) becomes \(g^f\);
a pair source \(g\) with \(f(l)=f(r)=b\) becomes one local operation at \(b\), the matrix of \(g\) on its cell extended to the block \(f^{-1}(b)\) by the identity;
a local operation \(A\) at \(p\) becomes a local operation at \(f(p)\), the matrix \(A\) read on the region \(\{ p\} \) and extended to \(f^{-1}(f(p))\) by the identity;
local operations \((A_v)_v\) at every party become the local operations \(\bigotimes _{v\in f^{-1}(b)}A_v\) at the blocks \(b\).
This is the reading on the affected and exterior systems in the proof of [ 148 , Theorem 5.2 ] , where sources inside one block become local preparations.
- QuantumCircuit.Party.freshBlockEquiv
- QuantumCircuit.Party.freshBlockEquiv_apply_fst
- QuantumCircuit.Party.freshBlockEquiv_apply_snd_self
- QuantumCircuit.Party.freshBlockEquiv_apply_snd_of_ne
- QuantumCircuit.Party.SourceGate.image_eq
- QuantumCircuit.Party.SourceGate.coarse
- QuantumCircuit.Party.SourceGate.toPairSource_coarse
- QuantumCircuit.Party.Word.coarsen
- QuantumCircuit.Party.Word.coarsen_comp
- QuantumCircuit.Party.Word.coarsen_localOp
Effect chains from \(X\) to \(Y\) are defined inductively. A matrix \(F\in \mathbb {C}^{Y\times X}\) is an effect chain with no effect. If \(\alpha ,\beta ,S\) are finite sets, \(F\in \mathbb {C}^{((\alpha \times \beta )\times S)\times X}\), \(\eta \in \mathbb {C}^{\alpha \times \beta }\) and \(M'\) is an effect chain from \(S\) to \(Y\), then \((F,\eta ,M')\) is an effect chain from \(X\) to \(Y\): it applies \(F\), which ends with a pair register \(\alpha \times \beta \) in front of a spectator register \(S\), contracts the pair register with \(\langle \eta |\), and continues with \(M'\). An effect chain \(M\) with \(n\) effects is thus given by pieces \(F_0,\dots ,F_n\) and pair vectors \(\eta _i\in \mathbb {C}^{\alpha _i\times \beta _i}\) with spectator registers \(S_i\), and its matrix is
defined by \(\operatorname {ev}(F)=F\) and \(\operatorname {ev}(F,\eta ,M') =\operatorname {ev}(M')(\langle \eta |\otimes \mathbf1_S)F\). We write \(n(M)=n\) for its number of effects. The chain is allowed if \(\lVert F_i\rVert \le 1\) and \(\lVert \eta _i\rVert =1\) for all \(i\) [ 148 , Section 5.1 ] .
For \(m\in \mathbb {N}\), the stack registers of \(M\) form the set \(\Sigma _m(M)=(\alpha _1\times \beta _1)^m\times \bigl(\cdots \times ((\alpha _n\times \beta _n)^m\times \{ *\} )\bigr)\), one stack of \(m\) pair registers for each effect occurrence, and their ideal content is \(\Gamma _m(M)=\eta _1^{\otimes m}\otimes \cdots \otimes \eta _n^{\otimes m} \otimes e_*\).
Let \(M\) be an effect chain from \(X\) to \(Y\) and \(m\in \mathbb {N}\). The replaced chain \(R_m(M)\in \mathbb {C}^{(Y\times \Sigma _m(M))\times X}\) is defined by \(R_m(F)=(\mathbf1_Y\otimes |e_*\rangle )F\) and
where \(T_m\) is the cyclic insertion matrix of \(\eta \) and \(\Pi \) reads \((\alpha \times \beta )^m\times (Y\times \Sigma _m(M'))\) as \(Y\times \bigl((\alpha \times \beta )^m\times \Sigma _m(M')\bigr) =Y\times \Sigma _m(M)\). Each effect \(\langle \eta _i|\) is thus replaced by the cyclic insertion into its own stack, and the stack stays idle afterwards [ 148 , proof of Lemma 5.1 ] .
For \(\kappa :\{ 0,\dots ,n(M)-1\} \to \{ 0,\dots ,m-1\} \), the term \(R_{m,\kappa }(M)\) is defined in the same way, with the insertion matrix \(I_{\kappa (0)}\) of \(\eta \) in place of \(T_m\) and the term of \(M'\) at \((\kappa (1),\dots ,\kappa (n(M)-1))\) in place of \(R_m(M')\). It applies no pair bra: it composes the pieces \(F_i\) with insertions, which are preparations of copies of \(\eta _i\) followed by relabellings of the stack registers (Definition 52.3.1.3).
Let \(e:M\to \alpha \times N\) be a bijection of finite sets and \(v\in \mathbb {C}^\alpha \). The preparation of \(v\) along \(e\) is the matrix \(J_e(v)\in \mathbb {C}^{M\times N}\) with \(J_e(v)_{y,x}=v_a\) if \(e(y)=(a,x)\) and \(J_e(v)_{y,x}=0\) otherwise (Definition 24.5.5.2). It maps \(|x\rangle \) to \(v\otimes |x\rangle \), read in the basis \(M\) through \(e\). For \(e\) the identity of \(\alpha \times N\) it is \(|v\rangle \otimes \mathbf1_N\), and for the exchange \(N\times \alpha \to \alpha \times N\) it is \(\mathbf1_N\otimes |v\rangle \). For \(\eta \in \mathbb {C}^\iota \), the effect \(\langle \eta |\otimes \mathbf1_S\in \mathbb {C}^{S\times (\iota \times S)}\) has entries \((\langle \eta |\otimes \mathbf1_S)_{s,(i,s')}=\overline{\eta _i}\, \delta _{ss'}\).
These matrices have the following properties.
If \(e(y)=(a,x)\), then \((J_e(v)A)_{y,z}=v_aA_{x,z}\) for every matrix \(A\) with rows indexed by \(N\). In particular \(((\mathbf1_N\otimes |v\rangle )A)_{(x,a),z}=v_aA_{x,z}\), and \((\mathbf1_N\otimes |v\rangle )u=u\otimes v\) for \(u\in \mathbb {C}^N\).
\(J_e(v)\) is \(|v\rangle \otimes \mathbf1_N\) with its rows read through \(e\). For a bijection \(g:L\to M\), the matrix \(J_e(v)\) with its rows read through \(g\) is \(J_{e\circ g}(v)\).
\(J_e(v)^*J_e(v)=\lVert v\rVert ^2\, \mathbf1_N\). Hence \(\lVert J_e(v)\rVert \le \lVert v\rVert \), with equality when \(N\) is nonempty.
\(\langle \eta |\otimes \mathbf1_S =(|\eta \rangle \otimes \mathbf1_S)^*\), and for a bijection \(e:M\to \iota \times S\) the adjoint \(J_e(\eta )^*\) is \(\langle \eta |\otimes \mathbf1_S\) with its columns read through \(e\). The effect sends \(h\otimes v\) to \(\langle \eta ,h\rangle \, v\), and \(\lVert \langle \eta |\otimes \mathbf1_S\rVert \le 1\) when \(\lVert \eta \rVert =1\).
- Matrix.effectMatrix
- Matrix.effectMatrix_apply
- Matrix.prepMatrix_apply
- Matrix.prepMatrix_mul_apply
- Matrix.prepMatrix_prodComm_mul_apply
- Matrix.prepMatrix_eq_submatrix
- Matrix.reindex_symm_prepMatrix
- Matrix.toEuclideanLin_prepMatrix_prodComm
- Matrix.conjTranspose_mul_prepMatrix
- Matrix.norm_prepMatrix_le
- Matrix.norm_prepMatrix
- Matrix.effectMatrix_eq_conjTranspose
- Matrix.conjTranspose_prepMatrix
- Matrix.toEuclideanLin_effectMatrix_vecKron
- Matrix.norm_effectMatrix_le
Let \(E=(e_1,\dots ,e_\ell )\) be a list of pair-source occurrences and \(m\in \mathbb {N}\). The stacks of \(E\) in front of \(T\) form the system \(T^m_E\), defined by \(T^m_{()}=T\) and \(T^m_{eE'}=(T^m_{E'})^m_e\), the first effect outermost. The stack configurations of \(E\) are \(J_m(E)=\prod _{i=1}^\ell (\alpha _{e_i}\times \beta _{e_i})^m\), in the order of the list, and the configurations of \(T^m_E\) are identified with \(T_P\times J_m(E)\). The ideal content of the stacks is
the unit vector of the one-point set for the empty list; it is a unit vector when every \(\eta _{e_i}\) is. The preparation of the stacks is the word from \(T\) to \(T^m_E\) that prepares, for \(E=eE'\), the stacks of \(E'\) and then \(m\) copies of \(\eta _e\) on \(p_e,q_e\). It is allowed when every \(\eta _{e_i}\) is normalized, and its pair sources are \(m\) copies of \((p_{e_1},q_{e_1},\eta _{e_1})\), then \(m\) copies of the next occurrence, and so on. A word \(w\) from \(S\) to \(T\) beside the stacks of \(E\) is the word from \(S^m_E\) to \(T^m_E\) obtained by placing \(w\) beside the stack of every occurrence in turn; it is allowed when \(w\) is and has the pair sources of \(w\) [ 148 , Lemma 5.1 ] .
- QuantumCircuit.Party.stackApp
- QuantumCircuit.Party.stackIdx
- QuantumCircuit.Party.stackAppEquiv
- QuantumCircuit.Party.stackIdxVector
- QuantumCircuit.Party.norm_stackIdxVector
- QuantumCircuit.Party.prepStack
- QuantumCircuit.Party.frameStack
- QuantumCircuit.Party.isAllowed_prepStack
- QuantumCircuit.Party.sources_prepStack
- QuantumCircuit.Party.isAllowed_frameStack
- QuantumCircuit.Party.sources_frameStack
Let \(\sigma \) be splitting data on \([q]^\Lambda \) for \((T,T\cup E)\), with isometry \(V_\sigma :\mathbb {C}^{[q]^U}\to \mathcal B_T\otimes \mathcal B_E\). On two copies \(\mathbb {C}^{[q]^\Lambda \times [q]^\Lambda }\), let \(F_R\) be the exchange of the two copies on a region \(R\), and let the buffer correction \(D_U\) act, in the three-way cut coordinates of both copies, as the identity on the two copies of \([q]^T\times [q]^E\) and as \((V_\sigma \otimes V_\sigma )^\dagger F_{\mathcal B_T}(V_\sigma \otimes V_\sigma )\) on the two copies of \([q]^U\), where \(F_{\mathcal B_T}\) exchanges the \(\mathcal B_T\) factors of \((\mathcal B_T\otimes \mathcal B_E)^{\otimes 2}\). The map of the exchange is \(C_\sigma =D_UF_AF_Y\) [ 148 , proof of Lemma 6.6 ] .
For sheets \(S_1,S_2\) and a region \(Y\), the sheet \(S_1\ast _YS_2\) has the owner \(o_{S_2}\) on \(Y\) and \(o_{S_1}\) outside \(Y\). The exchange inside \(Y\) replaces \((S_1,S_2)\) by \((S_1',S_2')=(S_1\ast _YS_2,S_2\ast _YS_1)\) [ 148 , Lemma 6.6 ] . For a party \(P_\circ \), the set \(Z_\circ \) of sites whose two owners are not both \(P_\circ \) is the set \(Z\) of the lemma without its hole parts, which are empty on sheets; so let \(Z\) be any set of sites containing \(Z_\circ \), that is, outside of which both owners are \(P_\circ \). Put \(T=Z\cap Y\), \(E=Z\setminus Y\), \(A=Y\setminus Z\) and \(U=\Lambda \setminus Z\). Then \(T\cup E=Z\), \(A\subseteq \Lambda \setminus (T\cup E)\), and every site outside \(T\cup E\) is owned by \(P_\circ \) on both sheets after the exchange.
- QuantumCircuit.Party.Sheet.swapIn
- QuantumCircuit.Party.Sheet.exchangeEnv
- QuantumCircuit.Party.Sheet.mem_exchangeEnv
- QuantumCircuit.Party.Sheet.owner_eq_of_notMem_exchangeEnv
- QuantumCircuit.Party.Sheet.sdiff_subset_compl_inter_union_sdiff
- QuantumCircuit.Party.Sheet.swapIn_owner_eq_of_notMem
- QuantumCircuit.Party.Sheet.swapIn_owner_eq_of_notMem_union
- QuantumCircuit.Party.Sheet.swapIn_owner_eq_of_notMem_union'
At every party \(p\), the bijection \(\rho _p\) from \(X^{S_1'}_p\times X^{S_2'}_p\) to \(X^{S_1}_p\times X^{S_2}_p\) moves the coordinate of a site of \(Y\) to the other sheet and keeps the coordinates of the other sites. The renaming \(\mathcal R\) is the word relabelling the bases along \(\rho \); every register keeps its party. Restriction identifies \(X^{S_1'}_{P_\circ }\times X^{S_2'}_{P_\circ }\) with the product of the configurations of the sites of \(Z\) owned by \(P_\circ \) on each sheet and of two copies of \([q]^U\). The correction at \(P_\circ \) is the identity on the first factor tensored with
on the two copies of \([q]^U\), with \(F_A\) exchanging the parts on \(A\subseteq U\) of the two copies. The correction word is the word without gates whose local operation is the correction at \(P_\circ \) and the identity at every other party.
Let \(c\) be a party circuit. Its gate occurrences form a finite set, one for each gate, kept distinct even when two gates coincide: there is none for the empty circuit and for local operations, one for a gate, and the disjoint union of those of \(c\) and \(c'\) for \(c'\circ c\). The participants of an occurrence are the parties of its cell [ 148 , Section 5.1 ] . The gates of \(c\), each with its cell and its two systems, and their cells form lists in chronological order. Read along \(c\), with the constructors of a composition adding:
the number of gates \(n(c)\) counts every gate, private ones and those on the empty cell included;
the gate count \(\# (c)\) is the sum of the costs of the cells of the gates, the number of gates that are not private;
the participation \(\pi _p(c)\) of a party \(p\) is the number of gates that are not private and whose cell contains \(p\);
the participation count \(\nu _p(c)\) is the number of gates whose cell contains \(p\), private ones included.
A condition on gates holds at every gate of \(c\) when every gate of \(c\), with its cell and systems, satisfies it.
- QuantumCircuit.GateOccurrence
- QuantumCircuit.Party.PartyCircuit.gateLocations
- QuantumCircuit.Party.PartyCircuit.participants
- QuantumCircuit.Party.PartyCircuit.gates
- QuantumCircuit.Party.PartyCircuit.gateCells
- QuantumCircuit.Party.PartyCircuit.numGates
- QuantumCircuit.Party.PartyCircuit.gateCount
- QuantumCircuit.Party.PartyCircuit.participation
- QuantumCircuit.Party.PartyCircuit.participationCount
- QuantumCircuit.Party.PartyCircuit.ForallGate
A gate expansion from \(X\) to \(Y\) is a finite list \(L=((c_1,M_1),\dots ,(c_K,M_K))\) of coefficients \(c_\xi \in \mathbb {C}\) and effect chains \(M_\xi \) from \(X\) to \(Y\); its gate is \(G=\sum _\xi c_\xi \operatorname {ev}(M_\xi )\) [ 148 , Lemma 5.1 ] . For \(m\in \mathbb {N}\), its inventory is \(\mathrm{Inv}_m(L)=\Sigma _m(M_1)\times \bigl(\cdots \times (\Sigma _m(M_K)\times \{ *\} )\bigr)\), the stacks of every effect occurrence of every monomial, and its ideal content is the vector \(\Gamma _m=\Gamma _m(M_1)\otimes \cdots \otimes \Gamma _m(M_K)\otimes e_*\).
The replaced gate \(G'_m\in \mathbb {C}^{(Y\times \mathrm{Inv}_m(L))\times X}\) is \(0\) for the empty list, and for a list \((c,M)\) followed by \(L\) it is
where \(\Psi \) reads \((Y\times \Sigma _m(M))\times \mathrm{Inv}_m(L)\) and \(\Pi '\) reads \((Y\times \mathrm{Inv}_m(L))\times \Sigma _m(M)\) as \(Y\times (\Sigma _m(M)\times \mathrm{Inv}_m(L))\). Thus in the branch of each monomial its effects are replaced by cyclic insertions, the stacks of all other monomials are prepared in their ideal contents \(\Gamma _m(M_{\xi '})\), and every branch has the output register \(Y\times \mathrm{Inv}_m(L)\) [ 148 , proof of Lemma 5.1 ] .
The term list of \(L\) is the list of pairs (coefficient, matrix) that is empty for the empty list and, for \((c,M)\) followed by \(L\), consists of the pairs \(\bigl(c\, m^{-n(M)},\Psi [(\mathbf1\otimes |\Gamma _m(L)\rangle ) R_{m,\kappa }(M)]\bigr)\) for all \(\kappa \), followed by the pairs \(\bigl(c',\Pi '[(\mathbf1\otimes |\Gamma _m(M)\rangle )Q]\bigr)\) for the pairs \((c',Q)\) of the term list of \(L\).
- QuantumCircuit.Party.GateExpansion
- QuantumCircuit.Party.GateExpansion.gate
- QuantumCircuit.Party.GateExpansion.gate_eq_sum
- QuantumCircuit.Party.GateExpansion.inventory
- QuantumCircuit.Party.GateExpansion.inventoryVector
- QuantumCircuit.Party.GateExpansion.replaceGate
- QuantumCircuit.Party.GateExpansion.termList
- QuantumCircuit.Party.prodPrependEquiv
A family of gates runs beside spectator factors when every gate \(g\) on a cell \(D\) from \(X\) to \(Y\) and every spectator system \(W\) give a gate \(g^W\) on \(D\) from \(W\times X\) to \(W\times Y\), with the outcomes of \(g^W\) in bijection with those of \(g\). An interpretation \(\mathrm{ev}\) is compatible with framing when, for every outcome \(o\) of \(g^W\) with corresponding outcome \(o'\) of \(g\),
read along the pairings \((W\times X)_D\cong W_D\times X_D\) and \((W\times Y)_D\cong W_D\times Y_D\). A pair source or a pair effect beside \(W\) keeps its endpoints, its fresh bases and its vector, the fresh factor placed in front of the spectator factor at each endpoint. The gates of monomials are framed as pair sources or pair effects, and a weighted gate on \(D\) is framed by framing each of its monomials beside the spectators \((W_p)_{p\in D}\), with the same coefficients. The circuit \(c^W\) beside \(W\) is defined by induction on the circuit \(c\): the empty circuit stays empty, a gate \(g\) becomes \(g^W\) on the same cell, a local operation \(A\) at \(p\) becomes \(1_{W_p}\otimes A\) at \(p\), local operations \(A_p\) at every party become \(1_{W_p}\otimes A_p\), and a composition becomes the composition of the framed circuits.
- QuantumCircuit.Party.GateFrame
- QuantumCircuit.Party.GateFrame.IsCompatible
- QuantumCircuit.Party.SourceGate.frame
- QuantumCircuit.Party.SourceGate.toPairSource_frame
- QuantumCircuit.Party.PairEffectGate.frame
- QuantumCircuit.Party.PairEffectGate.toPairSource_frame
- QuantumCircuit.Party.PartyCircuit.frame
Let \(\eta \in \mathbb {C}^\iota \) and let \(\kappa \) be a finite set. For \(k\in \kappa \), the insertion matrix \(I_k\in \mathbb {C}^{\iota ^\kappa \times \iota }\) is the matrix of the insertion of Definition 60.1.7, which places its input at position \(k\) and \(\eta \) at every other position:
For \(m\in \mathbb {N}\), the cyclic and ideal insertion matrices \(T_m,P_m\in \mathbb {C}^{\iota ^m\times \iota }\) are the matrices of the cyclic insertion and of \(|\eta ^{\otimes m}\rangle \langle \eta |\). Thus \((P_m)_{f,i}=\eta ^{\otimes m}_f\, \overline{\eta _i}\), and for \(m\ge 1\)
For \(\kappa =\{ 0,\dots ,n\} \), the insertion \(I_k\) is the preparation \(\mathbf1_\iota \otimes |\eta ^{\otimes n}\rangle \) followed by the relabelling that reads \((i,f)\in \iota \times \iota ^n\) as the configuration with \(i\) at position \(k\) and the values of \(f\), in order, at the other positions [ 148 , proof of Lemma 5.1 ] .
Let \(g\) be a pair effect from \(Z\) to \(Y\) on the endpoints \(p\ne q\), with pair basis \(\alpha \times \beta \) and vector \(\eta \), so that \(Z_p=\alpha \times Y_p\) and \(Z_q=\beta \times Y_q\) up to the identifications of \(g\). For \(m\ge 1\) and \(k\in \{ 0,\ldots ,m{-}1\} \), the insertion word of \(g\) at position \(k\) is the word from \(Z\) to \(Y^{pq}_{\alpha ^m,\beta ^m}\) that prepares \(m-1\) copies of \(\eta \) on \(p,q\) and then relabels the bases: at \(p\) the basis \(\alpha ^{m-1}\times (\alpha \times Y_p)\) becomes \(\alpha ^m\times Y_p\), the factor \(\alpha \) removed by \(g\) going to position \(k\) of the stack and the prepared copies to the other positions in order, and likewise at \(q\). It is allowed when \(\lVert \eta \rVert =1\), its pair sources are \(m-1\) copies of \((p,q,\eta )\), and it uses only \(p\) and \(q\) [ 148 , Lemma 5.1 ] .
Let \(p\ne q\) and let \(A,B\) be finite sets. For a circuit \(c\) from \(S\) to \(T\), the circuit \(c\) beside the fresh factors \(A\) at \(p\) and \(B\) at \(q\) is the circuit from \(S^{pq}_{A,B}\) to \(T^{pq}_{A,B}\) that reads every basis of \(S^{pq}_{A,B}\) as the product of the factor \(A\), \(B\) or a one-point set with the basis of \(S\), runs \(c\) framed by these factors, and reads the bases back. It has the gate cells and the gate count of \(c\). For an interpretation compatible with framing, with one outcome per gate, and a condition on gates that passes from a gate to its framed gates, it is allowed when \(c\) is.
For \(n\in \mathbb {N}\) and a word \(w\) from \(S\) to \(T\), the word beside a stack of \(n\) pair registers on \(p,q\) with pair basis \(\alpha \times \beta \) is \(w\) beside the fresh factors \(\alpha ^n\) at \(p\) and \(\beta ^n\) at \(q\). It is allowed when \(w\) is, and it has the pair sources and the gate count of \(w\).
- QuantumCircuit.Party.PartyCircuit.liftPair
- QuantumCircuit.Party.PartyCircuit.isAllowed_liftPair
- QuantumCircuit.Party.PartyCircuit.gateCells_liftPair
- QuantumCircuit.Party.PartyCircuit.gateCount_liftPair
- QuantumCircuit.Party.Word.framePairs
- QuantumCircuit.Party.Word.isAllowed_framePairs
- QuantumCircuit.Party.Word.sources_framePairs
- QuantumCircuit.Party.Word.gateCount_framePairs
The party family of a local operation \(A\) at \(p\) from \(X\) to \(Y\), where \(Y_s=X_s\) for \(s\neq p\), is \(A\) at \(p\) and the matrix of the identification \(X_s=Y_s\) at every \(s\neq p\). A party circuit is local when it has no gate, that is, when its list of gates is empty; a word is local exactly when it has no pair source. The party operation \(c_p\) of \(c\) at \(p\) is defined by induction on \(c\): it is \(1\) for the empty circuit, \(0\) for a gate, the party family at \(p\) for a local operation, \(A_p\) for local operations \((A_s)_s\) at every party, and \(c'_pc_p\) for the composition of \(c\) followed by \(c'\). For a finite region \(R\), the region operation is \(c_R=\bigotimes _{p\in R}c_p\). When \(P\) is finite, the parties of \(c\) are those named by its operations: the cells of its gates, the party of each local operation, whatever its matrix, and, for local operations \((A_s)_s\) at every party, the parties \(p\) at which \(A_p\) is not the matrix of an identification of equal bases \(Y_p=X_p\).
- QuantumCircuit.Party.PartyCircuit.localOpFamily
- QuantumCircuit.Party.PartyCircuit.localOpFamily_self
- QuantumCircuit.Party.PartyCircuit.localOpFamily_of_ne
- QuantumCircuit.Party.PartyCircuit.IsLocal
- QuantumCircuit.Party.PartyCircuit.isLocal_iff_gates_eq_nil
- QuantumCircuit.Party.Word.isLocal_iff_sources_eq_nil
- QuantumCircuit.Party.PartyCircuit.partyOp
- QuantumCircuit.Party.PartyCircuit.regionOp
- QuantumCircuit.Party.PartyCircuit.parties
For a monomial \(M\), its sources are the data of its pair sources, the latest first, and its effects are the data of its pair effects in chronological order, read off the list of its gates. The endpoints of its effects form the list of the pairs \((l,r)\) of the effects. The effect count and the source count are the lengths of the two lists [ 148 , Section 5.1 ] .
Let \(D\subseteq P\) be finite, let \(\iota \colon D\to P\) be the inclusion, and let \(Y\) agree with \(X\) outside \(D\). The block of a party \(p\) along \(\iota \) is \(\{ p\} \) if \(p\in D\) and empty otherwise, and the spectator factor of \(p\) is \(X_p\) if \(p\notin D\) and a one-point set otherwise. The basis \(Y_p\) is identified with the product of the spectator factor and the basis of \(p\) in the blocked system \((Y_s)_{s\in D}^\iota \); at \(p\notin D\) the inverse identification reads the spectator factor through \(Y_p=X_p\). A word \(w\) on the parties of \(D\), from \((X_s)_{s\in D}\) to \((Y_s)_{s\in D}\), is run inside all parties as the word \(\widehat w\) from \(X\) to \(Y\) that first relabels \(X\) along these identifications, then runs the word \(w^\iota \) read on the blocks of \(\iota \) beside the spectator factors, and finally relabels back to \(Y\).
An original gate on a cell \(D\) from \(X\) to \(Y\) is a weighted gate on \(D\) that is not private, \(|D|\neq 1\), whose monomials are allowed and whose matrix is a contraction; the empty cell is allowed [ 148 , Section 5.1 ] . It has one outcome and its matrix is that of its expansion. Forgetting the conditions is a morphism from original gates to weighted gates compatible with the interpretations, and a weighted gate satisfying the three conditions is the expansion of an original gate. An original circuit from \(X\) to \(Y\) is a party circuit whose gates are original gates and whose local operations are contractions. Original circuits are built by the empty circuit, one original gate, one contraction at one party, contractions at every party, and composition, and these are the corresponding party circuits. The operator \(T_w\) of an original circuit \(w\) is that of its party circuit, the empty circuit having the operator \(1\), and its effect circuit is the image of its party circuit under the forgetful morphism.
- QuantumCircuit.Party.OriginalGate
- QuantumCircuit.Party.OriginalGate.ev
- QuantumCircuit.Party.OriginalGate.toWeightedGateMorphism
- QuantumCircuit.Party.OriginalGate.isCompatible_toWeightedGateMorphism
- QuantumCircuit.Party.OriginalGate.ofWeightedGate
- QuantumCircuit.Party.OriginalGate.toWeightedGate_ofWeightedGate
- QuantumCircuit.Party.OriginalCircuit
- QuantumCircuit.Party.OriginalCircuit.done
- QuantumCircuit.Party.OriginalCircuit.comp
- QuantumCircuit.Party.OriginalCircuit.gate
- QuantumCircuit.Party.OriginalCircuit.localOp
- QuantumCircuit.Party.OriginalCircuit.localOps
- QuantumCircuit.Party.OriginalCircuit.toPartyCircuit_done
- QuantumCircuit.Party.OriginalCircuit.toPartyCircuit_comp
- QuantumCircuit.Party.OriginalCircuit.toPartyCircuit_gate
- QuantumCircuit.Party.OriginalCircuit.toPartyCircuit_localOp
- QuantumCircuit.Party.OriginalCircuit.toPartyCircuit_localOps
- QuantumCircuit.Party.OriginalCircuit.op
- QuantumCircuit.Party.OriginalCircuit.op_done
- QuantumCircuit.Party.OriginalCircuit.toEffectCircuit
Let \(X\), \(Y\) and \(W\) be systems on the parties. In this section \(\operatorname {op}(w)\) denotes the operator of an original circuit, word or monomial \(w\), the letter \(T\) being kept for a region of sites. For an original circuit, its number of nonprivate gates is its number of gates, every gate costing \(1\) and local contractions nothing, and the participation of a party is the number of gates whose cell contains it. It satisfies the expansion bound \((r,S)\) if every monomial of every gate expansion has at most \(r\) pair effects and the absolute values of the coefficients of every gate expansion sum to at most \(S\), the monomial bound \(K\) if every gate expansion has at most \(K\) monomials, and the pair-source bound \(r\) if every monomial of every gate expansion has at most \(r\) pair sources [ 148 , Theorem 5.2 ] .
Product vectors. The product system \(W\times X\) has the basis \(W_p\times X_p\) at the party \(p\), and its configurations are the pairs of configurations of \(W\) and \(X\). For \(x\in \mathcal H_W\) and \(y\in \mathcal H_X\) the product vector \(x\otimes y\in \mathcal H_{W\times X}\) has the coefficient \(x(\sigma )y(\tau )\) at the configuration paired with \((\sigma ,\tau )\). Thus \(\lVert x\otimes y\rVert =\lVert x\rVert \, \lVert y\rVert \), \(x\otimes y-x'\otimes y=(x-x')\otimes y\) and \(x\otimes y-x\otimes y'=x\otimes (y-y')\).
Framing. For an original circuit \(w\) from \(X\) to \(Y\), the framed circuit \(w^W\) from \(W\times X\) to \(W\times Y\) runs \(w\) beside the spectator factor \(W_p\) placed in front of the basis of every party \(p\): every original gate is replaced by its framed gate expansion, and every local contraction \(A\) at a party \(p\) by \(1_{W_p}\otimes A\). The effect circuit of \(w^W\) is the framed effect circuit of \(w\). Framing keeps the number of nonprivate gates, the participation of every party, the gate occurrences together with their cells, hence every condition on the participants of the gates, and the expansion, monomial and pair-source bounds, of original circuits and of effect circuits alike.
Relabelling. For bijections \(e_p:Y_p\to X_p\), the relabelling along \(e\) is the original circuit from \(X\) to \(Y\) made of one local operation at every party, the matrix of \(e_p\); it is the relabelling of party circuits, has no nonprivate gate, and no party participates in it.
Sequencing. For systems \(a_0,a_1,\dots \) and original circuits \(c_t\) from \(a_t\) to \(a_{t+1}\), the sequence of length \(t\) is the empty circuit for \(t=0\) and \(c_0\) followed by \(c_1,\dots ,c_{t-1}\) in general, so the sequence of length \(t+1\) is that of length \(t\) followed by \(c_t\). Its operator is \(\operatorname {op}(c_{t-1})\cdots \operatorname {op}(c_0)\), the identity for \(t=0\). Its number of nonprivate gates and the participation of every party are the sums of those of the stages \(c_s\), \(s{\lt}t\); an expansion, monomial or pair-source bound satisfied by every stage \(c_s\) with \(s{\lt}t\) is satisfied by the sequence, and so is every condition on the participants of the gates.
- QuantumCircuit.Party.prodVec
- QuantumCircuit.Party.prodVec_apply
- QuantumCircuit.Party.norm_prodVec
- QuantumCircuit.Party.prodVec_sub_left
- QuantumCircuit.Party.prodVec_sub_right
- QuantumCircuit.Party.OriginalGate.frame
- QuantumCircuit.Party.OriginalGate.toWeightedGate_frame
- QuantumCircuit.Party.OriginalCircuit.frame
- QuantumCircuit.Party.OriginalCircuit.toEffectCircuit_frame
- QuantumCircuit.Party.OriginalCircuit.nonprivateCount_frame
- QuantumCircuit.Party.OriginalCircuit.participation_frame
- QuantumCircuit.Party.OriginalCircuit.frameLocationsEquiv
- QuantumCircuit.Party.OriginalCircuit.participants_frameLocationsEquiv
- QuantumCircuit.Party.OriginalCircuit.forall_participants_frame
- QuantumCircuit.Party.OriginalCircuit.isExpansionBounded_frame
- QuantumCircuit.Party.OriginalCircuit.isMonomialBounded_frame
- QuantumCircuit.Party.OriginalCircuit.isSourceBounded_frame
- QuantumCircuit.Party.EffectCircuit.isExpansionBounded_frame
- QuantumCircuit.Party.EffectCircuit.isMonomialBounded_frame
- QuantumCircuit.Party.EffectCircuit.isSourceBounded_frame
- QuantumCircuit.Party.OriginalCircuit.relabel
- QuantumCircuit.Party.OriginalCircuit.toPartyCircuit_relabel
- QuantumCircuit.Party.OriginalCircuit.nonprivateCount_relabel
- QuantumCircuit.Party.OriginalCircuit.participation_relabel
- QuantumCircuit.Party.OriginalCircuit.sequence
- QuantumCircuit.Party.OriginalCircuit.sequence_zero
- QuantumCircuit.Party.OriginalCircuit.sequence_succ
- QuantumCircuit.Party.OriginalCircuit.op_sequence_zero
- QuantumCircuit.Party.OriginalCircuit.op_sequence_succ
- QuantumCircuit.Party.OriginalCircuit.isExpansionBounded_sequence
- QuantumCircuit.Party.OriginalCircuit.isMonomialBounded_sequence
- QuantumCircuit.Party.OriginalCircuit.isSourceBounded_sequence
- QuantumCircuit.Party.OriginalCircuit.nonprivateCount_sequence
- QuantumCircuit.Party.OriginalCircuit.forall_participants_sequence
- QuantumCircuit.Party.OriginalCircuit.participation_sequence
Let \(f\colon P\to Q\) be a map of parties. A pair source \(s\) with endpoints \(l\) and \(r\) is moved along \(f\) to the pair source \(f_*s\) with endpoints \(f(l)\) and \(f(r)\), the same fresh bases and the same vector, when \(f(l)\neq f(r)\); when \(f(l)=f(r)\) it becomes local and is dropped. A list \(S\) of pair sources is moved to the list \(f_*S\) of the moved sources that are kept, in their order, so that \(f_*\) of the empty list is empty and \(f_*(S\, S')=f_*S\, f_*S'\) for a concatenation. For a set \(A\subseteq P\) of affected parties, the owner map \(\omega _A\) from \(P\) to \(A\sqcup \{ \ast \} \) sends each affected party to itself and every other party to the one exterior party \(\ast \); thus \(\omega _A(p)=\ast \) if and only if \(p\notin A\). This is the grouping of parties in the proof of [ 148 , Theorem 5.2 ] .
- QuantumCircuit.Party.PairSource.mapOwner
- QuantumCircuit.Party.SourceInventory.mapOwner
- QuantumCircuit.Party.SourceInventory.mapOwner_nil
- QuantumCircuit.Party.SourceInventory.mapOwner_cons
- QuantumCircuit.Party.SourceInventory.mapOwner_append
- QuantumCircuit.Party.affectedOwner
- QuantumCircuit.Party.affectedOwner_eq_none
- QuantumCircuit.Party.isSome_affectedOwner
A pair source datum consists of two distinct parties \(l\neq r\), finite sets \(\alpha \) and \(\beta \), and a vector \(\eta \in \mathbb {C}^{\alpha \times \beta }\); its unordered pair of endpoints is \(\{ l,r\} \). A source inventory is a finite list of such data, repeated data counting as distinct occurrences, and it is normalized when every vector has norm \(1\) [ 148 , Lemma 5.1 ] .
A pair source on a cell \(D\) from \(X\) to \(Y\) is a pair source datum with \(D=\{ l,r\} \), bijections \(Y_l\to \alpha \times X_l\) and \(Y_r\to \beta \times X_r\), and \(Y_s=X_s\) for every \(s\notin D\); thus \(l,r\in D\), and a party outside \(D\) is neither endpoint [ 148 , Section 5.1 ] . Its matrix on the cell, from \(\mathbb {C}^{X_D}\) to \(\mathbb {C}^{Y_D}\), prepares \(\eta \) on the fresh factors and is the identity on the old ones: its entry at \((y,x)\) is \(\eta _{ab}\) when \(y_l\mapsto (a,x_l)\) and \(y_r\mapsto (b,x_r)\), and \(0\) otherwise. Correspondingly, a configuration of \(D\) in \(Y\) is a pair of a configuration of the fresh factors and a configuration of \(D\) in \(X\). A pair source has one outcome, its interpretation is its matrix, and it is allowed when \(\lVert \eta \rVert =1\). The canonical source of \(\eta \) on \(\{ p,q\} \) goes from \(X\) to \(X^{pq}_{\alpha \beta }\) with the identifications of Definition 52.1.4.1. Relabelling the output along bijections \(e_s\colon Y'_s\to Y_s\), with \(Y'_s=Y_s\) outside \(D\), composes the two bijections of the source with \(e_l\) and \(e_r\) and reindexes the rows of the matrix by \(y'\mapsto (e_s(y'_s))_s\). The output of a source is read in canonical form by the bijections \(Y_s\to X^{lr}_{\alpha \beta ,s}\) given at \(l\) and \(r\) by the bijections of the source and elsewhere by the identification \(Y_s=X_s\); through them a configuration \(y\) of \(Y\) is the pair \(((a,b),x)\) with \(y_l\mapsto (a,x_l)\), \(y_r\mapsto (b,x_r)\) and \(x_s=y_s\) outside \(D\).
A pair effect on \(D\) from \(X\) to \(Y\) has the same data with bijections \(X_l\to \alpha \times Y_l\) and \(X_r\to \beta \times Y_r\), and \(Y_s=X_s\) outside \(D\); it removes the factors \(\alpha \) and \(\beta \). Its matrix on the cell has the entry \(\overline{\eta _{ab}}\) at \((y,x)\) when \(x_l\mapsto (a,y_l)\) and \(x_r\mapsto (b,y_r)\), and \(0\) otherwise. The source with the same data goes from \(Y\) to \(X\). The canonical effect of \(\eta \) on \(\{ p,q\} \) goes from \(Y^{pq}_{\alpha \beta }\) to \(Y\), a relabelling of the input reindexes the columns, and the input is read in canonical form through the source with the same data. A pair effect has one outcome, its interpretation is its matrix, and it is allowed when \(\lVert \eta \rVert =1\) [ 148 , Section 5.1 ] .
The gates of monomials are the pair sources and the pair effects, with the interpretation of the sum of the two gate families; each has one outcome, and each is allowed when its vector is normalized. A monomial on a finite set \(D\) of parties, from \(X\) to \(Y\) with \(X,Y\) systems on \(D\), is a party circuit on the parties of \(D\) whose gates are pair sources and pair effects.
- QuantumCircuit.Party.PairSource
- QuantumCircuit.Party.SourceInventory
- QuantumCircuit.Party.SourceInventory.IsNormalized
- QuantumCircuit.Party.PairSource.partyPair
- QuantumCircuit.Party.SourceGate
- QuantumCircuit.Party.SourceGate.left_mem
- QuantumCircuit.Party.SourceGate.right_mem
- QuantumCircuit.Party.SourceGate.ofAddPair
- QuantumCircuit.Party.SourceGate.regionMatrix
- QuantumCircuit.Party.SourceGate.outputEquiv
- QuantumCircuit.Party.SourceGate.ev
- QuantumCircuit.Party.SourceGate.IsAllowed
- QuantumCircuit.Party.SourceGate.ev_ofAddPair_apply
- QuantumCircuit.Party.SourceGate.reindexOutput
- QuantumCircuit.Party.SourceGate.ev_reindexOutput
- QuantumCircuit.Party.SourceGate.ne_left_of_notMem
- QuantumCircuit.Party.SourceGate.ne_right_of_notMem
- QuantumCircuit.Party.SourceGate.toAddPair
- QuantumCircuit.Party.SourceGate.addPairLeft_toAddPair
- QuantumCircuit.Party.SourceGate.addPairRight_toAddPair
- QuantumCircuit.Party.SourceGate.toAddPair_of_notMem
- QuantumCircuit.Party.SourceGate.configEquiv
- QuantumCircuit.Party.SourceGate.configEquiv_apply_fst
- QuantumCircuit.Party.SourceGate.configEquiv_apply_snd_left
- QuantumCircuit.Party.SourceGate.configEquiv_apply_snd_right
- QuantumCircuit.Party.SourceGate.configEquiv_apply_snd_of_notMem
- QuantumCircuit.Party.PairEffectGate
- QuantumCircuit.Party.PairEffectGate.left_mem
- QuantumCircuit.Party.PairEffectGate.right_mem
- QuantumCircuit.Party.PairEffectGate.ofAddPair
- QuantumCircuit.Party.PairEffectGate.toSourceGate
- QuantumCircuit.Party.PairEffectGate.regionMatrix
- QuantumCircuit.Party.PairEffectGate.reindexInput
- QuantumCircuit.Party.PairEffectGate.ev
- QuantumCircuit.Party.PairEffectGate.IsAllowed
- QuantumCircuit.Party.PairEffectGate.ev_ofAddPair_apply
- QuantumCircuit.Party.PairEffectGate.ev_reindexInput
- QuantumCircuit.Party.PairEffectGate.toAddPair
- QuantumCircuit.Party.PairEffectGate.configEquiv
- QuantumCircuit.Party.ChainGate
- QuantumCircuit.Party.chainEv
- QuantumCircuit.Party.ChainGate.IsAllowed
- QuantumCircuit.Party.Monomial
The preparation of \(n\) copies of \(\eta \in \mathbb {C}^{\alpha \times \beta }\) on \(p,q\) is the word from \(T\) to \(T^{pq}_{\alpha ^n,\beta ^n}\) defined by induction on \(n\): for \(n=0\) it is the relabelling of the bases, and for \(n+1\) it is the preparation of \(n\) copies followed by the pair source preparing \(\eta \) at position \(0\). Its pair sources are \(n\) copies of \((p,q,\eta )\), so it has \(n\) sources; it uses only the parties \(p\) and \(q\), and it is allowed when \(\lVert \eta \rVert =1\).
When the party receiving \(T\) is \(P_\circ \) itself, no pair source is needed [ 148 , proof of Lemma 6.5 ] . The private birth word from \(X^S\) to \(X^{S^{T\to P_\circ }}\) is the word without gates made of one local operation at every party: the matrix \(K^\dagger K\) at \(P_\circ \), read on the bases through \(\beta _P\) and \(\beta _\circ \), and the identification of equal bases at every other party. The private death chain from \(X^{S^{T\to P_\circ }}\) to \(X^S\) is the monomial without gates made of the adjoints of these local operations.
For bijections \(e_s\colon Y_s\to X_s\), the relabelling \(R_e\) is the party circuit from \(X\) to \(Y\) of local operations at every party, at \(s\) the matrix from \(\mathbb {C}^{X_s}\) to \(\mathbb {C}^{Y_s}\) whose entry at \((y,x)\) is \(1\) if \(e_s(y)=x\) and \(0\) otherwise. It has no gate and no cell, so \(n(R_e)=\# (R_e)=0\). For a morphism \(\varphi \) of gate families, the party circuit \(\varphi _*c\) replaces every gate \(g\) of \(c\) by \(\varphi (g)\) and keeps every other rule; the gate occurrences of \(c\) and of \(\varphi _*c\) are identified rule by rule.
- QuantumCircuit.Party.PartyCircuit.relabel
- QuantumCircuit.Party.PartyCircuit.gates_relabel
- QuantumCircuit.Party.PartyCircuit.gateCells_relabel
- QuantumCircuit.Party.PartyCircuit.numGates_relabel
- QuantumCircuit.Party.PartyCircuit.gateCount_relabel
- QuantumCircuit.Party.PartyCircuit.mapGates
- QuantumCircuit.Party.PartyCircuit.mapGatesLocationsEquiv
Let \(m\in \mathbb {N}\). The output system \(B^m_L\) of the replaced gate is \(B\) for the empty list and \((B^m_{L'})^m_{E_M}\) for \(L=(c,M)L'\): the stacks of all effect occurrences of all monomials in front of \(B\). Its configurations are identified with \(B_P\) times the inventory of \(\mathcal G_L\), one monomial at a time by the identifications of Definition 52.4.3.1. The preparation word \(\pi _L\) from \(B\) to \(B^m_L\) is empty for the empty list and, for \(L=(c,M)L'\), is \(\pi _{L'}\) followed by the preparation of the stacks of \(E_M\); it is allowed when every monomial is. The word list of the empty list is empty. The word list of \(L=(c,M)L'\) consists of the pairs of the first kind \((c\, m^{-n_M},\tilde\pi _{L'}\circ R^M_{m,\kappa })\), one for every \(\kappa :\{ 0,\ldots ,n_M{-}1\} \to \{ 0,\ldots ,m{-}1\} \), with \(n_M\) the number of effects of \(C_M\) and \(\tilde\pi _{L'}\) the word \(\pi _{L'}\) beside the stacks of \(E_M\), followed by the pairs of the second kind \((c',\rho \circ w')\), one for every term \((c',w')\) of the word list of \(L'\), with \(\rho \) the preparation of the stacks of \(E_M\) in front of \(B^m_{L'}\). When every monomial is allowed, every word of the list is allowed [ 148 , Lemma 5.1 ] .
For \(\delta \in \mathbb {R}\), the rescaling of a weighted gate multiplies every coefficient by \((1+\delta )^{-1}\), with \(0^{-1}=0\), and keeps the ordered list of monomials. Its matrix, and the gate of the expansion of its terms, are \((1+\delta )^{-1}\) times those of the gate; it is allowed when the gate is, and for \(\delta \ge 0\) its absolute coefficient sum is at most that of the gate. By Lemma 60.1.6, a gate of norm at most \(1+\delta \) thus becomes a contraction, as in the proof of [ 148 , Theorem 5.2 ] .
Let \(S\subseteq P\) be finite. A pair source on a cell \(D\subseteq S\) is read on the parties of \(S\) with the same endpoints, fresh bases and vector; its matrix is the matrix of the source, read along the identification of the configurations of \(D\) as a region of \(P\) and as a region of \(S\). A word \(w\) that uses only the parties of \(S\) restricts to the word \(w|_S\) on the parties of \(S\), from \((X_s)_{s\in S}\) to \((Y_s)_{s\in S}\), defined by induction on \(w\): each pair source is read on \(S\), a local operation at \(p\in S\) is the same local operation at \(p\), local operations at every party become those at the parties of \(S\), and the empty word and compositions are kept. The word \(w|_S\) has as many gates as \(w\).
A sheet \(S\) on \(\Lambda \) is an owner map \(o_S:\Lambda \to \mathcal P\); the register \(\mathbb {C}^q\) of a site \(x\) is held by \(o_S(x)\) [ 148 , Section 6 ] . Its system \(X^S\) has at the party \(p\) the basis \(X^S_p=[q]^{o_S^{-1}(p)}\) of configurations of the sites \(p\) owns, the blocked system of \([q]^\Lambda \) along \(o_S\). Its canonical coordinates are the bijection \(\gamma _S\) from the configurations of \(X^S\) to \([q]^\Lambda \) with \(\gamma _S(z)(x)=z_{o_S(x)}(x)\). A vector \(\Omega \in \mathbb {C}^{[q]^\Lambda }\) read on the sheet is \(\Omega _S=\Omega \circ \gamma _S\), and \(\lVert \Omega _S\rVert =\lVert \Omega \rVert \), so \(\lVert \Omega _S\rVert \leq 1\) when \(\lVert \Omega \rVert \leq 1\).
Two sheets \(S_1,S_2\) held at once form the product system \(X^{S_1}\times X^{S_2}\). Its canonical coordinates are the bijection \(\gamma _{S_1,S_2}\) onto \([q]^\Lambda \times [q]^\Lambda \), \(\gamma _{S_1,S_2}(z)=(\gamma _{S_1}(z^1),\gamma _{S_2}(z^2))\) for the pair \((z^1,z^2)\) of configurations paired with \(z\): the coordinate of a site \(x\) on the first sheet is read at \(o_{S_1}(x)\), on the second at \(o_{S_2}(x)\). The product of the reference vectors is \(\Omega _{S_1}\otimes \Omega _{S_2}=(\Omega \otimes \Omega )\circ \gamma _{S_1,S_2}\).
- QuantumCircuit.Party.Sheet
- QuantumCircuit.Party.Sheet.system
- QuantumCircuit.Party.Sheet.refVec
- QuantumCircuit.Party.Sheet.refVec_apply
- QuantumCircuit.Party.Sheet.norm_refVec
- QuantumCircuit.Party.Sheet.norm_refVec_le
- QuantumCircuit.Party.Sheet.twoConfigEquiv
- QuantumCircuit.Party.Sheet.twoConfigEquiv_apply
- QuantumCircuit.Party.Sheet.twoConfigEquiv_fst_eq
- QuantumCircuit.Party.Sheet.twoConfigEquiv_snd_eq
- QuantumCircuit.Party.Sheet.prodVec_refVec
If the sites owned by \(p\) in \(S\) form the region \(R\), restriction identifies \(X^S_p\) with \([q]^R\); if they form the disjoint union \(R_1\sqcup R_2\), it identifies \(X^S_p\) with \([q]^{R_1}\times [q]^{R_2}\); if every site outside a region \(B\) is owned by \(P_\circ \), it identifies \(X^S_{P_\circ }\) with \([q]^{B\cap o_S^{-1}(P_\circ )}\times [q]^{\Lambda \setminus B}\). These are relabellings of sites [ 148 , Section 6 ] . If \(p\) owns the same sites in two sheets \(S'\) and \(S\), then \(X^{S'}_p=X^S_p\), and the identification of these equal bases is the restriction to the sites of \(p\) in \(S'\) followed by the inverse of the restriction in \(S\), site by site.
In the setting of a birth, with every site of \(T\) owned by \(P_\circ \), \(E=E_S(P_\circ )\) and \(U=\Lambda \setminus (T\cup E)\), these give the bijections
the last two for \(Q\neq P_\circ \), where \(\beta _Q\) splits a configuration of the sites of \(Q\) after the birth into its part on \(T\) and its part on the sites \(Q\) owned before. For a party \(r\notin \{ P_\circ ,Q\} \), a configuration \(y\) of \(X^{S^{T\to Q}}\) and a configuration \(x\) of \(X^S\) have the same component at \(r\), the two equal bases being identified, exactly when \(\gamma _{S^{T\to Q}}(y)\) and \(\gamma _S(x)\) agree on the sites owned by \(r\).
- QuantumCircuit.Party.Sheet.regionEquiv
- QuantumCircuit.Party.Sheet.regionEquiv_apply
- QuantumCircuit.Party.Sheet.regionEquiv_symm_apply
- QuantumCircuit.Party.Sheet.splitEquiv
- QuantumCircuit.Party.Sheet.splitEquiv_apply_fst
- QuantumCircuit.Party.Sheet.splitEquiv_apply_snd
- QuantumCircuit.Party.Sheet.complSplitEquiv
- QuantumCircuit.Party.Sheet.system_eq_of_owner_iff
- QuantumCircuit.Party.Sheet.cast_system_eq_regionEquiv
- QuantumCircuit.Party.Sheet.birthEquivP
- QuantumCircuit.Party.Sheet.birthEquivP'
- QuantumCircuit.Party.Sheet.birthEquivQ
- QuantumCircuit.Party.Sheet.birthEquivSelf
- QuantumCircuit.Party.Sheet.cast_changeOwner_system_iff
For a finite list \(\mathbf F=(F_1,\dots ,F_n)\) of sheets and an idle system \(W\), the stack system \(\mathrm{St}(\mathbf F;W)\) has at the party \(p\) the basis \(X^{F_1}_p\times (X^{F_2}_p\times \cdots \times (X^{F_n}_p\times W_p))\), and \(W_p\) for the empty list. For \(\xi \in \mathcal H_W\) the reference vector of the stack is \(\omega _{\mathbf F}(\xi )=r_{F_1}\otimes (r_{F_2}\otimes \cdots \otimes (r_{F_n}\otimes \xi ))\) [ 148 , Proposition 7.1 ] . Its norm is \(\lVert \omega _{\mathbf F}(\xi )\rVert =\prod _i\lVert r_{F_i}\rVert \, \lVert \xi \rVert \), at most \(\lVert \xi \rVert \) when every \(\lVert r_F\rVert \leq 1\). For \(W\) the system with one basis vector at every party and \(\xi \) that vector, \(\omega _{\mathbf F}=\omega _{\mathbf F}(\xi )\) has norm \(\prod _i\lVert r_{F_i}\rVert \).
Write \((\mathbf G,F,\mathbf H)\) for the list \(\mathbf G\) followed by \(F\) and then \(\mathbf H\). For an original circuit \(c\) from \(X^F\) to \(X^{F'}\), the lift \(L_1(c)\) from \(\mathrm{St}((\mathbf G,F,\mathbf H);W)\) to \(\mathrm{St}((\mathbf G,F',\mathbf H);W)\) is, for \(\mathbf G\) empty, the relabelling exchanging the two factors of \(X^F\times \mathrm{St}(\mathbf H;W)\), then \(c\) framed by \(\mathrm{St}(\mathbf H;W)\), then the relabelling exchanging the two factors back; for \(\mathbf G=(G,\mathbf G')\) it is the lift for \(\mathbf G'\) framed by \(X^G\). The lift \(L_2(c)\) of an original circuit \(c\) from \(X^{F_1}\times X^{F_2}\) to \(X^{F_1'}\times X^{F_2'}\), from \(\mathrm{St}((\mathbf G,F_1,F_2,\mathbf H);W)\) to \(\mathrm{St}((\mathbf G,F_1',F_2',\mathbf H);W)\), is defined in the same way, with relabellings moving \(\mathrm{St}(\mathbf H;W)\) in front of the product of the two sheets and back. Lifting keeps the number of nonprivate gates, every condition on the participants of the gates, and the expansion, monomial and pair-source bounds.
- QuantumCircuit.Party.stackSystem
- QuantumCircuit.Party.stackVec
- QuantumCircuit.Party.norm_stackVec
- QuantumCircuit.Party.norm_stackVec_le
- QuantumCircuit.Party.framesVec
- QuantumCircuit.Party.norm_framesVec
- QuantumCircuit.Party.liftOne
- QuantumCircuit.Party.liftTwo
- QuantumCircuit.Party.nonprivateCount_liftOne
- QuantumCircuit.Party.forall_participants_liftOne
- QuantumCircuit.Party.isExpansionBounded_liftOne
- QuantumCircuit.Party.isMonomialBounded_liftOne
- QuantumCircuit.Party.isSourceBounded_liftOne
- QuantumCircuit.Party.nonprivateCount_liftTwo
- QuantumCircuit.Party.forall_participants_liftTwo
- QuantumCircuit.Party.isExpansionBounded_liftTwo
- QuantumCircuit.Party.isMonomialBounded_liftTwo
- QuantumCircuit.Party.isSourceBounded_liftTwo
Let \(X\) be a system on a finite set of sites \(V\), let \(A\subseteq B\) be regions and \(U=V\setminus B\). Write \(\mathcal B_A=\mathbb {C}^{X_A}\) and \(\mathcal B_M=\mathbb {C}^{X_{B\setminus A}\sqcup X_U}\). Splitting data \(\sigma \) for \((A,B)\) [ 148 , Lemma 6.4 ] are an isometry \(V_\sigma :\mathbb {C}^{X_U}\to \mathcal B_A\otimes \mathcal B_M\), a unit vector \(s\in \mathbb {C}^{X_A}\otimes \mathcal B_A\) and a unit vector \(s'\in \mathbb {C}^{X_{B\setminus A}}\otimes \mathcal B_M\). Their error on \(\Omega \in \mathbb {C}^{X_V}\) is
with \(\Omega \) read in the three-way cut coordinates \(((x_A,x_{B\setminus A}),x_U)\) of Theorem 26.1.5.8 and \((s\otimes s')((a,m),(b,b'))=s(a,b)\, s'(m,b')\).
The kernel of \(\sigma \) is the matrix \(K\) from \(X_A\times X_U\) to the basis of \(\mathcal B_M\) with \(K_{b,(a,u)}=\sum _{\beta \in X_A}\overline{s(a,\beta )}\, (V_\sigma )_{(\beta ,b),u}\), that is \(K=\langle s|(1_{X_A}\otimes V_\sigma )\). With \(\mathcal V=1\otimes V_\sigma \) on \((X_A\times X_{B\setminus A})\times X_U\) and \(S_s\) the preparation matrix of \(s\) on \(X_A\times \mathcal B_A\), the effect of a birth is \(S_s^\dagger \mathcal V\) and the canonical map of the birth is
read on the configurations of \(X_V\) along the three-way cut coordinates [ 148 , Lemma 6.5 ] . In the coordinates \((x_{B\setminus A},(x_A,x_U))\) it is \(\mathbf B_\sigma =1_{X_{B\setminus A}}\otimes K^\dagger K\) [ 148 , proof of Lemma 6.5 ] .
For \(r\in \mathbb {N}\) and real numbers \(S\) and \(\delta {\gt}0\), the stack length is
It satisfies \(m(r,S,\delta )\ge 1\), and if \(S\ge 0\) then \(rS/\sqrt{m(r,S,\delta )}\le \delta \), since \(rS/\delta \le \sqrt{m(r,S,\delta )}\). It depends only on \(r\), \(S\) and \(\delta \) [ 148 , proof of Theorem 5.2 ] .
Let \(p\ne q\), let \(\alpha ,\beta \) be finite sets and \(n\in \mathbb {N}\). The system \(T\) with a stack of \(n\) pair registers on \(p,q\) is \(T^{pq}_{\alpha ^n,\beta ^n}\); at every party other than \(p\) and \(q\) it has the basis of \(T\). Its configurations are identified with \((\alpha \times \beta )^n\times T_P\), the stack configuration \(j\mapsto (a_j,b_j)\) collecting the factor \(a\in \alpha ^n\) at \(p\) and \(b\in \beta ^n\) at \(q\). For \(n=0\) every basis of the stacked system is identified with the corresponding basis of \(T\). For \(\eta \in \mathbb {C}^{\alpha \times \beta }\), the pair source with endpoints \(p,q\), fresh factors \(\alpha ,\beta \) and vector \(\eta \) is the occurrence \((p,q,\eta )\); its gate from \(T^{pq}_{\alpha ^n,\beta ^n}\) to \(T^{pq}_{\alpha ^{n+1},\beta ^{n+1}}\) on the cell \(\{ p,q\} \) prepares \(\eta \) at position \(0\) of the stack, reading \(a\in \alpha ^{n+1}\) as \((a_0,(a_1,\dots ,a_n))\) and likewise at \(q\) [ 148 , Lemma 5.1 ] .
The gate expansion \(\mathcal G_L\) of \(L\) is the list of pairs \((c_\xi ,C_{M_\xi })\). It has \(K\) terms, with the absolute values \(\lvert c_\xi \rvert \), every term is \((c,C_M)\) for a term \((c,M)\) of \(L\), and its gate is \(G=\sum _\xi c_\xi \, \mathrm{op}(M_\xi )\); in particular the matrix of a weighted gate is the gate of the expansion of its terms. When every \(M_\xi \) is allowed, every chain of \(\mathcal G_L\) is allowed.
- QuantumCircuit.Party.WeightedGate.toGate
- QuantumCircuit.Party.WeightedGate.length_toGate
- QuantumCircuit.Party.WeightedGate.map_norm_toGate
- QuantumCircuit.Party.WeightedGate.mem_toGate
- QuantumCircuit.Party.WeightedGate.gate_toGate
- QuantumCircuit.Party.WeightedGate.ev_eq_gate_toGate
- QuantumCircuit.Party.WeightedGate.isAllowed_toGate
A weighted gate on a cell \(D\) from \(X\) to \(Y\), its gate expansion, is a finite list of pairs \((\lambda _k,M_k)\) of a coefficient \(\lambda _k\in \mathbb {C}\) and a monomial \(M_k\) on the parties of \(D\) from \(X|_D\) to \(Y|_D\) [ 148 , Section 5.1 ] . It has one outcome, and its matrix, from \(\mathbb {C}^{X_D}\) to \(\mathbb {C}^{Y_D}\), is \(\sum _k\lambda _kT_{M_k}\). It is allowed when every monomial \(M_k\) is allowed: its local operations are contractions and its pair sources and pair effects are normalized. An effect circuit is a party circuit whose gates are weighted gates, with no further condition.
A word from \(X\) to \(Y\) is a party circuit whose gates are pair sources. It is allowed when its local operations are contractions and its pair sources are normalized, and an operator is source-only when it is the operator \(T_w\) of an allowed word \(w\) [ 148 , Lemma 5.1 ] . Particular words are:
the word of one pair source, and the canonical pair source word of \(\eta \in \mathbb {C}^{\alpha \times \beta }\) on \(p\neq q\), from \(X\) to \(X^{pq}_{\alpha \beta }\);
the local preparation of \(v\in \mathbb {C}^\alpha \) at a party \(p\), the local operation \(J_e(v)\) at \(p\) for a bijection \(e\colon Y_p\to \alpha \times X_p\), where \(Y_s=X_s\) for \(s\neq p\); with \(\alpha =\alpha _1\times \alpha _2\) it prepares a pair vector at one party;
the local bra of \(v\in \mathbb {C}^\alpha \) at \(p\), the local operation \(J_e(v)^\dagger \) for a bijection \(e\colon X_p\to \alpha \times Y_p\), where \(Y_s=X_s\) for \(s\neq p\);
the preparation of the product vector \(\bigotimes _p\phi _p\), for vectors \(\phi _p\in \mathbb {C}^{X_p}\), from the system with a single basis vector at every party, by the local operation \(|\phi _p\rangle \) at every party \(p\).
The source list of a word is the list of the data of its pair sources, those of the later part first: it is empty for the empty word and for local operations, it is \((g)\) for one source \(g\), and it is the list of \(w'\) followed by that of \(w\) for \(w'\circ w\); thus relabellings and product preparations have no source. The source count is the length of the source list. A word uses only the parties of a set \(R\) when its sources have cells inside \(R\), its local operations at one party act at parties of \(R\), and at every party \(s\notin R\) its local operations at every party have \(Y_s=X_s\) and are the identity. Every word is a monomial with no pair effect, each pair source read as a gate of monomials.
- QuantumCircuit.Party.Word
- QuantumCircuit.Party.Word.IsAllowed
- QuantumCircuit.Party.Word.op
- QuantumCircuit.Party.IsSourceOnly
- QuantumCircuit.Party.Word.source
- QuantumCircuit.Party.Word.sourceAt
- QuantumCircuit.Party.Word.localPrepare
- QuantumCircuit.Party.Word.localDiscard
- QuantumCircuit.Party.Word.prepareProduct
- QuantumCircuit.Party.Word.sources
- QuantumCircuit.Party.Word.sourceCount
- QuantumCircuit.Party.Word.sources_comp
- QuantumCircuit.Party.Word.sources_relabel
- QuantumCircuit.Party.Word.sources_source
- QuantumCircuit.Party.Word.sources_prepareProduct
- QuantumCircuit.Party.Word.UsesOnly
- QuantumCircuit.Party.Word.toChain
For \(k\in \{ 0,\dots ,m-1\} \), let \(I_k:\mathcal W\to \mathcal W^{\otimes m}\) place its input in factor \(k\) and \(\eta \) in the remaining \(m-1\) factors. Define the cyclic and ideal insertion maps by
As in [ 18 , Appendix A, “Product states” ] , for vectors \(|\phi ^v\rangle \in \mathbb {C}^{X_v}\) the product vector \(\bigotimes _{v\in V}|\phi ^v\rangle \) has the coefficient \(\prod _{v\in V}\phi ^v_{\sigma (v)}\) on the configuration \(\sigma \). For the sites \(\{ 1,\dots ,N\} \) it is \(|\phi ^1\rangle \otimes \cdots \otimes |\phi ^N\rangle \).
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')\).
A configuration of the system is \(\sigma \in X_V=\prod _{v\in V}X_v\). The system of qudits of dimension \(d\) on \(V\) has the basis \(\{ 0,\dots ,d-1\} \) at every site. For a region \(D\), the cut along \(D\) is the bijection \(X_V\to X_D\times X_{V\setminus D}\), \(\sigma \mapsto (\sigma |_D, \sigma |_{V\setminus D})\). Two configurations have the same part on \(D\) exactly when they agree at every site of \(D\), and likewise outside \(D\).
If \(D=\{ a,b\} \) with \(a\neq b\), the map \(\sigma \mapsto (\sigma _a,\sigma _b)\) is a bijection \(X_D\to X_a\times X_b\). Let \(W\) and \(Z\) be systems with \(W_s=Z_s\) for \(s\neq p\), and let \(e\colon W_p\to A\times Z_p\) be a bijection. Then \(w\mapsto (e(w_p)_1,z)\), where \(z_p=e(w_p)_2\) and \(z_s=w_s\) for \(s\neq p\), is a bijection \(W_V\to A\times Z_V\); thus \(w\) is sent to \((a,z)\) exactly when \(e(w_p)=(a,z_p)\) and \(w_s=z_s\) for every \(s\neq p\).
On the paired system with basis \(X_v\times X_v\) at the site \(v\), the exchange of the two copies on a region \(A\) is the product operator of the exchange \((a,b)\mapsto (b,a)\) at the sites of \(A\) and the identity elsewhere. It is a self-adjoint unitary supported on \(A\), the identity for \(A=\emptyset \); conjugation by it maps \(\mathcal A_S\) into itself for every region \(S\), and fixes every operator supported on a region disjoint from \(A\).
- ManyBody.pairSwapOp
- ManyBody.pairSwapOp_mem_supportedOperators
- ManyBody.conjTranspose_pairSwapOp
- ManyBody.pairSwapOp_mul_self
- ManyBody.pairSwapOp_mem_unitaryGroup
- ManyBody.pairSwapOp_empty
- ManyBody.pairSwapOp_mul_mul_conjTranspose_mem_supportedOperators
- ManyBody.pairSwapOp_mul_mul_conjTranspose_of_disjoint
Let \(X\) and \(Y\) be systems on \(V\) with \(Y_v=X_v\) for every \(v\notin D\). The configurations outside \(D\) of the two systems are then the same, \(X_{V\setminus D}=Y_{V\setminus D}\); this identification is the identity when \(Y=X\), its inverse is the identification for the reversed agreement, and two identifications compose to the identification of the composed agreement. For a matrix \(K\) from \(\mathbb {C}^{X_D}\) to \(\mathbb {C}^{Y_D}\), the placement \(K\otimes 1\) is the matrix from \(\mathcal H_X\) to \(\mathcal H_Y\) whose element at \((y,x)\) is \(K_{y|_D,x|_D}\) if \(y\) and \(x\) agree outside \(D\), and \(0\) otherwise. In the coordinates of the cuts, \((K\otimes 1)_{(a,z),(b,z)}=K_{ab}\) for every configuration \(z\) outside \(D\).
Let \(R\subseteq U\) be regions. The sites of \(U\), with the basis sets \(X_v\), form a system of sites in which \(R\) is a region. The extension of a matrix \(K\) on \(\mathbb {C}^{X_R}\) to \(U\) is its placement \(K\otimes 1_{U\setminus R}\) in that system: the matrix on \(\mathbb {C}^{X_U}\) whose element at \((\alpha ,\beta )\) is \(K_{\alpha |_R,\beta |_R}\) if \(\alpha \) and \(\beta \) agree on \(U\setminus R\), and \(0\) otherwise.
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.
In the notation of Definition 45.1.11, the Kraus operator of the layer of \(g\) on \(b\) at an outcome \(\omega \) of \(g\) is the placement \(M\otimes 1\) between \(X\) and \(Y\), on \(C_b\), of the matrix \(M\) of \(g\) at \(\omega \). The Kraus operator of the layer of \(A\) at \(s_0\) is the placement between \(X\) and \(Y\), on \(\{ s_0\} \), of \(A\) read on the configurations of \(\{ s_0\} \). Let \(P\) be a property of finite Kraus families that holds for every family \(\{ 1\} \). If \(P\) holds for the gate \(g\), as interpreted, it holds locally on the layer of \(g\) on \(b\); if \(P\) holds for \(\{ A\} \), it holds locally on the layer of \(A\) at \(s_0\). The layer of \(g\) on \(b\) has gate count \(c_b\), and it meets a site \(s\) once if \(s\in C_b\) and \(c_b{\gt}0\), and not at all otherwise. The layer of \(A\) at \(s_0\) has gate count \(0\) and meets no site.
A property holding locally implies locally every property it implies. A property holding locally on a circuit and on every continuation attached to it holds locally on the composite. A composite of unbranched circuits is unbranched. The backward light cone is monotone in the region, and the backward light cone of \(R\) through \(c\) followed by \(c'\) lies in the backward light cone through \(c\) of the backward light cone of \(R\) through \(c'\).
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\).
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.
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.
For vectors \(x,x'\in \mathbb {C}^m\) and \(y\in \mathbb {C}^n\), the product vector \((x\otimes y)_{(i,j)}=x_iy_j\) satisfies \(\lVert x\otimes y\rVert =\lVert x\rVert \, \lVert y\rVert \) and
Relabelling the coordinates of a vector along a bijection preserves its norm.
Let \(A\) and \(F\) be complex matrices indexed by finite sets.
If \(\lVert A^\dagger A\rVert \le 1\), then \(\lVert A\rVert \le 1\); in particular every isometry \(A^\dagger A=I\) is a contraction.
If \(A\) and the square matrix \(F\) are contractions, so is \(A^\dagger FA\).
A finite product of square contractions is a contraction, and the Kronecker product of two contractions is a contraction.
The matrix of a bijection between two finite coordinate sets is a contraction, and relabelling both coordinates of a square matrix along one bijection does not increase its norm.
Let \(\delta \ge 0\) and let \(A,B\) be elements of a complex normed space with \(\lVert B\rVert \le 1\) and \(\lVert A-B\rVert \le \delta \). Then \(\lVert A\rVert \le 1+\delta \), the rescaling \((1+\delta )^{-1}A\) has norm at most one, and
Let \(Y\) agree with \(X\) outside \(D\). When \(Y=X\), the placement between two systems is the placement of Definition 34.3.1. The map \(K\mapsto K\otimes 1\) is linear: it sends \(0\), sums, differences, scalar multiples and finite sums to the same combinations of placements. If a third system \(W\) agrees with \(Y\) outside \(D\) and \(K'\) is a matrix from \(\mathbb {C}^{Y_D}\) to \(\mathbb {C}^{W_D}\), then
where the adjoint is placed from \(Y\) to \(X\). The placement does not increase the operator norm, \(\lVert K\otimes 1\rVert \le \lVert K\rVert \). For a single site \(v_0\) and a matrix \(A\) from \(\mathbb {C}^{X_{v_0}}\) to \(\mathbb {C}^{Y_{v_0}}\), the same matrix read on the configurations of the region \(\{ v_0\} \) has norm at most \(\lVert A\rVert \).
Let \(f\colon V_0\to V'\) group the sites into blocks, let \(D'\) be a region of blocks, and let \(Y\) agree with \(X\) outside \(f^{-1}(D')\). Then the blocked systems agree at every block outside \(D'\), and a matrix \(K\) placed between them on \(D'\) is, read on the configurations of the sites, the same matrix placed on \(f^{-1}(D')\). In particular, for a single block \(b\) with \(Y\) agreeing with \(X\) outside \(f^{-1}(b)\), a matrix of the block \(b\) placed at \(b\) is, read on the sites, the same matrix placed on \(f^{-1}(b)\).
Let \(Y\) agree with \(X\) outside \(D\) and let \(K\) be a matrix from \(\mathbb {C}^{X_D}\) to \(\mathbb {C}^{Y_D}\).
Let \(W\) be a system on \(V\), and let the systems \(W\times X\) and \(W\times Y\), with basis sets \(W_v\times X_v\) and \(W_v\times Y_v\), agree outside \(D\). Placing \(1_{W_D}\otimes K\), read on the configurations of \(D\) in \(W\times X\) and \(W\times Y\), between these two systems gives \(1_{W_V}\otimes (K\otimes 1)\), read on their configurations.
For matrices \(K_w\) from \(\mathbb {C}^{X_w}\) to \(\mathbb {C}^{Y_w}\), \(w\in D\), placing \(\bigotimes _{w\in D}K_w\) gives the product operator \(\bigotimes _{v\in V}M_v\) with \(M_v=K_v\) for \(v\in D\) and \(M_v\) the matrix of the identification \(X_v=Y_v\) for \(v\notin D\).
Let \(m_v\) be a matrix from \(\mathbb {C}^{Y_v}\) to \(\mathbb {C}^{X_v}\) for every site \(v\), and write \(m_D=\bigotimes _{v\in D}m_v\). In the coordinates of the cuts along \(D\),
If \(K\) and \(K'\) are matrices on \(\mathbb {C}^{X_D}\) and \(\mathbb {C}^{Y_D}\) with \(m_DK'=Km_D\), then
The product \(\bigotimes _vm_v\) vanishes if and only if some \(m_v\) does. If \(X=Y\) and \(m_v=1\) for \(v\notin D\), then \(\bigotimes _vm_v=m_D\otimes 1\). If \(m_{V\setminus D}\neq 0\), then \((K\otimes 1)\bigotimes _vm_v=0\) if and only if \(Km_D=0\).
Let \(D\subseteq U\) be regions, let \(Y\) agree with \(X\) outside \(D\), and let \(K\) be a matrix from \(\mathbb {C}^{X_D}\) to \(\mathbb {C}^{Y_D}\). The extension of \(K\) to \(U\) is the placement of \(K\) between the two systems formed by the sites of \(U\): its element at \((\alpha ,\beta )\) is \(K_{\alpha |_D,\beta |_D}\) if \(\alpha \) and \(\beta \) agree on \(U\setminus D\), and \(0\) otherwise. It is additive and homogeneous in \(K\) and does not increase the operator norm. If \(Y\) also agrees with \(X\) outside \(U\), then placing the extension on \(U\) gives the placement \(K\otimes 1\) on \(D\).
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
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
The operator \(K_c\) of a single circuit \(c\) is the Kraus operator of its branch; it is the Kraus operator at any branch. The empty circuit has the operator \(1\). A circuit starting with a layer \(L\) has the operator \(K_{c_i}K_{L,i}\) for any outcome \(i\) of \(L\), where \(c_i\) is the continuation; the circuit of one layer has the operator \(K_{L,i}\). For single circuits \(c\) from \(X\) to \(Y\) and \(c'\) from \(Y\) to \(Z\), the composition has the operator \(K_{c'}K_c\). A finite Kraus family with exactly one member \(V\) is trace-nonincreasing if and only if \(\lVert V\rVert \le 1\). Consequently, if every gate and onsite family of a single circuit is trace-nonincreasing, then \(\lVert K_c\rVert \le 1\).
- QuantumCircuit.Circuit.singleOp
- QuantumCircuit.Circuit.singleOp_eq_kraus
- QuantumCircuit.Circuit.singleOp_done
- QuantumCircuit.Circuit.singleOp_step
- QuantumCircuit.Circuit.singleOp_ofLayer
- QuantumCircuit.Circuit.singleOp_comp
- QuantumCircuit.Circuit.norm_singleOp_le_one
- KrausFamily.isTraceNonincreasing_iff_norm_le_one
- KrausFamily.isTraceNonincreasing_single_iff
For square complex matrices, transposition preserves the operator norm. Tensoring on the right with the identity of a nonzero finite-dimensional space also preserves it. For complex matrices \(A,B\) of any sizes, \(\lVert A\otimes B\rVert _\infty \le \lVert A\rVert _\infty \lVert B\rVert _\infty \).
The bijection of configurations of \(X^{pq}_{\alpha \beta }\) is read party by party: it is the composite of the bijections \(X^{pq}_{\alpha \beta ,s}\to F^{pq}_{\alpha \beta ,s}\times X_s\) at every party, of the splitting of a family of pairs into a configuration of \(F^{pq}_{\alpha \beta }\) and one of \(X\), and of the identification of the configurations of \(F^{pq}_{\alpha \beta }\) with \(\alpha \times \beta \). For matrices \(C_s\) as in Definition 52.1.4.1, the operation beside the fresh factors has norm at most \(\lVert C_s\rVert \), and their Kronecker product over all parties is
the right side read along the bijections of configurations of \(Y^{pq}_{\alpha \beta }\) and \(Y'^{pq}_{\alpha \beta }\).
Let \(A\subseteq P\). Two parties \(p,q\) have the same owner, \(\omega _A(p)=\omega _A(q)\), if and only if \(p=q\) or both are unaffected. The endpoints of a pair source get distinct owners if and only if at least one of them is affected. Hence the sources occurring in \((\omega _A)_*S\) are exactly the moved sources \((\omega _A)_*s\) of the sources \(s\) of \(S\) with an affected endpoint; its list of unordered endpoint pairs is the list of images under \(\omega _A\) of the endpoint pairs of the sources of \(S\) with an affected endpoint, in order and with multiplicity; and \((\omega _A)_*S\) is empty if and only if both endpoints of every source of \(S\) are unaffected. When every party is affected, no party is sent to \(\ast \), and, for \(P\) finite, the block of \(\ast \) in a blocked system along \(\omega _P\) has exactly one configuration [ 148 , Theorem 5.2 ] .
- QuantumCircuit.Party.affectedOwner_eq_iff
- QuantumCircuit.Party.PairSource.affectedOwner_ne_iff
- QuantumCircuit.Party.SourceInventory.mem_mapOwner_affectedOwner
- QuantumCircuit.Party.SourceInventory.map_partyPair_affectedOwner
- QuantumCircuit.Party.SourceInventory.mapOwner_affectedOwner_eq_nil_iff
- QuantumCircuit.Party.affectedOwner_true_ne_none
- QuantumCircuit.Party.uniqueBlockSystemNone
Let \(S\) be a sheet, \(P_\circ \) and \(Q\) parties, not necessarily distinct, \(T\subseteq \Lambda \) a set of sites owned by \(P_\circ \), and \(E\subseteq \Lambda \) a set disjoint from \(T\) such that every site outside \(T\cup E\) is owned by \(P_\circ \); sites of \(E\) may be owned by \(P_\circ \). Let \(\sigma \) be splitting data on \([q]^\Lambda \) for \((T,T\cup E)\), let \(\Omega \in \mathbb {C}^{[q]^\Lambda }\) and \(S'=S^{T\to Q}\).
There is an allowed word \(w\) from \(X^S\) to \(X^{S'}\) that uses only \(P_\circ \) and \(Q\), has at most one pair source, whose operator is \(\operatorname {op}(w)(y,x)=\mathbf B_\sigma (\gamma _{S'}(y),\gamma _S(x))\), and with \(\lVert \operatorname {op}(w)\Omega _S-\Omega _{S'}\rVert \leq \varepsilon _\sigma (\Omega )\).
There is an allowed monomial \(M\) from \(X^{S'}\) to \(X^S\) that uses only \(P_\circ \) and \(Q\), whose gates are pair effects and at most one, whose operator is \(\operatorname {op}(M)(x,y)=\mathbf B_\sigma (\gamma _S(x),\gamma _{S'}(y))\), and with \(\lVert \operatorname {op}(M)\Omega _{S'}-\Omega _S\rVert \leq \varepsilon _\sigma (\Omega )\).
In particular both hold for \(E=E_S(P_\circ )\). This is the part of [ 148 , Lemma 6.5 ] that holds for any splitting data: the birth and the death involve only \(P_\circ \) and \(Q\), use at most one normalized pair source or pair effect, and move the reference vector by at most the error of the splitting data. The hypothesis of the lemma on the mutual information of \(T\) and \(E\) enters only through the existence of splitting data of small error [ 148 , Lemma 6.4 ] , which is not part of this statement.
Let \(T\), \(U\), \(B_T\) and \(B_E\) be finite sets, \(V\) a matrix from \(\mathbb {C}^U\) to \(\mathbb {C}^{B_T}\otimes \mathbb {C}^{B_E}\), \(s\) a vector on \(T\times B_T\), \(K=\langle s|(1_T\otimes V)\) and \(M=V^\dagger (1_{B_T}\otimes K)\). Then for all \(t'\in T\), \(u\in U\) and \((t,u')\in T\times U\),
and if \(V\) is an isometry and \(s\) a unit vector, then \(\lVert M\rVert \leq 1\).
Let \(Q\neq P_\circ \) and \(S'=S^{T\to Q}\). The birth word is allowed, uses only \(P_\circ \) and \(Q\), has exactly one pair source, and its operator is the canonical map in canonical coordinates: \(\operatorname {op}(y,x)=\mathbf B_\sigma (\gamma _{S'}(y),\gamma _S(x))\) for configurations \(y\) of \(X^{S'}\) and \(x\) of \(X^S\). The death chain is allowed, uses only \(P_\circ \) and \(Q\), has exactly one gate, which is a pair effect, and its operator is \(\operatorname {op}(x,y)=\mathbf B_\sigma (\gamma _S(x),\gamma _{S'}(y))\).
- QuantumCircuit.Party.Sheet.op_birthWord
- QuantumCircuit.Party.Sheet.isAllowed_birthWord
- QuantumCircuit.Party.Sheet.usesOnly_birthWord
- QuantumCircuit.Party.Sheet.sourceCount_birthWord
- QuantumCircuit.Party.Sheet.op_deathChain
- QuantumCircuit.Party.Sheet.isAllowed_deathChain
- QuantumCircuit.Party.Sheet.usesOnly_deathChain
- QuantumCircuit.Party.Sheet.forallGate_isRight_deathChain
- QuantumCircuit.Party.Sheet.numGates_deathChain
An original circuit does not increase the norm of a vector. An original circuit without nonprivate gates has no gate occurrence, so every condition on the participants of its gates holds, and it is a bounded change from \(x\) to \(\operatorname {op}(c)x\) for every set \(S\), all \(r,K\in \mathbb {N}\) and every \(\varepsilon \geq 0\); in particular, for equal sheets \(F=F'\) the empty circuit is a bounded change from \(r_F\) to \(r_{F'}\). If \(c\) is a bounded change from \(x\) to \(y\) and \(e\) has no nonprivate gate, then \(c\) followed by \(e\) is a bounded change from \(x\) to \(\operatorname {op}(e)y\), and \(e\) followed by \(c\) is a bounded change from every \(x'\) with \(\operatorname {op}(e)x'=x\) to \(y\), with the same \(S\), \(r\), \(K\) and \(\varepsilon \).
- QuantumCircuit.Party.OriginalCircuit.norm_toEuclideanLin_op_le
- QuantumCircuit.Party.OriginalCircuit.IsBoundedChange.comp_right
- QuantumCircuit.Party.OriginalCircuit.IsBoundedChange.comp_left
- QuantumCircuit.Party.OriginalCircuit.isBoundedChange_of_nonprivateCount_eq_zero
- QuantumCircuit.Party.exists_isBoundedChange_of_eq
- QuantumCircuit.Party.OriginalCircuit.isEmpty_nonprivateLocations_of_nonprivateCount_eq_zero
- QuantumCircuit.Party.OriginalCircuit.forall_participants_of_nonprivateCount_eq_zero
Let \(c\) be a circuit of pair sources and pair effects from \(Z\) to \(Y\) and \(k\) a completion rule from \(Y\) to \(W\). Each of the following holds for every word \(w\) into \(Z\) when the corresponding hypothesis on \(k\) holds for every word \(v\) into \(Y\).
If the chain of \(k(v)\) evaluates to \(R\, \mathrm{op}(v)\) for a fixed matrix \(R\), the chain of \(\Phi (c,k)(w)\) evaluates to \(R\, \mathrm{op}(c)\, \mathrm{op}(w)\).
Let \(c\) be allowed. If the chain of \(k(v)\) is allowed for allowed \(v\), the chain of \(\Phi (c,k)(w)\) is allowed for allowed \(w\). If every word \(R_{m,\kappa }\) of \(k(v)\) is allowed for allowed \(v\), every word \(R_{m,\kappa }\) of \(\Phi (c,k)(w)\) is allowed for allowed \(w\).
If the ideal content of the stacks of the chain of \(k(v)\), read along its bijection of stack registers, is \(\Gamma _m\) of its effects, the same holds for \(\Phi (c,k)(w)\).
If every word \(R_{m,\kappa }\) of \(k(v)\) has the operator of the term of the replaced chain of \(k(v)\) with insertion positions \(\kappa \), read along the identification of the configurations of \(W^m_E\) with \(W_P\) times the stack registers, the same holds for \(\Phi (c,k)(w)\).
If \(c\) is a word, then \(\Phi (c,k)(w)=k(w')\) for a word \(w'\) with \(\mathrm{op}(w')=\mathrm{op}(c)\, \mathrm{op}(w)\), with the pair sources of \(c\) followed by those of \(w\), and allowed when \(c\) and \(w\) are.
Let \(c\) be a monomial. If the effects of \(k(v)\) are a fixed list \(E\), the effects of \(\Phi (c,k)(w)\) are those of \(c\) followed by \(E\); if the chain of \(k(v)\) has \(n\) effects, the chain of \(\Phi (c,k)(w)\) has those of \(c\) plus \(n\); if every \(R_{m,\kappa }\) of \(k(v)\) has as many sources as \(v\) plus \(N\), every \(R_{m,\kappa }\) of \(\Phi (c,k)(w)\) has as many sources as \(w\), plus those of \(c\), plus \(m-1\) for every effect of \(c\), plus \(N\).
- QuantumCircuit.Party.eval_chainFormAux
- QuantumCircuit.Party.isAllowed_chainFormAux
- QuantumCircuit.Party.isAllowed_replaceWord_chainFormAux
- QuantumCircuit.Party.stackVector_chainFormAux
- QuantumCircuit.Party.op_replaceWord_chainFormAux
- QuantumCircuit.Party.chainFormAux_toChain
- QuantumCircuit.Party.Monomial.effects_chainFormAux
- QuantumCircuit.Party.Monomial.effectCount_chainFormAux
- QuantumCircuit.Party.Monomial.sourceCount_replaceWord_chainFormAux
Let \(c\) be a party circuit from \(X\) to \(Y\). Its circuit \(\widehat c\) is unbranched and sequential: every layer has at most one cell, and a layer with a cell is the identity at the parties outside it. If every gate has one outcome, \(\widehat c\) is single. For an interpretation of a gate family with one outcome per gate, the operators are, rule by rule,
where \(M_g\) is the matrix of \(g\) at its outcome, and \(M_g\otimes 1\) and \(A\otimes 1\) are the placements between \(X\) and \(Y\) on \(D\) and on \(\{ p\} \), with \(A\) read on the configurations of \(\{ p\} \). Consequently, let a property of matrices from \(\mathcal H_X\) to \(\mathcal H_Y\), for all systems \(Y\), hold for the identity of \(\mathcal H_X\) and pass from \(M\) to \(T_sM\) for every party circuit \(s\) of one step. Then it holds for \(T_c\) for every party circuit \(c\) from \(X\).
- QuantumCircuit.Party.PartyCircuit.isUnbranched_toCircuit
- QuantumCircuit.Party.PartyCircuit.isSequential_toCircuit
- QuantumCircuit.Party.PartyCircuit.isSingle_toCircuit
- QuantumCircuit.Party.PartyCircuit.op_done
- QuantumCircuit.Party.PartyCircuit.op_comp
- QuantumCircuit.Party.PartyCircuit.op_gate
- QuantumCircuit.Party.PartyCircuit.op_localOp
- QuantumCircuit.Party.PartyCircuit.op_localOps
- QuantumCircuit.Party.PartyCircuit.op_induction
Let \(g\) be a pair source whose endpoints lie in distinct blocks. For every configuration \(z\) of \(Y^f\), with \((a,x)=\gamma _g(\theta _Y(z))\),
The sources of \(w^f\) are the sources of \(w\) moved along \(f\), \(f_*\) of the list of sources of \(w\). If \(w\) is allowed, so is \(w^f\).
Let every site of \(T\) be owned by \(P_\circ \) in the sheet \(S\), let \(\sigma \) be splitting data for the birth with kernel \(K\), and use the bijections (17). For \(Q\neq P_\circ \), a configuration \(y\) of \(X^{S^{T\to Q}}\) and a configuration \(x\) of \(X^S\),
where \(\delta =1\) if \(\beta _Q(y_Q)_2=x_Q\) and \(\gamma _{S^{T\to Q}}(y)\), \(\gamma _S(x)\) agree on the sites of every party \(r\notin \{ P_\circ ,Q\} \), and \(\delta =0\) otherwise. For a configuration \(y\) of \(X^{S^{T\to P_\circ }}\), \(\mathbf B_\sigma (\gamma _{S^{T\to P_\circ }}(y),\gamma _S(x)) =\delta _\circ \, (K^\dagger K)(\beta _\circ (y_{P_\circ }),\beta _P(x_{P_\circ }))\), where \(\delta _\circ =1\) if the two configurations agree on the sites of every party \(r\neq P_\circ \) and \(\delta _\circ =0\) otherwise.
If every gate has one outcome, then for every party circuit \(c\) the gate count of its circuit \(\widehat c\) is \(\# (c)\), and the number of gates of \(\widehat c\) meeting a party \(p\) is \(\pi _p(c)\).
Let \(M\) be an allowed effect chain and \(m\in \mathbb {N}\). Then \(\lVert \operatorname {ev}(M)\rVert \le 1\), \(\lVert \Gamma _m(M)\rVert =1\), \(\lVert R_m(M)\rVert \le 1\), and \(\lVert R_{m,\kappa }(M)\rVert \le 1\) for every \(\kappa \).
Let \(m\ge 1\) and let \(M\) be an effect chain with \(n\) effects. Then
the sum over all \(\kappa :\{ 0,\dots ,n-1\} \to \{ 0,\dots ,m-1\} \) [ 148 , proof of Lemma 5.1 ] .
Let \(m\ge 1\) and let \(M\) be an allowed effect chain from \(X\) to \(Y\) with \(n\) effects. Then
For every effect chain \(M=(F,\eta ,M')\), allowed or not, the ideal augmentation replaces the first effect by \(P_m\):
with \(\Pi \) as in (9). This is the telescoping step in the proof of [ 148 , Lemma 5.1 ] .
Let \(S_1,S_2\) be sheets, \(Y\) a region, \(P_\circ \) a party, \(Z\) a set of sites outside of which both owners are \(P_\circ \), with \(T\), \(E\), \(A\), \(U\) as in Definition 52.5.5.1, and let \(\sigma \) be splitting data on \([q]^\Lambda \) for \((T,T\cup E)\). Then
and there is an allowed word \(c\) from \(X^{S_1'}\times X^{S_2'}\) to itself that uses only \(P_\circ \) and has no pair source, such that the renaming \(\mathcal R\) followed by \(c\) has the operator \(C_\sigma \), read from the canonical coordinates of \((S_1,S_2)\) to those of \((S_1',S_2')\), and, for every unit vector \(\Omega \in \mathbb {C}^{[q]^\Lambda }\),
This is [ 148 , Lemma 6.6 ] for given splitting data: the exchange is a relabelling of the bases of the parties whose sites change sheet, no register changing party, followed by corrections private to \(P_\circ \). It has no gate, so it is a bounded change for every set of participants (Theorem 52.5.7.3).
In the setting of Definition 52.5.5.3:
The exchange of the two copies on \(Y\), read from the canonical coordinates of \((S_1',S_2')\) to those of \((S_1,S_2)\), is the bijection \((\rho _p)_p\), that is \(\gamma _{S_1,S_2}^{-1}\circ F_Y\circ \gamma _{S_1',S_2'}=(\rho _p)_p\). Hence the operator of \(\mathcal R\) is \(F_Y\) in canonical coordinates, and \(\mathcal R\) is allowed and has no pair source.
The correction at \(P_\circ \) is a contraction. The correction word is allowed, uses only \(P_\circ \), has no pair source, and its operator in the canonical coordinates of \((S_1',S_2')\) is \(D_UF_A\).
The renaming followed by the correction word has the operator \(C_\sigma \), read from the canonical coordinates of \((S_1,S_2)\) to those of \((S_1',S_2')\).
- QuantumCircuit.Party.Sheet.twoConfigEquiv_symm_permCongr_pairSwap
- QuantumCircuit.Party.Sheet.op_renameWord
- QuantumCircuit.Party.Sheet.isAllowed_renameWord
- QuantumCircuit.Party.Sheet.sourceCount_renameWord
- QuantumCircuit.Party.Sheet.norm_correctionAt_le_one
- QuantumCircuit.Party.Sheet.op_correctionWord
- QuantumCircuit.Party.Sheet.isAllowed_correctionWord
- QuantumCircuit.Party.Sheet.usesOnly_correctionWord
- QuantumCircuit.Party.Sheet.sourceCount_correctionWord
- QuantumCircuit.Party.Sheet.op_comp_renameWord_correctionWord
Let \(\mathrm{ev}\) be compatible with framing and let a condition on gates pass from every gate \(g\) to \(g^W\). If a party circuit is allowed for this condition, so is the circuit beside \(W\). A circuit beside \(W\) is locally contractive when the circuit is, and a word, an allowed gate of a monomial, and an allowed weighted gate stay allowed beside \(W\).
The matrix of a pair source beside \(W\) on its cell \(D\) is \(1_{W_D}\otimes M\), where \(M\) is the matrix of the source on \(D\), read along the pairings of configurations, and likewise for a pair effect. Hence the interpretations of pair sources, of pair effects and of the gates of monomials are compatible with framing.
The operator of a framed original gate is the identity on the spectator factors tensored with the operator of the gate. For an original circuit \(w\) from \(X\) to \(Y\) and a system \(W\), read along the pairing of configurations, \(\operatorname {op}(w^W)=1_{\mathcal H_W}\otimes \operatorname {op}(w)\). Hence \(\operatorname {op}(w^W)(x\otimes y)=x\otimes \operatorname {op}(w)y\) for \(x\in \mathcal H_W\) and \(y\in \mathcal H_X\), and if \(\lVert x\rVert \leq 1\) then
for all \(v\in \mathcal H_X\) and \(v'\in \mathcal H_Y\). The operator of the relabelling along bijections \(e_p:Y_p\to X_p\) is the matrix of the bijection \(\tau \mapsto (e_p(\tau _p))_p\) of configurations; it maps a vector \(v\in \mathcal H_X\) to the vector \(\tau \mapsto v((e_p(\tau _p))_p)\) of \(\mathcal H_Y\). In particular the relabelling exchanging the two factors of \(X\times Y\) maps \(x\otimes y\) to \(y\otimes x\).
- QuantumCircuit.Party.OriginalCircuit.op_frame
- QuantumCircuit.Party.OriginalGate.isCompatible_frame
- QuantumCircuit.Party.OriginalCircuit.toEuclideanLin_op_frame_prodVec
- QuantumCircuit.Party.OriginalCircuit.norm_op_frame_prodVec_sub_le
- QuantumCircuit.Party.OriginalCircuit.op_relabel
- QuantumCircuit.Party.OriginalCircuit.toEuclideanLin_op_relabel
- QuantumCircuit.Party.OriginalCircuit.toEuclideanLin_op_relabel_prodComm_prodVec
Let \(c\) be a party circuit and \(W\) a spectator system. If \(c\) uses only the parties of a set \(R\), so does \(c^W\). The circuit \(c^W\) has the same list of gate cells, the same number of gates, the same gate count, and, at every party \(p\), the same participation and the same number of gates containing \(p\). Its gate occurrences are in bijection with those of \(c\), corresponding occurrences having the same cell. If a morphism \(\varphi \) of gate families satisfies \(\varphi (g^W)=\varphi (g)^W\) for every gate \(g\), then mapping \(c^W\) along \(\varphi \) gives the circuit beside \(W\) of the image of \(c\). A word beside \(W\) has the sources of the word. A monomial beside \(W\) has the pair sources and the pair effects of the monomial, hence the same numbers of each, and a chain all of whose gates are pair effects stays such a chain.
- QuantumCircuit.Party.PartyCircuit.UsesOnly.frame
- QuantumCircuit.Party.PartyCircuit.gateCells_frame
- QuantumCircuit.Party.PartyCircuit.numGates_frame
- QuantumCircuit.Party.PartyCircuit.gateCount_frame
- QuantumCircuit.Party.PartyCircuit.participation_frame
- QuantumCircuit.Party.PartyCircuit.participationCount_frame
- QuantumCircuit.Party.PartyCircuit.frameLocationsEquiv
- QuantumCircuit.Party.PartyCircuit.participants_frameLocationsEquiv
- QuantumCircuit.Party.PartyCircuit.mapGates_frame
- QuantumCircuit.Party.Word.sources_frame
- QuantumCircuit.Party.Monomial.sources_frame
- QuantumCircuit.Party.Monomial.effects_frame
- QuantumCircuit.Party.Monomial.effectCount_frame
- QuantumCircuit.Party.Monomial.sourceCount_frame
- QuantumCircuit.Party.PartyCircuit.forallGate_isRight_frame
For every party circuit \(c\), the list of cells is the list of the cells of the gates, and the length of the list of gates and the number of gate occurrences are both \(n(c)\). Always \(\# (c)\le n(c)\), and when no gate of \(c\) is private, \(\# (c)=n(c)\) and \(\pi _p(c)=\nu _p(c)\) for every party \(p\). A condition on cells that holds at every gate holds at the participants of every occurrence. The number of occurrences whose participants contain \(p\) is \(\nu _p(c)\) [ 148 , Section 5.1 ] . One gate on the empty cell has gate count \(1\).
- QuantumCircuit.Party.PartyCircuit.gateCells_eq_map_gates
- QuantumCircuit.Party.PartyCircuit.length_gates
- QuantumCircuit.Party.PartyCircuit.card_gateLocations
- QuantumCircuit.Party.PartyCircuit.gateCount_le_numGates
- QuantumCircuit.Party.PartyCircuit.gateCount_eq_numGates
- QuantumCircuit.Party.PartyCircuit.participation_eq_participationCount
- QuantumCircuit.Party.PartyCircuit.forall_participants_of_forallGate
- QuantumCircuit.Party.PartyCircuit.natCard_participants_mem
- QuantumCircuit.Party.PartyCircuit.gateCount_gate_empty
Let \(\eta \in \mathbb {C}^\iota \) be a unit vector. Then \(\lVert I_k\rVert \le 1\) for every position \(k\), \(\lVert T_m\rVert \le 1\) for every \(m\in \mathbb {N}\), and for \(m\ge 1\)
This is the one-effect estimate in the proof of [ 148 , Lemma 5.1 ] .
The party family of a contraction consists of contractions. If a party circuit is allowed for some condition on its gates, then every party operation \(c_p\) and every region operation \(c_R\) is a contraction. If \(P\) is finite and \(c\) is moreover local, then \([c]=\bigotimes _pB_p\) for contractions \(B_p\). In particular an allowed word \(w\) without pair sources satisfies \([w]=\bigotimes _pA_p\) for contractions \(A_p\) [ 148 , Theorem 5.2 ] .
Let \(P\) be finite and let the gates have one outcome each. The operator of one local operation is the product operator \(\bigotimes _sm_s\) of its party family \((m_s)_s\). The operator of a local circuit \(c\) is the product of its party operations,
and, for every region \(R\), in the coordinates of the cuts along \(R\), \([c]=c_R\otimes \bigotimes _{p\notin R}c_p\). This is the collection of the local maps of a word without pair sources by party in the proof of [ 148 , Theorem 5.2 ] .
Let \(\varphi \) be a morphism of gate families. The list of gates of \(\varphi _*c\) is the list of gates of \(c\) with every gate replaced by its image, cells and systems kept. Hence \(\varphi _*c\) has the cells, the number of gates, the gate count and the participations of \(c\), and corresponding occurrences have the same participants. Let both families have one outcome per gate and let \(\varphi \) be compatible with interpretations of the two families. Then \(T_{\varphi _*c}=T_c\). If moreover \(c\) is allowed for a condition \(\mathcal A\), and the image of every gate satisfying \(\mathcal A\) satisfies a condition \(\mathcal A_2\), then \(\varphi _*c\) is allowed for \(\mathcal A_2\).
- QuantumCircuit.Party.PartyCircuit.op_mapGates
- QuantumCircuit.Party.PartyCircuit.gates_mapGates
- QuantumCircuit.Party.PartyCircuit.gateCells_mapGates
- QuantumCircuit.Party.PartyCircuit.numGates_mapGates
- QuantumCircuit.Party.PartyCircuit.gateCount_mapGates
- QuantumCircuit.Party.PartyCircuit.participation_mapGates
- QuantumCircuit.Party.PartyCircuit.participants_mapGatesLocationsEquiv
- QuantumCircuit.Party.PartyCircuit.IsAllowed.mapGates
For a monomial \(M\) from \(X\) to \(Y\), the chain \(C_M\) evaluates to \(\mathrm{op}(M)\) and has as many effects as \(M\); the effects \(E_M\) of the chain form are the pair effects of \(M\) in chronological order, so their endpoints are those of the pair effects of \(M\). If \(M\) is allowed, then \(C_M\) is allowed and every vector of \(E_M\) is normalized. A word \(w\) read as a monomial has the chain \(\mathrm{op}(w)\). For a word \(w\) from \(X\) to \(Z\), a pair effect \(g\) from \(Z\) to \(Y\) with vector \(\eta \) and a monomial \(c\) from \(Y\) to \(W\), the chain of \(c\circ g\circ w\) is \(C_cE_gF\) with \(F\) the operator of \(w\) read along the configurations of \(g\), its effects are \(g\) followed by \(E_c\), and the circuit \(c\circ g\circ w\) is allowed when \(w\) and \(c\) are allowed and \(\lVert \eta \rVert =1\) [ 148 , Lemma 5.1 ] .
- QuantumCircuit.Party.Monomial.eval_toEffectChain
- QuantumCircuit.Party.Monomial.isAllowed_toEffectChain
- QuantumCircuit.Party.Monomial.chainEffects_eq
- QuantumCircuit.Party.Monomial.effectCount_toEffectChain
- QuantumCircuit.Party.Monomial.effectParties_eq
- QuantumCircuit.Party.Monomial.norm_vector_of_mem_chainEffects
- QuantumCircuit.Party.Monomial.toEffectChain_toChain
- QuantumCircuit.Party.Monomial.toEffectChain_thenEffect
- QuantumCircuit.Party.Monomial.chainEffects_thenEffect
- QuantumCircuit.Party.Monomial.isAllowed_thenEffect
For a monomial \(M\), the effect count plus the source count is \(n(M)\). Under composition the effect counts and the source counts add, and the effects of \(M'\circ M\) are those of \(M\) followed by those of \(M'\). The effects of an allowed monomial are normalized, and a word read as a monomial has no effect.
Let \(M\) be a monomial from \(X\) to \(Y\) with \(n\) pair effects and \(s_M\) pair sources, let \(m\in \mathbb {N}\) and \(\kappa :\{ 0,\ldots ,n{-}1\} \to \{ 0,\ldots ,m{-}1\} \). Read along the identification of the configurations of \(Y^m_{E_M}\) with \(Y_P\) times the stack registers of \(C_M\), the word \(R^M_{m,\kappa }\) has as operator the term of the replaced chain \(C_M\) with insertion positions \(\kappa \). It has \(s_M+n(m-1)\) pair sources, and it is allowed when \(M\) is. The preparation of the stacks of \(E_M\) in front of \(T\) has the operator \(x\mapsto x\otimes \Gamma \), where \(\Gamma \) is the ideal content of the stacks of \(C_M\); it is allowed when \(M\) is. At a party that is no endpoint of a pair effect of \(M\), the system \(T^m_{E_M}\) has the basis of \(T\) [ 148 , Lemma 5.1 ] .
- QuantumCircuit.Party.Monomial.isAllowed_replaceWord
- QuantumCircuit.Party.Monomial.op_replaceWord
- QuantumCircuit.Party.Monomial.sourceCount_replaceWord
- QuantumCircuit.Party.Monomial.isAllowed_prepStack
- QuantumCircuit.Party.Monomial.op_prepStack
- QuantumCircuit.Party.Monomial.stackApp_of_notMem_effectParties
Let \(Q\) be finite. For every word \(w\) from \(X\) to \(Y\) and all configurations \(z\) of \(Y^f\) and \(z'\) of \(X^f\),
For finitely many words \(w_\xi \) and coefficients \(c_\xi \in \mathbb {C}\), the combination \(\sum _\xi c_\xi [w_\xi ^f]\) is likewise \(\sum _\xi c_\xi [w_\xi ]\) read along \(\theta _Y\) and \(\theta _X\) [ 148 , Theorem 5.2 ] .
Read along the identification of the configurations of \(T^m_E\) with \(T_P\times J_m(E)\), the preparation of the stacks of \(E\) has the operator \(x\mapsto x\otimes \Gamma _m(E)\), and a word \(w\) beside the stacks of \(E\) has the operator \(\mathrm{op}(w)\otimes 1_{J_m(E)}\).
Let \(P\) be finite, let the gates have one outcome each, and let \(\mathrm{ev}\) be compatible with framing. For every party circuit \(c\) from \(X\) to \(Y\) and every spectator system \(W\),
read along the pairings \((W\times X)_P\cong W_P\times X_P\) and \((W\times Y)_P\cong W_P\times Y_P\). In particular this holds for every word. If every \(W_p\) has one element, then the element of \([c^W]\) at \((y,x)\) is the element of \([c]\) at the second components of \(y\) and \(x\).
Read along the identification \(Z_P\cong (\alpha \times \beta )\times Y_P\) of the pair effect \(g\) and the identification of the configurations of \(Y^{pq}_{\alpha ^m,\beta ^m}\) with \((\alpha \times \beta )^m\times Y_P\), the insertion word of \(g\) at position \(k\) has the operator \(I_k\otimes 1_{Y_P}\), where \(I_k:\mathbb {C}^{\alpha \times \beta }\to (\mathbb {C}^{\alpha \times \beta })^{\otimes m}\) places its input in factor \(k\) and \(\eta \) in the other factors [ 148 , Lemma 5.1 ] .
For an interpretation compatible with framing, with one outcome per gate, the operator of a circuit \(c\) beside the fresh factors \(A\) at \(p\) and \(B\) at \(q\) is \(1_{A\times B}\otimes \mathrm{op}(c)\), read along the identifications of the configurations of \(S^{pq}_{A,B}\) and \(T^{pq}_{A,B}\) with \((A\times B)\times S_P\) and \((A\times B)\times T_P\). In particular a word beside a stack of \(n\) pair registers has the operator \(1_{(\alpha \times \beta )^n}\otimes \mathrm{op}(w)\), the stack configurations read as in Definition 52.4.1.3. If \(\sigma _\eta ^S\) denotes the pair source preparing \(\eta \in \mathbb {C}^{\alpha \times \beta }\) on fresh factors in front of the bases of \(p\) and \(q\) of \(S\), then for every word \(c\) from \(S\) to \(T\)
where \(\tilde c\) is \(c\) beside the fresh factors \(\alpha \) at \(p\) and \(\beta \) at \(q\) [ 148 , Section 5 ] .
Let \(P\) be finite. For every word \(w\) on the parties of \(D\),
the operator of \(w\) placed on \(D\) between \(X\) and \(Y\): an operation on the parties of a cell acts as the identity on the other parties [ 148 , Section 5.1 ] . The word \(\widehat w\) is allowed when \(w\) is, and its sources are those of \(w\) moved along \(\iota \).
Read along the identification of the configurations of \(T^{pq}_{\alpha ^n,\beta ^n}\) with \((\alpha \times \beta )^n\times T_P\), the preparation of \(n\) copies of \(\eta \) has the operator \(x\mapsto \eta ^{\otimes n}\otimes x\) [ 148 , Lemma 5.1 ] .
Let \(P\) be finite and let a word \(w\) from \(X\) to \(Y\) use only the parties of a finite set \(S\). Then \(Y\) agrees with \(X\) outside \(S\), and
the operator of the restricted word placed on \(S\) between \(X\) and \(Y\): the registers outside \(S\) are untouched [ 148 , Section 5.1 ] .
No gate of a party circuit of original gates is private, and neither is any gate of its image under the forgetful morphism; in particular no gate of an original circuit or of its effect circuit is private [ 148 , Section 5.1 ] . The effect circuit of an original circuit \(w\) has the operator \(T_w\) and is allowed for the condition that the monomials of every weighted gate are allowed.
- QuantumCircuit.Party.PartyCircuit.forallGate_card_ne_one
- QuantumCircuit.Party.PartyCircuit.forallGate_card_ne_one_mapGates
- QuantumCircuit.Party.OriginalCircuit.forallGate_card_ne_one
- QuantumCircuit.Party.OriginalCircuit.op_toEffectCircuit
- QuantumCircuit.Party.OriginalCircuit.isAllowed_toEffectCircuit
- QuantumCircuit.Party.OriginalCircuit.nonprivate
A property of original circuits holds for all of them when it holds for the empty circuits, for one original gate, for one contraction at one party and for contractions at every party, and passes to compositions. The operator of a composition is \(T_{w'\circ w}=T_{w'}T_w\), that of one original gate is the placement between \(X\) and \(Y\) on its cell of the matrix of its expansion, that of one contraction at a party \(p\) is its placement on \(\{ p\} \), and that of contractions at every party is their Kronecker product. A locally contractive party circuit of original gates is allowed for the condition that the monomials of every gate are allowed; hence every original circuit is allowed, and \(\lVert T_w\rVert \le 1\) [ 148 , Section 5.1 ] .
- QuantumCircuit.Party.OriginalCircuit.induction
- QuantumCircuit.Party.OriginalCircuit.op_comp
- QuantumCircuit.Party.OriginalCircuit.op_gate
- QuantumCircuit.Party.OriginalCircuit.op_localOp
- QuantumCircuit.Party.OriginalCircuit.op_localOps
- QuantumCircuit.Party.PartyCircuit.isAllowed_of_isLocalContractive
- QuantumCircuit.Party.OriginalCircuit.isAllowed
- QuantumCircuit.Party.OriginalCircuit.norm_op_le_one
Let \(f\colon P\to Q\) and let \(S\) be a list of pair sources on \(P\). A pair source \(t\) occurs in \(f_*S\) if and only if \(t=f_*s\) for some \(s\) in \(S\) whose endpoints have distinct images. If every vector of \(S\) is normalized, so is every vector of \(f_*S\). The list \(f_*S\) is empty if and only if the endpoints of every source of \(S\) have the same image. The list of unordered endpoint pairs of \(f_*S\) is obtained from that of \(S\) by applying \(f\) to each pair and dropping the pairs with equal points, in order and with multiplicity; hence an unordered pair \(\{ a,b\} \) occurs in it if and only if \(a\neq b\) and \(\{ a,b\} \) is the image of an endpoint pair of \(S\) [ 148 , Theorem 5.2 ] .
Let \(m\ge 1\) and \(r\in \mathbb {N}\), and let every monomial \(M_\xi \) of \(L\) be allowed and have at most \(r\) pair effects. Let \(G=\sum _\xi c_\xi \, \mathrm{op}(M_\xi )\) be the gate of \(\mathcal G_L\), let \(G'_m\) be the replaced gate of \(\mathcal G_L\) and \(\Gamma _m\) its ideal vector. Then \(\lVert \Gamma _m\rVert =1\), the allowed word \(\pi _L\) prepares \(\Gamma _m\), read along the identification of the configurations of \(B^m_L\) with \(B_P\) times the inventory, and
Read along the same identification, \(G'_m=\sum _{(c,w)}c\, \mathrm{op}(w)\) over the word list, every word of the list is allowed, and every term of the term list is source-only. The word list has at most \(Km^r\) terms and the absolute sum \(\sum _{(c,w)}\lvert c\rvert \) of its coefficients equals \(\sum _\xi \lvert c_\xi \rvert \). At every party of \(D\) that is no endpoint of a pair effect of any monomial, the output system \(B^m_L\) of \(G'_m\) has the basis of \(B\).
Let \(S\) be the matrix of a pair source on \(D\) with vector \(\eta \). Then \(S\) is the preparation \(J_e(\eta )\) along the bijection \(e\colon Y_D\to (\alpha \times \beta )\times X_D\), and the matrix of a pair effect is the adjoint of the matrix of the source with the same data. Both have norm at most \(\lVert \eta \rVert \), with equality when \(D\) has a configuration in the input of the source, respectively in the output of the effect; a normalized source or effect is a contraction. Two pair sources on \(D\) from \(X\) with the same pair source datum differ by a relabelling of the output, and every pair source is, with \(D=\{ l,r\} \), the canonical source of its datum followed by a relabelling of the output.
- QuantumCircuit.Party.SourceGate.regionMatrix_eq_prepMatrix
- QuantumCircuit.Party.PairEffectGate.regionMatrix_eq_conjTranspose
- QuantumCircuit.Party.SourceGate.norm_ev_le
- QuantumCircuit.Party.SourceGate.norm_ev
- QuantumCircuit.Party.PairEffectGate.norm_ev_le
- QuantumCircuit.Party.PairEffectGate.norm_ev
- QuantumCircuit.Party.SourceGate.eq_reindexOutput
- QuantumCircuit.Party.SourceGate.eq_reindexOutput_ofAddPair
Let \(g\) be a pair source on \(D\) from \(X\) to \(Y\) with vector \(\eta \), and let \(\kappa \colon Y_P\to (\alpha \times \beta )\times X_P\) be the reading of its output in canonical form; for the canonical source \(\kappa \) is the bijection of configurations of \(X^{pq}_{\alpha \beta }\). The party circuit of the one gate \(g\) has the operator \(J_\kappa (\eta )\), which maps \(|x\rangle \) to \(\eta \otimes |x\rangle \). For a pair effect from \(X\) to \(Y\) with input read through \(\kappa \colon X_P\to (\alpha \times \beta )\times Y_P\), the operator of its one gate is \(J_\kappa (\eta )^\dagger \), the effect \(\langle \eta |\otimes 1\) with its columns read through \(\kappa \). Among the gates of monomials, one pair source and one pair effect have the same operators.
Let \(P\) be finite. A word uses only the parties of a set \(R\) if and only if its parties lie in \(R\). In particular a word uses only its own parties.
Let \(\nu \) be a finite set and let \(K_k\in \mathbb {C}^{I_k\times J_k}\) for \(k\in \nu \). For every \(v\in \nu \), the tensor product \(\bigotimes _kK_k\) is \(K_v\otimes \bigotimes _{j\neq v}K_j\), the index products split at \(v\). Moreover
so a tensor product of contractions is a contraction.
Let \(S'=S^{T\to P_\circ }\). The private birth word is allowed, uses only \(P_\circ \), has no pair source, and its operator is \(\operatorname {op}(y,x)=\mathbf B_\sigma (\gamma _{S'}(y),\gamma _S(x))\). The private death chain is allowed, uses only \(P_\circ \), has no gate, and its operator is \(\operatorname {op}(x,y)=\mathbf B_\sigma (\gamma _S(x),\gamma _{S'}(y))\).
- QuantumCircuit.Party.Sheet.op_privateBirthWord
- QuantumCircuit.Party.Sheet.isAllowed_privateBirthWord
- QuantumCircuit.Party.Sheet.usesOnly_privateBirthWord
- QuantumCircuit.Party.Sheet.sourceCount_privateBirthWord
- QuantumCircuit.Party.Sheet.op_privateDeathChain
- QuantumCircuit.Party.Sheet.isAllowed_privateDeathChain
- QuantumCircuit.Party.Sheet.usesOnly_privateDeathChain
- QuantumCircuit.Party.Sheet.numGates_privateDeathChain
For a gate family with one outcome per gate and any interpretation, the operator of \(R_e\) is the matrix of the bijection \(y\mapsto (e_s(y_s))_s\) of configurations: \((T_{R_e})_{yx}=1\) if \(e_s(y_s)=x_s\) for every \(s\) and \(0\) otherwise. Hence, for every matrix \(M\) with rows indexed by \(X_P\), the product \(T_{R_e}M\) is \(M\) with its rows reindexed, \((T_{R_e}M)_{y,w}=M_{(e_s(y_s))_s,w}\); no inverse appears. For bijections \(e_s\colon X_s\to Y_s\), the operator of the relabelling along their inverses is the matrix of the inverse of the bijection of configurations. A relabelling is allowed for every condition on gates.
Let \(G=\sum _\xi c_\xi \operatorname {ev}(M_\xi )\) be a gate expansion into \(K\) allowed effect chains, each with at most \(r\) effects, and let \(m\ge 1\). Then \(\lVert \Gamma _m\rVert =1\),
and \(G'_m=\sum c\, Q\), the sum over the pairs \((c,Q)\) of the term list. The term list has at most \(Km^r\) pairs, the sum of the absolute values of its coefficients is \(\sum _\xi |c_\xi |\), and each of its matrices \(Q\) satisfies \(\lVert Q\rVert \le 1\). The expansion of \(G'_m\) holds for every gate expansion and every \(m\); the normalization of \(\Gamma _m\) and the contractivity of the terms need only that the chains are allowed.
These are the error, count and coefficient-sum clauses of [ 148 , Lemma 5.1 ] , the last with equality where the source states an upper bound. The pieces of the chains are arbitrary contractions and \(G\) need not be a contraction. The clauses of the source about parties (the expansion of \(G'_m\) uses only local contractions and normalized pair sources, and its additional registers are owned by the original participating parties) concern circuits on parties and are the content of Theorem 52.4.4.4; two normalized pair vectors combine into one by Lemma 60.1.11.
- QuantumCircuit.Party.pairEffectElimination
- QuantumCircuit.Party.GateExpansion.norm_inventoryVector
- QuantumCircuit.Party.GateExpansion.norm_replaceGate_sub_le
- QuantumCircuit.Party.GateExpansion.replaceGate_eq_sum_termList
- QuantumCircuit.Party.GateExpansion.length_termList_le
- QuantumCircuit.Party.GateExpansion.sum_norm_coeff_termList
- QuantumCircuit.Party.GateExpansion.norm_term_le_one
Let \(G=\sum _\xi c_\xi \operatorname {ev}(M_\xi )\) be a gate expansion into allowed effect chains, each with at most \(r\) effects, such that \(\lVert G\rVert \le 1\), and write \(B_m=(\mathbf1_Y\otimes |\Gamma _m\rangle )G\). If \(m\ge 1\) and \(\delta \ge (r/\sqrt m)\sum _\xi |c_\xi |\), then
If \(\delta {\gt}0\) and \(\sum _\xi |c_\xi |\le S\), the stack length \(m=m(r,S,\delta )\) satisfies \(\lVert G'_m-B_m\rVert \le \delta \), \(\lVert (1+\delta )^{-1}G'_m\rVert \le 1\) and \(\lVert (1+\delta )^{-1}G'_m-B_m\rVert \le 2\delta \). This is the reduction to source-only gates in the proof of [ 148 , Theorem 5.2 ] .
Read along the identification of the configurations of \(B^m_L\) with \(B_P\) times the inventory, the preparation word \(\pi _L\) has the operator \(x\mapsto x\otimes \Gamma _m\), with \(\Gamma _m\) the ideal vector of \(\mathcal G_L\), and the term list of the replaced gate of \(\mathcal G_L\) is, term by term, the list of pairs \((c,\mathrm{op}(w))\) for the terms \((c,w)\) of the word list. When every monomial is allowed, every term of the term list, read on \(B^m_L\), is source-only. At a party \(s\in D\) that is no endpoint of a pair effect of any monomial of \(L\), the basis of \(B^m_L\) is \(B_s\), and at every party \(s\)
the inner product over the pair effects \(e\) of \(M_\xi \) [ 148 , Lemma 5.1 ] .
Read an allowed word, or an allowed monomial of local contractions, normalized pair sources and normalized pair effects, as an original circuit whose local contractions are private and whose pair sources and pair effects are gates on the cells of their two parties, each with the single monomial “this gate” of coefficient one. Let \(x\) and \(y\) be vectors with \(\lVert \operatorname {op}x-y\rVert \leq \varepsilon \) for the operator of the word or monomial.
An allowed word that uses only the parties of \(S\) and has at most one pair source is a bounded change from \(x\) to \(y\) with participants in \(S\), every \(r\), every \(K\geq 1\) and error \(\varepsilon \); these are the words of the births of Theorem 52.5.4.6.
An allowed word without pair sources is a bounded change from \(x\) to \(y\) for every \(S\), \(r\) and \(K\), with error \(\varepsilon \); these are the words of the exchanges of Theorem 52.5.5.5.
An allowed monomial that uses only the parties of \(S\) and has at most one gate is a bounded change from \(x\) to \(y\) with participants in \(S\), every \(r\geq 1\), every \(K\geq 1\) and error \(\varepsilon \); these are the chains of the deaths of Theorem 52.5.4.6.
Let \(w\) use only the parties of \(S\). The sources of \(w|_S\), moved along the inclusion of \(S\) in \(P\), are the sources of \(w\). If \(w\) is allowed, so is \(w|_S\).
Let \(p\neq q\), let \(\eta \in \mathbb {C}^{\alpha \times \beta }\), and let \(A_s\) be matrices from \(\mathbb {C}^{Y_s}\) to \(\mathbb {C}^{Y'_s}\). Local operations followed by the canonical source equal the canonical source followed by the same operations beside the fresh factors:
where \(T_{\mathrm{can},Y}\) is the operator of the canonical source of \(\eta \) on \(\{ p,q\} \) from \(Y\) to \(Y^{pq}_{\alpha \beta }\) [ 148 , Theorem 5.2 ] .
Fix an idle system \(W\) and \(\xi \in \mathcal H_W\).
If \(\mathbf F'\) is a permutation of \(\mathbf F\), then \(\mathbf F\), \(\mathbf F'\) have a source-bounded change, hence a bounded change, for every \(S\), \(r\), \(K\), \(r_s\) and \(\varepsilon \geq 0\); in particular every list has the identity change. A (source-)bounded change from \(\mathbf G\) to \(\mathbf F'\) is one from every permutation \(\mathbf F\) of \(\mathbf G\), and one from \(\mathbf F\) to \(\mathbf G\) is one from \(\mathbf F\) to every permutation \(\mathbf F'\) of \(\mathbf G\), with the same constants.
Let \(\lVert r_G\rVert \leq 1\) for every sheet \(G\) and \(\lVert \xi \rVert \leq 1\). If \(c\) is a bounded change of \(F\) into \(F'\) from \(r_F\) to \(r_{F'}\), then \(L_1(c)\) is a bounded change from \(\omega _{(\mathbf G,F,\mathbf H)}(\xi )\) to \(\omega _{(\mathbf G,F',\mathbf H)}(\xi )\) with the same participants, bounds and error, and a source-bounded one with constant \(r_s\) if \(c\) satisfies the pair-source bound \(r_s\). The same holds for \(L_2(c)\) when \(c\) is a bounded change of \(F_1,F_2\) into \(F_1',F_2'\) from \(r_{F_1}\otimes r_{F_2}\) to \(r_{F_1'}\otimes r_{F_2'}\).
Under the norm conditions of the second item, if \(\mathbf F\) is a permutation of \((\mathbf G,F_1,F_2,\mathbf H)\), for instance with an idle auxiliary sheet \(F_2\) moved next to the main sheet \(F_1\), a bounded change of the two adjacent sheets as in the second item gives a (source-)bounded change from \(\mathbf F\) to \((\mathbf G,F_1',F_2',\mathbf H)\); likewise, if \(\mathbf F\) is a permutation of \((\mathbf G,F,\mathbf H)\), a bounded change of \(F\) gives one from \(\mathbf F\) to \((\mathbf G,F',\mathbf H)\).
- QuantumCircuit.Party.hasSourceBoundedChange_of_perm
- QuantumCircuit.Party.hasBoundedChange_of_perm
- QuantumCircuit.Party.hasSourceBoundedChange_refl
- QuantumCircuit.Party.hasBoundedChange_refl
- QuantumCircuit.Party.HasSourceBoundedChange.perm_left
- QuantumCircuit.Party.HasBoundedChange.perm_left
- QuantumCircuit.Party.HasSourceBoundedChange.perm_right
- QuantumCircuit.Party.HasBoundedChange.perm_right
- QuantumCircuit.Party.isBoundedChange_liftOne
- QuantumCircuit.Party.hasBoundedChange_liftOne
- QuantumCircuit.Party.hasSourceBoundedChange_liftOne
- QuantumCircuit.Party.isBoundedChange_liftTwo
- QuantumCircuit.Party.hasBoundedChange_liftTwo
- QuantumCircuit.Party.hasSourceBoundedChange_liftTwo
- QuantumCircuit.Party.hasBoundedChange_activate
- QuantumCircuit.Party.hasSourceBoundedChange_activate
- QuantumCircuit.Party.hasBoundedChange_perm_liftOne
- QuantumCircuit.Party.hasSourceBoundedChange_perm_liftOne
Let \(h:\kappa \to \mathcal P\) assign a holder to every sheet, and let \(\mathbf F\) be a list of sheets such that \(X^F_p\) is a single point for every \(F\) in \(\mathbf F\) and every \(p\neq h(F)\).
A configuration \(z\) of \(X^F\) is determined by \(z_{h(F)}\). The factor of \(F\) at the party \(p\) is the vector \(\pi _{F,p}\) on \(X^F_p\) with \(\pi _{F,p}(a)=\sum _{z:z_p=a}r_F(z)\) if \(p=h(F)\) and \(\pi _{F,p}=1\) otherwise; then \(\prod _p\pi _{F,p}(z_p)=r_F(z)\), and \(\lVert \pi _{F,p}\rVert \) is \(\lVert r_F\rVert \) for \(p=h(F)\) and \(1\) otherwise.
There are vectors \(\varphi _p\) on \(\mathrm{St}(\mathbf F;W)_p\), with \(W\) the system of one basis vector at every party, such that \(\lVert \varphi _p\rVert =\prod _{F\in \mathbf F,\, h(F)=p}\lVert r_F\rVert \) and the product vector \(\bigotimes _p\varphi _p\) is \(\omega _{\mathbf F}\).
If moreover \(\lVert r_F\rVert =1\) for every \(F\) in \(\mathbf F\), there is an original circuit without nonprivate gate from the system of one basis vector at every party to \(\mathrm{St}(\mathbf F;W)\) whose operator maps that basis vector to \(\omega _{\mathbf F}\).
For a list of ownership sheets \(S\) each owned entirely by \(h(S)\), a unit vector \(\Omega \in \mathbb {C}^{[q]^\Lambda }\) and \(r_S=\Omega _S\), the second item holds with \(\lVert \varphi _p\rVert =1\) for every party, and the third item holds.
So the initial memory of [ 148 , Proposition 7.1 ] , every copy of \(\Omega \) initialized privately at its future owner, is a pure product across the parties, prepared without nonprivate gates.
- QuantumCircuit.Party.partyFactor
- QuantumCircuit.Party.eq_of_apply_holder_eq
- QuantumCircuit.Party.prod_partyFactor
- QuantumCircuit.Party.norm_partyFactor
- QuantumCircuit.Party.exists_productVector_eq_framesVec
- QuantumCircuit.Party.Sheet.exists_productVector_eq_framesVec
- QuantumCircuit.Party.exists_originalCircuit_framesVec
- QuantumCircuit.Party.Sheet.exists_originalCircuit_framesVec
Let \(\lVert r_G\rVert \leq 1\) for every sheet \(G\) and \(\lVert \xi \rVert \leq 1\). For an original circuit \(c\) from \(X^F\) to \(X^{F'}\),
and for an original circuit \(c\) from \(X^{F_1}\times X^{F_2}\) to \(X^{F_1'}\times X^{F_2'}\) the lift \(L_2(c)\) moves \(\omega _{(\mathbf G,F_1,F_2,\mathbf H)}(\xi )\) to within \(\lVert \operatorname {op}(c)(r_{F_1}\otimes r_{F_2})-r_{F_1'}\otimes r_{F_2'}\rVert \) of \(\omega _{(\mathbf G,F_1',F_2',\mathbf H)}(\xi )\) [ 148 , Proposition 7.1 ] .
At a party \(s\) that is no endpoint of an occurrence of \(E\), the stacked system \(T^m_E\) has the basis \(T_s\). At every party \(s\),
where \([s=p]\) is \(1\) if \(s=p\) and \(0\) otherwise [ 148 , Lemma 5.1 ] .
If the list \(\mathbf F'\) is a permutation of the list \(\mathbf F\), there are bijections \(e_p:\mathrm{St}(\mathbf F';W)_p\to \mathrm{St}(\mathbf F;W)_p\) such that the relabelling along \(e\) maps \(\omega _{\mathbf F}(\xi )\) to \(\omega _{\mathbf F'}(\xi )\) for every \(\xi \in \mathcal H_W\). Moreover, for a map \(a\) on a set of indices, an element \(x\) of a list \(l\) of indices, and values \(m\) and \(f\), the list \((m,a(l))\) is a permutation of \((a(x),m,a(l\setminus x))\), where \(l\setminus x\) is \(l\) with one occurrence of \(x\) removed; if \(l\) has no repetition and \(a'\) is \(a\) with the value at \(x\) replaced by \(f\), then \((m,a'(l))\) is a permutation of \((f,m,a(l\setminus x))\).
The empty word, compositions of allowed words, contractions at one party and at every party, and relabellings are allowed words. One pair source with a normalized vector, in particular the canonical source of a unit vector, is allowed. The local preparation and the local bra of a unit vector are allowed, and so is the preparation of a product of unit vectors. An allowed word read as a monomial is an allowed monomial.
- QuantumCircuit.Party.Word.isAllowed_done
- QuantumCircuit.Party.Word.IsAllowed.comp
- QuantumCircuit.Party.Word.isAllowed_localOp
- QuantumCircuit.Party.Word.isAllowed_localOps
- QuantumCircuit.Party.Word.isAllowed_source
- QuantumCircuit.Party.Word.isAllowed_localPrepare
- QuantumCircuit.Party.Word.isAllowed_localDiscard
- QuantumCircuit.Party.Word.isAllowed_relabel
- QuantumCircuit.Party.Word.isAllowed_sourceAt
- QuantumCircuit.Party.Word.isAllowed_prepareProduct
- QuantumCircuit.Party.Word.IsAllowed.toChain
The operator of a composition of words is \(T_{w'\circ w}=T_{w'}T_w\). The operator of one pair source is the preparation of its vector with the output read in canonical form (Theorem 52.1.5.3); for the canonical source on \(p\neq q\) it is \(J_e(\eta )\) along the bijection \(e\) of configurations of \(X^{pq}_{\alpha \beta }\), which maps \(|x\rangle \) to \(\eta \otimes |x\rangle \), and every pair source is the canonical source of its datum followed by the relabelling of its output into canonical form:
where \(T_{\mathrm{can}}\) is the operator of the canonical source of the datum of \(g\) from \(X\) to \(X^{lr}_{\alpha \beta }\) and \(R\) is the relabelling along the reading of the output of \(g\) in canonical form. The local preparation of \(v\) at \(p\) has the operator \(J_e(v)\otimes 1\), the placement on \(\{ p\} \), which is the preparation \(J_{\hat e}(v)\) along the bijection \(\hat e\colon Y_P\to \alpha \times X_P\) that splits off the factor \(\alpha \) at \(p\) (Definition 34.4.2). The local bra of \(v\) at \(p\) has the operator \(\langle v|\otimes 1\) with its columns read along the corresponding bijection \(X_P\to \alpha \times Y_P\). The product preparation maps the unique basis vector to \(\bigotimes _p\phi _p\). A word read as a monomial has the operator of the word.
- QuantumCircuit.Party.Word.op_comp
- QuantumCircuit.Party.Word.op_source
- QuantumCircuit.Party.Word.op_sourceAt
- QuantumCircuit.Party.Word.op_source_eq_op_relabel_mul
- QuantumCircuit.Party.Word.op_localPrepare
- QuantumCircuit.Party.Word.op_localPrepare_eq_prepMatrix
- QuantumCircuit.Party.Word.op_localDiscard
- QuantumCircuit.Party.Word.op_prepareProduct_mulVec
- QuantumCircuit.Party.Word.op_toChain
For every word \(w\), the number of gates and the gate count are both the source count, since no pair source is private; the gates of \(w\) read as a monomial are its pair sources. The source list of an allowed word is normalized. A relabelling that is the identification of equal bases outside \(R\) uses only the parties of \(R\), and every source of a word using only the parties of \(R\) joins two parties of \(R\).
- QuantumCircuit.Party.Word.numGates_eq_sourceCount
- QuantumCircuit.Party.Word.forallGate_card_ne_one
- QuantumCircuit.Party.Word.gateCount_eq_sourceCount
- QuantumCircuit.Party.Word.isNormalized_sources
- QuantumCircuit.Party.Word.usesOnly_relabel
- QuantumCircuit.Party.Word.UsesOnly.mem_sources
- QuantumCircuit.Party.Word.gates_toChain
The map \(T_m\) satisfies \(\| T_m\| \le 1\) and \(T_m\eta =\eta ^{\otimes m}\).
For every \(v\perp \eta \), \(\| T_mv\| =\| v\| /\sqrt m\). Hence \(\| T_m-P_m\| \le m^{-1/2}\) (with equality if \(\{ \eta \} ^\perp \neq \{ 0\} \) and \(T_m=P_m\) if \(\{ \eta \} ^\perp =\{ 0\} \)), and \(\| (T_m-P_m)\otimes \mathbf1_{\mathcal S}\| \le m^{-1/2}\) for any spectator space \(\mathcal S\).
For matrices \(m_v\) from \(\mathbb {C}^{Y_v}\) to \(\mathbb {C}^{X_v}\), the product operator \(\bigotimes _{v\in V}m_v\), read on the blocked systems, is the product over the blocks \(b\) of the product operators \(\bigotimes _{v\in f^{-1}(b)}m_v\).
The algebra \(\mathcal A_D\) is the linear span of the product operators \(\bigotimes _{v\in V}m_v\) with \(m_v=1\) for every \(v\notin D\). Product operators multiply sitewise, \((\bigotimes _vm_v)^*=\bigotimes _vm_v^*\), a product of unitaries is unitary, and \(\operatorname {tr}\bigotimes _vm_v=\prod _v\operatorname {tr}m_v\). The product of the basis inclusions along injections \(e_v\) is the basis inclusion along the product injection \((x_v)_v\mapsto (e_v(x_v))_v\).
Let \(A\subseteq B\) be regions. A configuration has coordinates \(((x,y),z)\), with \(x\) its part on \(A\), \(y\) its part on \(B\setminus A\) and \(z\) its part on \(B^{\mathrm c}\); these refine the cut coordinates for \(B\mid B^{\mathrm c}\). In them, an operator supported inside \(B\) is \(M\otimes 1\) for a matrix \(M\) on the first two parts, and an operator supported outside \(A\) is \(1\otimes K\) for a matrix \(K\) on the last two.