<s>
Magic	B-Device
state	I-Device
distillation	I-Device
is	O
a	O
method	O
for	O
creating	O
more	O
accurate	O
quantum	O
states	O
from	O
multiple	O
noisy	O
ones	O
,	O
which	O
is	O
important	O
for	O
building	O
fault	B-General_Concept
tolerant	I-General_Concept
quantum	O
computers	O
.	O
</s>
<s>
Magic	B-Device
state	I-Device
distillation	I-Device
achieves	O
this	O
,	O
in	O
principle	O
,	O
by	O
concentrating	O
the	O
usefulness	O
of	O
imperfect	O
resources	O
,	O
represented	O
by	O
mixed	O
states	O
,	O
into	O
states	O
that	O
are	O
conducive	O
for	O
performing	O
operations	O
that	O
are	O
difficult	O
to	O
simulate	O
classically	O
.	O
</s>
<s>
A	O
variety	O
of	O
qubit	O
magic	B-Device
state	I-Device
distillation	I-Device
routines	O
and	O
distillation	O
routines	O
for	O
qubits	O
with	O
various	O
advantages	O
have	O
been	O
proposed	O
.	O
</s>
<s>
The	O
first	O
magic	B-Device
state	I-Device
distillation	I-Device
algorithm	O
,	O
invented	O
by	O
Sergey	O
Bravyi	O
and	O
Alexei	O
Kitaev	O
,	O
is	O
a	O
follows	O
.	O
</s>
<s>
Apply	O
the	O
decoding	O
operation	O
of	O
the	O
five-qubit	B-Device
error	I-Device
correcting	I-Device
code	I-Device
and	O
measure	O
the	O
syndrome	O
.	O
</s>
