|q⟩ Bad Qubits

← Question Bank

Multiple choice
A phase oracle implements ∣x⟩→(−1)f(x)∣x⟩|x\rangle \to (-1)^{f(x)} |x\rangle. For the single-bit identity function f(x)=xf(x)=x (so f(0)=0f(0)=0, f(1)=1f(1)=1), which single-qubit gate is the phase oracle?