12.10 How accurate is accurate enough?

We have seen that finite sets of gates can be used to approximate any unitary operation with any prescribed accuracy. But how accurate is accurate enough? Of course, the answer depends on what we want to achieve.

Suppose we come up with a cool quantum algorithm, represented by a circuit composed of tt gates, and it solves an interesting decision problem with probability 12+δ\frac{1}{2}+\delta. The value of δ\delta might be tiny, so not much can be inferred from a single run, but as long as we can repeat the computation rr times and take the majority answer as the “right” answer, the Chernoff bound252 tells us that the probability of error is bounded above by e2rδ2e^{-2r\delta^2}. We now want to physically implement this circuit using our preferred universal set of gates, say {H,T,c-NOT}\{H,T,\texttt{c-NOT}\}. If we can implement each gate with accuracy ε/t\varepsilon/t, then we can approximate the circuit with accuracy ε\varepsilon, which means that the probability of success will be 12+δ±ε\frac{1}{2}+\delta\pm\varepsilon. So, at the very least, we want ε<δ/2\varepsilon<\delta/2.


  1. Recall Exercise 1.11.10.↩︎