3
$\begingroup$

I have recently encountered the paper Both Toffoli and Controlled-NOT need little help to do universal quantum computation by Yaoyun Shi.

I'm having trouble understanding the proof of theorem 3.1 There, it's stated that the operator $U$ can be considered a general rotation. In my opinion there's a lot information missing in that statement. I believe the appropriate statement would be that the 2-dimensional operator $S$ is a general 2-dimensional rotation. If so, I am not obtaining the same results for the eigen(values&vectors).

My question arises from studying the proof of Theorem 3.1.

I would like to know how to compute the eigenvalues of an operator defined as: $U:=S\otimes S \cdot CNOT$ where $S$ is an operator whose squared $S^2$ does not preserve the computational basis. In the paper it's said that such matrix $U$ can be, without loss of genererality, a general rotation of angle $\theta$. What does that mean? How does one compute it's eigenvalues? Wouldn't it make more sense that $S=\begin{bmatrix} cos(\theta) & -sin(\theta) \\ sin(\theta) & cos(\theta) \end{bmatrix}$ actually is a general rotation of angle $\theta$?

I would appreciate some help in order to fully understand the theorem and the proof.


Cross-posted on physics.SE

$\endgroup$
2
  • $\begingroup$ Theorem 3.1 doesn't state so. Please expand to clarify the actual question. $\endgroup$ Commented Jun 15, 2023 at 10:36
  • $\begingroup$ @DanieleCuomo if you read carefully, I asked about the proof of Theorem 3.1. That's where it's stated. $\endgroup$ Commented Jun 15, 2023 at 12:33

1 Answer 1

2
$\begingroup$

I think there's a typo here. I think it's supposed to say that without loss of generality $S$ is a rotation by angle $\theta$ (and hence your proposed parametrisation of $S$ is correct). The most direct evidence I have for this is the eigenvalues of $U$: if $U$ were a rotation by an angle $\theta$, its eigenvalues would be of the form $e^{\pm i\theta}$.

Given this change, how does the calculation proceed? First, verify that the two eigenvectors you're given really are eigenvectors with eigenvalue 1. There are some tricks that help with this. Personally, I rewrote the first eigenvector (for example) as $$ (I\otimes H)(|01\rangle+|10\rangle)/\sqrt{2}. $$ Then I applied $U$ to this, and noted that:

  1. if I commute Hadamard through controlled-not, it changes into controlled-phase
  2. if I commute Hadamard through $S(\theta)$, I have $S(\theta)H=HS(-\theta)$ because $HYH=-Y$.
  3. $S(\theta)\otimes S(-\theta)(|01\rangle+|10\rangle)=(|01\rangle+|10\rangle)$.

So, let's assume we know that two of the eigenvalues of $U$ are 1. What are the others? We can easily calculate that $\text{det}(U)=1$ since $\text{det}(S)=1$. This means that our other two eigenvalues are of the form $e^{\pm i\alpha}$ since this is the only way they can multiply together to give 1. Then we calculate the trace, which is equal to the sum of the eigenvalues: $$ 2+2\cos\alpha=4\cos^4\theta $$ (I just brute-forced this in Mathematica.) This is just the same as $$ 4\cos^2\frac{\alpha}{2}=4\cos^4\theta. $$ Since we're looking for $\pm\alpha$ solutions. Taking the square root leaves us where you need to be.

The second eigenvector: If you look at the second stated eigenvector, it only appears to be a 1-qubit state. So there must be another typo. I believe it should be $$ \sin(\theta)|0\rangle|-\rangle-|1\rangle(\sin(\theta)|+\rangle+2\cos(\theta)|-\rangle) $$


Here are the calculations I did in Mathematica. First, define the matrix and verify the first eigenvector (should give all-zeros vector):

rootU = KroneckerProduct[{{Cos[q], -Sin[q]}, {Sin[q], 
      Cos[q]}}, {{Cos[q], -Sin[q]}, {Sin[q], Cos[q]}}].{{1, 0, 0, 
     0}, {0, 1, 0, 0}, {0, 0, 0, 1}, {0, 0, 1, 0}};
U = rootU.rootU;
(U - IdentityMatrix[4]).{1, -1, 1, 1} // FullSimplify

The problem is if you just ask it to solve for the two eigenvectors of +1 eigenvalue, it doesn't know how to pick them within the degenerate subspace. So, we help. Remove the one eigenvector we already know about, so that there is only one eigenvalue of 1:

V = U - {{1, -1, 1, 1}, -{1, -1, 1, 1}, {1, -1, 1, 1}, {1, -1, 1, 1}}/
    4;
-(Sin[q] - 2 Cos[q]) Eigenvectors[V, 1] // FullSimplify

The form of the other two eigenvalues does not seem to drop out nicely, which is why I went the direction I did to reproduce the results of the paper.

$\endgroup$
4
  • $\begingroup$ Thank you very much for your answer, very helpful and illuminating. Somehow once I plug the matrix representation of the operator U in mathematica and compute the Eigensystem I don't get the same result... How does one directly deduct and obtain the eigenvalues and vectors of the paper? $\endgroup$ Commented Jun 16, 2023 at 8:57
  • $\begingroup$ That's awesome, thank you very much. The only thing I don't fully get is why you multiply by -(sin(q)-2cos(q)) when computing the Eigenvector of the matrix V. Thanks again :) $\endgroup$ Commented Jun 16, 2023 at 9:35
  • $\begingroup$ Mathematica doesn't normalize eigenvectors and the version it created by default looked awful, so I made it look a little less awful (although still didn't normalize it) $\endgroup$
    – DaftWullie
    Commented Jun 16, 2023 at 12:42
  • $\begingroup$ Alright, I see. Thanks a lot again for your help :) $\endgroup$ Commented Jun 16, 2023 at 13:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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