Quantum channels
So far every operation has been a perfect gate. Real hardware is not like that. Gates are slightly off, qubits lose energy, and stray fields nudge their phases. This lesson gives you the language for describing such processes, which is the starting point for both error correction and the study of quantum communication.
A first noisy process
Section titled “A first noisy process”Suppose that with probability something flips your qubit, and you do not know whether it happened. If the qubit started in the state , then afterwards it is in the state with probability and still in with probability . That is a mixture, so by the last lesson its density matrix is
This is the bit-flip channel. Notice what kind of object it is: a rule that takes density matrices to density matrices. A pure state usually comes out mixed, so kets are no longer enough to describe what happens.
The general form
Section titled “The general form”Every physical process acting on a quantum system that starts out uncorrelated with its surroundings can be written as
Such a map is called a quantum channel, and the matrices are its Kraus operators. The condition on the right keeps the trace equal to 1.
For the bit-flip channel the Kraus operators are and . A perfect gate is the special case with a single Kraus operator, .
Four channels worth knowing
Section titled “Four channels worth knowing”The simulator shows a slice through the Bloch ball from the last lesson. The dashed dot is the input state, the solid dot is the output, and the curve shows where the channel sends the whole circle of pure states. A point inside the circle is a mixed state.
Try each of these, and predict the result before you move the slider.
- Phase flip, input . Raise to 0.5. The state slides to the centre: all coherence is gone. Now switch the input to . Nothing happens at all.
- Bit flip, input . The mirror image: and are damaged, and are untouched.
- Depolarizing. Every state shrinks towards the centre equally. This is the “worst case” model, used when nothing is known about the noise.
- Amplitude damping, . Every input ends up at , and the circle collapses to a point at the north pole.
In symbols, the phase-flip channel is
The measurement probabilities on the diagonal are unchanged, and the coherences shrink. This process is called dephasing, and in many kinds of qubit it is the fastest form of noise. A dephased qubit still works as a classical bit. What it loses is everything that made it quantum.
Amplitude damping models a qubit losing energy to its surroundings, with as the higher-energy state. Its Kraus operators are
takes to : the qubit has decayed. Unlike the other three, this channel is not “apply a random gate”, and it does not shrink the ball evenly around the centre.
Which of these channels can make a mixed state more pure?
It drives every state towards the pure state , so a mixed input can come out purer. The other three are mixtures of gates, which can never increase purity.
On hardware, the timescale of energy loss is called and the timescale of dephasing is called . They are the two numbers most often quoted to describe the quality of a qubit.
Where noise comes from
Section titled “Where noise comes from”Kraus operators describe what noise does. They do not say why it happens. The explanation is one you have already seen: the qubit becomes entangled with something we do not control.
Call that something the environment, and model it as a second qubit. In the next two puzzles the top wire is the system and only its reduced state is checked.
The system is in and the environment is in . With one CNOT, leave the system maximally mixed.
This puzzle needs JavaScript.
Here the environment acted as the control. It was in a superposition of “do nothing” and “flip the system”, and once we ignore it, the system has been flipped with probability . That is the bit-flip channel with .
Now the system is in and the environment is in . With one CNOT, leave the system maximally mixed.
This puzzle needs JavaScript.
This time the environment was the target. It did nothing to the system except copy down its value, and the system’s coherences vanished. That is the phase-flip channel with .
The second puzzle is worth dwelling on. No energy was exchanged and the system was never “disturbed” in the everyday sense. Something else merely came to hold a record of whether it was 0 or 1. Being measured by the environment, even when nobody reads the result, is what dephasing is.
Both puzzles are examples of a general theorem: every quantum channel can be produced by attaching an environment, applying a unitary gate to the two together, and then discarding the environment. Noise is ordinary reversible quantum mechanics, seen by someone who can only watch part of the system.
A qubit in the state goes through the phase-flip channel with . What comes out?
, so both branches of the channel give the same state. Dephasing only affects coherences, and has none.
Why two kinds of error are enough
Section titled “Why two kinds of error are enough”Real noise is not exactly any of the tidy channels above. It does not need to be. The four matrices , , and form a basis for all matrices, so the Kraus operators of any single-qubit channel can be written as combinations of them. A code that can correct a bit flip, a phase flip and both together can therefore correct an arbitrary error on that qubit. This is the fact that makes quantum error correction possible.
Remember it
Section titled “Remember it”What is the general form of a quantum channel?
with . The are called Kraus operators.
What does the phase-flip channel with probability do to a density matrix?
It multiplies the off-diagonal entries by and leaves the diagonal alone.
What does the depolarizing channel do to the Bloch vector?
It shrinks it towards the centre of the ball by the same factor in every direction.
What does amplitude damping model, and where does it send every state eventually?
Energy loss. Every state ends up in .
Where does noise come from, physically?
The qubit interacts with an environment and becomes entangled with it. Ignoring the environment leaves the qubit in a mixed state.