Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tutorial

Useful Tricks

Abstract

Some useful tricks that could prove useful in proofs

Contents:

Expectation Values Squared

Let AA be some operator and ∣ψ⟩\ket{\psi} be some state.

⟨ψ∣A∣ψ⟩2=⟨ψ∣⟨ψ∣A⊗A∣ψ⟩∣ψ⟩\bra{\psi} A \ket{\psi}^{2} = \bra{\psi}\bra{\psi} A \otimes A \ket{\psi}\ket{\psi}

Moving Operators on Entangled States

Let AA be some operator and ∣Φ+⟩\ket{\Phi^{+}} be a bipartite maximally entangled state.

(A⊗I)∣Φ+⟩=(I⊗At)∣Φ+⟩,(A \otimes \mathbb{I}) \ket{\Phi^{+}} = (\mathbb{I} \otimes A^{t}) \ket{\Phi^{+}},

where (⋅)t(\cdot)^{t} is the transpose operation.

Proof

Let AA be some operator and ∣Φ+⟩=1d∑i∣ii⟩\ket{\Phi^{+}} = \frac{1}{\sqrt{d}} \sum_{i} \ket{ii} be the bipartite maximally entangled state.

Consider the elements of the vector (A⊗I)(∣Φ+⟩)(A \otimes \mathbb{I}) \big( \ket{\Phi^{+}} \big) ,

⟨kl∣(A⊗I)(∣Φ+⟩)=1d∑i⟨kl∣(A⊗I)∣ii⟩,=1d∑i⟨k∣A∣i⟩⟨l∣∣i⟩,=1d∑i⟨k∣A∣i⟩δli,=1d⟨k∣A∣l⟩.\begin{align*} \bra{kl} (A \otimes \mathbb{I}) \big( \ket{\Phi^{+}} \big) &= \frac{1}{\sqrt{d}} \sum_{i} \bra{kl} (A \otimes \mathbb{I}) \ket{ii}, \\ &= \frac{1}{\sqrt{d}} \sum_{i} \bra{k} A \ket{i} \bra{l}\ket{i}, \\ &= \frac{1}{\sqrt{d}} \sum_{i} \bra{k} A \ket{i} \delta_{li}, \\ &= \frac{1}{\sqrt{d}} \bra{k} A \ket{l}. \end{align*}

Consider the elements of the vector (I⊗At)(∣Φ+⟩)(\mathbb{I} \otimes A^{t}) \big( \ket{\Phi^{+}} \big) ,

⟨kl∣(I⊗At)(∣Φ+⟩)=1d∑i⟨kl∣(I⊗At)∣ii⟩,=1d∑i⟨k∣∣i⟩⟨l∣At∣i⟩,=1d∑i⟨l∣At∣i⟩δki,=1d⟨l∣At∣k⟩,=1d⟨k∣A∣l⟩.\begin{align*} \bra{kl} (\mathbb{I} \otimes A^{t}) \big( \ket{\Phi^{+}} \big) &= \frac{1}{\sqrt{d}} \sum_{i} \bra{kl} (\mathbb{I} \otimes A^{t}) \ket{ii}, \\ &= \frac{1}{\sqrt{d}} \sum_{i} \bra{k}\ket{i} \bra{l} A^{t} \ket{i}, \\ &= \frac{1}{\sqrt{d}} \sum_{i} \bra{l} A^{t} \ket{i} \delta_{ki},\\ &= \frac{1}{\sqrt{d}} \bra{l} A^{t} \ket{k},\\ &= \frac{1}{\sqrt{d}} \bra{k} A \ket{l}. \end{align*}

If the elements of these two vector are the same, they must be the same vector. This completes the proof.

Alternative Bipartition of Entangled States

Let ∣Φ+⟩AB ∈ HA⊗HB\ket{\Phi^{+}}_{AB}~\in~\mathcal{H}_{A} \otimes \mathcal{H}_{B} be the maximally entangled stated between a space AA and BB. Let ∣Φ+⟩CD ∈ HC⊗HD\ket{\Phi^{+}}_{CD}~\in~\mathcal{H}_{C} \otimes \mathcal{H}_{D} be the maximally entangled stated between a space CC and DD

∣Φ+⟩AB⊗∣Φ+⟩CD=∣Φ+⟩(AC),(BD)\ket{\Phi^{+}}_{AB} \otimes \ket{\Phi^{+}}_{CD} = \ket{\Phi^{+}}_{(AC),(BD)}

where ∣Φ+⟩(AC),(BD)\ket{\Phi^{+}}_{(AC),(BD)} is the maximally entangled state between (AC)(AC) and (BD)(BD).

This can be generalised to more tensor products of the maximally entangled state, e.g

∣Φ+⟩AB⊗∣Φ+⟩CD⊗∣Φ+⟩EF=∣Φ+⟩(ACE),(BDF)\ket{\Phi^{+}}_{AB} \otimes \ket{\Phi^{+}}_{CD} \otimes \ket{\Phi^{+}}_{EF} = \ket{\Phi^{+}}_{(ACE),(BDF)}
Proof
∣Φ+⟩AB=12(∣00⟩AB+∣11⟩AB)∣Φ+⟩CD=12(∣00⟩CD+∣11⟩CD)\begin{align*} \ket{\Phi^{+}}_{AB} &= \frac{1}{\sqrt{2}} ( \ket{00}_{AB} + \ket{11}_{AB}) \\ \ket{\Phi^{+}}_{CD} &= \frac{1}{\sqrt{2}} ( \ket{00}_{CD} + \ket{11}_{CD}) \\ \end{align*}
∣Φ+⟩AB⊗∣Φ+⟩CD=12(∣00⟩AB+∣11⟩AB)⊗12(∣00⟩CD+∣11⟩CD)=12(∣0000⟩ABCD+∣0011⟩ABCD+∣1100⟩ABCD+∣1111⟩ABCD)\begin{align*} &\ket{\Phi^{+}}_{AB} \otimes \ket{\Phi^{+}}_{CD} \\ &= \frac{1}{\sqrt{2}} ( \ket{00}_{AB} + \ket{11}_{AB}) \otimes \frac{1}{\sqrt{2}} ( \ket{00}_{CD} + \ket{11}_{CD}) \\ &= \frac{1}{2} (\ket{0000}_{ABCD} + \ket{0011}_{ABCD} + \ket{1100}_{ABCD} + \ket{1111}_{ABCD}) \end{align*}

The labels on the BB and CC particles can then be swapped.

=12(∣0000⟩ACBD+∣0101⟩ACBD+∣1010⟩ACBD+∣1111⟩ACBD)\begin{align*} &= \frac{1}{2} (\ket{0000}_{ACBD} + \ket{0101}_{ACBD} + \ket{1010}_{ACBD} + \ket{1111}_{ACBD}) \\ \end{align*}

Rewriting the binary with

00→0,01→1,10→2,11→3,\begin{align*} 00 &\rightarrow 0, \\ 01 &\rightarrow 1, \\ 10 &\rightarrow 2, \\ 11 &\rightarrow 3, \\ \end{align*}

and grouping the spaces together gives

=12(∣00⟩(AC)(BD)+∣11⟩(AC)(BD)+∣22⟩(AC)(BD)+∣33⟩(AC)(BD))=∣Φ+⟩(AB)(CD),\begin{align*} &= \frac{1}{2} (\ket{00}_{(AC)(BD)} + \ket{11}_{(AC)(BD)} + \ket{22}_{(AC)(BD)} + \ket{33}_{(AC)(BD)}) \\ &= \ket{\Phi^{+}}_{(AB)(CD)}, \end{align*}

completing the proof.

Generating a Maximally Entangled Basis

Given a maximally entangled bipartite state, ∣Φ00+⟩\ket{\Phi^{+}_{00}}, one can generate a complete maximally entangled basis using the Heisenberg-Weyl operators.

In a space of local dimenions dd, the Heisenberg-Weyl operators are defined as

Wa,b=UaVb=∑k=0d−1Ωbk∣k+a⟩⟨k∣,W_{a,b} = U^{a}V^{b} = \sum_{k=0}^{d-1} \Omega^{bk} \ket{k+a}\bra{k},

where a,b ∈ {0,1,…,d−1}a,b~\in~\{0,1,\ldots,d-1 \} and

U=∑k=0d−1∣k+1⟩⟨k∣,  V=∑k=0d−1Ωk∣k⟩⟨k∣,  Ω=e2πid.U = \sum_{k=0}^{d-1} \ket{k+1}\bra{k}, ~ ~ V = \sum^{d-1}_{k=0} \Omega^{k} \ket{k}\bra{k}, ~ ~ \Omega = e^{\frac{2 \pi i}{d}}.

UU and VV are XX and ZZ Pauli operators generalized to higher dimension.

The set of states,

{∣Φab+⟩:a,b ∈ {0,1,…,d−1}},\{ \ket{\Phi_{ab}^{+}} : a,b~\in~\{0,1,\ldots,d-1 \} \},

where ∣Φab+⟩=(I⊗Wa,b)(∣Φ00+⟩)\ket{\Phi_{ab}^{+}} = (\mathbb{I} \otimes W_{a,b}) \big( \ket{\Phi^{+}_{00}} \big) then forms a complete maximally entangled basis.

Properties of Heisenberg-Weyl operators
(Wα,β)t=Ω−αβW−α,β,(Wα,β)†=ΩαβW−α,−β,Wα,βWγ,δ=ΩβγWα+γ,β+δ=Ωβγ−αδWγ,δWα,β.tr[Wa,b]={nif (a,b)=(0,0)0if otherwise\begin{split} & (W_{\alpha, \beta}) ^ {t} = \Omega^{-\alpha \beta}W_{-\alpha, \beta}, \\ & (W_{\alpha, \beta}) ^ {\dagger} = \Omega^{\alpha \beta}W_{-\alpha, -\beta}, \\ & W_{\alpha, \beta}W_{\gamma, \delta} = \Omega^{\beta\gamma}W_{\alpha + \gamma, \beta + \delta} = \Omega^{\beta\gamma - \alpha\delta}W_{\gamma, \delta}W_{\alpha, \beta}. \\ & \textrm{tr}\big[ W_{a,b} \big] = \begin{cases} n & \mbox{if } (a,b) = (0,0) \\ 0 & \mbox{if } \textrm{otherwise} \end{cases} \end{split}

For qubits, the Heisenberg-Weyl operators are

W0,0=I,  W0,1=σz,  W1,0=σx,  W1,1=−iσyW_{0,0} = \mathbb{I}, ~~ W_{0,1} = \sigma_{z}, ~~ W_{1,0} = \sigma_{x}, ~~ W_{1,1} = -i \sigma_{y}

Trace of Swap gate on two density operators

Let ρ,σ\rho, \sigma be density operators and SWAP\rm{SWAP} the swap gate.

tr[(ρ⊗σ)SWAP]=tr[ρσ]\textrm{tr} \big[ (\rho \otimes \sigma) \textrm{SWAP} \big] = \textrm{tr} \big[\rho \sigma \big]

This can be generalised further using the same proof technique as

tr[(ρ1⊗σ2⊗ω3)SWAP12SWAP13]=tr[ρσω],\textrm{tr} \big[ (\rho_1 \otimes \sigma_2 \otimes \omega_3) \textrm{SWAP}_{12} \textrm{SWAP}_{13} \big] = \textrm{tr}\big[\rho \sigma \omega \big],

where SWAPij\textrm{SWAP}_{ij} is a swap on the iith and jjth system.

Proof

Let

ρ=∑ijpij∣i⟩⟨j∣,σ=∑klqkl∣k⟩⟨l∣,\begin{align*} \rho = \sum_{ij} p_{ij} \ket{i} \bra{j}, \\ \sigma = \sum_{kl} q_{kl} \ket{k} \bra{l}, \end{align*}

be expansions of ρ \rho and σ \sigma in the computational basis, and note that

SWAP=∑nm∣n⟩⟨m∣⊗∣m⟩⟨n∣.\textrm{SWAP} = \sum_{nm} \ket{n}\bra{m} \otimes \ket{m}\bra{n}.

First, the left hand side gives

tr[(ρ⊗σ)SWAP]=tr[(∑ijklpijqkl∣i⟩⟨j∣⊗∣k⟩⟨l∣)∑nm∣n⟩⟨m∣⊗∣m⟩⟨n∣]=tr[∑ijkl∑nmpijqkl∣i⟩⟨m∣δjn⊗∣k⟩⟨n∣δml]=tr[∑inkmpinqkm∣i⟩⟨m∣⊗∣k⟩⟨n∣]=∑inkmpinqkm δimδkn=∑ikpikqki.\begin{align*} &\textrm{tr} \big[ (\rho \otimes \sigma) \textrm{SWAP} \big] \\ &= \textrm{tr} \bigg[ \bigg( \sum_{ijkl} p_{ij}q_{kl} \ket{i} \bra{j} \otimes \ket{k} \bra{l} \bigg) \sum_{nm} \ket{n}\bra{m} \otimes \ket{m}\bra{n} \bigg] \\ &= \textrm{tr} \bigg[ \sum_{ijkl} \sum_{nm} p_{ij}q_{kl} \ket{i} \bra{m} \delta_{jn} \otimes \ket{k} \bra{n} \delta_{ml} \bigg] \\ &= \textrm{tr} \bigg[ \sum_{inkm} p_{in}q_{km} \ket{i} \bra{m} \otimes \ket{k} \bra{n} \bigg] \\ &= \sum_{inkm} p_{in}q_{km} ~ \delta_{im} \delta_{kn} \\ &= \sum_{ik} p_{ik}q_{ki}. \end{align*}

The right hand side is then

tr[ρσ]=tr[(∑ijpij∣i⟩⟨j∣)(∑klqkl∣k⟩⟨l∣)]=tr[∑ijklpijqkl∣i⟩⟨l∣δjk]=tr[∑iklpikqkl∣i⟩⟨l∣]=∑iklpikqklδil=∑ikpikqki,\begin{align*} \textrm{tr} \big[\rho \sigma \big] &= \textrm{tr} \bigg[ \bigg( \sum_{ij} p_{ij} \ket{i} \bra{j} \bigg) \bigg( \sum_{kl} q_{kl} \ket{k} \bra{l} \bigg) \bigg] \\ &= \textrm{tr} \bigg[ \sum_{ijkl} p_{ij}q_{kl} \ket{i} \bra{l} \delta_{jk} \bigg] \\ &= \textrm{tr} \bigg[ \sum_{ikl} p_{ik}q_{kl} \ket{i} \bra{l} \bigg] \\ &= \sum_{ikl} p_{ik}q_{kl} \delta_{il} \\ &= \sum_{ik} p_{ik}q_{ki}, \end{align*}

completing the proof.

Eigenvalues of general 2×22 \times 2 Operator

The operators {I,X,Y,Z}\big\{ \mathbb{I}, X, Y, Z \big\}, which is the identity plus the Pauli-operators, form an operator basis for the space of 2×22 \times 2 matrices over the complex numbers.

Hence, if A∈M2,2(C)A \in \mathbb{M}_{2,2}(\mathbb{C}) then there exists an α∈R1\alpha \in \mathbb{R}^1 and n∈R3\mathbf{n} \in \mathbb{R}^3 such that

A=αI+n⋅σ=αI+nxX+nyY+nzZ,\begin{align*} A &= \alpha \mathbb{I} + \mathbf{n} \cdot \mathbf{\sigma} \\ &= \alpha \mathbb{I} + n_x X + n_y Y + n_z Z, \end{align*}

where

n=(nxnynz),   σ=(XYZ),\bm{n} = \begin{pmatrix} n_x \\ n_y \\ n_z \end{pmatrix}, ~ ~ ~ \bm{\sigma} = \begin{pmatrix} X \\ Y \\ Z \end{pmatrix},

as seen here

The eigenvalues of AA are then λ=α±∣n∣\lambda = \alpha \pm \vert \mathbf{n} \vert.

Proof

The fact that {I,X,Y,Z}\big\{ \mathbb{I}, X, Y, Z \big\} forms an operator basis for the space of 2×22 \times 2 complex matrices can be seen by comparing coefficients of a decomposition in this basis to a general 2×22 \times 2 matrix. This is not proved here, but taken as a given.

The result about the eigenvalues can then be seen by direct calculation. In this basis AA can written as

A=(α+nznx−inynx+inyα−nz).\begin{align*} A = \begin{pmatrix} \alpha + n_z & n_x - in_y \\ n_x + in_y & \alpha - n_z \end{pmatrix}. \end{align*}

One can then find the eigenvectors, λ\lambda, of AA from

Det(A−λI)=0.\mathrm{Det}\big( A - \lambda \mathbb{I}) = 0.

This can be easily solved for λ\lambda, giving

λ=α+nx2+ny2+nz2,\lambda = \alpha + \sqrt{n_x^2 + n_y^2 + n_z^2},

completing the proof.

Operator Inequalities and Supports

Let ΠA,ΠB\Pi_A, \Pi_B be hermitian projectors, such that ΠiΠi=Πi\Pi_i \Pi_i = \Pi_i and Πi†=Πi\Pi_i^\dagger = \Pi_i.

The following conditions holds:

ΠA≤ΠB   ⟺   Supp(A)⊆Supp(B).\Pi_A \leq \Pi_B ~ \iff ~ \mathrm{Supp}(A) \subseteq \mathrm{Supp}(B).
Proof

Firstly, we prove that ΠA≤ΠB   ⟹   Supp(A)⊆Supp(B)\Pi_A \leq \Pi_B ~ \implies ~ \mathrm{Supp}(A) \subseteq \mathrm{Supp}(B):

We have ΠB−ΠA≥0\Pi_B - \Pi_A \geq 0, meaning that ΠB−ΠA\Pi_B - \Pi_A is positive semi-definite. From here it holds that

⟨x,(ΠB−ΠA)x⟩≥0,\begin{align*} \langle x, (\Pi_B - \Pi_A) x \rangle \geq 0, \end{align*}

such that

⟨x,ΠBx⟩≥⟨x,ΠAx⟩,\begin{align*} \langle x, \Pi_B x \rangle \geq \langle x, \Pi_A x \rangle, \end{align*}

where ⟨⋅,⋅⟩\langle \cdot, \cdot \rangle is some inner product, and this holds for all xx. If x∈Ker(B)x \in \mathrm{Ker}(B), such that ⟨x,ΠBx⟩=0\langle x, \Pi_B x \rangle = 0, it follows that ⟨x,ΠAx⟩=0 \langle x, \Pi_A x \rangle = 0, as ⟨x,ΠAx⟩≥0\langle x, \Pi_A x \rangle \geq 0.

Therefore, if x∈Ker(B)x \in \mathrm{Ker}(B) then x∈Ker(A)x \in \mathrm{Ker}(A), and it can be concluded that

Ker(B)⊆Ker(A).\mathrm{Ker}(B) \subseteq \mathrm{Ker}(A).

As

Supp(A)=(Ker(A))⊥,\mathrm{Supp}(A) = \big( \mathrm{Ker}(A) \big)^{\perp},

meaning the support is the orthogonal complement of the kernal, it can be concluded that

Supp(A)⊆Supp(B).\mathrm{Supp}(A) \subseteq \mathrm{Supp}(B).

Now, we prove that Supp(A)⊆Supp(B)   ⟹   ΠA≤ΠB\mathrm{Supp}(A) \subseteq \mathrm{Supp}(B) ~ \implies ~ \Pi_A \leq \Pi_B:

If Supp(A)⊆Supp(B)\mathrm{Supp}(A) \subseteq \mathrm{Supp}(B) there exists some subspace MM such that

Supp(A)⊕M=Supp(B).\mathrm{Supp}(A) \oplus M = \mathrm{Supp}(B).

This implies that ΠA+ΠM=ΠB\Pi_{A} + \Pi_M = \Pi_B, where ΠM\Pi_M is the projector onto the subspace MM. This is defined as the projector onto ΠB−ΠA\Pi_B - \Pi_A, which, by assumption, is postive semi-definite, ΠM≥0\Pi_M \geq 0. Hence, ΠA≤ΠB\Pi_A \leq \Pi_B, completing the proof.

SWAP and Partial Transpose of Max Entangled State

Let ∣Φ00+⟩=(1/2)∑i,j=01∣ii⟩∈D(HA⊗HB) \vert \Phi^+_{00} \rangle = (1/\sqrt{2}) \sum_{i,j=0}^1 \ket{ii} \in \mathcal{D}(\mathcal{H}_A \otimes \mathcal{H}_B). Then

∣Φ00+⟩⟨Φ00+∣tA=2 SWAP,\vert \Phi^+_{00} \rangle \langle \Phi^+_{00} \vert^{t_A} = 2 ~ \mathtt{SWAP},

where (⋅)tA(\cdot)^{t_A} is the partial transpose in the AA system and SWAP=∑i,j=01∣ij⟩⟨ji∣\mathtt{SWAP} = \sum_{i,j=0}^1 \vert ij \rangle \langle ji \vert.

Proof
∣Φ00+⟩⟨Φ00+∣tA=(1/2)∑i,j=01∣ii⟩⟨jj∣tA=(1/2)∑i,j=01∣i⟩⟨j∣⊗∣i⟩⟨j∣tA=(1/2)∑i,j=01∣i⟩⟨j∣⊗∣j⟩⟨i∣=(1/2)∑i,j=01∣ij⟩⟨ji∣=(1/2) SWAP.\begin{align*} \vert \Phi^+_{00} \rangle \langle \Phi^+_{00} \vert^{t_A} &= (1/2) \sum_{i,j=0}^1 \vert ii \rangle \langle jj \vert^{t_A} \\ &= (1/2) \sum_{i,j=0}^1 \vert i \rangle \langle j \vert \otimes \vert i \rangle \langle j \vert^{t_A} \\ &= (1/2) \sum_{i,j=0}^1 \vert i \rangle \langle j \vert \otimes \vert j \rangle \langle i \vert \\ &= (1/2) \sum_{i,j=0}^1 \vert ij \rangle \langle ji \vert \\ &= (1/2) ~ \mathtt{SWAP}. \end{align*}

Trace of a product of operators

Let A,B∈L(Hd)A,B \in \mathcal{L}(\mathcal{H}^d), ∣Φ00+⟩=(1/2)∑i,j=0d−1∣ii⟩\vert \Phi^+_{00} \rangle = (1/\sqrt{2}) \sum_{i,j=0}^{d-1} \ket{ii} and SWAP=∑i,j=01∣ij⟩⟨ji∣\mathtt{SWAP} = \sum_{i,j=0}^1 \vert ij \rangle \langle ji \vert. Then

1dtr[AB]=⟨Φ00+∣A⊗Bt∣Φ00+⟩=tr[(A⊗B)SWAP].\begin{align*} \frac{1}{d} \textrm{tr}\big[ AB \big] &= \langle \Phi_{00}^+ \vert A \otimes B^t \vert \Phi_{00}^+ \rangle \\ &= \textrm{tr} \big[ (A \otimes B) \mathtt{SWAP} \big]. \end{align*}
Proof

We first decompose AA and BB in some basis:

A=∑ijaij∣i⟩⟨j∣,   B=∑klbkl∣k⟩⟨l∣.A = \sum_{ij} a_{ij} \vert i \rangle \langle j \vert, ~ ~ ~ B = \sum_{kl} b_{kl} \vert k \rangle \langle l \vert.

We then consider the left hand side of the above equation:

tr[AB]=tr[∑ijaij∣i⟩⟨j∣ ∑klbkl∣k⟩⟨l∣]=∑ijlaijbkltr[∣i⟩⟨j∣k⟩⟨l∣]=∑ijlaijbklδilδjk=∑ilaijbji.\begin{align*} \textrm{tr}\big[ AB \big] &= \textrm{tr} \biggl[ \sum_{ij} a_{ij} \vert i \rangle \langle j \vert ~ \sum_{kl} b_{kl} \vert k \rangle \langle l \vert \biggl] \\ &= \sum_{ijl} a_{ij} b_{kl} \textrm{tr} \big[ \vert i \rangle \langle j \vert k \rangle \langle l \vert \big] \\ &= \sum_{ijl} a_{ij} b_{kl} \delta_{il} \delta_{jk} \\ &= \sum_{il} a_{ij} b_{ji}. \\ \end{align*}

We now consider the first part of the right hand side of the above equation:

⟨Φ00+∣A⊗Bt∣Φ00+⟩==1d∑s⟨ss∣∑ijaij∣i⟩⟨j∣⊗∑klbkl∣l⟩⟨k∣∑r∣rr⟩=1d∑srklaijbkl δsiδslδjrδrk=1d∑ijaijbji,\begin{align*} &\langle \Phi_{00}^+ \vert A \otimes B^t \vert \Phi_{00}^+ \rangle = \\ &= \frac{1}{d} \sum_{s} \bra{ss} \sum_{ij} a_{ij} \ket{i}\bra{j} \otimes \sum_{kl} b_{kl} \ket{l}\bra{k} \sum_r \ket{rr} \\ &= \frac{1}{d} \sum_{srkl} a_{ij}b_{kl} ~ \delta_{si} \delta_{sl} \delta_{jr} \delta_{rk} \\ &= \frac{1}{d} \sum_{ij} a_{ij}b_{ji}, \end{align*}

meaning the two sides are equal.

We now consider the second part of the right hand side of the above equation:

tr[(A⊗B)SWAP]==tr[(∑ijaij∣i⟩⟨j∣⊗∑klbkl∣k⟩⟨l∣)∑rs∣rs⟩⟨sr∣]=∑ij∑kl∑rsaijbkltr[∣ik⟩⟨jl∣∣rs⟩⟨sr∣]=∑ij∑kl∑rsaijbkl δisδkrδjrδls=∑ijaijbji,\begin{align*} &\textrm{tr} \big[ (A \otimes B) \mathtt{SWAP} \big] = \\ &= \textrm{tr} \biggl[ \bigg( \sum_{ij} a_{ij} \ket{i}\bra{j} \otimes \sum_{kl} b_{kl} \ket{k}\bra{l} \bigg) \sum_{rs} \ket{rs}\bra{sr} \biggl] \\ &= \sum_{ij} \sum_{kl} \sum_{rs} a_{ij} b_{kl} \textrm{tr} \bigg[ \ket{ik}\bra{jl} \ket{rs}\bra{sr} \bigg] \\ &= \sum_{ij} \sum_{kl} \sum_{rs} a_{ij} b_{kl}~\delta_{is} \delta_{kr} \delta_{jr} \delta_{ls} \\ &= \sum_{ij} a_{ij} b_{ji}, \end{align*}

completing the proof as all sides are therefore equal.

Post Selecting a Pure State with a Pure State

Consider a bipartite space HA⊗HB\mathcal{H}_A \otimes \mathcal{H}_B, and let ∣Φ⟩⟨Φ∣∈D(HA⊗HB)\vert \Phi \rangle \langle \Phi \vert \in \mathcal{D}(\mathcal{H}_A \otimes \mathcal{H}_B) whilst ∣Ψ⟩⟨Ψ∣∈D(HB)\vert \Psi \rangle \langle \Psi \vert \in \mathcal{D}(\mathcal{H}_B), such that each state is a pure state in their respective spaces. Then,

trB[∣Φ⟩⟨Φ∣AB(IA⊗∣Ψ⟩⟨Ψ∣B)]=α∣χ~⟩⟨χ~∣A,\textnormal{tr}_B \big[ \vert \Phi \rangle \langle \Phi \vert_{AB} (\mathbb{I}_A \otimes \vert \Psi \rangle \langle \Psi \vert_{B} ) \big] = \alpha \vert \tilde{\chi} \rangle \langle \tilde{\chi} \vert_{A},

where ∣χ~⟩⟨χ~∣∈D(HA)\vert \tilde{\chi} \rangle \langle \tilde{\chi} \vert \in \mathcal{D}(\mathcal{H}_A) and α∈[0,1]\alpha \in [0,1].

Proof

Using the Schmit decomposition of ∣Φ⟩⟨Φ∣AB\vert \Phi \rangle \langle \Phi \vert_{AB}, it follows that

trB[∣Φ⟩⟨Φ∣AB(IA⊗∣Ψ⟩⟨Ψ∣B)]=∑i,jλiλj trB[∣ii⟩⟨jj∣(IA⊗∣Ψ⟩⟨Ψ∣)]=∑i,jλiλj ∣i⟩⟨j∣ (⟨j∣Ψ⟩⟨Ψ∣i⟩).\begin{split} \textrm{tr}_B & \big[ \vert \Phi \rangle \langle \Phi \vert_{AB} (\mathbb{I}_A \otimes \vert \Psi \rangle \langle \Psi \vert_B ) \big] \\ &= \sum_{i,j} \sqrt{\lambda_i \lambda_j} ~ \textrm{tr}_B \big[ \vert ii \rangle \langle jj \vert (\mathbb{I}_A \otimes \vert \Psi \rangle \langle \Psi \vert) \big] \\ &= \sum_{i,j} \sqrt{\lambda_i \lambda_j}~ \vert i \rangle \langle j \vert ~( \langle j \vert \Psi \rangle \langle \Psi \vert i \rangle ). \\ \end{split}

One can then define

∣χ⟩=∑iλi⟨Ψ∣i⟩∣i⟩,\ket{\chi} = \sum_i \lambda_i \braket{\Psi \vert i} \ket{i},

such that

trB[∣Φ⟩⟨Φ∣AB(IA⊗∣Ψ⟩⟨Ψ∣B)]=∣χ⟩⟨χ∣.\textrm{tr}_B \big[ \vert \Phi \rangle \langle \Phi \vert_{AB} (\mathbb{I}_A \otimes \vert \Psi \rangle \langle \Psi \vert_B ) \big] = \vert \chi \rangle \langle \chi \vert.

It can be seen that

α=tr[χ]=∑ipi,iλi≤1,\alpha = \textrm{tr}\big[ \chi \big] = \sum_{i} p_{i,i} \lambda_i \leq 1,

where the inequality comes from fact that 0≤pii≤1 ∀ i0 \leq p_{ii} \leq 1 ~\forall~i, as they are the diagonal elements of a density operator (∣Ψ⟩⟨Ψ∣)\vert \Psi \rangle \langle \Psi \vert), and 0≤λi≤1 ∀ i0 \leq \lambda_i \leq 1~\forall~i as they are eigenvalues of a density operator (∣Φ⟩⟨Φ∣AB\vert \Phi \rangle \langle \Phi \vert_{AB}). Hence,

∣χ~⟩⟨χ~∣=1α∣χ⟩⟨χ∣,\vert \tilde{\chi} \rangle \langle \tilde{\chi} \vert = \frac{1}{\alpha} \vert \chi \rangle \langle \chi \vert,

is a valid pure quantum state, such that

α∣χ~⟩⟨χ~∣=trB[∣Φ⟩⟨Φ∣AB(IA⊗∣Ψ⟩⟨Ψ∣B)],\alpha \vert \tilde{\chi} \rangle \langle \tilde{\chi} \vert = \textrm{tr}_B \big[ \vert \Phi \rangle \langle \Phi \vert_{AB} (\mathbb{I}_A \otimes \vert \Psi \rangle \langle \Psi \vert_{B} ) \big],

completing the proof.