The repetition code can be used to protect quantum information in
the presence of a restricted error model. Let the physical system
consist of three qubits. Errors act by independently applying, to each
qubit, the flip operator
with probability
.
The classical code can be made into a quantum code by the
superposition principle. Encoding one qubit is accomplished by
| (12) |
As in the classical case, decoding is accomplished by majority logic. However, it must be implemented carefully to avoid destroying quantum coherence in the stored information. One way to do that is to use only unitary operations to transfer the stored information to the output qubit. Fig. 5 shows a quantum network that accompishes this task.
| FIG. 5: Quantum network for
majority logic decoding into the output qubit |
As shown, the decoding network establishes an identification between the three physical qubits and a pair of subsystems consisting of two qubits representing the syndrome subsystem and one qubit for the information-carrying subsystem. On the left side of the correspondence, the information-carrying subsystem is not identifiable with any one (or two) of the physical qubits. Nevertheless it exists there through the identification.
To obtain a network for encoding, we reverse the decoding
network and initialize qubits
in the state
. Because of the initialization, the Toffoli
gate becomes unnecessary. The complete system with a typical
error is shown in Fig. 6.
| FIG. 6: Encoding and decoding networks for the quantum repetition code with a typical error. The error that occurred can be determined from the state of the syndrome subsystem, which consists of the top two qubits. The encoding is shown as the reverse of the decoding, starting with an initialized syndrome subsystem. When the decoding is reversed to obtain the encoding, there is an initial Toffoli gate (shown in gray). Because of the initialization, this gate has no effect and is therefore omitted in an implementation. |
As in the case of the classical repetition code, we can protect
against cumulative errors without explicitly decoding and then
re-encoding, which would cause a temporary loss of protection. Instead,
one can find a means for directly resetting the syndrome subsystem to
(thus returning the information to the
code) before the errors happen again. After resetting in this way,
the errors in the correctable set have no effect on the encoded
information because they act only on the syndrome subsystem.
Part of the task of designing error-correcting systems is to determine
how well the system performs. An important performance measure is the
probability of error. In quantum systems, the probability of error is
intuitively interpreted as the maximum probability with which we can
see a result different from the expected one in any measurement.
Specifically, to determine the error, one compares the output
of the system to the input
. An upper bound
is obtained if the output is written as a combination of the input state
and an ``error'' state. For quantum information, combinations are
linear combinations (that is, superpositions). Thus
(see
Fig. 7).The probability of error is bounded by
(which we call an ``error estimate''). In
general, there are many different ways of writing the output as a
combination of an acceptable state and an error term. One attempts to
choose the combination that minimizes the error estimate. This choice
yields the number
, for which
is
called the ``fidelity''. A fidelity of
means that the output is
the same (up to a phase factor) as the input.
| FIG. 7: Representation of an error estimate.
Any decomposition of the output state
|
To illustrate error analysis, we calculate the error for the
repetition code example for the two initial states
and
.
![]() |
|||
![]() |
|||
![]() |
![]() |
(13) |
![]() |
![]() |
![]() |
|
![]() |
|||
![]() |
![]() |
(14) |