- 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
A circuit from \(X\) to \(Z\) is either empty, when \(X=Z\), or a layer \(L\) from \(X\) to some system \(Y\) followed, for every outcome \(i\) of \(L\), by a circuit from \(Y\) to \(Z\). The dependence on \(i\) is classical feedback; a circuit in which no continuation depends on the outcome is unbranched. A branch is a choice of an outcome of every layer along a path, and its Kraus operator is the product of the Kraus operators of its layers, the first layer on the right. The map of the circuit is \(\rho \mapsto \sum _pK_p\rho K_p^\dagger \) over all branches \(p\), and its Heisenberg picture is \(A\mapsto \sum _pK_p^\dagger AK_p\), which is the Heisenberg picture of the first layer applied to those of the continuations. A single layer is a circuit, and a finite sequence of layers on one system applied from the first is an unbranched circuit.
- QuantumCircuit.Circuit
- QuantumCircuit.Circuit.Index
- QuantumCircuit.Circuit.kraus
- QuantumCircuit.Circuit.kraus_done
- QuantumCircuit.Circuit.kraus_step
- QuantumCircuit.Circuit.krausFamily
- QuantumCircuit.Circuit.map
- QuantumCircuit.Circuit.dual
- QuantumCircuit.Circuit.dual_step
- QuantumCircuit.Circuit.ofLayer
- QuantumCircuit.Circuit.seq
A cost of layers determines a cost of circuits by accumulation along the most expensive branch: the cost of a circuit starting with a layer \(L\) is the cost of \(L\) plus the largest cost of a continuation, and the empty circuit costs nothing. Given a weight \(w(b,g)\in \mathbb {N}\) of every gate \(g\) on a cell \(b\), the weight of a layer is the sum of the weights of its gates. The gate count of a layer is the weight \(w(b,g)=c_b\), the sum of the costs of its cells; the number of gates of the layer meeting a site \(s\) is the weight that is \(1\) on cells of positive cost containing \(s\) and \(0\) otherwise. The depth of a layer is \(1\) if it uses a cell of positive cost and \(0\) otherwise. Onsite families cost nothing. A circuit is of depth \(T\) when its depth is at most \(T\).
A geometry on \(V\) is a set \(\mathcal C\) of cells, each with a region \(C_b\subseteq V\) and a cost \(c_b\in \mathbb {N}\). The bonds of a ring, the windows of a chain, the edges of a graph, the wires of one site at cost zero and arbitrary sets of parties are geometries. When there are finitely many cells, the neighbourhood \(\mathcal N(R)\) of a region \(R\) is \(R\) together with every cell meeting \(R\), so \(R\subseteq \mathcal N(R)\). The cells contained in a region \(D\) form a geometry on \(D\).
A 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.
The measurement of a basis \(B\) is the Kraus family of the projections \(\lvert b\rangle \langle b\rvert \), \(b\in B\). The measurement of a region \(D\) is the layer with no cells, the measurement of the basis at the sites of \(D\) and the identity elsewhere; its outcomes are the configurations of \(D\). The probability of a branch \(p\) of a circuit on an input \(\rho \) is \(\operatorname {tr}(K_p\rho K_p^\dagger )\); for a state \(\rho \) and a circuit with trace-preserving gates and onsite families these are probabilities. A readout of a circuit is a map \(r\) from its branches to a finite set \(\Omega \), and the probability of a value \(\omega \) is the sum of the probabilities of the branches \(p\) with \(r(p)=\omega \).
For \(N\ge 1\), the ring of \(N\) sites is the geometry on \(\mathbb {Z}_N\) with one cell \(\{ k,k+1\} \) of cost \(1\) for each site \(k\), indices modulo \(N\). For \(N=1\) the cell is \(\{ 0\} \), and for \(N=2\) both cells are \(\{ 0,1\} \).
For \(P\in \mathbb {C}^{I\times I}\) put \(R_P=1-2P\). For \(G,H\in \mathbb {C}^{I\times M}\) and real \(\theta \) put
For a finite set of sites \(I\), a finite basis \(\beta \) at every site and \(\alpha \in \mathbb {C}^\beta \), the GHZ-type state on \(I\) is \(|\chi \rangle =\sum _{j\in \beta }\alpha _j|j\rangle ^{\otimes I}\), the weighted sum of the constant configurations; it is linear in \(\alpha \). For a site \(i_0\), \(\chi (s)=\alpha _{s_{i_0}}\) if all the values \(s_k\) are equal and \(\chi (s)=0\) otherwise.
For \(g\in G\), \(P_g\) is the permutation matrix of \(x\mapsto g\cdot x\) on the configurations. The map \(g\mapsto P_g\) is a unitary representation of \(G\), and \((P_gAP_g^\dagger )(x,y)=A(x\circ g,y\circ g)\) for every operator \(A\).
A Kraus family from \(\mathbb {C}^\alpha \) to \(\mathbb {C}^\beta \) is a local family of a measurement circuit if it consists of one unitary operator, or if its operators are \(|f(a)\rangle \langle a|\) for the elements \(a\) of \(\alpha \), indexed by its outcomes through a bijection, for a bijection \(f\colon \alpha \to \beta \): the measurement of the basis followed by a relabelling. A measurement circuit is a circuit of plain gates all of whose gates and onsite families are local families of a measurement circuit. Unitary families and the measurement of a basis are local families of a measurement circuit.
A nonzero vector \(\varphi \in \mathcal H_X\) is converted into \(\psi \in \mathcal H_Z\) in depth \(T\) if some measurement circuit from \(X\) to \(Z\) of depth at most \(T\) has, on every branch \(p\), \(K_p\varphi =z_p\psi \) for some \(z_p\in \mathbb {C}\). A preparation of \(\psi \) is a conversion from a basis configuration or from a product vector. The number of rounds of measurements is not bounded, whereas [ 124 ] performs one round in its class \(\mathrm{QCcc}_\ell \) and notes a more general scheme with multiple rounds.
For a region \(D\) and matrices \(V_{m,s}\) on \(\mathbb {C}^{X_s}\) indexed by the configurations \(m\) of \(D\) and the sites \(s\), the measurement of \(D\) with the corrections \(V\) is the circuit that measures \(D\) in the computational basis and then applies the onsite layer \(\bigotimes _sV_{m,s}\) chosen by the outcome \(m\). Its Kraus operator on a branch with outcome \(m\) is \((\bigotimes _sV_{m,s})P_m\), with \(P_m\) the projection onto \(|m\rangle \) placed on \(D\); its depth is \(0\), and it is a measurement circuit when the \(V_{m,s}\) are unitary.
A circuit \(c\) from \(X\) to \(Z\) implements a matrix \(W\) from \(\mathcal H_X\) to \(\mathcal H_Z\) on a set \(E\) of vectors if for every branch \(p\) of \(c\) and every \(v\in E\) there is \(z\in \mathbb {C}\) with \(K_p v=z\, Wv\), where \(K_p\) is the Kraus operator of the branch.
A nonzero vector \(\varphi \) is converted into \(\psi \) with one round of measurements in depths \((T_1,T_2)\) if there are a unitary circuit with matrix \(U\) of depth at most \(T_1\), a region \(D\), unitaries \(V_{m,s}\), and a unitary circuit with matrix \(U'\) of depth at most \(T_2\), such that for every configuration \(m\) of \(D\), \(U'(\bigotimes _sV_{m,s})P_mU\varphi \) is a scalar multiple of \(\psi \). With \(T_2=0\) this is the class \(\mathrm{QCcc}_{T_1}\) of [ 124 ] , the circuit of depth \(0\) being free local unitaries: a local circuit, measurements, and local unitaries chosen from all the outcomes. With \(T_2{\gt}0\) it is the composition of such a transformation with a circuit without measurements, as in the preparations of [ 113 ] . Any site may be measured, in the computational basis, and the corrections are onsite unitaries applied once after the measurement.
A layer branches if it has two different Kraus indices, so that its outcome is a classical record on which later layers may depend. The number of rounds of measurements of a circuit is the largest number of branching layers along one of its branches: it counts the blocks of classical control.
Let \(\Gamma \) be a geometry on a finite set of sites, \(X\) and \(Z\) systems on it, and \(T\in \mathbb {N}\). A linear map \(\Phi \) from the matrices on \(\mathcal H_X\) to those on \(\mathcal H_Z\) is realised by an adaptive protocol of depth at most \(T\) if it is the map of a circuit from \(X\) to \(Z\) of plain gates whose gates and onsite families are trace-preserving and whose depth is at most \(T\). It is realised by a protocol if the circuit can be taken unbranched, and by a protocol bounded by \(B\) if every basis along the circuit also has between \(1\) and \(B\) elements. A matrix \(\rho \) on \(\mathcal H_X\) is converted into a matrix \(\sigma \) on \(\mathcal H_Z\) in depth \(T\) if some \(\Phi \) realised by a protocol of depth at most \(T\) has \(\Phi (\rho )=\sigma \), and converted adaptively if some \(\Phi \) realised by an adaptive protocol of depth at most \(T\) has \(\Phi (\rho )=\sigma \).
The placement of a matrix \(K\) on \(\mathbb {C}^{X_D}\) is the operator \(K\otimes 1\) on \(\mathcal H_X=\mathbb {C}^{X_D}\otimes \mathbb {C}^{X_{V\setminus D}}\), read in the coordinates of \(\mathcal H_X\) through the cut along \(D\). Its matrix element \((K\otimes 1)_{\sigma \tau }\) is \(K_{\sigma |_D,\tau |_D}\) if \(\sigma \) and \(\tau \) agree outside \(D\), and \(0\) otherwise. On a vector \(\psi \) it acts by \(((K\otimes 1)\psi )(\sigma )=\sum _aK_{\sigma |_D,a}\, \psi (a,\sigma |_{V\setminus D})\), the sum over the configurations \(a\) of \(D\). For a diagonal matrix \(\operatorname {diag}(d)\) this is \(d(\sigma |_D)\, \psi (\sigma )\).
Let \(w\colon W\to V\) be an injection of a finite set \(W\) into the sites, and give the site \(u\) of \(W\) the basis \(X_{w(u)}\). Identifying \(W\) with its image \(w(W)\) identifies the configurations of \(W\) with those of the region \(w(W)\). The placement along \(w\) of a matrix \(K\) on the configurations of \(W\) is the placement of \(K\) on \(w(W)\): it acts as \(K\) on the sites \(w(u)\) and as the identity elsewhere. Its matrix element at \((\sigma ,\tau )\) is \(K_{\sigma \circ w,\tau \circ w}\) if \(\sigma \) and \(\tau \) agree outside \(w(W)\), and \(0\) otherwise.
An operator \(A\) on \(\mathcal H_X\) is supported on a region \(D\) when its matrix element \(A_{\sigma \tau }\) vanishes whenever \(\sigma _v\neq \tau _v\) for some \(v\notin D\), and otherwise depends only on \(\sigma |_D\) and \(\tau |_D\). Let \(\mathcal A_D\) be the set of operators supported on \(D\). Then \(A_{\sigma \tau }=A_{\sigma '\tau '}\) for \(A\in \mathcal A_D\) whenever \(\sigma |_D=\sigma '|_D\), \(\tau |_D=\tau '|_D\) and, at every \(v\notin D\), \(\sigma _v=\tau _v\) if and only if \(\sigma '_v=\tau '_v\).
A hop on a geometry consists of three distinct sites \(c,e,f\) and two cells whose regions are \(\{ e,f\} \) and \(\{ c,e\} \). Its first gate \(G_1\), on \(\{ e,f\} \), applies \(F\) at \(e\) and then \(|a\rangle _e|b\rangle _f\mapsto |a\rangle _e|b+a\rangle _f\); its second gate \(G_2\), on \(\{ c,e\} \), applies \(|a\rangle _c|b\rangle _e\mapsto |a\rangle _c|b-a\rangle _e\) and then \(F\) at \(c\). Both are unitary. For a configuration \(z\), the hop before the correction is \(P_{\{ c,e\} ,z}G_2G_1\), and its frame consists of the one-site unitaries \(|q\rangle \mapsto |q+z_c\rangle \) at \(c\), \(|q\rangle \mapsto |q+z_e\rangle \) at \(e\), \(X^{z_e}Z^{z_c}\colon |q\rangle \mapsto \zeta ^{z_cq}|q+z_e\rangle \) at \(f\), and the identity elsewhere.
- QuantumCircuit.TeleportHop
- QuantumCircuit.TeleportHop.pairGate₁
- QuantumCircuit.TeleportHop.pairGate₂
- QuantumCircuit.TeleportHop.pairGate₁_mem_unitaryGroup
- QuantumCircuit.TeleportHop.pairGate₂_mem_unitaryGroup
- QuantumCircuit.TeleportHop.gate₁
- QuantumCircuit.TeleportHop.gate₂
- QuantumCircuit.TeleportHop.gate₁_mem_unitaryGroup
- QuantumCircuit.TeleportHop.gate₂_mem_unitaryGroup
- QuantumCircuit.TeleportHop.gate₁_mem_supportedOperators
- QuantumCircuit.TeleportHop.gate₂_mem_supportedOperators
- QuantumCircuit.TeleportHop.pre
- QuantumCircuit.TeleportHop.frame
- QuantumCircuit.TeleportHop.frame_mem_unitaryGroup
- QuantumCircuit.TeleportHop.frame_of_ne
For a list of operators \(G_i\) supported on pairwise disjoint nonempty cells, the layer with, on each of these cells, the matrix whose placement is the corresponding \(G_i\), and the identity elsewhere, has the Kraus operator \(\prod _iG_i\), the product along the list. It is unitary when the \(G_i\) are.
On the ring of \(N\) sites, a register gate \((X,a,L)\) with \(2L+2s\le N\) places a matrix \(X\) on \(2s\) qudits along the two registers \(\{ a,\dots ,a+s-1\} \) and \(\{ a+2L+s,\dots ,a+2L+2s-1\} \); it is unitary when \(X\) is. Its stretch is \(\{ a,\dots ,a+2L+2s-1\} \), its zones are \(Z_t=\{ a+t,\dots ,a+t+2L-1\} \), \(0\le t\le s\), its interior is \(Z_s\), and its local gate places \(X\) along the consecutive sites \(a+2L,\dots ,a+2L+2s-1\).
- QuantumCircuit.RegisterGate
- QuantumCircuit.RegisterGate.offset
- QuantumCircuit.RegisterGate.sites
- QuantumCircuit.RegisterGate.localSites
- QuantumCircuit.RegisterGate.span
- QuantumCircuit.RegisterGate.zone
- QuantumCircuit.RegisterGate.interior
- QuantumCircuit.RegisterGate.mem_span
- QuantumCircuit.RegisterGate.mem_zone
- QuantumCircuit.RegisterGate.offset_lt
- QuantumCircuit.RegisterGate.sites_injective
- QuantumCircuit.RegisterGate.localSites_injective
- QuantumCircuit.RegisterGate.localSites_succ
- QuantumCircuit.RegisterGate.sitesEmb
- QuantumCircuit.RegisterGate.localSitesEmb
- QuantumCircuit.RegisterGate.op
- QuantumCircuit.RegisterGate.localOp
- QuantumCircuit.RegisterGate.sites_mem_span
- QuantumCircuit.RegisterGate.localSites_mem_span
- QuantumCircuit.RegisterGate.zone_subset_span
- QuantumCircuit.RegisterGate.op_mem_unitaryGroup
- QuantumCircuit.RegisterGate.op_mem_supportedOperators
- QuantumCircuit.RegisterGate.add_eq_add_iff
A list of hops \((h_1,\dots ,h_H)\), the most recent first, is valid if for every \(j{\lt}k\) the sites \(e_j,f_j\) are not sites of \(h_k\) and \(c_j\) is neither \(c_k\) nor \(e_k\); the site \(c_j\) may be \(f_k\), so hops chain as \(c_k\to f_k=c_j\to f_j\). For a valid list the cells \(\{ e_j,f_j\} \) are pairwise disjoint, and so are the cells \(\{ c_j,e_j\} \): the first gates of all hops form one unitary layer, and so do the second gates. The permutation of sites of the list is \((c_1\, f_1)\cdots (c_H\, f_H)\); it fixes every site of no hop, so \(P_\pi \) keeps \(|0\rangle \) on any set of sites met by no hop.
- QuantumCircuit.TeleportHop.sites
- QuantumCircuit.TeleportHop.allSites
- QuantumCircuit.TeleportHop.pairSites
- QuantumCircuit.TeleportHop.measuredSites
- QuantumCircuit.TeleportHop.Valid
- QuantumCircuit.TeleportHop.valid_nil
- QuantumCircuit.TeleportHop.mem_allSites
- QuantumCircuit.TeleportHop.measuredSites_subset_allSites
- QuantumCircuit.TeleportHop.disjoint_measuredSites
- QuantumCircuit.TeleportHop.pairwise_disjoint_one
- QuantumCircuit.TeleportHop.pairwise_disjoint_two
- QuantumCircuit.TeleportHop.layerOne
- QuantumCircuit.TeleportHop.layerTwo
- QuantumCircuit.TeleportHop.forall_isUnitary_layerOne
- QuantumCircuit.TeleportHop.forall_isUnitary_layerTwo
- QuantumCircuit.TeleportHop.kraus_layerOne
- QuantumCircuit.TeleportHop.kraus_layerTwo
- QuantumCircuit.TeleportHop.sitePerm
- QuantumCircuit.TeleportHop.sitePerm_apply_of_notMem
- QuantumCircuit.IsZeroOn.sitePermOp_sitePerm_mulVec
A vector \(v\) on the configurations of qudits on the sites \(S\) has \(|0\rangle \) on \(D\subseteq S\) if \(v(x)=0\) whenever \(x_i\ne 0\) for some \(i\in D\). These vectors form a linear subspace, which shrinks as \(D\) grows.
For an inclusion \(J\) of a logical space into a larger space with its workspace in an initial state, an operator \(U\) cleanly implements \(Z\) when \(UJ=JZ\): it acts as \(Z\) on every logical input, including inputs entangled with a reference, and returns the workspace to its initial state.
For a data configuration \(x\) and \(k\geq 0\), let \(b_k(x)\) be the level \(1\) if \(x_i=0\) for every \(i{\lt}k\), and the level \(0\) otherwise. For \(0\leq j{\lt}a\), the increment \(c_j(x,y)\) is \(1\) if \(x_j=0\) and either \(j=0\) or \(y_{j-1}=1\), and \(0\) otherwise. Step \(j\) is the map \(T_j\) adding \(c_j(x,y)\) to the scratch site \(j\) and leaving every other site unchanged; it reads and changes only the data site \(j\) and the scratch sites \(j-1\) and \(j\) (only the data site \(j\) and the scratch site \(j\) when \(j=0\)). The conjunction of the first \(k\) steps is \(C_k=T_{k-1}\cdots T_1T_0\), steps beyond the register being absent.
- QuantumCircuit.zeroPrefixTest
- QuantumCircuit.zeroPrefixBit
- QuantumCircuit.zeroConjunctionPrev
- QuantumCircuit.zeroConjunctionIncrement
- QuantumCircuit.zeroConjunctionStep
- QuantumCircuit.zeroConjunctionStep_apply
- QuantumCircuit.zeroConjunctionPerm
- QuantumCircuit.zeroConjunctionState
- QuantumCircuit.zeroConjunctionStepSites
For a family \(s\) of sites of a register of \(n\) sites, the zero-flag inclusion assigns to a configuration \(u\) of the sites outside the family the configuration equal to \(u\) outside the family and to \(0\) at its sites. Denote its basis inclusion by \(E_s\).
For \(a\geq 1\), let \(\Phi \) be the diagonal operator with entry \(-1\) at the configurations whose last scratch site is \(1\) and \(1\) elsewhere, and let \(P\) be the permutation matrix of \(C_a\), sending the basis vector \(|\sigma \rangle \) to \(|C_a^{-1}\sigma \rangle \). The zero-register reflection is \(R=P\, \Phi \, P^\dagger \): compute the conjunction, apply the phase, and undo the conjunction.
Let \(s\) be injective with \(a\geq 1\), and append a pool of \(A\geq a\) scratch sites to the register of \(n\) sites. Let \(e\) be the injection of the \(2a\) sites of the zero register sending the data site \(j\) to \(s_j\) and the scratch site \(j\) to the pool site \(j\). The zero-register reflection on the selected sites, \(R_s\), is the diagonal operator on the \(n+A\) sites with entry at \(\sigma \) the entry of \(R\) at \(\sigma \circ e\).
Let \(I\) be nonempty. Then \(\| \chi \| ^2=\sum _j|\alpha _j|^2\), and for a diagonal operator \(D\), \(\langle \chi |D|\chi \rangle =\sum _j|\alpha _j|^2\langle j^I|D|j^I\rangle \). The same holds for every operator supported on a region that leaves a site unobserved.
Let \(|a|^2+|b|^2=1\) and \(\chi =a|0^I\rangle +b|1^I\rangle \). Let \(A,B\) be supported on disjoint regions whose union leaves a site unobserved, and let \(A_s=\langle s^I|A|s^I\rangle \) and \(B_s=\langle s^I|B|s^I\rangle \). Then
and if \(A\) and \(B\) are unitary, its modulus is at most \(4|a|^2|b|^2\).
An implementation on \(E\) is one on every subset of \(E\). The empty circuit implements \(\mathbf{1}\), and a circuit all of whose Kraus operators are scalar multiples of \(U\) implements \(U\) on every set; in particular a unitary circuit implements its operator. If \(c\) implements \(W\) on \(E\), \(W\) maps \(E\) into \(E'\), and the continuation attached to every branch of \(c\) implements \(W'\) on \(E'\), then the composite circuit implements \(W'W\) on \(E\); in particular so does \(c\) followed by one circuit implementing \(W'\) on \(E'\).
A conversion with one round of measurements in depths \((T_1,T_2)\) is realised by a measurement circuit of depth at most \(T_1+T_2\) with at most one round of measurements; in particular it is a deterministic conversion in depth \(T_1+T_2\), and it is one round in all larger depths. Following it by a unitary circuit of depth at most \(T\) with matrix \(W\) gives a conversion into \(W\psi \) in depths \((T_1,T_2+T)\). A unitary circuit of depth at most \(T\) with matrix \(U\) converts every nonzero \(\varphi \) into \(U\varphi \) with one round in depths \((T,0)\), measuring no site.
Let every Kraus operator of the circuit \(u\) be a scalar multiple of \(U\). If for every configuration \(m\) of \(D\) there is \(z\in \mathbb {C}\) with \((\bigotimes _sV_{m,s})P_mUv=z\, Wv\) for every \(v\in E\), then \(u\) followed by the measurement of \(D\) with the corrections \(V\) implements \(W\) on \(E\).
The rounds of a composition are at most the sum of the rounds. A measurement with onsite corrections has at most one round, and a unitary circuit none.
Let every site carry the same basis set. For a permutation \(\pi \) of the sites, \(P_\pi (K\otimes 1)_wP_\pi ^*=(K\otimes 1)_{\pi \circ w}\), where \((K\otimes 1)_w\) denotes the placement along \(w\) and \(P_\pi \) moves the content of every site \(v\) to \(\pi (v)\). For a permutation \(\rho \) of \(W\), the placement along \(w\) of \(P_\rho \) is \(P_{\rho '}\), where \(\rho '\) is \(w\rho w^{-1}\) on the image of \(w\) and the identity elsewhere.
If \(D\subseteq D'\), then \(\mathcal A_D\subseteq \mathcal A_{D'}\), and \(\mathcal A_V\) is the whole matrix algebra.
For a valid list of \(H\) hops and a configuration \(z\), there are one-site unitaries \(\Phi _i\), equal to the identity off the sites of the hops, such that on every vector \(v\) with \(|0\rangle \) at the sites \(e_j,f_j\) of all hops
\(M\) the set of the sites \(c_j,e_j\) and \(\pi \) the permutation of sites of the list.
- QuantumCircuit.TeleportHop.chainFrame
- QuantumCircuit.TeleportHop.chainPre
- QuantumCircuit.TeleportHop.chainFrame_mem_unitaryGroup
- QuantumCircuit.TeleportHop.chainFrame_of_notMem
- QuantumCircuit.TeleportHop.prod_gate₂_mem_supportedOperators
- QuantumCircuit.TeleportHop.pre_mem_supportedOperators
- QuantumCircuit.TeleportHop.chainPre_cons
- QuantumCircuit.TeleportHop.chainPre_mulVec
On the ring of \(N\) sites, with cells \(\{ k,k+1\} \), let \(2L{\lt}N\). The forward chain from \(a\) consists of the hops \((a+2j,a+2j+1,a+2j+2)\), \(j=L-1,\dots ,0\), and the backward chain of the hops \((a+2j+2,a+2j+1,a+2j)\), \(j=0,\dots ,L-1\). Both are valid, their sites lie in \(\{ a,\dots ,a+2L\} \), and their permutations of sites are inverse to each other; the forward one maps \(a\) to \(a+2L\) and fixes \(a+j\) for \(2L{\lt}j{\lt}N\). The sites \(e,f\) of the forward chain lie in \(\{ a+1,\dots ,a+2L\} \) and those of the backward chain in \(\{ a,\dots ,a+2L-1\} \), and if \(v\) has \(|0\rangle \) on \(\{ a+1,\dots ,a+2L\} \), the forward chain moves it to a vector with \(|0\rangle \) on \(\{ a,\dots ,a+2L-1\} \).
- QuantumCircuit.add_natCast_injective
- QuantumCircuit.add_natCast_succ
- QuantumCircuit.add_natCast_ne
- QuantumCircuit.TeleportHop.After
- QuantumCircuit.TeleportHop.valid_iff_pairwise
- QuantumCircuit.TeleportHop.sitePerm_append
- QuantumCircuit.TeleportHop.pairSites_append
- QuantumCircuit.TeleportHop.chainHop
- QuantumCircuit.TeleportHop.chainHopBack
- QuantumCircuit.TeleportHop.forwardChain
- QuantumCircuit.TeleportHop.backwardChain
- QuantumCircuit.TeleportHop.mem_forwardChain
- QuantumCircuit.TeleportHop.mem_backwardChain
- QuantumCircuit.TeleportHop.valid_forwardChain
- QuantumCircuit.TeleportHop.valid_backwardChain
- QuantumCircuit.TeleportHop.sitePerm_forwardChain
- QuantumCircuit.TeleportHop.sitePerm_backwardChain
- QuantumCircuit.TeleportHop.pairSites_forwardChain_subset
- QuantumCircuit.TeleportHop.pairSites_backwardChain_subset
- QuantumCircuit.TeleportHop.allSites_forwardChain_subset
- QuantumCircuit.TeleportHop.allSites_backwardChain_subset
- QuantumCircuit.TeleportHop.isZeroOn_sitePermOp_forwardChain
For valid lists of hops \(\mathcal T\) and \(\mathcal B\) and a unitary circuit with operator \(U\), the round teleporting along \(\mathcal T\) followed by the round applying the circuit and teleporting along \(\mathcal B\) implements \(P_{\mathcal B}UP_{\mathcal T}\) on the vectors \(v\) with \(|0\rangle \) at the sites \(e,f\) of \(\mathcal T\) such that \(UP_{\mathcal T}v\) has \(|0\rangle \) at the sites \(e,f\) of \(\mathcal B\).
If valid lists of hops \(\mathcal L_g\) have their sites in pairwise disjoint sets \(S_g\), their concatenation is valid, and its permutation of sites agrees with that of \(\mathcal L_g\) on \(S_g\) and fixes every site outside \(\bigcup _gS_g\).
- QuantumCircuit.TeleportHop.mem_allSites_flatMap
- QuantumCircuit.TeleportHop.mem_pairSites_flatMap
- QuantumCircuit.TeleportHop.after_of_disjoint
- QuantumCircuit.TeleportHop.sites_subset_allSites
- QuantumCircuit.TeleportHop.valid_flatMap
- QuantumCircuit.TeleportHop.sitePerm_flatMap_apply
- QuantumCircuit.TeleportHop.sitePerm_flatMap_apply_of_notMem
- Equiv.Perm.apply_mem_of_forall_notMem
Let \(g_1,\dots ,g_n\) be register gates with pairwise disjoint stretches and \(s\ge 1\). For \(t=s-1,\dots ,0\), the round of the forward chains from the sites \(a_r+t\) teleports \(a_r+t\) to \(a_r+2L_r+t\) and moves \(|0\rangle \) from \(\bigcup _rZ_{r,t+1}\) to \(\bigcup _rZ_{r,t}\). The \(s\) forward rounds form a measurement circuit of depth at most \(2s\) which implements the composite \(P\) of their permutations of sites on the vectors with \(|0\rangle \) on \(\bigcup _rZ_{r,s}\), and \(P\) moves these vectors to vectors with \(|0\rangle \) on \(\bigcup _rZ_{r,0}\); the \(s\) backward rounds, for \(t=0,\dots ,s-1\), form a measurement circuit of depth at most \(2s\) which implements \(P^{-1}\) on the vectors with \(|0\rangle \) on \(\bigcup _rZ_{r,0}\). The composite \(P\) maps the sites of the two registers of \(g_r\) to its consecutive sites.
- QuantumCircuit.RegisterGate.two_mul_L_lt
- QuantumCircuit.RegisterGate.there
- QuantumCircuit.RegisterGate.back
- QuantumCircuit.RegisterGate.allSites_there_subset
- QuantumCircuit.RegisterGate.allSites_back_subset
- QuantumCircuit.RegisterGate.allSites_there_subset_span
- QuantumCircuit.RegisterGate.allSites_back_subset_span
- QuantumCircuit.RegisterGate.pairSites_there_subset
- QuantumCircuit.RegisterGate.pairSites_back_subset
- QuantumCircuit.RegisterGate.sitePerm_there_apply_of_lt
- QuantumCircuit.RegisterGate.sitePerm_there_apply_self
- QuantumCircuit.RegisterGate.sitePerm_back_eq_inv
- QuantumCircuit.RegisterGate.sitePerm_back_apply_of_lt
- QuantumCircuit.RegisterGate.sitePerm_back_apply_self
- QuantumCircuit.RegisterGate.sitePerm_there_notMem_zone
- QuantumCircuit.RegisterGate.sitePerm_back_notMem_zone
- QuantumCircuit.RegisterGate.thereAll
- QuantumCircuit.RegisterGate.backAll
- QuantumCircuit.RegisterGate.zoneAll
- QuantumCircuit.RegisterGate.mem_zoneAll
- QuantumCircuit.RegisterGate.valid_thereAll
- QuantumCircuit.RegisterGate.valid_backAll
- QuantumCircuit.RegisterGate.sitePerm_thereAll_apply
- QuantumCircuit.RegisterGate.sitePerm_backAll_apply
- QuantumCircuit.RegisterGate.isZeroOn_sitePermOp_thereAll
- QuantumCircuit.RegisterGate.isZeroOn_sitePermOp_backAll
- QuantumCircuit.RegisterGate.pairSites_thereAll_subset
- QuantumCircuit.RegisterGate.pairSites_backAll_subset
- QuantumCircuit.RegisterGate.sitePerm_backAll_eq_inv
- QuantumCircuit.RegisterGate.therePerm
- QuantumCircuit.RegisterGate.therePerm_apply
- QuantumCircuit.RegisterGate.therePerm_comp_sites
- QuantumCircuit.RegisterGate.isZeroOn_sitePermOp_therePerm
- QuantumCircuit.RegisterGate.isZeroOn_sitePermOp_therePerm_inv
- QuantumCircuit.RegisterGate.thereRounds
- QuantumCircuit.RegisterGate.backRounds
- QuantumCircuit.RegisterGate.depth_thereRounds_le
- QuantumCircuit.RegisterGate.depth_backRounds_le
- QuantumCircuit.RegisterGate.forall_thereRounds
- QuantumCircuit.RegisterGate.forall_backRounds
- QuantumCircuit.RegisterGate.isImplementationOn_thereRounds
- QuantumCircuit.RegisterGate.isImplementationOn_backRounds
Let \(P_{D,m}\) be the matrix unit \(|m\rangle \langle m|\) of a configuration \(m\) of \(D\), placed on \(D\), and let \(P_\pi \) act by \((P_\pi v)(x)=v(x\circ \pi )\).
\((P_{D,m}v)(x)=v(x)\) if \(x\) restricts to \(m\) on \(D\), and \(0\) otherwise; for the restrictions of one configuration \(z\), \(P_{D\cup D',z}=P_{D,z}P_{D',z}\), and these projections commute.
The operator \(u\) at the site \(t\) acts by \((u_tv)(x)=\sum _ju_{x_t,j}\, v(x[t\mapsto j])\).
A vector has \(|0\rangle \) on \(D\) if and only if \(P_{D,0}\) fixes it; hence every operator supported on a region disjoint from \(D\), in particular a one-site operator at a site outside \(D\), keeps \(|0\rangle \) on \(D\).
If \(v\) has \(|0\rangle \) on \(D\), then \(P_\pi v\) has \(|0\rangle \) on \(\pi (D)\), and on \(D'\) whenever \(\pi \) maps no site outside \(D\) into \(D'\).
\(P_\pi \bigotimes _ig_i=\bigl(\bigotimes _ig_{\pi ^{-1}(i)}\bigr)P_\pi \).
- QuantumCircuit.place_single_self_mulVec_apply
- QuantumCircuit.place_single_union
- QuantumCircuit.commute_place_single
- QuantumCircuit.piKronecker_update_one_mulVec_apply
- QuantumCircuit.isZeroOn_iff_place_single_mulVec
- QuantumCircuit.IsZeroOn.mulVec_of_mem_supportedOperators
- QuantumCircuit.IsZeroOn.piKronecker_update_one_mulVec
- QuantumCircuit.IsZeroOn.sitePermOp_mulVec_image
- QuantumCircuit.IsZeroOn.sitePermOp_mulVec_of_mapsTo
- QuantumCircuit.sitePermOp_mul_piKronecker
The increment \(c_j\) does not depend on the scratch site \(j\), so each \(T_j\) is a permutation of all configurations, with inverse subtracting \(c_j\). Let \(d\geq 2\). For every data configuration \(x\) and \(k\leq a\),
In particular, for \(a\geq 1\) the last scratch site of \(C_a(x,0)\) is \(1\) if and only if \(x=0\).
A diagonal matrix whose diagonal entries are \(\pm 1\) is unitary. A diagonal operator on a system of sites whose entry at \(\sigma \) depends only on \(\sigma |_D\) is supported on \(D\).
For an injective map \(e\) of finite sets, \(J_eJ_e^\dagger \) is the diagonal indicator of the image of \(e\). The image of the zero-flag inclusion is the set of configurations whose selected flags are all \(0\). Hence \(E_sE_s^\dagger =Q_s\), an orthogonal projection, and the selected-flags reflection is the reflection about the range of \(E_s\):
- Matrix.basisInclusion_mul_conjTranspose
- QuantumCircuit.zeroFlagEmbedding_apply_selected
- QuantumCircuit.zeroFlagEmbedding_apply_of_notMem
- QuantumCircuit.mem_range_zeroFlagEmbedding_iff
- QuantumCircuit.zeroFlagEmbedding_range_projection
- QuantumCircuit.isStarProjection_zeroFlagEmbedding_range
- QuantumCircuit.selectedZeroRegisterLogical_eq_subspaceReflection
On the geometry of sites and ordered pairs, with pairs of cost \(c_2\), a unitary supported on a nonempty set \(T\) of sites is a product of gates of total cost at most \(N_Tc_2\), where \(N_T\) is the two-site universality count of the sites of \(T\); it depends only on the bases at the sites of \(T\).
The reflection \(Z_s\) is unitary, equal to \(\mathbf1-2Q_s\) for the diagonal projection \(Q_s\) onto the configurations whose selected flags are all \(0\), and supported on the selected sites, whatever the other sites hold. For the empty family, \(Z_s=-\mathbf1\).
The permutation matrix of step \(j\) is supported on the at most three sites read and changed by the step.
Attaching a circuit \(k_p\) to every branch \(p\) of a circuit \(c\) gives a circuit whose branches are the pairs \((p,q)\) of a branch of \(c\) and a branch of \(k_p\), with Kraus operators \(K^{k_p}_qK^c_p\), and its map sends \(\rho \) to \(\sum _p\Phi _{k_p}(K^c_p\rho K^{c\dagger }_p)\); for a circuit starting with a layer this is the map layer by layer, and the map of the circuit of one layer is the map of the layer’s Kraus family. For a continuation independent of \(p\) the map of the composite is the composite of the maps, and the empty circuit is the identity map. A circuit starting with a layer whose continuations all agree is the circuit of the layer followed by one of them, and its Heisenberg picture is that of the layer applied to that of the continuation. The empty circuit is a two-sided identity of composition, and composition is associative.
- QuantumCircuit.Circuit.append
- QuantumCircuit.Circuit.comp
- QuantumCircuit.Circuit.appendIndexEquiv
- QuantumCircuit.Circuit.kraus_append
- QuantumCircuit.Circuit.compIndexEquiv
- QuantumCircuit.Circuit.kraus_comp
- QuantumCircuit.Circuit.map_comp
- QuantumCircuit.Circuit.map_done
- QuantumCircuit.Circuit.done_comp
- QuantumCircuit.Circuit.comp_done
- QuantumCircuit.Circuit.comp_assoc
- QuantumCircuit.Circuit.map_append
- QuantumCircuit.Circuit.map_step
- QuantumCircuit.Circuit.map_ofLayer
- QuantumCircuit.Circuit.step_eq_ofLayer_comp
- QuantumCircuit.Circuit.dual_step_of_forall_eq
The depth of a circuit starting with a layer \(L\) is the depth of \(L\) plus the largest depth of a continuation; in particular the circuit of one layer has the depth of the layer. The cost of a circuit with continuations \(k_p\) attached is at most the cost of the circuit plus the largest cost of a continuation. In particular depth, gate count and the number of gates meeting a site are subadditive under composition. A layer has depth at most \(1\), and the depth of a circuit is at most its gate count. The cost of a sequence of layers is at most the sum of the costs of its layers.
- QuantumCircuit.Circuit.total_append
- QuantumCircuit.Circuit.total_comp
- QuantumCircuit.Circuit.depth_comp
- QuantumCircuit.Circuit.gateCount_comp
- QuantumCircuit.Circuit.participation_comp
- QuantumCircuit.Circuit.total_mono
- QuantumCircuit.Layer.depth_le_gateCount
- QuantumCircuit.Circuit.depth_le_gateCount
- QuantumCircuit.Circuit.total_seq_le
- QuantumCircuit.Circuit.depth_seq_le
- QuantumCircuit.Circuit.gateCount_seq_le
- QuantumCircuit.Layer.depth_le_one
- QuantumCircuit.Circuit.depth_step
- QuantumCircuit.Circuit.depth_ofLayer
Let a circuit be unbranched with trace-preserving gates and onsite families, and let \(A\) be supported on \(R\). Then the Heisenberg picture of \(A\) is supported on the backward light cone of \(R\) [ 11 ] . If the geometry has finitely many cells and every cell has positive cost, the backward light cone lies in the \(T\)-fold neighbourhood of \(R\), where \(T\) is the depth.
Let \(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
A circuit whose gates and onsite families are trace-preserving is trace-preserving, hence a quantum channel, whether or not it branches.
If \(P\) is an orthogonal projection, \(R_P\) is unitary. If \(V^\dagger V=1\), then \(VV^\dagger \) is an orthogonal projection. If \(G^\dagger G=H^\dagger H=1\) and \(G^\dagger H=0\), then \(V_\theta ^\dagger V_\theta =1\) for every real \(\theta \); if, in addition, \(P\) is an orthogonal projection, \(Q_\theta \) is unitary.
Generalizing [ 124 , Example 1 ] and [ 113 , paragraph “Long-range MPS using measurements” ] , let \(M\geq 1\), let \(\beta \) be a finite abelian group, such as \(\mathbb Z_b\) for \(b\geq 1\), and let \(0\neq \alpha \in \mathbb {C}^\beta \). On the ring of \(2M\) sites with basis \(\beta \), with system sites \(2n\) and ancilla sites \(2n+1\) (\(0\le n{\lt}M\)), the vector \(|\chi _M\rangle _{\rm sys}\otimes |0\rangle ^{\otimes M}_{\rm anc}\) is converted from a nonzero product vector with one round of measurements, after a unitary circuit of depth \(2\). Every outcome gives exactly this vector.
On a geometry whose cells have positive cost, let \(U\) be a unitary circuit of depth at most \(T\), and let \(A,B\) be unitary operators supported on regions whose \(T\)-fold neighbourhoods are disjoint and leave a site unobserved. If \(|a|^2+|b|^2=1\), the connected correlation of \(A\) and \(B\) in \(U\bigl(a|0^I\rangle +b|1^I\rangle \bigr)\) has modulus at most \(4|a|^2|b|^2\).
The map of a measurement circuit of depth at most \(T\), the average over its outcomes, is realised by an adaptive protocol of depth at most \(T\); on a pure input \(|v\rangle \langle v|\) it is \(\sum _pK_p|v\rangle \langle v|K_p^\dagger \). If the unit vector \(\varphi \) is converted into the unit vector \(\psi \) in depth \(T\), then \(|\varphi \rangle \langle \varphi |\) is converted adaptively into \(|\psi \rangle \langle \psi |\) in depth \(T\).
A vector converted from a nonzero vector is nonzero. A conversion in depth \(T\) is one in every depth \(T'\ge T\), every nonzero vector is converted into itself in depth \(0\), and a conversion into \(\psi \) is one into \(a\psi \) for \(a\neq 0\). Converting \(\varphi \) into \(\psi \) in depth \(T_1\) and \(\psi \) into \(\chi \) in depth \(T_2\) converts \(\varphi \) into \(\chi \) in depth \(T_1+T_2\). A measurement circuit of depth at most \(T\) implementing \(W\) on a set containing the nonzero vector \(\varphi \) converts \(\varphi \) into \(W\varphi \) in depth \(T\). A conversion from \((\bigotimes _sU_s)\varphi \), for unitaries \(U_s\), is a conversion from \(\varphi \) in the same depth; in particular a conversion from a product vector is one from a basis configuration. A unitary circuit of depth at most \(T\) with matrix \(U\) converts every nonzero \(\varphi \) into \(U\varphi \) in depth \(T\); hence a nonzero vector prepared in depth \(T\) by a unitary circuit is converted in depth \(T\) from a product vector.
- QuantumCircuit.IsMeasurementConversion.ne_zero
- QuantumCircuit.IsMeasurementConversion.mono
- QuantumCircuit.IsMeasurementConversion.refl
- QuantumCircuit.IsMeasurementConversion.smul
- QuantumCircuit.IsMeasurementConversion.trans
- QuantumCircuit.Circuit.IsImplementationOn.isMeasurementConversion
- QuantumCircuit.IsMeasurementConversion.of_piKronecker
- QuantumCircuit.IsUnitaryCircuit.isMeasurementConversion
- QuantumCircuit.IsPreparedInDepth.exists_isMeasurementConversion
Let a circuit whose gates and onsite families are trace-preserving implement an isometry \(W\) on a linear subspace \(E\). Then its map sends \(|u\rangle \langle v|\) to \(W|u\rangle \langle v|W^\dagger \) for all \(u,v\in E\): averaged over the outcomes, the circuit acts on the operators supported in \(E\) as the coherent operation \(W\).
An operator is supported on \(w(W)\) if and only if it is placed along \(w\). If \(K\) is supported on a region \(S\subseteq W\), then \(K\otimes 1\) is supported on \(w(S)\). Matrices placed along injections with disjoint images commute.
On the ring of \(N\) sites, let \(u_1,\dots ,u_n\) be two-site unitaries on the pairs \(\{ a_r,a_r+2L_r+1\} \), \(2L_r+1{\lt}N\), at odd separation, whose stretches \(\{ a_r,\dots ,a_r+2L_r+1\} \) are pairwise disjoint. A measurement circuit of depth at most \(5\) implements \(\prod _ru_r\) on the vectors with \(|0\rangle \) at the sites \(a_r+1,\dots ,a_r+2L_r\) of every \(r\), without postselection.
- QuantumCircuit.LongRangeGate
- QuantumCircuit.LongRangeGate.far
- QuantumCircuit.LongRangeGate.near
- QuantumCircuit.LongRangeGate.span
- QuantumCircuit.LongRangeGate.interior
- QuantumCircuit.LongRangeGate.cleared
- QuantumCircuit.LongRangeGate.op
- QuantumCircuit.LongRangeGate.mem_span
- QuantumCircuit.LongRangeGate.mem_interior
- QuantumCircuit.LongRangeGate.localGate
- QuantumCircuit.LongRangeGate.there
- QuantumCircuit.LongRangeGate.back
- QuantumCircuit.LongRangeGate.near_ne_far
- QuantumCircuit.LongRangeGate.a_ne_far
- QuantumCircuit.LongRangeGate.near_add_one
- QuantumCircuit.LongRangeGate.localGate_mem_unitaryGroup
- QuantumCircuit.LongRangeGate.localGate_mem_supportedOperators
- QuantumCircuit.LongRangeGate.op_mem_unitaryGroup
- QuantumCircuit.LongRangeGate.op_mem_supportedOperators
- QuantumCircuit.LongRangeGate.far_mem_span
- QuantumCircuit.LongRangeGate.cell_near_subset_span
- QuantumCircuit.LongRangeGate.interior_subset_span
- QuantumCircuit.LongRangeGate.cleared_subset_span
- QuantumCircuit.LongRangeGate.allSites_there_subset_span
- QuantumCircuit.LongRangeGate.allSites_back_subset_span
- QuantumCircuit.LongRangeGate.disjoint_cleared_cell_near
- QuantumCircuit.LongRangeGate.sitePerm_back_near
- QuantumCircuit.LongRangeGate.sitePerm_back_far
- QuantumCircuit.LongRangeGate.sitePerm_back_sitePerm_there
- QuantumCircuit.LongRangeGate.pairwise_disjoint_cell
- QuantumCircuit.LongRangeGate.localLayer
- QuantumCircuit.LongRangeGate.kraus_localLayer
- QuantumCircuit.LongRangeGate.forall_isUnitary_localLayer
- QuantumCircuit.LongRangeGate.valid_there
- QuantumCircuit.LongRangeGate.valid_back
- QuantumCircuit.LongRangeGate.isZeroOn_sitePermOp_there
- QuantumCircuit.LongRangeGate.isZeroOn_localGates
- QuantumCircuit.LongRangeGate.sitePerm_there_eq_symm
- QuantumCircuit.LongRangeGate.sitePermOp_back_mul_localGates_mul_sitePermOp_there
- QuantumCircuit.LongRangeGate.rounds
- QuantumCircuit.LongRangeGate.depth_rounds_le
- QuantumCircuit.LongRangeGate.forall_rounds
- QuantumCircuit.LongRangeGate.isImplementationOn_rounds
- List.mul_prod_mul_of_mul_eq_one
Let \(g_1,\dots ,g_n\) be register gates with pairwise disjoint stretches, and let the product of their local gates be the operator of a unitary circuit of depth at most \(K\) on the ring. Then a measurement circuit of depth at most \(4s+K\) implements \(\prod _rg_r\) on the vectors with \(|0\rangle \) on the interiors of all \(g_r\), without postselection. Such a circuit exists when every \(X_r\) is a product of gates of total cost at most \(K\) on neighbouring sites of the open chain of \(2s\) sites.
- QuantumCircuit.RegisterGate.rounds
- QuantumCircuit.RegisterGate.depth_rounds_le
- QuantumCircuit.RegisterGate.forall_rounds
- QuantumCircuit.RegisterGate.localProd
- QuantumCircuit.RegisterGate.isZeroOn_localProd_mulVec
- QuantumCircuit.RegisterGate.sitePermOp_inv_mul_localProd_mul_sitePermOp
- QuantumCircuit.RegisterGate.isZeroOn_zoneAll_iff
- QuantumCircuit.RegisterGate.isImplementationOn_rounds
- QuantumCircuit.RegisterGate.isUnitaryCircuit_localProd
- QuantumCircuit.RegisterGate.exists_rounds
For a valid list of \(H\) hops and a unitary circuit \(u\) with operator \(U\), the teleportation round applies \(u\), the layer of the first gates and the layer of the second gates of the hops, measures the sites \(c_j,e_j\), and corrects by the inverse of the frame of Lemma 50.4.7 for the outcome. It is a measurement circuit of depth at most \(\operatorname {depth}(u)+2\), whatever the number and the lengths of the chains, and it implements \(P_\pi U\) on the vectors \(v\) such that \(Uv\) has \(|0\rangle \) at the sites \(e_j,f_j\) of all hops, with the scalar \(d^{-H}\) on every branch.
- QuantumCircuit.TeleportHop.roundUnitary
- QuantumCircuit.TeleportHop.extendOutcome
- QuantumCircuit.TeleportHop.round
- QuantumCircuit.TeleportHop.op_roundUnitary
- QuantumCircuit.TeleportHop.depth_round_le
- QuantumCircuit.TeleportHop.depth_round_id_le
- QuantumCircuit.TeleportHop.forall_round
- QuantumCircuit.TeleportHop.isImplementationOn_round
A unitary circuit on the cells of \(\Gamma \) inside a region \(D\), on the system of the sites of \(D\), read on all the sites with the identity outside \(D\), is a unitary circuit inside \(D\) of the same depth and gate count with operator \(V\otimes 1\) placed on \(D\). In particular a product of gates of cost \(K\) on the cells inside \(D\) is, placed, a circuit of depth \(K\) inside \(D\) and a product of gates of cost \(K\).
- QuantumCircuit.UnitaryCircuit.op_eq_of_forall₂
- QuantumCircuit.Geometry.restrictHom
- QuantumCircuit.Layer.place
- QuantumCircuit.Layer.forall_isUnitary_place
- QuantumCircuit.Layer.isIn_place
- QuantumCircuit.Layer.gateCount_place
- QuantumCircuit.Layer.depth_place
- QuantumCircuit.Layer.kraus_place
- QuantumCircuit.UnitaryCircuit.place
- QuantumCircuit.UnitaryCircuit.op_place
- QuantumCircuit.UnitaryCircuit.isIn_place
- QuantumCircuit.UnitaryCircuit.depth_place
- QuantumCircuit.UnitaryCircuit.gateCount_place
- QuantumCircuit.IsGateProduct.of_restrict
- QuantumCircuit.IsUnitaryCircuit.isUnitaryCircuitOn_of_restrict
- QuantumCircuit.IsGateProduct.isUnitaryCircuitOn_of_restrict
A bijection of sites carrying the cells of one geometry to cells of another of the same cost carries unitary circuits to unitary circuits with the relabelled operator and the same depth and gate count. Hence a product of \(K\) gates on neighbouring sites of a chain of \(m\) sites, placed on \(m\) consecutive sites of a ring or of a longer chain, is a circuit of depth \(K\) inside the placed sites and a product of \(K\) neighbouring gates there [ 113 ] .
- QuantumCircuit.Layer.relabel
- QuantumCircuit.Layer.forall_isUnitary_relabel
- QuantumCircuit.Layer.gateCount_relabel
- QuantumCircuit.Layer.depth_relabel
- QuantumCircuit.Layer.kraus_relabel
- QuantumCircuit.UnitaryCircuit.relabel
- QuantumCircuit.UnitaryCircuit.op_relabel
- QuantumCircuit.UnitaryCircuit.depth_relabel
- QuantumCircuit.UnitaryCircuit.gateCount_relabel
- QuantumCircuit.IsGateProduct.relabel
- QuantumCircuit.IsUnitaryCircuit.relabel
- QuantumCircuit.Geometry.Hom.toRestrict
- QuantumCircuit.Geometry.exists_hom_graph
- QuantumCircuit.Geometry.graph_cell_nonempty
- QuantumCircuit.Geometry.ring_cell_nonempty
- QuantumCircuit.IsGateProduct.isUnitaryCircuitOn_of_hom
- QuantumCircuit.IsGateProduct.isUnitaryCircuitOn_graph
- QuantumCircuit.IsGateProduct.isUnitaryCircuitOn_ring
- QuantumCircuit.IsGateProduct.place_pathGraph
On the open chain, the swap of two neighbouring sites is one gate. A unitary supported on two sites \(i\ne j\) is a product of at most \(2|i-j|-1\le 2n\) neighbouring gates, and so is the swap of \(i\) and \(j\); the operator of a permutation of the sites costs at most \(2n^2\), and conjugation by it adds at most \(4n^2\) to a gate count. A product of gates of cost \(K\) on the geometry of all sites and pairs of sites, with pairs of cost at least \(1\), is a product of at most \(2nK\) neighbouring gates. On a chain of at least two sites a product of gates on windows of two sites is a product of the same number of neighbouring gates. This is the use of swap gates in [ 113 ] (paragraph “The sequential-RG circuit”: the inputs “are separated by \(O(q)\) sites, which requires one to implement SWAP gates”).
- QuantumCircuit.isGateProduct_sitePermOp_swap_of_succ
- QuantumCircuit.isGateProduct_of_mem_supportedOperators_pair_of_lt
- QuantumCircuit.isGateProduct_of_mem_supportedOperators_pair_dist
- QuantumCircuit.isGateProduct_of_mem_supportedOperators_pair
- QuantumCircuit.isGateProduct_sitePermOp_swap
- QuantumCircuit.isGateProduct_sitePermOp
- QuantumCircuit.IsGateProduct.sitePermOp_mul_mul_conjTranspose
- QuantumCircuit.IsGateProduct.of_sitesAndPairs
- QuantumCircuit.IsGateProduct.place_window_two
- QuantumCircuit.IsGateProduct.of_window_two
Let \(V\) be a finite set of \(n\) sites and \(m=\prod _v|X_v|\), and suppose that every unitary supported on two distinct sites is a product of gates of \(\Gamma \) of cost \(k\). One-site unitaries and global phases cost nothing. A controlled two-level rotation or phase with \(j\) controls costs at most \((2^{j+1}-2)k\), a two-level rotation or phase between distinct configurations at most \((2n-1)(2^n-2)k\), and every unitary on \(\mathcal H_X\) at most \(3m^2(2n-1)(2^n-2)k\le 6m^4k\) when every \(|X_v|\ge 2\). On the geometry of all sites and pairs of sites the hypothesis holds with \(k\) the cost of a pair. This is the step “can be further expressed with a low-depth circuit of local gates” of [ 113 , caption of Fig. 1 ] .
- QuantumCircuit.quarterTwo_isSpecialTwo
- QuantumCircuit.twoLevel_quarterTwo_mul
- QuantumCircuit.twoLevel_conj_quarterTwo
- QuantumCircuit.IsGateProduct.place_singleton
- QuantumCircuit.IsGateProduct.smul_one
- QuantumCircuit.IsGateProduct.of_mem_supportedOperators_singleton
- QuantumCircuit.IsGateProduct.of_mem_supportedOperators_card_le_two
- QuantumCircuit.isGateProduct_ctrlOp_twoLevel
- QuantumCircuit.isGateProduct_twoLevel
- QuantumCircuit.unitaryGateCount
- QuantumCircuit.isGateProduct_unitaryGateCount
- QuantumCircuit.exists_isGateProduct
- QuantumCircuit.unitaryGateCount_le
- QuantumCircuit.isGateProduct_sitesAndPairs_of_mem_supportedOperators_pair
- QuantumCircuit.isGateProduct_sitesAndPairs
Let \(d\geq 2\) and \(a\geq 1\). With pairs of cost \(1\), each conjunction step is a product of at most \(6(d^3)^4\) gates on sites and ordered pairs, the conjunction of the first \(k\) steps of at most \(6k(d^3)^4\), and the zero-register reflection of at most \(12(d^3)^4a\). On the open chain of the \(2a\) sites the reflection is a product of at most \(2\cdot 2a\cdot 12(d^3)^4a\) gates on neighbouring sites.
- QuantumCircuit.zeroConjunctionStepGateCount
- QuantumCircuit.zeroRegisterReflectionGateCount
- QuantumCircuit.isGateProduct_zeroConjunctionStep
- QuantumCircuit.isGateProduct_zeroConjunctionPerm
- QuantumCircuit.isGateProduct_zeroRegisterReflection
- QuantumCircuit.isGateProduct_pathGraph_zeroRegisterReflection
The phase \(\Phi \) is supported on the last scratch site. The reflection \(R\) is the diagonal operator with entry \(-1\) at the configurations \(\sigma \) such that the last scratch site of \(C_a\sigma \) is \(1\), and \(1\) elsewhere; it is unitary. Let \(d\geq 2\). For every data configuration \(x\), \(R|x,0\rangle =-|x,0\rangle \) if \(x=0\) and \(R|x,0\rangle =|x,0\rangle \) otherwise. Equivalently, for the basis inclusion \(J|x\rangle =|x,0\rangle \),
Let \(d\geq 2\), let \(s\) be an injective family of \(a\) sites of a register of \(n\) sites, and append a pool of \(A\geq a\) sites. With pairs of cost \(1\), the zero-register reflection on the selected sites is a product of at most \(12(d^3)^4a\) gates on sites and ordered pairs of the \(n+A\) sites, and of at most \(2(n+A)\cdot 12(d^3)^4a\) gates on neighbouring sites of the open chain. Hence a product of at most that many neighbouring gates implements the selected-flags reflection \(Z_s=\mathbf1-2E_sE_s^\dagger \) with the whole pool as clean workspace; for \(a=0\) the global phase \(-\mathbf1\) does so at no cost.
- QuantumCircuit.sitesAndPairsHom
- QuantumCircuit.isGateProduct_selectedZeroRegisterReflection
- QuantumCircuit.isGateProduct_pathGraph_selectedZeroRegisterReflection
- QuantumCircuit.exists_isGateProduct_isCleanImplementation_selectedZeroRegister
- QuantumCircuit.exists_isGateProduct_isCleanImplementation_zeroFlagReflection
The matrix element of \(R_s\) between \(\sigma \) and \(\tau \) is \(R_{\sigma \circ e,\tau \circ e}\) if \(\sigma \) and \(\tau \) agree outside the image of \(e\), and \(0\) otherwise: \(R_s\) is \(R\) on the selected flags and the first \(a\) pool sites and the identity elsewhere. It is unitary and supported on the image of \(e\). Let \(d\geq 2\). For every configuration \(x\) of the \(n\) sites, \(R_s|x,0\rangle =-|x,0\rangle \) if all selected flags of \(x\) are \(0\) and \(R_s|x,0\rangle =|x,0\rangle \) otherwise; the whole pool, including its unused sites, returns to \(0\). Equivalently, \(R_sJ=JZ_s\) for the basis inclusion \(J|x\rangle =|x,0\rangle \).
- QuantumCircuit.selectedZeroRegisterSites_castAdd
- QuantumCircuit.selectedZeroRegisterSites_natAdd
- QuantumCircuit.selectedZeroRegisterReflection_apply
- QuantumCircuit.selectedZeroRegisterReflection_mem_unitaryGroup
- QuantumCircuit.selectedZeroRegisterReflection_mem_supportedOperators
- QuantumCircuit.selectedZeroRegisterReflection_apply_clean
- QuantumCircuit.isCleanImplementation_selectedZeroRegisterReflection