Solution

ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2019/quantum-information/1/d/ii/solution

Use the preparation and measurement from part (i). RandomReset returns the density matrix , a maximally mixed state. In the basis its two outcomes each have probability . In contrast, RandomFlip always gives outcome 0.
Guess RandomFlip after 0 and RandomReset after 1. With the supplied equal priors,
An outcome 1 identifies the reset action, but outcome 0 does not identify the flip action with certainty. For example, Bayes' theorem gives posterior probability for the flip action after 0. The total success rate already accounts for the reset runs that also produce 0.

New to topics? Read the docs here!