2.5.1 Another mysterious operation
We still have not discussed the yellow box in Quirky. Unlike last week’s mystery operation, which operated on bits, this week’s mystery box operates on quantum bits. Let us call this mysterious quantum operation . How can we figure what is going on inside the box? As a first step, let us consider the problem of determining . In Quirky, we can create this state by the following setup:
The problem of determining an unknown state is called quantum state tomography, since we want to reconstruct an unknown quantum state ‘from the outside’, by performing various measurements. It is a fundamental task that experimentalists are faced with every day, when they want to make sure that quantum state that they prepared in the laboratory is the state that they intended to create!
We can already get substantial information by performing a measurement operation on the unknown state. To see this, let us write
If we perform a measurement then by Eq. 2.6 we obtain outcome with probability . What this means is that if we repeat the above experiment a large number of times then we would expect that the fraction of times that we obtain outcome is roughly . This is completely analogously to how one can estimate a coin by tossing it many times and counting the number of heads and tails, as we discussed last week in Section 1.3. This provides us with a procedure for estimating . In Quirky, we can simply use the probability display after the measurement to determine the probability of outcome :
Thus, we find that . Since is a unit vector, we can also infer that . However, amplitudes can be negative, so this only determines and up to signs! Now, remember from 2.7 that and are indistinguishable, so we can only hope to determine up to an overall sign. Thus, we are left with two possibilities:
Note that this situation is very similar to 2.6, where we had to decide between and . In the last homework problem, you will clarify the situation and reveal the inner workings of the mystery box.
Homework 2.6 (Mystery time).
-
1.
How can you decide which of the two options is the case? Use Quirky to determine the quantum state up to sign.
-
2.
Similarly, determine the quantum state up to sign.
-
3.
Bonus question: Do steps 1 and 2 specify the quantum operation completely? If yes, write down a formula for . If not, how can you learn ?
Hack.
-
1.
We must determine which of the two forms the state is:
We can picture the two states and as follows: Calculating the angle can be done as follows:
If we are dealing with , then rotating the state by an angle of gives the state , and hence a measurement would have a chance of yielding the value . On the other hand, if we are dealing with , then rotating by an angle of will yield neither nor , hence the probability of the measurement outcome will be neither nor . So, let’s build this circuit and see what probability we get!
The probability of getting outcome is exactly , meaning that we are dealing with the state . So, we conclude that:
-
2.
We insert a NOT operation in front of the mystery operation in the circuit shown above. This will change the state from to , and hence after the application of the mystery operation, we have the state . We measure this state and check the probability of getting :
Hence, we find that is of the following form:
Now we can make a similar drawing:
-
3.
The somewhat surprising answer is no, since the sign of relative to is important and still undetermined. However, even though we cannot determine the signs of and individually, we can find out whether they are the same or not. This can be done by applying to some intermediate state such as . If the signs are the same, we obtain:
On the other hand, if the signs are opposite, we have:
We can have a look at what Quirky tells us:
Apparently, the probability of getting is . Since , we must be in the second case. So, the signs of and must be different. This tells us everything we can possibly figure out about .