Subsections

8 Entanglement. longer examples


8.1 Entanglement swapping

In this subsection, we check a calculation that would be relatively difficult to check by hand. Consider a pair of entangled qubits $A$ and $B$, and another entangled pair $C$ and $D$. By performing a joint measurement on, say $B$ and $C$, we can put $A$ and $B$ in an entangled state although they may be widely separated. We begin by considering the most general projective measure on $B$ and $C$, and calculate the reduced density matrix for a single qubit and the probability of outcome. In this example we calculate these quantities two ways-- one, directly from the density matrix formalism, and two, via formulas taking advantage of the particulars of this problem. To do the first calculation by hand would be extremely unpleasant, as it involves multiplying $16\times16$ matrices with several factors in a single element. Carrying it out below with Maxima is a concise exercise. At present this example does not continue by discussing the measurements that maximize the resulting entanglement of $A$ and $D$.

Qubits $A$ and $B$ are in the state

\begin{displaymath}
{\lvert\alpha \rangle}=\sqrt{\alpha}{\lvert 00 \rangle}+ \sqrt{1-\alpha}{\lvert 11 \rangle},
\end{displaymath}

$C$ and $D$ are in the state

\begin{displaymath}
{\lvert\beta \rangle}=\sqrt{\beta}{\lvert 00 \rangle}+ \sqrt{1-\beta}{\lvert 11 \rangle},
\end{displaymath}

with the Schmidt coefficients satisfying $\alpha,\beta >1/2$. For now, we only want to tell Maxima that the coefficients of the kets are real.


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i2) assume(alpha>0,1-al...
...trix{\sqrt{\beta}\cr 0\cr 0\cr \sqrt{1-\beta}\cr }\end{dmath}\end{boxedminipage}


We consider the projective measurement $\{E_m\}$, that is $E_m={\lvert u_m \rangle}{\langle u_m \rvert}$ and $\sum_m E_m=\mathbb{1}_4$. We consider only a single basis vector here, so we don't use the subscript $m$ for Maxima vector name. We need to use Maxima's declare$\dagger$ to declare that the components are complex. The state ${\lvert u_m \rangle}$ is normalized, but we don't need to impose that condition in Maxima at this point.


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i5) declare([u00,u01,u1...
... \mathrm{u01}\cr \mathrm{u10}\cr \mathrm{u11}\cr }\end{dmath}\end{boxedminipage}


The initial joint state ${\lvert\alpha\beta \rangle}{\langle\alpha\beta \rvert}$ is pure and remains so after the measurement applying ${\lvert u_m \rangle}{\langle u_m \rvert}$ to qubits $B$ and $C$. But we write the density operator because we will examine the reduced states, which are mixed. In the case that $B$ and $C$ are projected onto ${\lvert u_m \rangle}$, the state of the entire system of four qubits after the measurement is given by

(8) \begin{displaymath}
\rho = \left( (\mathbb{1}_2 \otimes {\lvert u_m \rangle}{\l...
...\lvert\alpha\beta \rangle}{\langle\alpha\beta \rvert}\right),
\end{displaymath}

with


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i7) rho : conjsimp((ide...
...roj(u) otimes ident(2)) . proj(a otimes b))$,
\end{verbatim}
\end{boxedminipage}


where conjsimp (supplied via the Maxima listserv by Barton Willis) replaces $xx^*$ with $\vert x\vert^2$, and ${\bf ident}($n $)\index{ident@{\bf ident}($n$)}$ is the $n\times n$ identity matrix. The output was suppressed with the trailing dollar sign because the $\rho$ is a $16\times16$ matrix with large expressions for entries. The reduced state of qubits $A$ and $D$ is obtained by tracing out components $2$ and $3$ corresponding to qubits $B$ and $C$, ie $\rho_{AD} =\mbox{Tr}_{BC}\rho$.


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i8) rho_14 : ptrace(rho...
...ght)\*\left\vert \mathrm{u11}\right\vert ^{2}\cr }\end{dmath}\end{boxedminipage}


Likewise, the reduced state of just qubit $D$ is $\rho_{D} =\mbox{Tr}_{ABC}\rho$.


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i9) rho_4 : ptrace(rho,...
...ght)\*\left\vert \mathrm{u01}\right\vert ^{2}\cr }\end{dmath}\end{boxedminipage}


The second method of calculating $\rho_{D}$ is as follows. Considering the following map from $\mathbb{C}^2\otimes \mathbb{C}^2$ to $M(\mathbb{C},2)$:

(9) \begin{displaymath}
{\lvert a \rangle}=\sum_{i,j=0}^1 a_{ij}{\lvert ij \rangle}...
...t{a}=
\pmatrix{
a_{00} & a_{01} \cr
a_{10} & a_{11} \cr
},
\end{displaymath}

one can show that $\rho_{D}$ is equal to $X_m^{\dagger}X_m$, with $X_m = \widehat{\alpha} \widehat{u}_m \widehat{\beta}$. The Maxima function implementing the mapping (9) is


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i10) ket_to_mat(iket) :...
...[iket[1,1],iket[2,1]],[iket[3,1],iket[4,1]])$
\end{verbatim}
\end{boxedminipage}


Then the second calculation of $\rho_D$, which we call rho_4a is given by the following lines.


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i11) mu : ket_to_mat(u)...
...ght)\*\left\vert \mathrm{u01}\right\vert ^{2}\cr }\end{dmath}\end{boxedminipage}


We compare (%o9) and (%o13), to see that the two methods of calculating the reduced state for qubit $D$ after the measurement give the same result


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i14) is ( ratsimp(rho_4...
...atim}
\begin{dmath}[number={\%o14}]
\mathbf{true}\end{dmath}\end{boxedminipage}


Now we compute the probability $p_m=\mbox{Tr}(\rho)=\mbox{Tr}(\rho_D)$ that the state is in fact projected onto ${\lvert u_m \rangle}$.


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i15) P1 : conjsimp( mat...
...ha\*\beta\*\left\vert \mathrm{u00}\right\vert ^{2}\end{dmath}\end{boxedminipage}


Finally, we compare this to the trace computed by hand from the expression following (9), which is given by

(10) \begin{displaymath}
p_m=\sum^1_{i,j=0} {\alpha}_{i} {\beta}_{j} \vert\widehat{u}_{m,ij}\vert^2,
\end{displaymath}

where $\alpha_0=\alpha, \alpha_1=1-\alpha,  \beta_0=\beta,  \beta_1=1-\beta$,


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i16) av : [alpha,1-alph...
...\*\beta\*\left\vert \mathrm{u00}\right\vert ^{2}\end{dmath}.
\end{boxedminipage}


Here we have used Maxima's apply$\dagger$ and create_list$\dagger$ functions. Once again we compare the probabilities computed via the two methods


\begin{boxedminipage}{2.0\linewidth}
\begin{verbatim}(%i19) is (ratsimp(P1) = ...
...atim}
\begin{dmath}[number={\%o19}]
\mathbf{true}\end{dmath}\end{boxedminipage}


and see that they give the same result.



John Lapeyre 2008-09-02