Highlights

3. Some circuit identities. Let C denote a CNOT gate, with qubit 1 the control qubit and qubit 2 the target qubit. (Note that C = Ct, and H = H+, where H is the Hadamard gate).
a) Prove HZH = X and HXH = Z, and use them to find HYH. (Hint: you can multiply the two identities and then simplify.)
b) Prove that CX₁C+ = X1X2 and CZ₁C = Z1. Use these two identities to find CYC.
(Observation: this means CX1 = X1X2C. We can interpret it as: an X "error" on the control line of a CNOT spreads to two X errors on both control and target lines!)
c) Prove that CX2C+ = X2 and CZ2C+ = Z1 Z2. Use these two identities to find CY2Ct.
(Note how CNOT spreads Z operator from the target line to both control and target lines!)
d) Use the previous identities to find CZ1X2Ct.

5. In this exercise we try to come up with a simple strategy to use a biased coin to simulate a perfectly unbiased coin. We will use two rounds of (biased) coin flips and post-selection to probabilistically simulate an unbiased coin.
a) Let + be the probability of getting heads H (and probability of 7'), where €≤0.5. After two coin flips, what is the probability of getting HH, HT, TH, and TT. (Assume coin tosses are independent.)
b) Let's discard the result of the two coin flips if the outcomes are the same (i.e. discarding if the result is HH or TT). Conditioned on this post-selection rule, what is the probability of getting HT or TH.
c) Use the result of section (b) to develop a strategy to simulate a fair coin (a coin with equal probability of showing heads and tails).
d) What is the expected number of rounds we need to repeat the experiment to be able to simulate one flip of a fair coin (in terms of e).
This It Computer Science have been solved by our PhD Experts at My Uni Paper . Our Assignment Writing Experts are efficient in providing a fresh solution to this question. We are serving more than 10000+ Students in Australia, the UK, and the US by helping them to score HD in their academics. Our Experts are well-trained to follow all marking rubrics and referencing styles.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.