Tensor Network Theory: A formalization blueprint

72 Local quantum circuits

A chain of \(N\) sites of local dimension \(d\) carries \((\mathbb {C}^d)^{\otimes N}\), with the computational basis labelled by the configurations of the chain. A local circuit is a product of layers of unitaries on disjoint pairs of neighbouring sites of the chain closed into a ring [ 324 ] , or more generally on disjoint bonds of a geometry such as the edges of a lattice [ 333 ] . A circuit of depth \(T\) enlarges the set of sites on which an operator acts by at most \(T\) steps along the bonds, on the ring by at most \(T\) sites on each side, so a state that it prepares from a product state has no connected correlations beyond distance \(2T\), and every unitary on a bounded number of sites is a product of a bounded number of gates on neighbouring sites. Measurements in the computational basis, followed by corrections on single sites chosen from all the outcomes [ 333 ] , prepare GHZ-type states in constant depth, teleport sites along chains of neighbouring pairs, and apply gates on pairs of distant sites or of distant registers in constant depth. Circuits of channels on neighbouring pairs, with ancillas attached and discarded site by site, obey the same light cone. This chapter treats unitary circuits; Chapters 73–75 treat measurements and long-range gates, circuits of channels, and Lieb–Robinson bounds. Chapter 77 applies these results to the preparation of matrix product states.

72.1 Operators on sets of sites and local circuits

A bond geometry on a finite site set \(I\) is a family \((B_b)_{b\in \beta }\) of subsets \(B_b\subseteq I\). An operator on \((\mathbb {C}^d)^{\otimes I}\) acts on \(X\subseteq I\) if it lies in \(\mathcal A_X=M_{d}(\mathbb {C})^{\otimes X}\otimes \mathbb 1_{I\setminus X}=\operatorname {span}\{ \bigotimes _{i\in I}m_i:m_i=\mathbb 1\text{ for }i\notin X\} \). A layer is a product of unitaries on pairwise disjoint bonds and of one-site unitaries on the remaining sites; it has depth \(1\) if it contains a gate on a bond and depth \(0\) otherwise. A local circuit of depth \(T\) is a product \(U=W_k\cdots W_1\) of layers of total depth at most \(T\), and a state \(|\psi \rangle \) is prepared in depth \(T\) if \(|\psi \rangle =U\bigotimes _{i\in I}|v_i\rangle \).

On the \(N\)-site chain \(I=\{ 1,\dots ,N\} \), the ring bonds are \(\{ k,k+1\} \pmod N\) (\(\{ 1\} \) for \(N=1\)), the open-chain bonds are \(\{ k,k+1\} \) (\(1\le k{\lt}N\)), and graph bonds are the edges  [ 333 ] .

Let \(I\) be a finite set, \(q\in \mathbb N\), \(S\subseteq I\), and \(\mathcal C=\{ 0,\ldots ,q-1\} ^I\). A matrix \(A\in \mathbb {C}^{\mathcal C\times \mathcal C}\) belongs to \(\mathcal A_S=\operatorname {span}\{ \bigotimes _{i\in I}m_i:m_i=\mathbb 1\text{ for }i\notin S\} \) if and only if:

  1. \(\sigma |_{S^c}\ne \tau |_{S^c}\implies A_{\sigma \tau }=0\);

  2. \(\sigma |_S=\sigma '|_S,\, \tau |_S=\tau '|_S,\, \sigma |_{S^c}=\tau |_{S^c},\, \sigma '|_{S^c}=\tau '|_{S^c}\implies A_{\sigma \tau }=A_{\sigma '\tau '}\).

This characterizes the support condition of  [ 360 , Lemma 3.1 ] , 02-initial.tex, line 39. For a matrix \(K\) on \(S\), placement along the inclusion \(S\hookrightarrow I\) is the local lift \(K\otimes \mathbb 1_{S^c}\) in the corresponding tensor coordinates. This identity includes empty regions and zero local dimension.

Proof ▶

Every generator \(A=\bigotimes _i m_i\) (\(m_i=\mathbb 1\) for \(i\notin S\)) has entries

\begin{align} A_{\sigma \tau } & =\prod _{i\in S}(m_i)_{\sigma _i\tau _i} \prod _{i\notin S}\delta _{\sigma _i\tau _i},\notag \end{align}

satisfying (1)–(2), which pass to linear combinations. Conversely, if \(\mathcal C=\varnothing \) then \(A=0\); otherwise fix \(\rho \in \mathcal C\) and set \(K_{ab}=A_{a\rho ,\, b\rho }\) for \(a,b\in \{ 0,\dots ,q-1\} ^S\), where \(a\rho |_S=a\) and \(a\rho |_{S^c}=\rho |_{S^c}\). By (1)–(2),

\begin{align} A_{\sigma \tau } & =K_{\sigma |_S\, \tau |_S}\, \delta _{\sigma |_{S^c}\, \tau |_{S^c}},\notag \\ A & =\sum _{a,b}K_{ab}\, (e_{ab}\otimes \mathbb 1) =\sum _{a,b}K_{ab}\Bigl(\bigotimes _{i\in S}e_{a_ib_i}\otimes \bigotimes _{i\notin S}\mathbb 1\Bigr)\in \mathcal A_S.\notag \end{align}
Definition 72.1.3 Pairing local coordinates
✓
#

For a finite site set \(I\) and integers \(d,e\ge 0\), the sitewise bijection \((a,b)\mapsto ea+b\) from \(\{ 0,\dots ,d-1\} \times \{ 0,\dots ,e-1\} \) to \(\{ 0,\dots ,de-1\} \) induces a configuration bijection \(p\colon \{ 0,\dots ,d-1\} ^I\times \{ 0,\dots ,e-1\} ^I\xrightarrow {\sim }\{ 0,\dots ,de-1\} ^I\).

Lemma 72.1.4 Support of a tensor product on paired sites
✓

As in  [ 361 ] , 02-information.tex, lines 416–424 and 513–524, if \(A\) on \((\mathbb {C}^d)^{\otimes I}\) is supported on \(S\subseteq I\) and \(B\) on \((\mathbb {C}^e)^{\otimes I}\) is supported on \(T\subseteq I\), then \(A\otimes B\) reindexed by \(p\) is supported on \(S\cup T\) in \((\mathbb {C}^{de})^{\otimes I}\).

Proof ▶

By bilinearity, for \(A=\bigotimes _i A_i\) (\(A_i=\mathbb 1\) outside \(S\)) and \(B=\bigotimes _i B_i\) (\(B_i=\mathbb 1\) outside \(T\)), reindexing by \(p\) identifies \(A\otimes B\) with \(\bigotimes _i(A_i\otimes B_i)\), where \(A_i\otimes B_i=\mathbb 1\) for \(i\notin S\cup T\).

Definition 72.1.5 Light cone of a bond geometry
✓

For a bond geometry \((B_b)_{b\in \beta }\) on \(I\) and \(X\subseteq I\), the one-step neighbourhood is \(\mathcal N_1(X)=X\cup \bigcup _{B_b\cap X\ne \varnothing }B_b\), and the light cone of radius \(r\) is the \(r\)-fold iterate \(\mathcal L_r(X)=\mathcal N_1^r(X)\). On the ring, the \(r\)-neighbourhood of \(X\) is \(\{ i+m\pmod N:i\in X,\, |m|\le r\} \), and \(X,Y\) are separated by \(s\) if \(d_{\rm ring}(X,Y){\gt}s\). On a graph, bonds are edges and distance is the path metric \(d_G\)  [ 333 ] .

For every bond geometry, \(\mathcal L_s(\mathcal L_r(X))=\mathcal L_{r+s}(X)\). Furthermore:

  1. On the ring (\(N\ge 1\)), \(\mathcal L_r(X)=\{ i+m\pmod N:i\in X,\, |m|\le r\} \).

  2. On the open chain, \(\mathcal L_r(X)\subseteq \{ j:|j-i|\le r\text{ for some }i\in X\} \).

  3. On a graph \(G\), \(\mathcal L_r(X)\subseteq \{ v:d_G(v,X)\le r\} \).

In each case, \(d(X,Y){\gt}2r\implies \mathcal L_r(X)\cap \mathcal L_r(Y)=\varnothing \).

Proof ▶

Since \(\mathcal L_r=\mathcal N_1^r\), \(\mathcal L_s(\mathcal L_r(X))=\mathcal L_{r+s}(X)\). On the ring, the bonds meeting \(i\in X\) are \(\{ i-1,i\} \) and \(\{ i,i+1\} \), so \(\mathcal N_1(X)=\{ i+m:|m|\le 1\} \), and induction on \(r\) gives (1). Items (2)–(3) and disjointness for \(d(X,Y){\gt}2r\) follow by induction on \(r\) and the triangle inequality.

As in  [ 324 , Theorem 1 ] , if \(U\) is a local circuit of depth \(T\) on a bond geometry and \(Z\in \mathcal A_X\), then \(U^\dagger ZU\in \mathcal A_{\mathcal L_T(X)}\) (on the ring, within ring distance \(T\) of \(X\)).

Proof ▶

By induction on \(T\) using Lemma 72.1.6, it suffices to treat a single layer \(W=HG\), where \(G\) is the product of gates on bonds meeting \(X\) and \(H\) is the product of the remaining gates. Since \(H\in \mathcal A_{X^c}\) is unitary, \([H,Z]=0\), so \(W^\dagger ZW=G^\dagger ZG\in \mathcal A_{\mathcal N_1(X)}\).

Following  [ 324 , Theorem 1 ] , let \(|\psi \rangle \) be prepared in depth \(T\), and let \(Z\in \mathcal A_X\), \(Z'\in \mathcal A_{X'}\) with \(\mathcal L_T(X)\cap \mathcal L_T(X')=\varnothing \) (e.g., \(d_{\rm ring}(X,X'){\gt}2T\)). Then

\begin{align} \langle \psi |ZZ’|\psi \rangle \langle \psi | \psi \rangle & =\langle \psi |Z|\psi \rangle \langle \psi |Z’|\psi \rangle ,\notag \end{align}

and \(\langle \psi |ZZ'|\psi \rangle =\langle \psi |Z|\psi \rangle \langle \psi |Z'|\psi \rangle \) when \(\langle \psi | \psi \rangle =1\). On any product vector \(|\pi \rangle =\bigotimes _i|v_i\rangle \), \(\langle \pi |\bigotimes _i m_i|\pi \rangle =\prod _i\langle v_i|m_i|v_i\rangle \) and \(\langle \pi |AB|\pi \rangle \langle \pi | \pi \rangle =\langle \pi |A|\pi \rangle \langle \pi |B|\pi \rangle \) for \(A,B\) on disjoint supports.

Proof ▶

Write \(|\psi \rangle =U|\pi \rangle \) with \(|\pi \rangle =\bigotimes _i|v_i\rangle \). By Lemma 72.1.7, \(A=U^\dagger ZU\in \mathcal A_{\mathcal L_T(X)}\) and \(B=U^\dagger Z'U\in \mathcal A_{\mathcal L_T(X')}\) have disjoint supports. For product generators \(A=\bigotimes _i m_i\) and \(B=\bigotimes _i m'_i\) with disjoint supports, at least one of \(m_i,m'_i\) is \(\mathbb 1\) at each site \(i\), so \(\langle \pi |AB|\pi \rangle \langle \pi | \pi \rangle =\prod _i\langle v_i|m_im'_i|v_i\rangle \langle v_i | v_i \rangle =\langle \pi |A|\pi \rangle \langle \pi |B|\pi \rangle \), which extends by bilinearity.

For a layer \(W=\prod _k g_k\), replacing each gate \(g_k\) by \(g_k^\dagger \) on the same bond implements \(W^\dagger \) (and likewise on any bond subset). If \(U=W_T\cdots W_1\) has depth \(T\) and \(U'=W'_{T'}\cdots W'_1\) has depth \(T'\), then \(U\) is unitary, \(U^\dagger =W_1^\dagger \cdots W_T^\dagger \) has depth \(T\), and \(U'U=W'_{T'}\cdots W'_1 W_T\cdots W_1\) has depth \(T+T'\).

Proof ▶

Gates on disjoint bonds commute, so \((\prod _k g_k)^\dagger =\prod _k g_k^\dagger \), \((W_T\cdots W_1)^\dagger =W_1^\dagger \cdots W_T^\dagger \), and concatenating layer lists multiplies the circuit operators and adds their depths.

Let \(d\ge 1\). On any finite site set, \((\bigotimes _i m_i)(\bigotimes _i|v_i\rangle )=\bigotimes _i m_i|v_i\rangle \) and \(\bigotimes _i c_i|v_i\rangle =(\prod _i c_i)\bigotimes _i|v_i\rangle \). Every nonzero \(|v\rangle \in \mathbb {C}^d\) equals \(c\, u|0\rangle \) (\(c\ne 0\), \(u\in \mathrm U(d)\)), every nonzero product vector equals \(c(\bigotimes _i u_i)|0\cdots 0\rangle \), \(\bigotimes _i u_i\) is one layer of one-site unitaries, of depth \(0\), and every nonzero vector prepared in depth \(T\) equals \(c\, U|0\cdots 0\rangle \) for a local circuit \(U\) of depth \(T\).

Proof ▶

Factoring \(|v_i\rangle =c_iu_i|0\rangle \) gives \(\bigotimes _i|v_i\rangle =(\prod _i c_i)(\bigotimes _i u_i)|0\cdots 0\rangle \). The product \(\bigotimes _i u_i\) is a layer without gates on bonds, of depth \(0\), and Lemma 72.1.9 gives depth \(T\).

For an injective map \(e\colon J\to I\) between finite site sets and \(X\) on \((\mathbb {C}^d)^{\otimes J}\), the placed operator \(\operatorname {embed}_e(X)\) has entries

\begin{align} \operatorname {embed}_e(X)_{x,y} & =\begin{cases} X_{x\circ e,\, y\circ e},& \text{if }x|_{I\setminus e(J)}=y|_{I\setminus e(J)},\\ 0,& \text{otherwise.}\end{cases}\notag \end{align}

For an injective \(f\colon I\hookrightarrow K\), \(\operatorname {embed}_e(\bigotimes _{j\in J}m_j)\) has factor \(m_j\) at \(e(j)\) and \(\mathbb 1\) outside \(e(J)\), and \(\operatorname {embed}_f(\operatorname {embed}_e(X))=\operatorname {embed}_{f\circ e}(X)\). If \(\{ e_k\colon J_k\hookrightarrow I\} _{k\in K}\) have pairwise disjoint ranges, the operators \(\operatorname {embed}_{e_k}(X_k)\) commute and

\begin{align} \Bigl(\prod _{k\in K}\operatorname {embed}_{e_k}(X_k)\Bigr)_{x,y} & =\begin{cases} \prod _{k\in K}(X_k)_{x\circ e_k,\, y\circ e_k},& \text{if }x|_{I\setminus \bigcup _k e_k(J_k)}=y|_{I\setminus \bigcup _k e_k(J_k)},\\ 0,& \text{otherwise.}\end{cases}\notag \end{align}
Proof ▶

The composition rule follows from \(x|_{(f\circ e)(J)^c}=y|_{(f\circ e)(J)^c}\iff x|_{f(I)^c}=y|_{f(I)^c}\) and \((x\circ f)|_{e(J)^c}=(y\circ f)|_{e(J)^c}\). Disjoint ranges give commuting supports, and induction on \(K\) collapses the intermediate matrix-product sum to the unique configuration matching the output on the new range and the input elsewhere.

Lemma 72.1.12 Norm under placement on additional sites
✓
#

Let \(e:J\hookrightarrow I\) be an injection of finite site sets, and let \(X\) be a matrix on \((\mathbb {C}^q)^{\otimes J}\). Placing \(X\) on these sites and acting as the identity elsewhere gives a matrix \(\iota _e(X)\) satisfying \(\| \iota _e(X)\| \leq \| X\| \) in the Hilbert-space operator norm. Empty configuration spaces are included.

Proof ▶

Placement preserves multiplication, addition, complex scalars and adjoints. It is therefore a nonunital star-algebra homomorphism between complex C-star algebras, and is contractive.

For any injective \(e\colon \{ 0,\ldots ,m-1\} \to \{ 0,\ldots ,n-1\} \) (\(m,n,d\ge 0\)), every \(Z\in \operatorname {End}((\mathbb {C}^d)^{\otimes n})\) with \(\operatorname {supp}(Z)\subseteq \operatorname {im}(e)\) satisfies \(Z=\iota _e(X)\) for some \(X\in \operatorname {End}((\mathbb {C}^d)^{\otimes m})\).

Proof ▶

Writing \(Z\) as a linear combination of \(\bigotimes _{i{\lt}n}A_i\) with \(A_i=I\) for \(i\notin \operatorname {im}(e)\), Lemma 72.1.11 gives \(\bigotimes _{i{\lt}n}A_i=\iota _e\bigl(\bigotimes _{j{\lt}m}A_{e(j)}\bigr)\), and linearity of \(\iota _e\) concludes.

Let \(d\ge 1\), and let \(W_1,\dots ,W_n\colon \{ 1,\dots ,m\} \to I\) be windows such that \((p,t)\mapsto W_p(t)\) is injective. For \(c=(c_1,\dots ,c_n)\) with \(c_p\in \{ 0,\dots ,d-1\} ^m\), define \(\operatorname {place}(c)\in \{ 0,\dots ,d-1\} ^I\) by \(\operatorname {place}(c)(W_p(t))=c_p(t)\) and \(0\) outside \(\bigcup _p\operatorname {im}W_p\); then \(\operatorname {place}\) is injective and fixes every configuration vanishing outside \(\bigcup _p\operatorname {im}W_p\) upon restricting to \((W_p)_p\).

  1. If \(Y_p|\iota _p(c_p)\rangle =\sum _{e_p}V_p(e_p,c_p)|o_p(e_p)\rangle \) for injective maps \(o_p\), then

    \begin{align} \Bigl(\prod _{p=1}^n\operatorname {embed}_{W_p}(Y_p)\Bigr)|\operatorname {place}(\iota _p(c_p))\rangle & =\sum _{e}\Bigl(\prod _{p=1}^n V_p(e_p,c_p)\Bigr)|\operatorname {place}(o_p(e_p))\rangle .\notag \end{align}
  2. For injective \(R,R'\) into a basis, if \(M|x_0\rangle =\sum _a f(a)|R(a)\rangle \) and \(G|R(a)\rangle =\sum _b g(a,b)|R'(b)\rangle \), then \(GM|x_0\rangle =\sum _b\bigl(\sum _a g(a,b)f(a)\bigr)|R'(b)\rangle \).

Proof ▶

Item (1) follows from the disjoint-range product formula of Lemma 72.1.11, since every output with nonzero amplitude vanishes outside \(\bigcup _p\operatorname {im}W_p\). Item (2) is linearity of matrix multiplication.

A layer acts inside \(R\subseteq I\) if all its bonds lie in \(R\) and its one-site unitaries outside \(R\) are \(\mathbb 1\), and \(U\) is a local circuit of depth \(T\) inside \(R\) if \(U=W_k\cdots W_1\) with each \(W_t\) acting inside \(R\) and total depth at most \(T\).

  1. Series composition inside \(R\) adds depths: \(T\) and \(T'\) give \(T+T'\).

  2. If all bonds are nonempty and \(\{ U_i\} _{i\in K}\) are commuting depth-\(T\) circuits inside pairwise disjoint sets \(R_i\), then \(\prod _{i\in K}U_i\) has depth \(T\) inside \(\bigcup _{i\in K}R_i\).

  3. If \(e_i\colon \{ 1,\dots ,m_i\} \hookrightarrow \mathbb {Z}_N\) satisfy \(e_i(j+1)=e_i(j)+1\) with pairwise disjoint ranges and each \(X_i\) is a product of at most \(K\) nearest-neighbour unitaries on \(\{ 1,\dots ,m_i\} \), then \(\prod _i\operatorname {embed}_{e_i}(X_i)\) has depth \(K\) inside \(\bigcup _i\operatorname {im}e_i\).

Proof ▶

Item (1) is layer concatenation (Lemma 72.1.9). For (2), merging the \(t\)-th layers across \(i\in K\) forms a single layer inside \(\bigcup _i R_i\) because nonempty bonds in disjoint \(R_i\) are disjoint. For (3), placing each of the at most \(K\) gates of \(X_i\) by \(e_i\) gives depth at most \(K\) inside \(\operatorname {im}e_i\), and (2) merges them in parallel.

72.2 Two-site gates suffice

Realizing  [ 324 , caption of Fig. 1 ] , for every \(d\ge 1\) and \(n\ge 2\) there exists \(K\) such that every \(U\in \mathrm U((\mathbb {C}^d)^{\otimes n})\) is a product of at most \(K\) nearest-neighbour two-site unitaries on the open chain \(\{ 1,\dots ,n\} \), one-site unitaries being free.

Proof ▶

Factoring out a \(d^n\)-th root of \(\det U\) (a \(1\)-site gate) reduces to \(\det U=1\). Givens elimination decomposes \(U\) into two-level operators \(G_{ab}(g)\) (\(g\in \mathrm{SU}(2)\) a rotation or diagonal phase on \(\operatorname {span}\{ |a\rangle ,|b\rangle \} \)). With \(Q=\bigl(\begin{smallmatrix} 0 & 1 \\ -1 & 0 \end{smallmatrix}\bigr)\) and distinct \(a,b,c\),

\begin{align} G_{ab}(g) & =G_{cb}(Q)^\dagger \, G_{ac}(g)\, G_{cb}(Q); \label{eq:qc_two_level_quarter_turn} \end{align}

choosing \(c\) to reduce the Hamming distance \(d_H(a,b)\) by \(1\) reduces to \(d_H(a,b)=1\), where \(G_{ab}(g)=C_S(u)\) is a \(1\)-site gate \(u=vwv^\dagger w^\dagger \in \mathrm{SU}(d)\) at \(t\) controlled by \(S\not\ni t\). For \(s\neq t\),

\begin{align} C_{S\cup \{ s\} }(vwv^\dagger w^\dagger ) & =C_S(v)\, C_{\{ s\} }(w)\, C_S(v^\dagger )\, C_{\{ s\} }(w^\dagger ), \label{eq:qc_controlled_commutator} \end{align}

which inductively reduces \(|S|\) to \(1\), and nearest-neighbour SWAP gates route any two-site gate \(\{ s,t\} \) to adjacent sites.

Definition 72.2.2 Gates on windows of consecutive sites
✓

Modeling the sequential-RG gates of  [ 324 , paragraph “The sequential-RG circuit” ] , a gate on a window of \(m\) sites on \(\{ 1,\dots ,n\} \) is a unitary supported on \(\{ p:a\le p{\lt}\min (a+m,n+1)\} \) for some \(a\in \{ 1,\dots ,n\} \). An operator is a product of at most \(K\) window-\(m\) gates if it factors into at most \(K\) such gates.

On the open chain of \(n\) sites:

  1. Any unitary supported on a window of \(m\) consecutive sites is a window-\(m\) gate.

  2. Products of \(K\) and \(K'\) window-\(m\) gates multiply to at most \(K+K'\) window-\(m\) gates.

  3. For \(n\ge 2\), a window-\(2\) gate is a nearest-neighbour two-site gate.

  4. For \(d\ge 2\) and \(m\ge 1\), any product of at most \(K\) window-\(m\) gates is a product of at most \(12\, (d^m)^5K\) nearest-neighbour two-site gates, one-site unitaries being free.

Proof ▶

Items (1)–(2) follow from the definition. For (3), a window of length \(2\) lies in \(\{ a',a'+1\} \) with \(a'=\min (a,n-1)\). For (4), each gate is a unitary on a window of at most \(m\) consecutive sites, that is, a unitary on a chain of at most \(m\) sites placed on consecutive sites; by Theorem 72.2.1 on that shorter chain, with the count of Lemma 38.6.63, it is a product of at most \(12\, (d^m)^5\) nearest-neighbour gates.