2
$\begingroup$

First I would like to find the matrix corresponding to the transformation and then implement it with rotational gates. How can I do it?

enter image description here

$\endgroup$
2
$\begingroup$

The matrix for $\sigma_z \otimes \sigma_z$:

$$\sigma_z \otimes \sigma_z = \begin{pmatrix} 1&0&0&0 \\ 0&-1&0&0 \\ 0&0&-1&0 \\ 0&0&0&1 \\ \end{pmatrix}$$

The matrix for $e^{-i\sigma_z \otimes \sigma_z t}$, where $t$ is some parameter:

$$e^{-i\sigma_z \otimes \sigma_z t} = \begin{pmatrix} e^{-i t}&0&0&0 \\ 0&e^{i t}&0&0 \\ 0&0&e^{i t}&0 \\ 0&0&0&e^{-i t} \end{pmatrix}$$

The circuit for this operator (like described in this paper):

                                                       

where $R_z$'s argument is $2t$. An explicit explanation about why this circuit implements the operator mentioned above can be found here. Or can be seen after doing matrix multiplication for the gates presented in the circuit:

$$ \text{CNOT} \cdot I \otimes R_z(2t) \cdot \text{CNOT} = \\ = \begin{pmatrix} 1&0&0&0 \\ 0&1&0&0 \\ 0&0&0&1 \\ 0&0&1&0 \end{pmatrix} \begin{pmatrix} e^{-i t}&0&0&0 \\ 0&e^{i t}&0&0 \\ 0&0&e^{-i t}&0 \\ 0&0&0&e^{i t} \end{pmatrix} \begin{pmatrix} 1&0&0&0 \\ 0&1&0&0 \\ 0&0&0&1 \\ 0&0&1&0 \end{pmatrix} = e^{-i\sigma_z \otimes \sigma_z t} $$

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.