# QIP random circuits mystery resolved! Part 2

Here I will follow on from my previous post. Circuit compilers usually come with a promise that the cost is upper bounded by some function $f(\epsilon) = A \log ( 1 / \epsilon)^\gamma$

with constants depending on the details. In my talk, I asserted that: (1) for qubit single gate sets, the Solovay-Kitaev algorithm achieved $\gamma \sim 3.97$; and (2) modern tools can efficiently solve the single-qubit problem using Clifford+T gates and achieve $\gamma = 1$.

I further speculated that for multiqubit compiling problems, the optimal scaling (and hence $\gamma$ value) could be much worse! But a few results have been pointed out to me. Firstly, the famous Dawson-Nielsen paper actually shows that $\gamma \sim 3.97$ is achieved by Solovay Kitaev for all compiling problems, and so is independent of the number of qubits. Secondly, this neat paper by Harrow-Recht-Chuang showed that an optimal compiler will always achieve $\gamma \sim 1$ scaling independent of the number of qubits.

However, the Harrow-Recht-Chuang result is non-constructive, so it doesn’t give us a compiler. It just says an optimal one exists. Also, it doesn’t say anything about how the classical runtime scales with the number of qubits. Therefore, if we restrict to compilers with polynomial runtime (polynomial in $\log(1 / \epsilon)$), all we can say is that the optimal scaling sits somewhere in the interval $1 \leq \gamma \leq 3.97$. Finding where the optimal rests in this interval (and writing the software for a few qubit compiler) is clearly one of the most important open problems in the field.

The above discussion seems to entail that multiqubit compiling isn’t very different from single qubit compiling in terms of overhead scaling. However, we have a constant prefactor $A$, which is constant with respect to $\epsilon$ but could increase with the number of qubits. Indeed, we know that there are classical circuits that need an exponential number of gates, which tells us that the prefactor for quantum compiler should also scale exponentially with qubit number.

## One thought on “QIP random circuits mystery resolved! Part 2”

1. aram says: the Kitaev-Shen-Vyalyi book gets log(1/eps)^{3+delta} for any constant delta>0