A randomised classical circuit is meant to copy its single input bit to its output

PHYSICS · Multi-part · Fermi University Physics · Quantum Information & Technology · The quantum circuit model and quantum algorithms · The quantum circuit model and quantum algorithms

Quantum Information and Technology, Ch What quantum computers can compute efficiently

Problem

A randomised classical circuit is meant to copy its single input bit x∈{0,1}x\in\{0,1\} to its output, but is corrupted by two independent fair coin flips c1,c2∈{0,1}c_1,c_2\in\{0,1\}: it outputs y=x⊕(c1∧c2)y = x \oplus (c_1 \wedge c_2), where ⊕\oplus is addition modulo 22 and c1∧c2c_1\wedge c_2 is 11 only when both coins show the outcome labelled 11. ((a)) Find P(y=x)P(y=x) and confirm it is consistent with using this circuit as a bounded-error subroutine with error at most 1/31/3 on every input xx. ((b)) Following the proof that BPP⊆BQP\mathrm{BPP}\subseteq\mathrm{BQP}, replace each coin by a qubit prepared in H∣0⟩H|0\rangle and build the reversible circuit (a Toffoli gate computing c1∧c2c_1\wedge c_2 into a fresh ancilla, then a CNOT\mathrm{CNOT} from that ancilla onto a qubit initialised to ∣x⟩|x\rangle) that computes yy, deferring measurement of the coin qubits to the end. Write the resulting state, before any measurement, as a path sum over the two coins. ((c)) Measure the qubit that holds yy. Using the path sum, compute P(y=x)P(y=x) and confirm it matches part (a).

Browse the problem library