1
$\begingroup$

Let's say I have two arbitrary quantum states $|\psi\rangle$ and $|\phi\rangle$. I apply the SWAP test circuit (something like what is given here), and measure the first qubit to get either $0$ or $1$. Is there any way to get back the states $|\psi\rangle$ and $|\phi\rangle$, in an unentangled form, after this measurement? From what I understand, measuring the output entangles the two states.

$\endgroup$
2
  • $\begingroup$ It's not so much the measurement of the control bit that entangles $\vert \psi\rangle$ and $\vert\phi\rangle$; merely performing the CSWAP operation entangles them. $\endgroup$ Sep 13, 2020 at 15:29
  • $\begingroup$ Is there a way to get back the unentangled form? $\endgroup$
    – BlackHat18
    Sep 13, 2020 at 15:35

1 Answer 1

2
$\begingroup$

The output of the qubits is either $$ (I\pm\text{SWAP})|\phi\rangle|\psi\rangle $$ (up to normalisation). As a general rule, information is lost from this compared to $|\phi\rangle|\psi\rangle$ so you cannot reuse the states (unless the states happened to be eigenstates of SWAP, but if you know that, you wouldn't have bothered doing the SWAP test).

To demonstrate this, imagine that $|\phi\rangle|\psi\rangle$ is either $|01\rangle$ or $|10\rangle$. If you get the $I+\text{SWAP}$ answer, the output state is the same for both, $|01\rangle+|10\rangle$. You cannot tell which of the two inputs it was, so you've lost information.

It could be that whatever further processing you want to do can be done on that output. For example, you might be using the SWAP test to deliberately create a symmetric state that you need for something else.

$\endgroup$
2
  • $\begingroup$ Why is it a general rule that information is lost from the output, compared to the initial state? $\endgroup$
    – BlackHat18
    Sep 14, 2020 at 8:02
  • 1
    $\begingroup$ does my edit answer your question? $\endgroup$
    – DaftWullie
    Sep 14, 2020 at 9:14

Your Answer

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

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