Channel representations
Ta strona nie została jeszcze przetłumaczona na język polski. Oglądasz oryginalną wersję angielską.
Next, we'll discuss mathematical representations of channels.
Linear mappings from vectors to vectors can be represented by matrices in a familiar way, where the action of the linear mapping is described by matrix-vector multiplication. But channels are linear mappings from matrices to matrices, not vectors to vectors. So, in general, how can we express channels in mathematical terms?
For some channels, we may have a simple formula that describes them, like for the three examples of non-unitary qubit channels described previously. But an arbitrary channel may not have such a nice formula, so it isn't practical in general to express a channel in this way.
As a point of comparison, in the simplified formulation of quantum information we use unitary matrices to represent operations on quantum state vectors: every unitary matrix represents a valid operation and every valid operation can be expressed as a unitary matrix. In essence, the question being asked is: How can we do something analogous for channels?
To answer this question, we'll require some additional mathematical machinery. We'll see that channels can, in fact, be described mathematically in a few different ways, including representations named in honor of three individuals who played key roles in their development: Stinespring, Kraus, and Choi. Together, these different ways of describing channels offer different angles from which they can be viewed and analyzed.
Stinespring representations
Stinespring representations are based on the idea that every channel can be implemented in a standard way, where an input system is first combined with an initialized workspace system, forming a compound system; then a unitary operation is performed on the compound system; and finally the workspace system is discarded (or traced out), leaving the output of the channel.
The following figure depicts such an implementation, in the form of a circuit diagram, for a channel whose input and output systems are the same system,
In this diagram, the wires represent arbitrary systems, as indicated by the labels above the wires, and not necessarily single qubits. Also, the ground symbol commonly used in electrical engineering indicates explicitly that is discarded.
In words, the way the implementation works is as follows. The input system begins in some state while a workspace system is initialized to the standard basis state A unitary operation is performed on the pair and finally the workspace system is traced out, leaving as the output.
Note that we're presuming that is a classical state of and we choose it to be the initialized state of this system, which will help to simplify the mathematics. One could, however, choose any fixed pure state to represent the initialized state of without changing the basic properties of the representation.
A mathematical expression of the resulting channel, is as follows.
As usual, we're using Qiskit's ordering convention: the system is on top in the diagram, and therefore corresponds to the right-hand tensor factor in the formula.
In general, the input and output systems of a channel need not be the same. Here's a figure depicting an implementation of a channel whose input system is and whose output system is
This time the unitary operation transforms into a pair where is a new "garbage" system that gets traced out, leaving as the output system. In order for to be unitary, it must be a square matrix. This requires that the pair has the same number of classical states as the pair and so the systems and must be chosen in a way that allows this.
We obtain a mathematical expression of the resulting channel, that is similar to what we had before.
When a channel is described in this way, as a unitary operation along with a specification of how the workspace system is initialized and how the output system is selected, we say that it is expressed in Stinespring form or that it's a Stinespring representation of the channel.
It's not at all obvious, but every channel does in fact have a Stinespring representation, as we will see by the end of the lesson. We'll also see that Stinespring representations aren't unique; there will always be different ways to implement the same channel in the manner that's been described.
Completely dephasing channel
Here's a Stinespring representation of the qubit dephasing channel In this diagram, both wires represent single qubits — so this is an ordinary quantum circuit diagram.
To see that the effect that this circuit has on the input qubit is indeed described by the completely dephasing channel, we can go through the circuit one step at a time, using the explicit matrix representation of the partial trace discussed in the previous lesson. We'll refer to the top qubit as — this is the input and output of the channel — and we'll assume that starts in some arbitrary state
The first step is the introduction of a workspace qubit, Prior to the controlled-NOT gate being performed, the state of the pair is represented by the following density matrix.
As per Qiskit's ordering convention, the top qubit is on the right and the bottom qubit is on the left. We're using density matrices rather than quantum state vectors, but they're tensored together in a similar way to what's done in the simplified formulation of quantum information.
The next step is to perform the controlled-NOT operation, where is the control and is the target. Still keeping in mind the Qiskit ordering convention, the matrix representation of this gate is as follows.
This is a unitary operation, and to apply it to a density matrix we conjugate by the unitary matrix. The conjugate-transpose doesn't happen to change this particular matrix, so the result is as follows.
Finally, the partial trace is performed on Recalling the action of this operation on matrices, which was described in the previous lesson, we obtain the following density matrix output.
We can alternatively compute the partial trace by first converting to Dirac notation.
Tracing out the qubit on the left-hand side yields the same answer as before.
An intuitive way to think about this circuit is that the controlled-NOT operation effectively copies the classical state of the input qubit, and when the copy is thrown in the trash the input qubit "collapses" probabilistically to one of the two possible classical states, which is equivalent to complete dephasing.
Completely dephasing channel (alternative)
The circuit described above is not the only way to implement the completely dephasing channel. Here's a different way to do it.
Here's a quick analysis showing that this implementation works. After the Hadamard gate is performed we have this two-qubit state as a density matrix: