# Entanglement-assisted stabilizer formalism

In the theory of quantum communication, the entanglement-assisted stabilizer formalism is a method for protecting quantum information with the help of entanglement shared between a sender and receiver before they transmit quantum data over a quantum communication channel. It extends the standard stabilizer formalism by including shared entanglement (Brun et al. 2006). The advantage of entanglement-assisted stabilizer codes is that the sender can exploit the error-correcting properties of an arbitrary set of Pauli operators. The sender's Pauli operators do not necessarily have to form an Abelian subgroup of the Pauli group ${\displaystyle \Pi ^{n}}$ over ${\displaystyle n}$ qubits. The sender can make clever use of her shared ebits so that the global stabilizer is Abelian and thus forms a valid quantum error-correcting code.

## Definition

We review the construction of an entanglement-assisted code (Brun et al. 2006). Suppose that there is a nonabelian subgroup ${\displaystyle {\mathcal {S}}\subset \Pi ^{n}}$ of size ${\displaystyle n-k=2c+s}$. Application of the fundamental theorem of symplectic geometry (Lemma 1 in the first external reference) states that there exists a minimal set of independent generators ${\displaystyle \left\{{\bar {Z}}_{1},\ldots ,{\bar {Z}}_{s+c},{\bar {X}}_{s+1},\ldots ,{\bar {X}}_{s+c}\right\}}$ for ${\displaystyle {\mathcal {S}}}$ with the following commutation relations:

${\displaystyle \left[{\bar {Z}}_{i},{\bar {Z}}_{j}\right]=0\ \ \ \ \ \forall i,j,}$
${\displaystyle \left[{\bar {X}}_{i},{\bar {X}}_{j}\right]=0\ \ \ \ \ \forall i,j,}$
${\displaystyle \left[{\bar {X}}_{i},{\bar {Z}}_{j}\right]=0\ \ \ \ \ \forall i\neq j,}$
${\displaystyle \left\{{\bar {X}}_{i},{\bar {Z}}_{i}\right\}=0\ \ \ \ \ \forall i.}$

The decomposition of ${\displaystyle {\mathcal {S}}}$ into the above minimal generating set determines that the code requires ${\displaystyle s}$ ancilla qubits and ${\displaystyle c}$ ebits. The code requires an ebit for every anticommuting pair in the minimal generating set. The simple reason for this requirement is that an ebit is a simultaneous ${\displaystyle +1}$-eigenstate of the Pauli operators ${\displaystyle \left\{XX,ZZ\right\}}$. The second qubit in the ebit transforms the anticommuting pair ${\displaystyle \left\{X,Z\right\}}$ into a commuting pair ${\displaystyle \left\{XX,ZZ\right\}}$. The above decomposition also minimizes the number of ebits required for the code---it is an optimal decomposition.

We can partition the nonabelian group ${\displaystyle {\mathcal {S}}}$ into two subgroups: the isotropic subgroup ${\displaystyle {\mathcal {S}}_{I}}$ and the entanglement subgroup ${\displaystyle {\mathcal {S}}_{E}}$. The isotropic subgroup ${\displaystyle {\mathcal {S}}_{I}}$ is a commuting subgroup of ${\displaystyle {\mathcal {S}}}$ and thus corresponds to ancilla qubits:

${\displaystyle {\mathcal {S}}_{I}=\left\{{\bar {Z}}_{1},\ldots ,{\bar {Z}}_{s}\right\}}$.

The elements of the entanglement subgroup ${\displaystyle {\mathcal {S}}_{E}}$ come in anticommuting pairs and thus correspond to ebits:

${\displaystyle {\mathcal {S}}_{E}=\left\{{\bar {Z}}_{s+1},\ldots ,{\bar {Z}}_{s+c},{\bar {X}}_{s+1},\ldots ,{\bar {X}}_{s+c}\right\}}$.

## Entanglement-assisted stabilizer code error correction conditions

The two subgroups ${\displaystyle {\mathcal {S}}_{I}}$ and ${\displaystyle {\mathcal {S}}_{E}}$ play a role in the error-correcting conditions for the entanglement-assisted stabilizer formalism. An entanglement-assisted code corrects errors in a set ${\displaystyle {\mathcal {E}}\subset \Pi ^{n}}$ if for all ${\displaystyle E_{1},E_{2}\in {\mathcal {E}}}$,

${\displaystyle E_{1}^{\dagger }E_{2}\in {\mathcal {S}}_{I}\cup \left(\Pi ^{n}-{\mathcal {Z}}\left(\left\langle {\mathcal {S}}_{I},{\mathcal {S}}_{E}\right\rangle \right)\right).}$

## Operation

The operation of an entanglement-assisted code is as follows. The sender performs an encoding unitary on her unprotected qubits, ancilla qubits, and her half of the ebits. The unencoded state is a simultaneous +1-eigenstate of the following Pauli operators:

${\displaystyle \left\{Z_{1},\ldots ,Z_{s},Z_{s+1}|Z_{1},\ldots ,Z_{s+c}|Z_{c},X_{s+1}|X_{1},\ldots ,X_{s+c}|X_{c}\right\}.}$

The Pauli operators to the right of the vertical bars indicate the receiver's half of the shared ebits. The encoding unitary transforms the unencoded Pauli operators to the following encoded Pauli operators:

${\displaystyle \left\{{\bar {Z}}_{1},\ldots ,{\bar {Z}}_{s},{\bar {Z}}_{s+1}|Z_{1},\ldots ,{\bar {Z}}_{s+c}|Z_{c},{\bar {X}}_{s+1}|X_{1},\ldots ,{\bar {X}}_{s+c}|X_{c}\right\}.}$

The sender transmits all of her qubits over the noisy quantum channel. The receiver then possesses the transmitted qubits and his half of the ebits. He measures the above encoded operators to diagnose the error. The last step is to correct the error.

## Rate of an entanglement-assisted code

We can interpret the rate of an entanglement-assisted code in three different ways (Wilde and Brun 2007b). Suppose that an entanglement-assisted quantum code encodes ${\displaystyle k}$ information qubits into ${\displaystyle n}$ physical qubits with the help of ${\displaystyle c}$ ebits.

• The entanglement-assisted rate assumes that entanglement shared between sender and receiver is free. Bennett et al. make this assumption when deriving the entanglement assisted capacity of a quantum channel for sending quantum information. The entanglement-assisted rate is ${\displaystyle k/n}$ for a code with the above parameters.
• The trade-off rate assumes that entanglement is not free and a rate pair determines performance. The first number in the pair is the number of noiseless qubits generated per channel use, and the second number in the pair is the number of ebits consumed per channel use. The rate pair is ${\displaystyle \left(k/n,c/n\right)}$ for a code with the above parameters. Quantum information theorists have computed asymptotic trade-off curves that bound the rate region in which achievable rate pairs lie. The construction for an entanglement-assisted quantum block code minimizes the number ${\displaystyle c}$ of ebits given a fixed number ${\displaystyle k}$ and ${\displaystyle n}$ of respective information qubits and physical qubits.
• The catalytic rate assumes that bits of entanglement are built up at the expense of transmitted qubits. A noiseless quantum channel or the encoded use of noisy quantum channel are two different ways to build up entanglement between a sender and receiver. The catalytic rate of an ${\displaystyle \left[n,k;c\right]}$ code is ${\displaystyle \left(k-c\right)/n}$.

Which interpretation is most reasonable depends on the context in which we use the code. In any case, the parameters ${\displaystyle n}$, ${\displaystyle k}$, and ${\displaystyle c}$ ultimately govern performance, regardless of which definition of the rate we use to interpret that performance.

## Example of an entanglement-assisted code

We present an example of an entanglement-assisted code that corrects an arbitrary single-qubit error (Brun et al. 2006). Suppose the sender wants to use the quantum error-correcting properties of the following nonabelian subgroup of ${\displaystyle \Pi ^{4}}$:

${\displaystyle {\begin{array}{cccc}Z&X&Z&I\\Z&Z&I&Z\\X&Y&X&I\\X&X&I&X\end{array}}}$

The first two generators anticommute. We obtain a modified third generator by multiplying the third generator by the second. We then multiply the last generator by the first, second, and modified third generators. The error-correcting properties of the generators are invariant under these operations. The modified generators are as follows:

${\displaystyle {\begin{array}{cccccc}g_{1}&=&Z&X&Z&I\\g_{2}&=&Z&Z&I&Z\\g_{3}&=&Y&X&X&Z\\g_{4}&=&Z&Y&Y&X\end{array}}}$

The above set of generators have the commutation relations given by the fundamental theorem of symplectic geometry:

${\displaystyle \left\{g_{1},g_{2}\right\}=\left[g_{1},g_{3}\right]=\left[g_{1},g_{4}\right]=\left[g_{2},g_{3}\right]=\left[g_{2},g_{4}\right]=\left[g_{3},g_{4}\right]=0.}$

The above set of generators is unitarily equivalent to the following canonical generators:

${\displaystyle {\begin{array}{cccc}X&I&I&I\\Z&I&I&I\\I&Z&I&I\\I&I&Z&I\end{array}}}$

We can add one ebit to resolve the anticommutativity of the first two generators and obtain the canonical stabilizer:

${\displaystyle {\begin{array}{c}X\\Z\\I\\I\end{array}}\left\vert {\begin{array}{cccc}X&I&I&I\\Z&I&I&I\\I&Z&I&I\\I&I&Z&I\end{array}}\right.}$

The receiver Bob possesses the qubit on the left and the sender Alice possesses the four qubits on the right. The following state is an eigenstate of the above stabilizer

${\displaystyle \left\vert \Phi ^{+}\right\rangle ^{BA}\left\vert 00\right\rangle ^{A}\left\vert \psi \right\rangle ^{A}.}$

where ${\displaystyle \left\vert \psi \right\rangle ^{A}}$ is a qubit that the sender wants to encode. The encoding unitary then rotates the canonical stabilizer to the following set of globally commuting generators:

${\displaystyle {\begin{array}{c}X\\Z\\I\\I\end{array}}\left\vert {\begin{array}{cccc}Z&X&Z&I\\Z&Z&I&Z\\Y&X&X&Z\\Z&Y&Y&X\end{array}}\right.}$

The receiver measures the above generators upon receipt of all qubits to detect and correct errors.

## Encoding algorithm

We continue with the previous example. We detail an algorithm for determining an encoding circuit and the optimal number of ebits for the entanglement-assisted code---this algorithm first appeared in the appendix of (Wilde and Brun 2007a) and later in the appendix of (Shaw et al. 2008). The operators in the above example have the following representation as a binary matrix (See the stabilizer code article):

${\displaystyle H=\left[\left.{\begin{array}{cccc}1&0&1&0\\1&1&0&1\\0&1&0&0\\0&0&0&0\end{array}}\right\vert {\begin{array}{cccc}0&1&0&0\\0&0&0&0\\1&1&1&0\\1&1&0&1\end{array}}\right].}$

Call the matrix to the left of the vertical bar the "${\displaystyle Z}$ matrix" and the matrix to the right of the vertical bar the "${\displaystyle X}$ matrix."

The algorithm consists of row and column operations on the above matrix. Row operations do not affect the error-correcting properties of the code but are crucial for arriving at the optimal decomposition from the fundamental theorem of symplectic geometry. The operations available for manipulating columns of the above matrix are Clifford operations. Clifford operations preserve the Pauli group ${\displaystyle \Pi ^{n}}$ under conjugation. The CNOT gate, the Hadamard gate, and the Phase gate generate the Clifford group. A CNOT gate from qubit ${\displaystyle i}$ to qubit ${\displaystyle j}$ adds column ${\displaystyle i}$ to column ${\displaystyle j}$ in the ${\displaystyle X}$ matrix and adds column ${\displaystyle j}$ to column ${\displaystyle i}$ in the ${\displaystyle Z}$ matrix. A Hadamard gate on qubit ${\displaystyle i}$ swaps column ${\displaystyle i}$ in the ${\displaystyle Z}$ matrix with column ${\displaystyle i}$ in the ${\displaystyle X}$ matrix and vice versa. A phase gate on qubit ${\displaystyle i}$ adds column ${\displaystyle i}$ in the ${\displaystyle X}$ matrix to column ${\displaystyle i}$ in the ${\displaystyle Z}$ matrix. Three CNOT gates implement a qubit swap operation. The effect of a swap on qubits ${\displaystyle i}$ and ${\displaystyle j}$ is to swap columns ${\displaystyle i}$ and ${\displaystyle j}$ in both the ${\displaystyle X}$ and ${\displaystyle Z}$ matrix.

The algorithm begins by computing the symplectic product between the first row and all other rows. We emphasize that the symplectic product here is the standard symplectic product. Leave the matrix as it is if the first row is not symplectically orthogonal to the second row or if the first row is symplectically orthogonal to all other rows. Otherwise, swap the second row with the first available row that is not symplectically orthogonal to the first row. In our example, the first row is not symplectically orthogonal to the second so we leave all rows as they are.

Arrange the first row so that the top left entry in the ${\displaystyle X}$ matrix is one. A CNOT, swap, Hadamard, or combinations of these operations can achieve this result. We can have this result in our example by swapping qubits one and two. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}0&1&1&0\\1&1&0&1\\1&0&0&0\\0&0&0&0\end{array}}\right\vert {\begin{array}{cccc}1&0&0&0\\0&0&0&0\\1&1&1&0\\1&1&0&1\end{array}}\right].}$

Perform CNOTs to clear the entries in the ${\displaystyle X}$ matrix in the top row to the right of the leftmost entry. These entries are already zero in this example so we need not do anything. Proceed to the clear the entries in the first row of the ${\displaystyle Z}$ matrix. Perform a phase gate to clear the leftmost entry in the first row of the ${\displaystyle Z}$ matrix if it is equal to one. It is equal to zero in this case so we need not do anything. We then use Hadamards and CNOTs to clear the other entries in the first row of the ${\displaystyle Z}$ matrix.

We perform the above operations for our example. Perform a Hadamard on qubits two and three. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}0&0&0&0\\1&0&0&1\\1&1&1&0\\0&1&0&0\end{array}}\right\vert {\begin{array}{cccc}1&1&1&0\\0&1&0&0\\1&0&0&0\\1&0&0&1\end{array}}\right].}$

Perform a CNOT from qubit one to qubit two and from qubit one to qubit three. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}0&0&0&0\\1&0&0&1\\1&1&1&0\\1&1&0&0\end{array}}\right\vert {\begin{array}{cccc}1&0&0&0\\0&1&0&0\\1&1&1&0\\1&1&1&1\end{array}}\right].}$

The first row is complete. We now proceed to clear the entries in the second row. Perform a Hadamard on qubits one and four. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\1&1&1&0\\1&1&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&1&0&1\\1&1&1&0\\1&1&1&0\end{array}}\right].}$

Perform a CNOT from qubit one to qubit two and from qubit one to qubit four. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&1&1&0\\1&1&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\1&0&1&1\\1&0&1&1\end{array}}\right].}$

The first two rows are now complete. They need one ebit to compensate for their anticommutativity or their nonorthogonality with respect to the symplectic product.

Now we perform a "Gram-Schmidt orthogonalization" with respect to the symplectic product. Add row one to any other row that has one as the leftmost entry in its ${\displaystyle Z}$ matrix. Add row two to any other row that has one as the leftmost entry in its ${\displaystyle X}$ matrix. For our example, we add row one to row four and we add row two to rows three and four. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&1&1&0\\0&1&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\0&0&1&1\\0&0&1&1\end{array}}\right].}$

The first two rows are now symplectically orthogonal to all other rows per the fundamental theorem of symplectic geometry. We proceed with the same algorithm on the next two rows. The next two rows are symplectically orthogonal to each other so we can deal with them individually. Perform a Hadamard on qubit two. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&0&1&0\\0&0&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\0&1&1&1\\0&1&1&1\end{array}}\right].}$

Perform a CNOT from qubit two to qubit three and from qubit two to qubit four. The matrix becomes

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&1&1&0\\0&1&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\0&1&0&0\\0&1&0&0\end{array}}\right].}$

Perform a phase gate on qubit two:

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&0&1&0\\0&0&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\0&1&0&0\\0&1&0&0\end{array}}\right].}$

Perform a Hadamard on qubit three followed by a CNOT from qubit two to qubit three:

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&0&0&0\\0&0&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\0&1&0&0\\0&1&1&0\end{array}}\right].}$

Add row three to row four and perform a Hadamard on qubit two:

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&1&0&0\\0&0&0&1\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\0&0&0&0\\0&0&1&0\end{array}}\right].}$

Perform a Hadamard on qubit four followed by a CNOT from qubit three to qubit four. End by performing a Hadamard on qubit three:

${\displaystyle \left[\left.{\begin{array}{cccc}1&0&0&0\\0&0&0&0\\0&1&0&0\\0&0&1&0\end{array}}\right\vert {\begin{array}{cccc}0&0&0&0\\1&0&0&0\\0&0&0&0\\0&0&0&0\end{array}}\right].}$

The above matrix now corresponds to the canonical Pauli operators. Adding one half of an ebit to the receiver's side gives the canonical stabilizer whose simultaneous +1-eigenstate is the above state. The above operations in reverse order take the canonical stabilizer to the encoded stabilizer.

## References

• Brun, T.; Devetak, I.; Hsieh, M.-H. (2006-10-20). "Correcting Quantum Errors with Entanglement". Science. American Association for the Advancement of Science (AAAS). 314 (5798): 436–439. arXiv:quant-ph/0610092. doi:10.1126/science.1131563. ISSN 0036-8075.
• Min-Hsiu Hsieh. Entanglement-assisted Coding Theory. Ph.D. Dissertation, University of Southern California, August 2008. Available at https://arxiv.org/abs/0807.2080
• Mark M. Wilde. Quantum Coding with Entanglement. Ph.D. Dissertation, University of Southern California, August 2008. Available at https://arxiv.org/abs/0806.4214
• Hsieh, Min-Hsiu; Devetak, Igor; Brun, Todd (2007-12-19). "General entanglement-assisted quantum error-correcting codes". Physical Review A. American Physical Society (APS). 76 (6): 062313. arXiv:0708.2142. doi:10.1103/physreva.76.062313. ISSN 1050-2947.
• Kremsky, Isaac; Hsieh, Min-Hsiu; Brun, Todd A. (2008-07-21). "Classical enhancement of quantum-error-correcting codes". Physical Review A. American Physical Society (APS). 78 (1): 012341. arXiv:0802.2414. doi:10.1103/physreva.78.012341. ISSN 1050-2947.
• Wilde, Mark M.; Brun, Todd A. (2008-06-19). "Optimal entanglement formulas for entanglement-assisted quantum coding". Physical Review A. American Physical Society (APS). 77 (6): 064302. arXiv:0804.1404. doi:10.1103/physreva.77.064302. ISSN 1050-2947.
• Wilde, Mark M.; Krovi, Hari; Brun, Todd A. (2010). Convolutional entanglement distillation. IEEE. arXiv:0708.3699. doi:10.1109/isit.2010.5513666. ISBN 978-1-4244-7892-7.
• Wilde, Mark M.; Brun, Todd A. (2010-04-30). "Entanglement-assisted quantum convolutional coding". Physical Review A. American Physical Society (APS). 81 (4): 042333. arXiv:0712.2223. doi:10.1103/physreva.81.042333. ISSN 1050-2947.
• Wilde, Mark M.; Brun, Todd A. (2010-06-08). "Quantum convolutional coding with shared entanglement: general structure". Quantum Information Processing. Springer Science and Business Media LLC. 9 (5): 509–540. arXiv:0807.3803. doi:10.1007/s11128-010-0179-9. ISSN 1570-0755.
• Shaw, Bilal; Wilde, Mark M.; Oreshkov, Ognyan; Kremsky, Isaac; Lidar, Daniel A. (2008-07-18). "Encoding one logical qubit into six physical qubits". Physical Review A. American Physical Society (APS). 78 (1): 012337. arXiv:0803.1495. doi:10.1103/physreva.78.012337. ISSN 1050-2947.