4.2.5 The uncertainty principle
For the last phenomenon that we want to discuss, we will only need a single quantum bit. Recall the rules for measuring a single quantum bit from Eq. 2.6, as in the following picture:
Given a quantum state , we obtain the two possible outcomes with probabilities
What are the deterministic states for which we get one of the outcomes with certainty? These are states for which one probability is 100% and the other is 0%. In other words, states where one amplitude is and the other is zero. Up to possibly an overall minus sign, which we know from 2.7 is irrelevant, there are only two such states:
i.e., the basis states. These are the only states for which we can predict the measurement outcome perfectly well, so we will say that there is no uncertainty in the measurement outcome.
What happens if we first perform an operation on the qubit and then perform a measurement? For example, suppose that we first apply a Hadamard operation and then a measurement, as in the following picture:
Here, the only states for which we are completely certain about the measurement outcome are
(up to overall sign). This is because the Hadamard operation maps , back to the basis states , (you showed this in 4.5); and the latter states are precisely the states with complete certainty about the final measurement, as we discussed above. We can also see this by computing the probabilities of the two measurement outcomes
If then the state is , while if then the state is (up to overall sign).
These are all calculations that we have seen several times – but there is an interesting observation that we have not made before. Since no state appears in both Eqs. 4.20 and 4.21, this means that, for every state, at least one of the two procedures will have some uncertainty in the measurement outcome. This result is nothing but the famous Heisenberg uncertainty principle!
Can we make this observation more quantitative? We first need a way to quantify the uncertainty or ‘randomness’ given by a probability distribution . The following function is a good choice:
It maps values to , is minimal if one of the outcomes is zero (i.e., if or ) and it is maximal if both outcomes are equally likely (i.e., if ). Here is a plot which confirms these properties:
Now suppose that we start with a state and perform either of the two procedures described above. That is, we either measure the state directly or we first apply a Hadamard operation and then measure. The corresponding uncertainties are and , where the distributions and are given in Eqs. 4.19 and 4.22 above. Then:
Indeed, this inequality means precisely that there exists no state for which both uncertainties are simultaneously zero. In the following homework problem, you will show a stronger result:
Homework 4.4 (Uncertainty tradeoff).
Show that, for every qubit state :
Moreover, find a qubit state with .
Bonus question: Construct this state using Quirky, and confirm that by using Quirky.
Hack.
Using Eqs. 4.19 and 4.22 and the fact that , we confirm the equality:
Alternatively, you could also parametrize the qubit state by and compute that
which again shows that .
For the second part of the problem, an intutive guess is that should work, since it lies right in the middle of the two states and . Indeed:
so also .
The formula that you just proved in 4.4 is quite remarkable: it shows that there is a simple tradeoff between the uncertainties of the two procedures. In particular, if one procedure has zero uncertainty then the other produces a uniformly random outcome! 1313 13 We can also see this directly. E.g., if we directly measure (a state that has zero uncertainty for the second procedure) without first doing a Hadamard, we get outcomes and with equal probability.