- 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
Consider a register of \(m\) logical sites followed by \(b\) scratch sites, and a larger register of \(n\) logical sites followed by \(A\) scratch sites. Given injections \(e\) of the \(m\) logical sites into the \(n\) logical sites and \(t\) of the \(b\) scratch sites into the \(A\) scratch sites, the placement of the small register sends its logical site \(j\) to \(e(j)\) and its scratch site \(j\) to \(n+t(j)\).
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.
Let \(\sigma \) be a permutation of a finite index set \(S\) and let \(\varphi \colon S\to \mathbb {C}\). The monomial matrix \(M(\sigma ,\varphi )\) is the operator on \(\mathbb {C}^S\) with
Its entry in row \(\sigma (s)\) and column \(s\) is \(\varphi (s)\), and every other entry vanishes.
A sequence \((|\varphi _N\rangle )_N\) on rings of \(N\) sites is asymptotically prepared with measurements in depth \(f\colon \mathbb N\to \mathbb R\) if there exist unit vectors \(|\psi _N\rangle \) that, for all large \(N\), are converted from a product vector by one round of measurements in depth \(T_1\) followed by a unitary circuit of depth \(T_2\) with \(T_1+T_2\leq f(N)\), such that \(\lim _{N\to \infty }\lVert |\psi _N\rangle \langle \psi _N| -|\varphi _N\rangle \langle \varphi _N|\rVert _1=0\) (specializing [ 124 , paragraph “Phases of matter” ] ).
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.
Let \(U\) be a product of \(K\) gates on neighbouring sites of the open chain of \(m\) sites, with the same finite local basis at every site, and let \(w\) be an injection of the sites \(\{ 0,\dots ,m-1\} \) into those of the open chain of \(N\) sites. Then \(U\) acting on the sites \(w(0),\dots ,w(m-1)\), with the identity on the remaining sites, is a product of at most \(2NK\) gates on neighbouring sites of the long chain. If moreover \(w(p+1)=w(p)+1\) for every \(p\), it is a product of at most \(K\) such gates.
Let \(U\) act on \(m\) logical and \(b\) scratch sites and cleanly implement \(Z\) on the logical sites with the scratch sites in the zero configuration: \(U(|x\rangle \otimes |0\rangle )=(Z|x\rangle )\otimes |0\rangle \) for every logical configuration \(x\). Then \(U\) placed along the placement of the register cleanly implements \(Z\) placed along \(e\), with all \(A\) scratch sites of the larger register in the zero configuration. If \(U\) is a product of \(K\) gates on neighbouring sites of the open chain of \(m+b\) sites, its placement is a product of at most \(2(n+A)K\) gates on neighbouring sites of the open chain of \(n+A\) sites.
For unit vectors \(\psi ,\phi \) the trace distance of \(|\psi \rangle \langle \psi |\) and \(|\phi \rangle \langle \phi |\) is \((1-|\langle \psi ,\phi \rangle |^2)^{1/2}\).
If \(\varepsilon _N\to 0\) and for all large \(N\), \(\lVert \varphi _N\rVert =1\) and some unit vector \(|\psi _N\rangle \), converted from a product vector by one round of measurements followed by a unitary circuit in total depth at most \(f(N)\), satisfies \(1-\lvert \langle \psi _N|\varphi _N | \rvert \rangle \leq \varepsilon _N\), then \((|\varphi _N\rangle )_N\) is asymptotically prepared with measurements in depth \(f\).
For vectors \(|u\rangle ,|v\rangle \), \(\lVert |u\rangle \langle v|\rVert _1\leq \lVert u\rVert \, \lVert v\rVert \). For unit vectors \(|\psi \rangle ,|\varphi \rangle \) of a finite-dimensional space,
The placement along \(w\) is linear, unital, multiplicative, compatible with adjoints and with the exponential, and maps unitaries to unitaries; \(\operatorname{Tr}(K\otimes 1)=\lvert X_{V\setminus w(W)}\rvert \operatorname{Tr}K\), and a diagonal matrix \(\operatorname {diag}(f)\) is placed onto the diagonal matrix with entries \(f(\sigma \circ w)\). If \(g(a)\) is the configuration equal to \(a(u)\) at \(w(u)\) and to \(\sigma \) outside \(w(W)\), then \(((K\otimes 1)\psi )(\sigma )=\sum _aK_{\sigma \circ w,a}\, \psi (g(a))\).
- ManyBody.placeAlongHom
- ManyBody.placeAlongHom_apply
- ManyBody.placeAlong_zero
- ManyBody.placeAlong_add
- ManyBody.placeAlong_smul
- ManyBody.placeAlong_neg
- ManyBody.placeAlong_sub
- ManyBody.placeAlong_sum
- ManyBody.placeAlong_conjTranspose
- ManyBody.isHermitian_placeAlong
- ManyBody.placeAlong_one
- ManyBody.placeAlong_mul
- ManyBody.placeAlong_pow
- ManyBody.placeAlong_mem_unitaryGroup
- ManyBody.trace_placeAlong
- ManyBody.placeAlong_diagonal
- ManyBody.placeAlong_exp
- ManyBody.placeAlong_mulVec_apply_of
Let \(w\colon W\to V\) be an injection of finite sets of sites, the site \(u\) of \(W\) carrying the basis of the site \(w(u)\), and let \(\sigma \) be a permutation of the configurations of \(W\). For a configuration \(c\) of \(V\), let \(c\circ w\) be its restriction to the image of \(w\), and let \(\sigma _w(c)\) be the configuration that agrees with \(c\) outside the image of \(w\) and whose restriction is \(\sigma (c\circ w)\); then \(\sigma _w\) is a permutation of the configurations of \(V\). For every \(\varphi \), the monomial matrix \(M(\sigma ,\varphi )\) placed along \(w\), with the identity outside the image, is the monomial matrix \(M(\sigma _w,\varphi _w)\) with \(\varphi _w(c)=\varphi (c\circ w)\).
A complex number \(c\) with \(\lvert c\rvert =1\) satisfies \(c\overline{c}=\overline{c}c=1\). Hence \(cA\) is unitary between two coordinate spaces whenever \(A\) is.
A unitary matrix \(U\) satisfies \(\overline{(Ux)}\cdot (Uy)=\overline{x}\cdot y\) for coordinate vectors \(x\), \(y\), and so preserves inner products and norms. If \(Ux=y\), then \(U^\dagger y=x\).
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