51 Placement of circuits and asymptotic preparation
This chapter collects three complements to the chapters on sites and circuits. A product of gates on an open chain placed at arbitrary sites of a longer open chain is again a product of gates on neighbouring sites, and a circuit that acts cleanly with a zero workspace stays clean when it is placed in a larger register with a common workspace. A monomial matrix placed along an injection of sites is monomial. Finally, the trace norm of a difference of two pure states is bounded by their overlap, which turns overlap estimates into the trace-norm convergence of an asymptotic preparation with measurements.
51.1 Circuits on an open chain placed in a longer open chain
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.
Every gate of the short chain acts on two neighbouring sites \(p,p+1\), so its placement acts on the two distinct sites \(w(p),w(p+1)\) of the long chain. By swap routing, a unitary on two sites at distance \(j\) is a product of at most \(2j-1\leq 2N\) gates on neighbouring sites. When \(w\) carries neighbouring sites to neighbouring sites, the placed gates are already gates on neighbouring sites, and relabelling the sites preserves the gate count.
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)\).
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.
On a configuration whose scratch part vanishes, the placed matrix acts by \(U\) on the restriction to the placed sites and by the identity elsewhere, and the restriction of such a configuration has a vanishing scratch part. So the entries of both sides of the placed identity are the entries of the local clean identity, multiplied by the condition that the two configurations agree off the placed sites and vanish on the scratch sites outside the image of \(t\). The gate count is the first part of Lemma 51.1.1.
51.2 Placement of monomial matrices
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)\).
The permutation \(\sigma _w\) is \(\sigma \) acting on the first factor of the splitting of a configuration into its restrictions to the image of \(w\) and to its complement. A configuration \(t\) equals \(\sigma _w(s)\) exactly when \(t\) and \(s\) agree outside the image and \(t\circ w=\sigma (s\circ w)\). The entry of the placed matrix at \((t,s)\) is the entry of \(M(\sigma ,\varphi )\) at \((t\circ w,s\circ w)\) when \(t\) and \(s\) agree outside the image, and zero otherwise; this is \(\varphi (s\circ w)\) exactly when \(t=\sigma _w(s)\).
51.3 Pure states and asymptotic preparation with measurements
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\).
Both identities follow from \(U^\dagger U=\operatorname{id}\).
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.
\(c\overline{c}=\lvert c\rvert ^2=1\), and \((cA)^\dagger (cA)=\overline{c}c\, A^\dagger A\), and similarly on the other side.
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,
Choosing \(U\) unitary with \(\lVert |u\rangle \langle v|\rVert _1=\operatorname {tr}(|v\rangle \langle u| U) =\lvert \langle u|Uv | \rvert \rangle \leq \lVert u\rVert \, \lVert v\rVert \) gives the first bound. With \(|\varphi '\rangle =c|\varphi \rangle \), \(\lvert c\rvert =1\) and \(\langle \psi |\varphi ' | = \rangle \lvert \langle \psi |\varphi | \rvert \rangle \),
so the triangle inequality gives the bound \(2\lVert \psi -\varphi '\rVert =2\sqrt{2(1-\lvert \langle \psi |\varphi | \rvert \rangle )}\). Alternatively, the trace norm equals \(2\sqrt{1-\lvert \langle \psi |\varphi | \rvert \rangle ^2}\) by Lemma 21.6.8.1, and \(1-t^2\leq 2(1-t)\) for \(0\leq t\leq 1\).
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” ] ).
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\).
By Lemma 51.3.3, \(\lVert |\psi _N\rangle \langle \psi _N|-|\varphi _N\rangle \langle \varphi _N|\rVert _1 \leq 2\sqrt{2\varepsilon _N}\to 0\).