Solovay–Kitaev theorem

{{Short description|Theorem in quantum information theory}}

In quantum information and computation, the Solovay–Kitaev theorem says that if a set of single-qubit quantum gates generates a dense subgroup of SU(2), then that set can be used to approximate any desired quantum gate with a short sequence of gates that can also be found efficiently. This theorem is considered one of the most significant results in the field of quantum computation and was first announced by Robert M. Solovay in 1995 and independently proven by Alexei Kitaev in 1997.{{Cite journal|last=Kitaev|first=A Yu|date=1997-12-31|title=Quantum computations: algorithms and error correction|url=http://dx.doi.org/10.1070/rm1997v052n06abeh002155|journal=Russian Mathematical Surveys|volume=52|issue=6|pages=1191–1249|doi=10.1070/rm1997v052n06abeh002155|bibcode=1997RuMaS..52.1191K |s2cid=250816585 |issn=0036-0279|url-access=subscription}}{{Cite book|last1=Kitaev|first1=Alexei Yu.|url=https://www.worldcat.org/oclc/48965167|title=Classical and quantum computation|last2=Shen|first2=Alexander|last3=Vyalyi|first3=Mikhail N.|publisher=American Mathematical Society|year=2002|isbn=0-8218-2161-X|location=Providence, Rhode Island|oclc=48965167}} Michael Nielsen and Christopher M. Dawson have noted its importance in the field.{{Cite journal|last1=Dawson|first1=Christopher M.|last2=Nielsen|first2=Michael|date=2006-01-01|title=The Solovay-Kitaev algorithm|url=https://dl.acm.org/doi/abs/10.5555/2011679.2011685|journal=Quantum Information & Computation|volume=6|pages=81–95|doi=10.26421/QIC6.1-6|language=EN|arxiv=quant-ph/0505030}}

A consequence of this theorem is that a quantum circuit of m constant-qubit gates can be approximated to \varepsilon error (in operator norm) by a quantum circuit of O(m\log^c(m/\varepsilon)) gates from a desired finite universal gate set (where c is a constant).{{Cite book|chapter=The Solovay–Kitaev theorem|url=https://www.cambridge.org/core/books/quantum-computation-and-quantum-information/solovaykitaev-theorem/0087DB96E95447C2C6B1C1F61F14D642|last1=Nielsen|first1=Michael A.|last2=Chuang|first2=Isaac L.|date=2010|title=Quantum Computation and Quantum Information: 10th Anniversary Edition|pages=617–624|language=en|doi=10.1017/cbo9780511976667.019|isbn=9780511976667|access-date=2020-05-20}} By comparison, just knowing that a gate set is universal only implies that constant-qubit gates can be approximated by a finite circuit from the gate set, with no bound on its length. So, the Solovay–Kitaev theorem shows that this approximation can be made surprisingly efficient, thereby justifying that quantum computers need only implement a finite number of gates to gain the full power of quantum computation.

Statement

Let \mathcal{G} be a finite set of elements in SU(2) containing its own inverses (so g \in \mathcal{G} implies g^{-1} \in \mathcal{G}) and such that the group \langle \mathcal{G} \rangle they generate is dense in SU(2). Consider some \varepsilon > 0. Then there is a constant c such that for any U \in \mathrm{SU}(2), there is a sequence S of gates from \mathcal{G} of length O(\log^c(1/\varepsilon)) such that \|S - U\| \leq \varepsilon. That is, S approximates U to operator norm error. Furthermore, there is an efficient algorithm to find such a sequence. More generally, the theorem also holds in SU(d) for any fixed d.

This theorem also holds without the assumption that \mathcal{G} contains its own inverses, although presently with a larger value of c that also increases with the dimension d.{{Citation |last1=Bouland |first1=Adam |title=Efficient Universal Quantum Compilation: An Inverse-free Solovay-Kitaev Algorithm |date=2021-12-03 |arxiv=2112.02040 |last2=Giurgica-Tiron |first2=Tudor}}

Quantitative bounds

The constant c can be made to be \log_{(1+\sqrt{5})/2} 2 + \delta = 1.44042\ldots + \delta for any fixed \delta > 0.{{Cite arXiv |mode=cs2 |last=Kuperberg |first=Greg |title=Breaking the cubic barrier in the Solovay-Kitaev algorithm |date=2023-06-22 |class=quant-ph |eprint=2306.13158}} However, there exist particular gate sets for which we can take c=1, which makes the length of the gate sequence optimal up to a constant factor.{{Cite journal|last1=Ross|first1=Neil J.|last2=Selinger|first2=Peter|title=Optimal ancilla-free Clifford+T approximation of z-rotations|url=https://www.rintonpress.com/journals/doi/QIC16.11-12-1.html|journal=Quantum Information & Computation|volume=16|issue=11-12|pages=901–953|doi=10.26421/QIC16.11-12-1|arxiv=1403.2975

}}

Proof idea

Every known proof of the fully general Solovay–Kitaev theorem proceeds by recursively constructing a gate sequence giving increasingly good approximations to U \in \operatorname{SU}(2). Suppose we have an approximation U_{n-1} \in \operatorname{SU}(2) such that \| U - U_{n-1} \| \leq \varepsilon_{n-1}. Our goal is to find a sequence of gates approximating U U_{n-1}^{-1} to \varepsilon_n error, for \varepsilon_n < \varepsilon_{n-1}. By concatenating this sequence of gates with U_{n-1}, we get a sequence of gates U_n such that \|U - U_n\| \leq \varepsilon_n.

The main idea in the original argument of Solovay and Kitaev is that commutators of elements close to the identity can be approximated "better-than-expected". Specifically, for V,W \in \operatorname{SU}(2) satisfying \|V - I\| \leq \delta_1 and \|W - I\| \leq \delta_1 and approximations \tilde{V}, \tilde{W} \in \operatorname{SU}(2) satisfying \|V - \tilde{V}\| \leq \delta_2 and \|W - \tilde{W}\| \leq \delta_2, then

:\|VWV^{-1}W^{-1} - \tilde{V}\tilde{W}\tilde{V}^{-1}\tilde{W}^{-1}\| \leq O(\delta_1\delta_2),

where the big O notation hides higher-order terms. One can naively bound the above expression to be O(\delta_2), but the group commutator structure creates substantial error cancellation.

We can use this observation to approximate U U_{n-1}^{-1} as a group commutator V_{n-1}W_{n-1}V_{n-1}^{-1}W_{n-1}^{-1}. This can be done such that both V_{n-1} and W_{n-1} are close to the identity (since \|U U_{n-1}^{-1} - I\| \leq \varepsilon_{n-1}). So, if we recursively compute gate sequences approximating V_{n-1} and W_{n-1} to \varepsilon_{n-1} error, we get a gate sequence approximating U U_{n-1}^{-1} to the desired better precision \varepsilon_n with \varepsilon_n. We can get a base case approximation with constant \varepsilon_0 with an exhaustive search of bounded-length gate sequences.

Proof of Solovay-Kitaev Theorem

Let us choose the initial value \varepsilon_0 so that \varepsilon_0 < \varepsilon' to be able to apply the iterated “shrinking” lemma. In addition we want s\varepsilon_0 < 1 to make sure that \varepsilon_k decreases as we increase k. Moreover, we also make sure that \varepsilon_0 is small enough so that \varepsilon_k^{2} < \varepsilon_{k+1}.

Since \langle G \rangle is dense in \operatorname{SU}(2), we can choose l_0 large enough{{cite web |last1=Kitaev |first1=Yu |title=Quantum computations: algorithms and error correction |url=http://mi.mathnet.ru/eng/umn/v52/i6/p53}} so that G^{l_0} is an \varepsilon_0^2-net for \operatorname{SU}(2) (and hence for \operatorname{S}_{\varepsilon_0}, as well), no matter how small \varepsilon_0 is. Thus, given any U \in \operatorname{SU}(2), we can choose U_0 \in G^{l_0} such that || U - U_0|| < \varepsilon_0^2. Let \Delta := UU_0^{+} be the “difference” of U and U_0. Then

:\|\Delta_1 - I\| = \|(U - U_0)U_0^+\| = \|U - U_0\|< \varepsilon_0^2<\varepsilon_1.

Hence, \Delta_1\in \operatorname{S_{\varepsilon_1}}. By invoking the iterated "shrinking" lemma with k = 1, there

exists U_1 \in G^{l_1} such that

:\|\Delta_1 - U_1\| = \|U U_0^+ - U_1\| = \|U - U_1 U_0\|< \varepsilon_1^2.

Similarly let \Delta_2:=\Delta_1 U_1^+ = U U_0^+ U_1^+. Then

:\|\Delta_2 - I\| = \|(U - U_1 U_0)U_0^+ U_1^+\| = \|U - U_1 U_0\|< \varepsilon_1^2<\varepsilon_2.

Thus, \Delta_2\in \operatorname{S_{\varepsilon_2}} and we can invoke the iterated "shrinking" lemma (with

k = 2 this time) to get U_2 \in G^{l_2} such that \|\Delta_2 - U_2\| = \|U U_0^+ U_1^+ - U_2\| = \|U - U_2 U_1 U_0\|< \varepsilon_2^2.

If we continue in this way, after k steps we get U_k \in \operatorname{G}^{l_k} such that

:\|U - U_k U_{k-1} ... U_0\|< \varepsilon_k^2.

Thus, we have obtained a sequence of

:L=\sum_{m=0}^kl_m=\sum_{m=0}^k5^m l_0=\frac{5^{k+1}-1}{4}l_0 < \frac{5}{4}5^kl_0

gates that approximates U to accuracy \varepsilon_k^2. To determine the value of k, we set \varepsilon_k^2 = \left((s\varepsilon_0 )^{(3/2)^k}/s\right)^2=\varepsilon

and solve for k:

:\left(\frac{3}{2}\right)^k =\frac{\text{log}(1/s^2 \varepsilon)}{2\text{log}(1/s\varepsilon_0)}

.

Now we can always choose \varepsilon_0 slightly smaller so that the obtained value

of k is an integer.{{cite web |last1=Nielsen, Chuang |first1=M.A., I.L. |title=Quantum Computation and Quantum Information (Cambridge University Press, 2000), Appendix 3, pp. 617{624.}} Let c=\text{log}5/\text{log}(3/2) \approx 3.97 so that5^k = \left(\frac{3}{2}\right)^{kc}. Then

:L<\frac{5}{4}5^kl_0=\frac{5}{4}\left(\frac{3}{2}\right)^{kc}l_0=\frac{5}{4}\left(\frac{\text{log}(1/s^2 \varepsilon)}{2\text{log}(1/s\varepsilon_0)}\right)^cl_0

Hence for any U \in \operatorname{SU}(2) there is a sequence of L=O(\text{log}^c(1/\varepsilon)) gates that

approximates U to accuracy \varepsilon.

Solovay-Kitaev algorithm for qubits

Here the main ideas that are used in the SK algorithm have been presented. The SK algorithm may be expressed in nine lines of pseudocode. Each of these

lines are explained in detail below, but present it here in its entirety both for the reader's reference, and to stress the conceptual simplicity of the algorithm:

function Solovay-Kitaev(Gate U, depth n) is

if (n == 0)

return Basic Approximation to U

else

set U_{n-1} = Solovay-Kitaev(U,n-1)

set V,W = GC-Decompose(UU_{n-1}^+)

set V_{n-1} = Solovay-Kitaev(V,n-1)

set W_{n-1} = Solovay-Kitaev(W,n-1)

return U_n=V_{n-1}W_{n-1}V_{n-1}^+W_{n-1}^+U_{n-1};

end function

Let us examine each of these lines in detail. The first line:

function Solovay-Kitaev(Gate U, depth n) is

indicates that the algorithm is a function with two inputs: an arbitrary single-qubit quantum

gate, U, which we desire to approximate, and a non-negative integer, n, which controls

the accuracy of the approximation. The function returns a sequence of instructions which

approximates U to an accuracy \varepsilon_n, where \varepsilon_n is a decreasing function of n, so that as n gets

larger, the accuracy gets better, with \varepsilon_n\to 0 as n\to \infty. \varepsilon_n is described in detail below.

The Solovay-Kitaev function is recursive, so that to obtain an \varepsilon_n-approximation to U,

it will call itself to obtain \varepsilon_{n-1}-approximations to certain unitaries. The recursion terminates

at n=0, beyond which no further recursive calls are made:

if (n == 0)

return Basic Approximation to U

In order to implement this step it is assumed that a preprocessing stage has been completed

which allows one to find a basic \varepsilon_0-approximation to arbitrary U \in \operatorname{SU}(2). Since \varepsilon_0 is a constant, in principle this preprocessing stage may be accomplished simply by enumerating

and storing a large number of instruction sequences from G, say up to some sufficiently large

(but fixed) length l_0, and then providing a lookup routine which, given U, returns the closest sequence.

At higher levels of recursion, to find an \varepsilon_n-approximation to U, one begins by finding an

\varepsilon_{n-1}-approximation to U:

else

set U_{n-1} = Solovay-Kitaev(U,n-1)

U_{n-1} is used as a step towards finding an improved approximation to U. Defining \DeltaUU^+_{n-1}, the next three steps of the algorithm aim to find an \varepsilon_{n}-approximation to \Delta, where \varepsilon_{n} is some improved level of accuracy, i.e., \varepsilon_{n}<\varepsilon_{n-1}. Finding such an approximation

also enables us to obtain an \varepsilon_{n}-approximation to U, simply by concatenating exact

sequence of instructions for U_{n-1} with \varepsilon_{n}-approximating sequence for \Delta.

How do we find such an approximation to? First, observe that \Delta is within a distance \varepsilon_{n-1} of the identity. This follows from the definition of \Delta and the fact that U_{n-1} is within a distance \varepsilon_{n-1} of U.

Second, decompose \Delta as a group commutator \Delta = VWV^+W^+ of unitary gates V and W. For any \Delta it turns out that this is not obvious and that there is always an infinite set of

choices for V and W such that \Delta = VWV^+W^+. For our purposes it is important that we

find V and W such that d(I, V ), d(I,W) < c_{gc}\sqrt{\varepsilon_{n-1}} for some constant c_{gc}. We call such a decomposition a balanced group commutator.

set V,W = GC-Decompose(UU_{n-1}^+)

For practical implementations we will see below that it is useful to have c_{gc} as small as

possible.

The next step is to find instruction sequences which are \varepsilon_{n-1}-approximations to V and W:

set V_{n-1} = Solovay-Kitaev(V,n-1)

set W_{n-1} = Solovay-Kitaev(W,n-1)

The group commutator of V_{n-1} and W_{n} turns out to be an \varepsilon_{n-1}c_{\text{approx}}\varepsilon_{n-1}^{3/2}-approximation to \Delta, for some small constant c_{\text{approx}}. Provided \varepsilon_{n-1}<1/c_{\text{approx}}^2, we see that \varepsilon_n<\varepsilon_{n-1}, and this procedure therefore provides an improved

approximation to \Delta, and thus to U.

The constant c_{\text{approx}} is important as it determines the precision \varepsilon_0 required of the initial approximations. In particular, we see that for this construction to guarantee that \varepsilon_0>\varepsilon_1>... we must have \varepsilon_0<1/c_{\text{approx}}^2.

The algorithm concludes by returning the sequences approximating the group commutator, as well as U_{n-1}:

return U_n=V_{n-1}W_{n-1}V_{n-1}^+W_{n-1}^+U_{n-1}'';

Summing up, the function Solovay-Kitaev(U, n) returns a sequence which provides an \varepsilon_n=c_{\text{approx}}\varepsilon_{n-1}^{3/2}-approximation to the desired unitary U . The five constituents in this sequence

are all obtained by calling the function at the n-1th level of recursion.{{cite web |last1=CHRISTOPHER M. DAWSON |first1=MICHAEL A. NIELSEN |title=THE SOLOVAY-KITAEV ALGORITHM |url=https://arxiv.org/pdf/quant-ph/0505030}}

References

{{Reflist}}

{{Quantum computing}}

{{DEFAULTSORT:Solovay-Kitaev theorem}}

Category:Mathematical theorems

Category:Quantum computing

Category:Quantum information theory