- 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
In the setting of Lemma 98.4.11, if \(\| G\| \le 1\), \(\delta {\gt}0\), \(S\ge \sum _\xi |c_\xi |\), and \(m=\lceil (rS/\delta )^2\rceil +1\), then \(\| \widetilde G_m-G\otimes |\Gamma _m\rangle \| \le \delta \), \(\| \widetilde G_m\| \le 1+\delta \), and \(\widetilde G_m/(1+\delta )\) is a contraction satisfying
For a finite set \(S\) of source positions, set \(A_S=\bigcup _{e\in S}E_e\).
Set \(\mathcal L=\bigcup _{g\in G}\mathcal L_g=\{ (g,t):g\in G,\ t\in T(P_g,r_g)\} \).
For chosen roots \(r_g\), set \(\mathcal L_g=\{ (g,t):t\in T(P_g,r_g)\} \).
For a finite set \(G\) of nonprivate gate occurrences \(g\) with finite participant sets \(P_g\), set \(G(p)=\{ g\in G:p\in P_g\} \).
The finite virtual alphabet of \(\ell \in \mathcal L\) is \(D_\ell :=\Lambda _g\) for \(\ell =(g,\mathrm{star},q)\) and \(D_\ell :=J_k\) for \(\ell =(g,\mathrm{sample},s)\).
By Lemmas 98.3.19 and 98.3.20, the map \((\kappa ,j)\mapsto (\eta (\kappa ,j),(\kappa _p)_{p\in P})\) is a bijection from \((\prod _{g\in G}\Lambda _g)\times J_k^S\) onto the set of globally consistent configurations, with inverse given by Definition 98.3.18.
For \(g\in G\) and \(q\in P_g\setminus \{ r_g\} \), the star edge is \(\ell _{\mathrm{star}}(g,q):=(g,\mathrm{star},q)\in \mathcal L\). For \(s=(g,\{ p,q\} )\in S\), the sample edge is \(\ell _{\mathrm{sample}}(s):=(g,\mathrm{sample},\{ p,q\} )\in \mathcal L\).
Given endpoint label pairs \((\eta _\ell ^-,\eta _\ell ^+)\in D_\ell ^2\) for \(\ell \in \mathcal L\), the endpoint reader at \(p\in P\) assigns to \(\ell \in I_p\) the label \(\eta _\ell ^-\) if \(u_\ell =p\) and \(\eta _\ell ^+\) otherwise.
Each \(\ell \in \mathcal L\) has oriented endpoints \((u_\ell ,v_\ell )\) given by \((r_g,q)\) for \(\ell =(g,\mathrm{star},q)\) and by a fixed ordering \((s^-,s^+)\) of \(\{ p,q\} \) for \(\ell =(g,\mathrm{sample},\{ p,q\} )\), so \(\{ u_\ell ,v_\ell \} \) is the endpoint set of \(\ell \).
Following [ 361 , proof of Theorem 5.2 and Lemma 8.2 ] , given the links and finite alphabets \(A_e\) of Definition 98.3.27, bijections \(\vartheta _e:A_e\to [|A_e|]\) (\([m]=\{ 0,\ldots ,m-1\} \)), \(q\in \mathbb N\), and physical readouts \(u_p:[q]\to X_p\), \(v_p:[q]\to Y_p\), the enumerated network has virtual dimensions \(|A_e|\) and local tensors (with \((s,t)\in [q]^2\simeq [q^2]\))
Global and party-local gate assignments are elements \(\kappa \in \prod _{g\in G}\Lambda _g\) and \(\xi _p\in \prod _{g\in G_p}\Lambda _g\), with restriction \(\kappa _p:=\kappa |_{G_p}\).
For \(p\in P\), let \(I_p:=\{ \ell \in \mathcal L:p\in \{ u_\ell ,v_\ell \} \} \). Then \(r_g\in P_g\) gives \(g\in G_{r_g}\), \((g,\mathrm{star},q)\in I_p\) whenever \(p\in \{ r_g,q\} \) (with \(g\in G_p\)), and \(s\in S_p\) gives \(\ell _{\mathrm{sample}}(s)\in I_p\).
Global and party-local virtual assignments are elements \(\eta \in \prod _{\ell \in \mathcal L}D_\ell \) and \(\eta _p\in \prod _{\ell \in I_p}D_\ell \), with restriction \(\eta _p:=\eta |_{I_p}\).
The tagged link family is the disjoint union
Given matrices \(T_p(\xi _p,j_p)\in \mathbb C^{X_p\times Y_p}\), define the local tensor at \(p\in P\) by
From a globally consistent configuration \((\eta ,(\xi _p)_{p\in P})\), recover \(\kappa _g:=\xi _{r_g}(g)\) for \(g\in G\) and \(j_s:=\eta _{(g,\mathrm{sample},s)}\) for \(s\in S\).
A global sample assignment \(j\in J_k^S\) restricts to \(j_p:=j|_{S_p}\in J_k^{S_p}\), and any \(\eta _p\in \prod _{\ell \in I_p}D_\ell \) induces \(j(\eta _p)\in J_k^{S_p}\) via \(j(\eta _p)_s:=\eta _p(g,\mathrm{sample},s)\) for \(s\in S_p\).
The pair-sample position set and its party restrictions are
For \(\kappa \in \prod _{g\in G}\Lambda _g\) and \(j\in J_k^S\), define \(\eta (\kappa ,j)\in \prod _{\ell \in \mathcal L}D_\ell \) by
For a finite party set \(P\), set \(U(P)=\{ \{ p,q\} :p,q\in P,\ p\ne q\} \).
For finite \(\Xi _g\), weights \(a_{g,\xi }\ge 0\), and dimensions \(n_p\in \mathbb N\), define
For source positions \(e\) with ordered party pairs \((a_e,b_e)\), set \(E_e=\{ a_e,b_e\} \).
For a finite party set \(A\), set \(\Gamma (A)=\bigcup _{p\in A}G(p)=\{ g\in G:P_g\cap A\ne \varnothing \} \).
For square matrices \(A_n\) indexed by \(n=0,\ldots ,N-1\), possibly with different index types, their finite Kronecker product is the matrix with entries
At each party \(p\), let the output consist of the physical register \(\mathbb {C}^{d_p}\) followed by a private register with basis labels \(V_p\), so that the output configurations are \(\prod _{p\in P}([d_p]\times V_p)\), and write \(\mathcal V=\prod _{p\in P}V_p\). Define the coordinate isometry \(R:\mathbb {C}^{\prod _p([d_p]\times V_p)}\to \mathbb {C}^{\mathcal X\times \mathcal V}\) and, for finite \(A\subseteq P\) under the restriction bijection \(\mathcal X\simeq \mathcal X_A\times \mathcal X_{P\setminus A}\) (\(s\sqcup t\leftrightarrow (s,t)\)), the regional coordinate isometry \(R_A:\mathbb {C}^{\prod _p([d_p]\times V_p)}\to \mathbb {C}^{\mathcal X_A\times (\mathcal X_{P\setminus A}\times \mathcal V)}\) by
For finite \(A\subseteq P\), the physical configurations of \(A\) are \(\mathcal X_A:=\prod _{p\in A}[d_p]\) (with \(d_p=d\) in the constant-dimension case). They index the standard orthonormal basis of the physical space \(\bigotimes _{p\in A}\mathbb {C}^{d_p}\) of \(A\).
For a finite index set \(\Xi \) and complex inner product spaces \(U_\xi \) in [ 361 , proof of Theorem 5.2 ] (04-compression.tex, lines 253–267), define the orthogonal sum \(\widehat U=\bigoplus _{\xi \in \Xi }U_\xi \) with norm \(\| (u_\xi )_{\xi \in \Xi }\| ^2=\sum _{\xi \in \Xi }\| u_\xi \| ^2\), coordinate inclusions \(j_\xi :U_\xi \to \widehat U\), and coordinate projections \(\pi _\xi :\widehat U\to U_\xi \).
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
This is [ 321 , “Cyclic insertion map” ] .
Let \(A_v(\eta ,s)\) be the coefficient of a tensor with virtual configuration \(\eta \in \mathcal X_v\) and physical index \(s\in Y_v\). For matrices \(B_e\in \operatorname {Mat}_{X_e}(\mathbb {C})\) define \(w_B(\beta )=\prod _e B_e(\beta _{e,+},\beta _{e,-})\) and
Thus every matrix has its head index as row and tail index as column. The second expression is the change of coordinates by \(R\).
For finite input alphabets \(J_v\), arbitrary output alphabets \(K_v\), and matrices \(F_v: \mathbb {C}^{J_v}\to \mathbb {C}^{K_v}\), put \((\bigotimes _v F_v)_{\tau ,\sigma }=\prod _v F_v(\tau _v,\sigma _v)\). The associated linear map \(\mathcal F\) satisfies
A monomial with \(n\) recorded pair effects is a composition
where \(F_i\) outputs \(\mathcal W_{i+1}\otimes \mathcal S_{i+1}\) and \(E_i=\langle \eta _i|\otimes \mathbf1_{\mathcal S_i}\) contracts \(\mathcal W_i\). It is allowed if \(\| F_i\| \le 1\) and \(\| \eta _i\| =1\) for all \(i\).
For local dimensions \(d_p\in \mathbb {N}\), let \(H_p=\mathbb {C}^{d_p}\) have standard orthonormal basis \((e_{p,j})_{j=0}^{d_p-1}\). The physical register list has register \(H_{p_i}\) owned by \(p_i\) at position \(i\), with labelled basis columns
and may be followed by a private register list.
Let \((V,E)\) be a finite graph whose edges \(e\in E\) have endpoints \(t(e),h(e)\in V\) and finite index sets \(D_e\), and let each \(v\in V\) carry a tensor \(A_v\) with one leg per incident edge and open-leg configuration set \(P_v\), with Euclidean norm \(\lVert A_v\rVert \). The coordinate contraction is
where \(\beta \) runs over all edge labellings and \(\beta |_v\) restricts \(\beta \) to edges incident to \(v\).
For \(q\in Q\) and \(\eta \in U\otimes V\), prepare two fresh registers \(U,V\) at owner \(q\) by tensoring the local map \(\mathbb {C}\to U\otimes (V\otimes \mathbb {C})\), \(c\mapsto \eta \otimes c\) (under standard associativity) with the identity on all spectator registers.
The joint source vector is the multilinear map \(\Phi :\prod _e(U_e\otimes V_e)\to \mathcal S\) defined recursively by \(\Phi _{\varnothing }=1\in \mathbb {C}\) and \(\Phi _{e::E}(\eta )=\eta _e\otimes \Phi _E(\eta |_E)\), with \(\eta _e\) separated into its two registers.
For a directed-multigraph network (Definition 71.9.7.3) with virtual alphabets \(X_e\), bond matrices \(B_e\), and output-input physical pairs \((s_v,r_v)\) defining the operator \(\sigma =(\sigma _{\tau \rho })\), the fixed-input network at input configuration \(z\) replaces each vertex tensor \(A_v\) by \(A_{v,z}(\eta ,s):=A_v(\eta ,(s,z_v))\) on the same multigraph, alphabets \(X_e\), and bond matrices \(B_e\), so its contraction is \(\tau \mapsto \sigma _{\tau z}=(\sigma |z\rangle )_\tau \).
An original circuit is an ordered composition of private single-party contractions and \(N\) nonprivate contractions \(G_j=\sum _\xi c_{j,\xi }M_{j,\xi }\), where each \(M_{j,\xi }\) is an allowed monomial on a specified participating party set (with outside registers as spectators) containing at most \(r\) pair effects, and \(\sum _\xi |c_{j,\xi }|\le S\).
- QuantumCircuit.Party.OriginalCircuit.isAllowed_toEffectCircuit
- QuantumCircuit.Party.OriginalCircuit.isExpansionBounded_toEffectCircuit_iff
- QuantumCircuit.Party.OriginalCircuit.nonprivateLocations
- QuantumCircuit.Party.OriginalCircuit.participants_toEffectCircuitLocationsEquiv
- QuantumCircuit.Party.OriginalCircuit.toEffectCircuit
- QuantumCircuit.Party.OriginalCircuit.toEffectCircuitLocationsEquiv
- QuantumCircuit.Party.OriginalCircuit
- QuantumCircuit.Party.OriginalCircuit.nonprivateCount
- QuantumCircuit.Party.OriginalCircuit.IsExpansionBounded
For a composition \(F:\mathcal H_\ell \to \mathcal H_{\ell '}\), define \(F^f:\mathcal H_{\ell ^f}\to \mathcal H_{(\ell ')^f}\) in the same chronological order by replacing each local map \(A:\mathcal H_a\to \mathcal H_b\) with \(R_{f,b}AR_{f,a}^{-1}\), retaining exchanges and untouched registers on their original spaces, keeping each pair source \((p,q;U,V;\eta )\) with \(f(p)\ne f(q)\) as \((f(p),f(q);U,V;\eta )\), and replacing each pair source with \(f(p)=f(q)\) by the internal preparation of Definition 98.6.5.
For a register list \(\ell =((p_1,H_1),\ldots ,(p_n,H_n))\) (with no injectivity or finiteness assumption on \(f,P,Q\)), put \(\ell ^f=((f(p_1),H_1),\ldots ,(f(p_n),H_n))\), preserving empty lists and concatenation. The owner-relabelling isometry \(R_{f,\ell }:\mathcal H_\ell \to \mathcal H_{\ell ^f}\) acts as \(\mathbb {1}_{\mathbb {C}}\) on the empty list and satisfies
A source \(s=(p,q;U,V;\eta )\) remains between distinct owners iff \(f(p)\ne f(q)\), with new record \((f(p),f(q);U,V;\eta )\). For an ordered source list \(S\), let \(S_f\) be the sublist of surviving records in their original order, preserving the empty list and concatenation.
A register is a Hilbert space paired with an owner party, and the memory of a finite register list is the tensor product of its spaces. A source-only composition is a sequence of single-party local maps, pair-source preparations \(\eta \in \mathcal U\otimes \mathcal V\) on distinct parties \(p\ne q\), and register permutations; it is allowed if all local maps are contractions and all prepared pair vectors are unit vectors.
An allowed monomial on parties is an effect chain (Definition 98.4.7) whose segments \(F_i\) are allowed source-only compositions (Definition 98.4.13) and whose pair effects \(E_i=\langle \eta _i|\otimes \mathbf1\) contract registers \(\mathbb C^\alpha \) at \(p\) and \(\mathbb C^\beta \) at \(q\ne p\) with unit vectors \(\eta _i\in \mathbb C^\alpha \otimes \mathbb C^\beta \), as in [ 361 , Section 5.1 ] , lines 32–35.
A party network with physical dimension \(d\) consists of finite sets \(P\) of parties and \(\mathcal L\) of links, a dimension \(D_\ell \) and two endpoint parties for each \(\ell \in \mathcal L\), and for each \(p\in P\) a tensor \(T_p\) indexed by one label in \(\{ 1,\dots ,D_\ell \} \) for each incident link \(\ell \) and one physical index in \(\{ 1,\dots ,d\} \). When \(p\) is placed at a site \(\iota (p)\) of a finite simple graph \(G\), the coefficient at \(\sigma \in \{ 1,\dots ,d\} ^{V(G)}\) is \(\sum _\alpha \prod _{p\in P} T_p(\alpha |_{\partial p},\sigma (\iota (p)))\) over all link labellings \(\alpha \in \prod _{\ell \in \mathcal L}\{ 1,\dots ,D_\ell \} \). A routing of the network through \(G\) assigns to each \(\ell \in \mathcal L\) a walk in \(G\) between the sites of its two endpoints.
For any party subset \(A\), associativity, tensor-factor exchanges, and unit identifications with \(\mathbb C\) define an order-preserving unitary
For distinct parties \(p_1,\ldots ,p_s\) containing all owners in \(\ell \), iterating (21) defines the grouping unitary \(U_\ell :\mathcal H_\ell \to \bigotimes _{j=1}^s\mathcal H_{\ell ,p_j}\).
For an ordered register list \(\ell \) and party \(p\), let \(\ell _p\) be the sublist of registers owned by \(p\) in their original order, with memory \(\mathcal H_{\ell ,p}\) (\(\mathbb C\) when \(\ell _p=\emptyset \)). Distinct parties \(p_1,\ldots ,p_s\) define the grouped memory \(\bigotimes _{j=1}^s\mathcal H_{\ell ,p_j}\), on which party-local maps act by ordered tensor product (\(\operatorname {id}_{\mathbb C}\) for \(s=0\)). In [ 361 , Theorem 5.2 ] (04-compression.tex, lines 233–251), the party set of a composition includes all register owners and all parties assigned to local operations (including scalar maps \(\mathbb C\to \mathbb C\)).
For an evaluated word \(V:H\to K\), a linear isometric equivalence \(J:K\simeq \mathbb {C}^X\otimes D\), and \(x\in X\), define
with matrix \(A_{x,V}\) in finite orthonormal bases of \(H\) and \(D\). When \(K\) consists of physical registers followed by discarded registers, the standard identification \(J\) maps \(s\otimes t\mapsto [s]_{\rm phys}\otimes t\).
If \(R\) is the constructed source-only replacement, with output space \(\bigotimes _p(\mathcal A_p\otimes \mathcal Y_p)=\mathcal A\otimes \mathcal Y\), the extended readout \(K\otimes \operatorname{id}_{\mathcal A}\) maps it to \(\mathcal H\otimes (\mathcal E\otimes \mathcal A)\), and
For an input \(\psi \), the physical state of the replacement is the partial trace over \(\mathcal E\otimes \mathcal A\) of \(|R_{\rm phys}\psi \rangle \langle R_{\rm phys}\psi |\).
For possibly nonorthogonal or nonspanning families \(u_{e,r}\in U_e\), \(v_{e,s}\in V_e\) on a ket branch \(T\) and \(\widetilde u_{e,r}\in U_e\), \(\widetilde v_{e,s}\in V_e\) on a bra branch \(T'\) (with possibly distinct index sets), write \(K_T(a)=K_T((u_{e,a_e^{(1)}}\otimes v_{e,a_e^{(2)}})_e)\) and \(K_{T'}(b)=K_{T'}((\widetilde u_{e,b_e^{(1)}}\otimes \widetilde v_{e,b_e^{(2)}})_e)\), and for any complex input matrix \(\rho \) define
Let \(T:\mathcal S\otimes \mathcal H_{\rm in}\to \mathcal H_{\rm out}\) be the operator of a source-only composition as in Definition 98.4.13, without normalization or contraction bounds. In fixed finite orthonormal bases \((f_j)\) of \(\mathcal H_{\rm in}\) and \((g_i)\) of \(\mathcal H_{\rm out}\), define the prepared branch matrix by
with no finite-dimensionality assumption on the private spaces.
For an ordered register list with spaces \(H_1,\ldots ,H_n\) (or one private memory per party) and unit vectors \(x_j\in H_j\), set \(x=x_1\otimes \cdots \otimes x_n\) (\(1\) for \(n=0\)) and define the preparation isometry \(\mathbb {C}\to \bigotimes _{j=1}^n H_j\), \(z\mapsto zx\). Restricting to owners in \(A\) splits \(x\) into unit vectors \(x_A\otimes x_{A^c}\), and owner relabelings preserve \(x\) under the induced memory identification.
Assign each effect \(E_i\) of \(M\) its own output stack \(\mathcal W_i^{\otimes m}\) with ideal content \(\eta _{(M)}=\bigotimes _i\eta _i^{\otimes m}\). The replaced monomial \(\widetilde M_m\) substitutes \(T_m\) for each \(E_i\), with individual insertion terms \(\widetilde M_{m,\kappa }\) weighted by \(m^{-n}\) for \(\kappa \in \{ 0,\dots ,m-1\} ^n\). For \(G=\sum _\xi c_\xi M_\xi \), let \(\Gamma _m=\bigotimes _\xi \eta _{(M_\xi )}\) on the joint stack space, and define \(\widetilde G_m\) by summing \(c_\xi \widetilde M_{\xi ,m}\) tensored with \(\bigotimes _{\zeta \neq \xi }|\eta _{(M_\zeta )}\rangle \).
- QuantumCircuit.Party.EffectChain.stackVector
- QuantumCircuit.Party.EffectChain.replace
- QuantumCircuit.Party.EffectChain.replaceTerm
- QuantumCircuit.Party.GateExpansion
- QuantumCircuit.Party.GateExpansion.gate
- QuantumCircuit.Party.GateExpansion.inventory
- QuantumCircuit.Party.GateExpansion.inventoryVector
- QuantumCircuit.Party.GateExpansion.replaceGate
- QuantumCircuit.Party.GateExpansion.termList
For \(d:P\to \mathbb N\), let \(Q=P\sqcup \{ *\} \) with the inclusion \(\iota :P\to Q\) of the all-party selection in [ 361 , proof of Theorem 5.2 ] . Grouping the parties along \(\iota \), the block of \(\iota (p)\) consists of \(p\) alone and the exterior block \(*\) is empty. Accordingly, set \(X_*:=\{ \bullet \} \) and \(X_{\iota (p)}:=\{ 0,\ldots ,d(p)-1\} \), the physical configurations of the block \(q\in Q\).
Let the output configurations at each party \(p\) be split by a bijection \(\epsilon _p\) into a physical coordinate in \(X_{\iota (p)}\) and a private coordinate in a finite set \(F_p\), and set \(F_*:=\{ \bullet \} \) and \(F_{\iota (p)}:=F_p\). At each \(q\in Q\), define the local readout \(C_q\) from the output configurations of the block \(q\) to \(X_q\times F_q\): for \(q=\iota (p)\) and a configuration \(z\) of \(p\),
and \(C_*\) is the \(1\times 1\) matrix \(1\).
A source list \(G\) expands to \(S\) if for every spectator memory \(\mathcal H\) there exists an allowed source-free composition \(E\) with \(E\circ P_{G,\mathcal H}=P_{S,\mathcal H}\). The unordered pair of a source on \((p,q)\) is \(\{ p,q\} \), and its reversal swaps \((p,q)\mapsto (q,p)\) via the swap unitary \(\mathcal U\otimes \mathcal V\to \mathcal V\otimes \mathcal U\), preserving \(\{ p,q\} \) and the vector norm.
A pair source consists of distinct parties \(p,q\), spaces \(\mathcal U,\mathcal V\) owned by \(p,q\), and a vector \(\eta \in \mathcal U\otimes \mathcal V\). A finite list \(S=(s_1,\ldots ,s_m)\) of pair sources (recording each occurrence in a composition separately, as in [ 361 , proof of Theorem 5.2 ] , 04-compression.tex, lines 233–251) has memory \(\mathcal H_S\), is normalized if \(\| \eta _j\| =1\) for all \(j\), and defines the preparation map
- QuantumCircuit.Party.PairSource
- QuantumCircuit.Party.pairFactor
- QuantumCircuit.Party.SourceInventory
- QuantumCircuit.Party.SourceInventory.system
- QuantumCircuit.Party.SourceInventory.IsNormalized
- QuantumCircuit.Party.SourceInventory.prepare
- QuantumCircuit.Party.SourceInventory.vector
- QuantumCircuit.Party.SourceInventory.system_nil
- QuantumCircuit.Party.SourceInventory.system_cons
- QuantumCircuit.Party.SourceInventory.system_append
- QuantumCircuit.Party.SourceInventory.isAllowed_prepare_iff
- QuantumCircuit.Party.SourceInventory.isNormalized_cons
- QuantumCircuit.Party.Word.sources
- QuantumCircuit.Party.SourceInventory.sources_prepare
A source-only operation is a composition of local contractions, register permutations, and normalized pair-source preparations \(y\mapsto x\otimes y\) (\(\| x\| =1\)). For an operation \(T\) and spectator memory \(R\), retaining \(R\) acts as \(I_R\otimes T\), block exchange acts as \(r\otimes s\otimes y\mapsto s\otimes r\otimes y\), and equal register lists are identified isometrically; none of these adds nonprivate gates.
- QuantumCircuit.Party.EffectCircuit
- QuantumCircuit.Party.SourceCircuit.op_frame
- QuantumCircuit.Party.SourceCircuit.op_ofLocalWord
- QuantumCircuit.Party.SourceCircuit.frame
- QuantumCircuit.Party.PartyCircuit.isAllowed_frame
- QuantumCircuit.Party.SourceCircuit.isAllowed_ofLocalWord
- QuantumCircuit.Party.SourceCircuit.ofLocalWord
- QuantumCircuit.Party.SourceInventory.norm_vector
- QuantumCircuit.Party.WeightedGate.exists_prepared_effectReplacement
Following [ 361 , proof of Theorem 5.2 ] (04-compression.tex, lines 253–267), an ordered list of distinct party pairs \((p_e,q_e)\) (\(p_e\ne q_e\)) with complex inner product halfspaces \(U_e,V_e\) and vectors \(\eta _e\in U_e\otimes V_e\) defines an ordered source list (normalized when \(\| \eta _e\| =1\) for all \(e\)). For any original memory \(\mathcal H\), its slot preparation map \(Q_{\eta ,\mathcal H}\) satisfies \(Q_{\eta ,\mathcal H}x=(\bigotimes _e\eta _e)\otimes x\).
- QuantumCircuit.Party.SourceInventory.ofSlots
- QuantumCircuit.Party.SourceInventory.ofSlots_nil
- QuantumCircuit.Party.SourceInventory.ofSlots_cons
- QuantumCircuit.Party.SourceInventory.isNormalized_ofSlots
- QuantumCircuit.Party.SourceInventory.system_ofSlots_eq
- QuantumCircuit.Party.SourceInventory.partyPairs_ofSlots
- QuantumCircuit.Party.SourceInventory.slotSystem
- QuantumCircuit.Party.SourceInventory.prepareSlots
For distinct parties \(p,q\), the trivial pair source has the complex line at each endpoint and vector \(1\otimes 1\in \mathbb C\otimes \mathbb C\). Both endpoint spaces have dimension one, and the source vector is normalized. This is the one-dimensional source assigned to an unused pair in [ 361 , proof of Theorem 5.2 ] , 04-compression.tex, lines 242–246.
For local vectors \(|\phi ^s\rangle =\sum _{i}a^{i,[s]}|i\rangle \in \mathbb {C}^d\), \(s=1,\ldots ,N\), the product vector \(|\psi \rangle =|\phi ^1\rangle \otimes \cdots \otimes |\phi ^N\rangle \) has coefficient \(a^{i_1,[1]}\cdots a^{i_N,[N]}\) on \(|i_1,\ldots ,i_N\rangle \). Its tensor has bond dimension \(D=1\): at site \(s\) the matrix of physical index \(i\) is the \(1\times 1\) matrix \(a^{i,[s]}\). The product vector \(\bigotimes _{s\in I}|\phi ^s\rangle \) is defined in the same way for any finite set of sites \(I\).
Let \(E_k:H_k\to \bigoplus _lH_l\) be the canonical inclusion and let \(B=\bigoplus _lB_l\). For distinct \(k\) and \(\ell \), the corresponding inclusions have orthogonal ranges. The identities are
In particular, \(B\) commutes with the range projection \(E_kE_k^\dagger \).
- Matrix.sigmaBlockInclusion
- Matrix.sigmaBlockInclusion_isometry
- Matrix.sigmaBlockInclusion_conjTranspose_mul_of_ne
- Matrix.blockDiagonal'_mul_sigmaBlockInclusion
- Matrix.sigmaBlockInclusion_conjTranspose_mul_blockDiagonal'
- Matrix.sigmaBlockInclusion_compression
- Matrix.blockDiagonal'_eq_sum_sigmaBlockInclusion
- Matrix.blockDiagonal'_commute_sigmaBlockInclusion_rangeProjection
For any finite complex matrix \(M\) with \(n\) columns and \(k\in \mathbb {N}\), there exists an orthonormal family of at most \(k\) vectors in \(\mathbb {C}^n\) whose orthogonal projection \(Q\) satisfies \((k+1)\lVert M-MQ\rVert _2^2\le \lVert M\rVert _1^2\), with \(MQ=M\) when \(n\le k\).
Let \(Z\in \bigotimes _{v\in V}\mathbb {C}^{P_v}\) satisfy \(\lVert Z\rVert \le 1\) and \(\lVert Z_{\{ v\} }\rVert _1\le 1\) for all \(v\in V\), let \(G\subseteq V\) contain every \(v\) with \(|P_v|{\gt}1\), and let \(k\ge 1\). Then there exist orthonormal families of at most \(k\) vectors in each \(\mathbb {C}^{P_v}\) whose tensor-product projection \(Z_k=\bigl(\bigotimes _{v\in V}Q_v\bigr)Z\) satisfies \(\lVert Z-Z_k\rVert \le |G|/\sqrt{k}\) and expands in the orthonormal product basis as at most \(k^{|G|}\) product terms with coefficients of modulus at most \(1\).
Let \(G=\sum _\xi c_\xi M_\xi \) be a contraction expanded into \(K\) allowed monomials on a fixed set of parties, each with at most \(r\) pair effects. For every integer \(m\ge 1\) there exist a gate \(\widetilde G_m\) with additional garbage registers owned by the original participating parties and a unit garbage vector \(\Gamma _m\) such that
where \(\widetilde G_m\) expands into at most \(Km^r\) monomials of local contractions and normalized pair sources (at most one per unordered party pair) with absolute coefficient sum at most \(\sum _\xi |c_\xi |\), as in [ 361 , Lemma 5.1 ] .
If \(r\in P\) and \(|P|=n\le b\), then \(|T(P,r)|=n-1+\binom n2\le b-1+\binom b2\).
The contracted operator \(\sigma \) of Definition 98.3.27 has entries (including when \(\Lambda _g=\varnothing \), \(\mathcal L=\varnothing \), \(|P_g|=1\), or \(k=0\))
For \(\sigma \) as in Definition 98.3.27, \(z\in \prod _{p\in P}Y_p\), and \(S\subseteq P\), let \(F_{S,z}\) be the flattening across \(S\mid S^c\) of \(x\mapsto \sigma (x,z)\), and let \(U_{S,z},U_{S^c,z}\) be the partial contractions on \(S,S^c\) of the input-fixed local tensors \(A_{p,z}(\eta _p,x_p):=A_p(\eta _p;x_p,z_p)\) (Definition 104.2.5). Then
and if every \(X_p\) is finite, then (as in [ 361 , Lemma 8.1 ] )
With \(\Lambda _g=K_g\times B_g\) and \(c_g\) from Definition 98.3.35,
For any site map \(p\mapsto a_p\in V\) and \(x,y:V\to [q]\), the contracted operator \(\widetilde\sigma \) of Definition 98.3.1.1 satisfies
In matrix form, (9) reads
Suppose \(r_g\in P_g\) for all \(g\in G\). Every \(\ell =(g,t)\in \mathcal L\) satisfies \(V(\ell )\subseteq P_g\), so any \(p,q\in V(\ell )\) share \(g\in G\).
For \(p\in P\), \(q\mapsto \{ p,q\} \) bijects \(P\setminus \{ p\} \) onto \(\{ u\in U(P):p\in u\} \), which has cardinality \(|P|-1\).
For every \(g\) and \(p\), \(|\mathcal L_g|=|T(P_g,r_g)|\) and \(|\mathcal L_g(p)|=|T_p(P_g,r_g)|\).
Let \(P\) and \(\Xi \) be finite. For every \(\xi \in \Xi \), let \(F_\xi \) be an allowed source-only composition on \(P\) with fixed input and output memories, fix finite orthonormal bases of these memories and coefficients \(c_\xi \in \mathbb {C}\), and let \(M_\xi \) be the matrix of \(F_\xi \) in these bases. Then there exist one ordered slot \(e\) per unordered pair of distinct parties, common finite halfspaces \(U_e=\mathbb {C}^{d_e}\) and \(V_e=\mathbb {C}^{d'_e}\), unit vectors \(\eta _{\xi ,e}\in U_e\otimes V_e\), and allowed source-free compositions \(T_\xi \) (all independent of \(\rho \)) such that \(F_\xi =T_\xi Q_{\eta _\xi ,\mathcal H_{\rm in}}\), the matrices \(K_\xi (a)\) defined from the standard bases of \(U_e,V_e\) as in Definition 98.11.5 satisfy \(\| K_\xi (a)\| \le 1\), and with \(\kappa _\xi (a)=\prod _e\eta _{\xi ,e}(a_e)\) and \(G=\sum _\xi c_\xi M_\xi \), every complex matrix \(\rho \) satisfies
giving the exact source-coordinate density identity preceding the random replacement in [ 361 , proof of Theorem 5.2 ] (04-compression.tex, lines 233–355).
In the setting of Lemma 98.5.2.6, let \(W,V:\mathcal H_a\to \mathcal H_z\) and \(U:\mathcal H_a\to \mathcal H_a\) be source-free compositions with matrices \(M_W,M_V,M_U\) in configuration coordinates, and let \(A_p,B_p,X_p\) be the matrices of \(W|_{\{ p\} },V|_{\{ p\} },U|_{\{ p\} }\). Then
Let \(P\) be finite, and let \(W:\mathcal H_a\to \mathcal H_z\) be a source-free composition from a system with configurations \(y\in \prod _{p\in P}I_p\) to a system with configurations \(x\in \prod _{p\in P}J_p\). In configuration coordinates,
The extension \(W_{\ell }\) (Definition 99.1.4.1) has the same ordered source list as \(W\), is allowed whenever \(W\) is allowed, and satisfies
For finite \(P\), finite sets \(I_p,J_p\), and matrices \(A_p\in \mathbb {C}^{J_p\times I_p}\), the Kronecker product \(A_P:=\bigotimes _{p\in P}A_p\in \mathbb {C}^{\prod _pJ_p\times \prod _pI_p}\) has matrix entries
For \(d_p\in \mathbb {N}\) and finite \(A\subseteq P\), \(\# \prod _{p\in A}[d_p]=\prod _{p\in A}d_p\), so the physical space of \(A\) has dimension \(\prod _{p\in A}d_p\). In particular, this dimension is \(d^{|A|}\) when \(d_p=d\), and at most \(D^{|A|}\) when \(d_p\le D\) on \(A\).
In the setting of Definition 98.5.2.3, for every \(v\in \mathbb {C}^{\prod _p([d_p]\times V_p)}\), \(s\in \mathcal X_A\), \(t\in \mathcal X_{P\setminus A}\), and \(i\in \mathcal V\), both general and constant local dimensions satisfy
Let \(T\) be the operator of an original circuit and \(\delta {\gt}0\). With \(m=\lceil (rS/\delta )^2\rceil +1\), replacing each nonprivate gate by its rescaled source-only expansion yields a contraction \(\widetilde T\) and a unit auxiliary vector \(\Gamma \) (on spectator auxiliary registers) such that
- QuantumCircuit.Party.EffectCircuit.referenceOp_gate
- QuantumCircuit.Party.EffectCircuit.referenceOp_comp
- QuantumCircuit.Party.EffectCircuit.norm_auxiliaryVector
- QuantumCircuit.Party.EffectCircuit.norm_replacement_sub_reference_le
- QuantumCircuit.Party.EffectCircuit.isAllowed_replacement
- QuantumCircuit.Party.OriginalCircuit.op_toEffectCircuit
- QuantumCircuit.Party.OriginalCircuit.numGates_toEffectCircuit
Each \(j_\xi \) is an isometry with \(\| \pi _\xi \| \le 1\) and \(\pi _\xi j_\xi =\mathbb {1}_{U_\xi }\). For a second family \(V_\xi \) with inclusions \(k_\xi :V_\xi \to \widehat V\) and projections \(\rho _\xi :\widehat V\to V_\xi \), setting \(\widehat\eta _\xi =(j_\xi \otimes k_\xi )\eta _\xi \) for \(\eta _\xi \in U_\xi \otimes V_\xi \) gives
In [ 361 , proof of Theorem 5.2 ] (04-compression.tex, lines 253–267), for a finite ordered party set \(P\) and a finite family \((F_\xi )_{\xi \in \Xi }\) of allowed compositions sharing input and output register layouts, there exist fixed halfspaces for every unordered pair in \(P\), normalized vectors \(\widehat\eta _{\xi ,e}\), and local contractions \(B_{\xi ,p}\) with \(\xi \)-independent domains and codomains such that under the party-grouping identifications \(U_{\rm in},U_{\rm out}\),
For a finite family \((S_\xi )_{\xi \in \Xi }\) of normalized source lists sharing the distinct unordered pair set of a reference list, there exist common halfspaces in the reference pair order, normalized vectors \(\widehat\eta _{\xi ,e}\), and allowed source-free compositions \(D_\xi \) such that for every spectator memory \(\mathcal H\),
Let \(P\) be a finite set of parties. Suppose that \(S\) is a normalized source list on \(P\) with no repeated unordered pair. There is a list \(U\) of sources with one-dimensional endpoint spaces such that the list \(T\) obtained by placing \(U\) before \(S\) is normalized and contains exactly one source for every unordered pair of distinct parties in \(P\).
Every pair of a source in \(U\) is absent from \(S\). Thus the original sources are retained with their vectors, spaces, endpoint order, and list order unchanged. For every original memory, an allowed composition containing no sources recovers its preparation by \(S\) from its preparation by \(T\).
Let \(P\) be the prescribed finite set of gate parties, with a fixed ordering. Let \(F:\mathcal H_{\rm in}\to \mathcal H_{\rm out}\) be an allowed composition whose register owners and assigned local parties all belong to \(P\). There is a normalized source list \(T\) containing exactly one source on every unordered pair of distinct parties in \(P\), and a contraction \(B_p\) at each \(p\in P\), such that
The identifications group registers by party in the prescribed order. The input of \(B_p\) consists of that party’s original input registers and its halves of the sources in \(T\); its output consists of that party’s original output registers. A source in \(T\) whose pair does not occur among the original sources of \(F\) has one-dimensional endpoint spaces.
The map \(T_m\) satisfies \(\| T_m\| \le 1\) and \(T_m\eta =\eta ^{\otimes m}\).
If \(d_p\le D\) for all \(p\in A\), the physical memory \(\mathcal H_A\) of \(A\) satisfies
and for \(N\le M\) and \(\delta =\varepsilon /(8\max \{ 1,M\} )\) as in Lemma 98.12.6, the regional reduced densities on \(A\) satisfy \(\| \widetilde\rho _A-\rho _A\| _1\le \varepsilon /2\).
For a finite source list with halfspaces \(U_e,V_e\) and a finite family \(\eta _{\xi ,e}\in U_e\otimes V_e\), there exist \(a_e,b_e\in \mathbb {N}\), isometries \(f_e:\mathbb {C}^{a_e}\to U_e\) and \(g_e:\mathbb {C}^{b_e}\to V_e\), vectors \(\eta ^0_{\xi ,e}\in \mathbb {C}^{a_e}\otimes \mathbb {C}^{b_e}\) with \((f_e\otimes g_e)\eta ^0_{\xi ,e}=\eta _{\xi ,e}\) and \(\| \eta ^0_{\xi ,e}\| =\| \eta _{\xi ,e}\| \), and allowed source-free compositions \(D_\xi \) satisfying \(D_\xi Q_{\eta ^0_\xi ,\mathcal H}=Q_{\eta _\xi ,\mathcal H}\) for every spectator memory \(\mathcal H\).
In [ 361 , proof of Theorem 5.2 ] (04-compression.tex, lines 233–299), for \(F=\sum _{\xi \in \Xi }c_\xi F_\xi \) with \((F_\xi )_{\xi \in \Xi }\) as in Lemma 98.10.8, there exist common dimensions \(a_e,b_e\in \mathbb {N}\) for every unordered pair in \(P\), normalized vectors \(\eta ^0_{\xi ,e}\in \mathbb {C}^{a_e}\otimes \mathbb {C}^{b_e}\), and local contractions \(B_{\xi ,p}\) such that
For every spectator vector \(x\in \mathcal H_M\),
Moreover, \(\eta _J\) depends only on \((\eta _i)_{i\in J}\), and if \(\| \eta _i\| =1\) for all \(i\in J\), then \(\| \eta _J\| =\| \Pi _{L_J}\eta _J\| =1\).
If \((V,E)\) has no self-loops and \(\lVert A_v\rVert \le 1\) for all \(v\in V\), then \(\lVert Z\rVert \le 1\), and the same bound holds for the partial contraction over any \(T\subseteq V\) (keeping open the open legs of \(T\) and edges leaving \(T\)).
Let a finite loopless graph carry at each \(v\in V\) a tensor \(A_v\) with \(\lVert A_v\rVert \le 1\), and let \(Z\) be its coordinate contraction (2). Then \(\lVert Z\rVert \le 1\), \(\lVert Z_T\rVert _1\le 1\) for every \(T\subseteq V\), and if at most \(g\) vertices have nonempty open-leg groups, then for every integer \(k\ge 1\) there exist subspaces of dimension at most \(k\) in \(\mathbb {C}^{P_v}\) whose tensor-product projection \(Z_k\) satisfies \(\lVert Z-Z_k\rVert \le g/\sqrt{k}\) and expands in orthonormal bases of these subspaces as at most \(k^g\) product terms with coefficients of modulus at most \(1\).
For any finite list \(S\) of normalized pair sources, there exist a list \(G\) of normalized pair sources with exactly one source per unordered pair occurring in \(S\) and an allowed source-free composition \(E:\mathcal H_G\otimes \mathcal H\to \mathcal H_S\otimes \mathcal H\) such that
Consequently every allowed composition admits (59) with at most one normalized source per unordered party pair.
- QuantumCircuit.Party.SourceInventory.exists_grouped
- QuantumCircuit.Party.SourceInventory.exists_combined
- QuantumCircuit.Party.Word.exists_grouped_source_preparation
- QuantumCircuit.Party.PairSource.combine
- QuantumCircuit.Party.PairSource.partyPair_combine
- QuantumCircuit.Party.PairSource.norm_combine_vector
- QuantumCircuit.Party.SourceInventory.Expands.combine
- QuantumCircuit.Party.Word.expandCombinedPair
- QuantumCircuit.Party.Word.isAllowed_expandCombinedPair
- QuantumCircuit.Party.Word.op_expandCombinedPair
Let \((V,E)\) be a finite directed multigraph with finite virtual alphabets \(D_e\), local tensors \(A_v\) on physical alphabets \(P_v\), and identity-bond contraction \(Z\). For \(S\subseteq V\), let \(\partial S\subseteq E\) be the edges crossing between \(S\) and \(S^c\), set \(K_S:=\prod _{e\in \partial S}D_e\), let \(U_S,U_{S^c}\) be the partial contractions on \(S,S^c\) with open boundary indices in \(K_S\), and let \(F_S\) be the \(\bigl(\prod _{v\in S}P_v\bigr)\times \bigl(\prod _{v\in S^c}P_v\bigr)\) flattening of \(Z\). Then
and if every \(P_v\) is finite, then (as in [ 369 , Part II, proof of Theorem B ] )
For a unit vector \(\eta \in \mathbb C^\alpha \otimes \mathbb C^\beta \) on parties \(p\ne q\) and a stack of \(m\) pair registers \((\mathbb C^\alpha ,\mathbb C^\beta )\), preparing \(\eta \) in the \(m-1\) positions other than \(k\) with the input pair in position \(k\) is an allowed source-only composition equal to \(I_k\), and preparing \(\eta \) in all \(m\) positions yields \(\eta ^{\otimes m}\).
For any permutation \(\sigma \) of \(\{ 0,\dots ,m-1\} \) with induced factor permutation \(U_\sigma \) on \(\mathcal W^{\otimes m}\), \(I_{\sigma (k)}=U_\sigma I_k\), so \(T_m=m^{-1}\sum _{k=0}^{m-1}U_{(+k)}I_0\). On \(\mathcal W=\mathcal U\otimes \mathcal V\), \(U_\sigma \) permutes the \(\mathcal U\) and \(\mathcal V\) coordinates by \(\sigma \).
Let \(f:P\to \{ 0,1\} \), let \(F:\mathcal H_\ell \to \mathcal H_{\ell '}\) be an allowed composition with \(f(p)=f(q)\) for every pair source \((p,q;U,V;\eta )\) in \(F\), and let \(J_{f,\ell }:\mathcal H_\ell \to \mathcal H_{\ell ,+}\otimes \mathcal H_{\ell ,-}\) compose \(R_{f,\ell }\) with the binary partition of Definition 98.5.2 into the memories of owner images \(1\) and \(0\). Then the owner restrictions \(A_+,A_-\) of \(F^f\) are allowed source-free compositions with \(\| A_+\| ,\| A_-\| \le 1\) and
For continuous linear maps \(A:U\to U'\) and \(B:V\to V'\) at the endpoints of a pair source \(\eta \in U\otimes V\) and any spectator memory \(\mathcal H\), applying \(A\) and \(B\) locally sends \(u\otimes (v\otimes x)\mapsto Au\otimes (Bv\otimes x)\) and satisfies
forming an allowed source-free composition when \(\| A\| ,\| B\| \le 1\).
For any source-free composition \(W:\ell \to m\) and \(B\subseteq A\subseteq P\), under the natural register-list identifications \((\tau |_A)|_B=\tau |_B\), both as compositions and as linear operators,
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\).
Without assuming norm bounds, \(F\) and \(F^f\) satisfy
If \(F\) is allowed with pair-source list \(S\), then \(F^f\) is allowed with pair-source list \(S_f\).
Suppose that \(W\) contains no pair-source preparation and that \(f(p)\ne q\) for every \(p\in P\). Let \(V\) be the restriction of \(W^f\) to the owner \(q\). Then \(V\) has no participating parties, and its operator is \(\operatorname {id}_{\mathbb {C}}\) under the identification of the empty input and output register memories with \(\mathbb {C}\).
The unordered pair labels of \(S_f\) are obtained (with multiplicity) by applying \(f\) to both endpoints of each pair in \(S\) and discarding diagonal images \(f(p)=f(q)\); in particular, a pair \(k\) occurs in \(S_f\) iff \(k\) is non-diagonal and \(k=\{ f(p),f(q)\} \) for some \(\{ p,q\} \) occurring in \(S\).
If the vectors of \(S\) are normalized, then those of \(S_f\) are normalized, and \(S_f\) is empty iff \(f(p)=f(q)\) for every source \((p,q;U,V;\eta )\) in \(S\).
For \(\eta \in \mathcal U\otimes \mathcal V\) and \(\eta '\in \mathcal U'\otimes \mathcal V'\), the regrouped pair vector \(\eta \otimes \eta '\in (\mathcal U\otimes \mathcal U')\otimes (\mathcal V\otimes \mathcal V')\) satisfies \(\| \eta \otimes \eta '\| =\| \eta \| \, \| \eta '\| \).
For \(G=\sum _\xi c_\xi M_\xi \) with \(K\) allowed monomials, each having \(n_\xi \le r\) recorded pair effects, and \(m\ge 1\), \(\Gamma _m\) is a unit vector,
and \(\widetilde G_m\) is a weighted sum of at most \(Km^r\) contractions with absolute coefficient sum \(\sum _\xi |c_\xi |\), establishing the operator estimates of [ 361 , Lemma 5.1 ] .
- 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
For an expansion \(G=\sum _\xi c_\xi M_\xi \) into \(K\) allowed monomials on parties, each with at most \(r\) pair effects, and \(m\ge 1\), the vector \(\Gamma _m\) is a unit vector prepared by normalized pair sources,
and \(\widetilde G_m\) is a weighted sum of at most \(Km^r\) allowed source-only compositions with absolute coefficient sum \(\sum _\xi |c_\xi |\) and additional registers consisting of \(m\) registers of \(p\) and \(m\) registers of \(q\) for each effect on \((p,q)\), establishing [ 361 , Lemma 5.1 ] prior to grouping sources by party pairs.
For pair vectors \(\eta \in \mathcal U\otimes \mathcal V\) and \(\eta '\in \mathcal U'\otimes \mathcal V'\) on \(p\ne q\), preparing \(\eta '\) and \(\eta \) and merging the local registers into \(\mathcal U\otimes \mathcal U'\) at \(p\) and \(\mathcal V\otimes \mathcal V'\) at \(q\) equals the preparation of \(\eta \otimes \eta '\) with \(\| \eta \otimes \eta '\| =\| \eta \| \, \| \eta '\| \) (Lemma 98.4.12).
Let \(F:\mathcal H_\ell \to \mathcal H_{\ell '}\) be an allowed source-free composition ( [ 361 , proof of Theorem 5.2 ] , 04-compression.tex, lines 233–251), and let \(p_1,\ldots ,p_s\) be distinct parties with \(\mathcal P(F)\subseteq \{ p_1,\ldots ,p_s\} \). There exist contractions \(B_{p_j}:\mathcal H_{\ell ,p_j}\to \mathcal H_{\ell ',p_j}\) such that
with \(\bigl\| \bigotimes _{j=1}^s B_{p_j}\bigr\| \le 1\) (and \(F=\operatorname {id}_{\mathbb C}\) when \(\mathcal P(F)=\emptyset \), \(s=0\)).
The output registers of \(\widetilde G_m\) consist of the output registers of \(G\) together with \(m\) registers of \(p\) and \(m\) registers of \(q\) for each effect occurrence on \((p,q)\) across all monomials.
- QuantumCircuit.Party.stackSys_of_ne
- QuantumCircuit.Party.Monomial.stackApp_of_notMem_effectParties
- QuantumCircuit.Party.card_stackApp
- QuantumCircuit.Party.WeightedGate.gateOut_of_forall_ne
- QuantumCircuit.Party.WeightedGate.card_gateOut
- QuantumCircuit.Party.stackApp
- QuantumCircuit.Party.WeightedGate.gateOut
For finite \(P\), finite input alphabets \(I_p\), output alphabets \(O_p\), and matrices \(A_p,B_p\in \mathbb {C}^{O_p\times I_p}\), \(X_p\in \mathbb {C}^{I_p\times I_p}\),
For any source-free composition \(F\) and party set \(A\), retaining the registers and local operations with party in \(A\) yields a source-free composition \(F_A\) in the same chronological order with party set \(\mathcal P(F)\cap A\), and \(F_A\) is allowed whenever \(F\) is allowed.
For an expansion \(G=\sum _\xi c_\xi M_\xi \) into allowed monomials on parties, identifying each effect stack on \((p,q)\) with \(m\) pair registers owned by \((p,q)\) makes every term of \(\widetilde G_m\) an allowed source-only composition and prepares \(\Gamma _m\) by normalized pair sources.
- QuantumCircuit.Party.Monomial.op_replaceWord
- QuantumCircuit.Party.WeightedGate.termList_toGate
- QuantumCircuit.Party.WeightedGate.isSourceOnly_termList
- QuantumCircuit.Party.WeightedGate.op_prepGate
- QuantumCircuit.Party.Monomial.replaceWord
- QuantumCircuit.Party.WeightedGate.wordList
- QuantumCircuit.Party.WeightedGate.gateEquiv
- QuantumCircuit.Party.WeightedGate.prepGate
An original contraction circuit \(W\) with \(N\) nonprivate gate occurrences of arity at most \(a\) has physical-first source replacement with at most \(N\binom a2\) source positions (independent of accuracy and private dimensions).
Suppose the families in Definition 98.11.5 have finite index sets, including families in proper subspaces of \(U_e,V_e\). For \(\eta _e=\sum _{r,s}d_e(r,s)u_{e,r}\otimes v_{e,s}\), \(\zeta _e=\sum _{r,s}\widetilde d_e(r,s)\widetilde u_{e,r}\otimes \widetilde v_{e,s}\), and any input matrix \(\rho \),
Let \(\Xi \) be finite. For each \(\xi \in \Xi \), choose a branch \(T_\xi \), source vectors \(\eta _{\xi ,e}\), and finite orthonormal bases \((u_{\xi ,e,r})_r\) of \(U_e\) and \((v_{\xi ,e,s})_s\) of \(V_e\), which may depend on \(\xi \). Set \(K_\xi =K_{T_\xi }(\eta _\xi )\) and \(\kappa _\xi (a)=\prod _e\langle u_{\xi ,e,a_e^{(1)}}\otimes v_{\xi ,e,a_e^{(2)}},\eta _{\xi ,e}\rangle \). For any input matrix \(\rho \) (not necessarily positive or normalized) and any \(\xi ,\zeta \in \Xi \),
and for \(G=\sum _\xi c_\xi K_\xi \),
If \(T\) is an allowed composition and \(\| \eta _e\| =1\) for all \(e\), then \(\| K_T(\eta )\| \le 1\) in the Euclidean operator norm. In particular, if \(\| u_{e,r}\| =\| v_{e,s}\| =1\) (without assuming they span \(U_e,V_e\), as in [ 361 , proof of Theorem 5.2 ] , 04-compression.tex, lines 409–427), then \(\| K_T(a)\| \le 1\) for every \(a\).
For finite families as in Lemma 98.11.2,
In particular, for finite orthonormal bases \((u_{e,r})_r\) of \(U_e\) and \((v_{e,s})_s\) of \(V_e\), setting \(\eta _e(r,s)=\langle u_{e,r}\otimes v_{e,s},\eta _e\rangle \) and \(\theta _{e,(r_e,s_e)}=u_{e,r_e}\otimes v_{e,s_e}\) gives (69) with \(d_e(a_e)=\eta _e(a_e)\) and left-hand side \(K_T(\eta )\), and the same expansion holds for \(Q_{\eta ,\mathcal H}\).
Let \(P\) be an ordered finite party set and \(F:\mathcal H_{\rm in}\to \mathcal H_{\rm out}\) an allowed composition with \(\mathcal P(F)\subseteq P\). There exist a normalized source list \(S\) with one source per unordered pair in \(F\) and contractions \(B_p\) (\(p\in P\)) such that
where \(U_{S,\rm in}\) and \(U_{\rm out}\) group the prepared-source plus input registers and the output registers in the order of \(P\).
For two systems of registers and a bijection between the basis configurations of the two memories of each party, relabelling along these bijections is an allowed source-free composition without gates, whose operator is the permutation matrix of the induced bijection of configurations. In particular, for ordered register lists \(A,B,C\) with memories \(\mathcal H_A,\mathcal H_B,\mathcal H_C\), exchanging \(A\) and \(B\) while preserving the internal order of each list (for instance moving a single register \(B=(r)\) to the front) is such a composition \(X_{A,B;C}\):
A trivial pair source can be removed by an allowed composition of local maps containing no source preparations. For any remaining source list \(S\) and any original memory \(\mathcal H\), this composition recovers \(P_{S,\mathcal H}\) exactly from the preparation with the trivial source placed before \(S\).
For an allowed monomial \(M\) with \(n\) recorded pair effects, \(\| M\| \le 1\), \(\| \widetilde M_m\| \le 1\), \(\| \bigotimes _i\eta _i^{\otimes m}\| =1\), and
For an allowed monomial \(M\) with \(n\) pair effects, \(\widetilde M_m=m^{-n}\sum _{\kappa \in \{ 0,\dots ,m-1\} ^n}\widetilde M_{m,\kappa }\) with \(\| \widetilde M_{m,\kappa }\| \le 1\).
For finite \(P\), matrices \(M_q\in \mathbb {C}^{X_q\times X_q}\) (\(q\in Q\)), and \(x,y\in \prod _{p\in P}\{ 0,\ldots ,d(p)-1\} \),
In [ 361 , proof of Theorem 5.2 ] (04-compression.tex, lines 253–267), for parties \(p\ne q\), contractions \(A:U\to U'\) and \(B:V\to V'\), \(\eta \in U\otimes V\), a source list \(T\), and any spectator memory \(\mathcal H\), adjoining \(s=(p,q,U,V,\eta )\) and \(s'=(p,q,U',V',(A\otimes B)\eta )\) before \(T\) to form \(S\) and \(S'\) gives an allowed source-free composition \(D\) satisfying \(D P_{S,\mathcal H}=P_{S',\mathcal H}\).
Source-list expansion is reflexive, transitive, preserved by prepending a common source \(s\), and satisfies \((t,s,G)\to (s,t,G)\) and \((\operatorname {rev}(s),G)\to (s,G)\).
- QuantumCircuit.Party.SourceInventory.Expands.refl
- QuantumCircuit.Party.SourceInventory.Expands.trans
- QuantumCircuit.Party.SourceInventory.Expands.cons
- QuantumCircuit.Party.SourceInventory.Expands.reverse
- QuantumCircuit.Party.SourceInventory.Expands.swap
- QuantumCircuit.Party.Word.op_relabel_sourceAt_reverse
Decompose the original output memory into physical and discarded registers. For \(\| x\| \le 1\), let \(\rho =\operatorname {Tr}_{\rm disc}(|Tx\rangle \langle Tx|)\) and let \(\widetilde\rho =\operatorname {Tr}_{{\rm disc},\, {\rm aux}}(|\widetilde Tx\rangle \langle \widetilde Tx|)\). Then
In particular, if \(N\le M\) and \(\varepsilon {\gt}0\), setting \(\delta =\varepsilon /(8\max \{ 1,M\} )\) gives \(\| \widetilde\rho -\rho \| _1\le \varepsilon /2\) (including when \(x\) is a whole-party product of unit vectors).
Suppose each original nonprivate gate has at most \(K\) monomials, absolute coefficient sum at most \(S\), at most \(r\) pair effects per monomial, and at most \(b\) participating parties, and each party participates in at most \(b\) nonprivate gates. With \(m=\lceil (rS/\delta )^2\rceil +1\), each replacement gate has absolute coefficient sum at most \(S\) and at most \(Km^r\) monomials, where
Combining sources per unordered party pair gives \(\binom q2\le \binom b2\) pair-source slots at a \(q\)-party gate, at most \(N\binom b2\) source slots in total, and at most \(b\) expanded gates incident to any party.
- QuantumCircuit.Party.WeightedGate.sum_norm_replacementCoefficients_le
- QuantumCircuit.Party.WeightedGate.card_replacementLabels_le
- QuantumCircuit.Party.WeightedGate.stackLength_le
- QuantumCircuit.Party.WeightedGate.card_replacementLabels_stackLength_le
- QuantumCircuit.Party.OriginalCircuit.isExpansionBounded_replacement
- QuantumCircuit.Party.PreparedSourceGate.length_sources_branchWord_eq_choose
- QuantumCircuit.Party.SourceCircuit.slotCount_eq_choose
- QuantumCircuit.Party.OriginalCircuit.participationCount_replacement
- QuantumCircuit.Party.OriginalCircuit.participationCount_replacement_le
For any reference source list \(R\) with distinct unordered pairs and any normalized source list \(S\) with the same unordered pair set, there exist normalized sources in the pair order and endpoint orientations of \(R\) whose preparation transforms into \(P_{S,\mathcal H}\) by allowed source-free operations for every spectator memory \(\mathcal H\) (Definition 98.8.5); permuting whole source blocks also defines such a transformation.
For any allowed composition \(F:\mathcal H_{\rm in}\to \mathcal H_{\rm out}\) with source list \(S\), every source in \(S\) is normalized and there exists an allowed source-free composition \(B:\mathcal H_S\otimes \mathcal H_{\rm in}\to \mathcal H_{\rm out}\) such that
For every original memory \(\mathcal H\), \(Q_{\eta ,\mathcal H}x=\Phi (\eta )\otimes x\). In particular, for finite \(J_e\), \(d_e:J_e\to \mathbb {C}\), and \(\theta _{e,j}\in U_e\otimes V_e\),
Evaluating \(P_J(\eta )\) on \(1\in \mathbb C\) gives \(\eta _J\), and concatenating two inventories gives \(\alpha _{L,M}^{-1}(\eta _L\otimes \eta _M)\). A scalar-input composition \(p_0\) acting with \(L+M\) as spectators acts as \(\operatorname{id}\) on \(\alpha _{L,M}^{-1}(\eta _L\otimes \eta _M)\) and prepares \(p_0(1)\) in the original input memory.
For any composition \(W\) with party set \(\mathcal P(W)\) and source-free local part \(B_W\), one has \(\mathcal P(B_W)\subseteq \mathcal P(W)\). Under an owner relabeling \(f:P\to Q\) (converting same-owner pairs into local preparations), \(\mathcal P(W^f)\subseteq f(\mathcal P(W))\) (Lemma 98.7.2), and for \(q\notin f(P)\) the restriction \(B_{W^f}|_{\{ q\} }\) acts as \(\operatorname {id}_{\mathbb {C}}\).