iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🪐

RZZZ Gate Decomposition (1)

に公開

Purpose

The decomposition of the RZ^{\otimes 4} gate is described in reference [NC2], p. 56, Figure 4.19. I would like to briefly show that it can be generally decomposed in that way.

Main Theorem and Proof

To prove the above, we prepare two lemmas.

With the preparations above, we prove the theorem.

Proof of the Theorem (roughly)

The cases for n=1 and n=2 are well known. We show for n \geq 3 by induction. Assume the claim holds up to n-1. In this case, according to the inductive hypothesis, the circuit for n is equivalent to U_{n-1} (\theta) = RZ^{\otimes n-1} for n-1 qubits, so it can be written as follows:

It suffices to confirm that this matches U_n (\theta). First, from Lemma 2,

\begin{align*} \begin{split} &CX_{0, n-1} (I \otimes U_{n-1} (\theta)) CX_{0, n-1} \\ =\ & \begin{pmatrix} I^{\otimes n -1} & 0 \\ 0 & I^{\otimes n - 2} \otimes X \end{pmatrix} \begin{pmatrix} U_{n - 1} (\theta) & 0 \\ 0 & U_{n - 1} (\theta) \end{pmatrix} \begin{pmatrix} I^{\otimes n -1} & 0 \\ 0 & I^{\otimes n - 2} \otimes X \end{pmatrix} \\ =\ & \begin{pmatrix} U_{n - 1} (\theta) & 0 \\ 0 & (I^{\otimes n - 2} \otimes X) U_{n - 1} (\theta) (I^{\otimes n - 2} \otimes X) \end{pmatrix} \\ \end{split} \tag{4} \end{align*}

Let's look at the matrix in the lower right, (I^{\otimes n - 2} \otimes X) U_{n - 1} (\theta) (I^{\otimes n - 2} \otimes X). When written as a quantum circuit, it looks like this:

Here, the part

can be written as

so by moving the X gates on the left and right toward the center, we obtain the following expression for (I^{\otimes n - 2} \otimes X) U_{n - 1} (\theta) (I^{\otimes n - 2} \otimes X):

Since X RZ(\theta) X = RZ(-\theta) can be shown by direct matrix calculation, we can see that:

\begin{align*} (I^{\otimes n - 2} \otimes X) U_{n - 1} (\theta) (I^{\otimes n - 2} \otimes X) = U_{n - 1} (-\theta) \end{align*} \tag{5}

Substituting Eq. (5) into Eq. (4) and using Lemma 1, we get:

\begin{align*} CX_{0, n-1} (I \otimes U_{n-1} (\theta)) CX_{0, n-1} &= \begin{pmatrix} U_{n - 1} (\theta) & 0 \\ 0 & U_{n - 1} (-\theta) \end{pmatrix} \\ &= U_n (\theta) \end{align*}

Thus, the claim is shown by induction. {}_\blacksquare

It might be an overstatement to call it a corollary, but the following can also be shown with almost the same argument.

Summary

Explaining with only mathematical formulas can be difficult to understand, so I attempted to conduct the proof using diagrams where appropriate. Since this content is included in reference [NC2], it is likely well-known, but I could not easily find the paper where it was written, so I proved it myself.

References

[NC2] Michael A. Nielsen, Isaac L. Chuang, Quantum Computation and Quantum Information II, Ohmsha, 2005

GitHubで編集を提案

Discussion