3.1.8 Correlated distributions

Some two-bit distributions are not product distributions – they cannot be written as in Eq. 3.22 or Eq. 3.24, no matter what values of qaq_{a} and rbr_{b} you choose. We will say that a distribution is correlated if it is not a product distribution. One example of a correlated distribution is

12[00]+12[11].\displaystyle\frac{1}{2}[00]+\frac{1}{2}[11]. (3.28)

To see that this is not a product distribution, suppose we measure one of the bits. The outcome aa will be completely random, i.e., either 0 or 11 with probability 50% each. However, once we know the outcome aa, the state of the remaining bit is completely determined – measuring it would yield the same outcome with probability 100%. Hence the state of the remaining bit is b=ab=a, which depends on the outcome aa of the measurement performed on the other bit. We saw in 3.5 that this cannot be the case for a product distribution. Thus, we have proved that Eq. 3.28 describes a correlated state. In fact, the two bits are perfectly correlated since both measurement outcomes are completely random but always identical (a=ba=b). Because of this property we say that Eq. 3.28 describes a pair of perfectly correlated random bits.

Correlated distributions arise naturally through some kind of interaction. For example, suppose you toss a fair coin, write the outcome on a piece of paper, hide the paper in an envelope, and pass the envelope to a friend. From the perspective of your friend (who knows the preparation procedure but not what is written on the paper inside the envelope), the state of your coin (bit 1) and of the piece of paper inside their envelope (bit 2) is described by

12
[Uncaptioned image]
[Uncaptioned image]
+12
[Uncaptioned image]
[Uncaptioned image]
\frac{1}{2}\vbox{\hbox{\includegraphics[width=30.0pt]{figs/0.png}}}\otimes% \vbox{\hbox{\includegraphics[width=30.0pt]{figs/envelope-heads-en.pdf}}}+\frac% {1}{2}\vbox{\hbox{\includegraphics[width=30.0pt]{figs/1.png}}}\otimes\vbox{% \hbox{\includegraphics[width=30.0pt]{figs/envelope-tails-en.pdf}}}

which is nothing but an amusing way of writing the two-bit state in Eq. 3.28.

How can we create correlated states in Quirky? Local operations alone are not enough since those can only create product states. However, we can use the controlled-NOT operation to make the two bits interact, as in the following Quirky computation:

[Uncaptioned image]

Why does this work? You can figure this out in the following exercise:

Exercise 3.6 ( Creating perfectly correlated random bits ).

Explain why the above Quirky computation prepares the state 12[00]+12[11]\frac{1}{2}[00]+\frac{1}{2}[11].

Solution. The state before the controlled-NOT operation is
(12[0]+12[1])[0]=12[00]+12[10].\displaystyle\left(\frac{1}{2}[0]+\frac{1}{2}[1]\right)\otimes[0]=\frac{1}{2}[% 00]+\frac{1}{2}[10].
After applying the controlled-NOT operation, we obtain
CNOT12(12[00]+12[10])=12[00]+12[11].\displaystyle\mathrm{CNOT}_{1\to 2}\left(\frac{1}{2}[00]+\frac{1}{2}[10]\right% )=\frac{1}{2}[00]+\frac{1}{2}[11].

To check whether an arbitrary two-bit distribution

p=p00[00]+p01[01]+p10[10]+p11[11]p=p_{00}[00]+p_{01}[01]+p_{10}[10]+p_{11}[11]

corresponds to a product or a correlated state, you can simply compute the following quantity:

Δ(p)=p00p11p01p10.\Delta(p)=p_{00}p_{11}-p_{01}p_{10}. (3.29)

If Δ(p)=0\Delta(p)=0 then pp is a product distribution; otherwise it is correlated. For example, for the state in Eq. 3.28 we find that

Δ(12[00]+12[11])=121200=140,\displaystyle\Delta\left\lparen\frac{1}{2}[00]+\frac{1}{2}[11]\right\rparen=% \frac{1}{2}\cdot\frac{1}{2}-0\cdot 0=\frac{1}{4}\neq 0,

which confirms that it is indeed correlated and not a product state. If you are curious why this simple condition works, you can read the explanation below. But since it is not essential for understanding the rest, you can also feel free to skip it.

To prove that Δ(p)=0\Delta(p)=0 is equivalent to pp being a product state, we need to show two things. First, let us show that if pp is a product state then Δ(p)=0\Delta(p)=0. Indeed, if p=qrp=q\otimes r then

Δ(p)=q0r0q1r1q0r1q1r0=0.\Delta(p)=q_{0}r_{0}q_{1}r_{1}-q_{0}r_{1}q_{1}r_{0}=0.

How about the converse claim – could we have Δ(p)=0\Delta(p)=0 even when pp is not a product state? It turns out that this is not possible! To prove this, let us assume that Δ(p)=0\Delta(p)=0 and show that p=qrp=q\otimes r, for some probabilistic bits qq and rr. Let us choose these two bits as follows:

q=q0[0]+q1[1]\displaystyle q=q_{0}[0]+q_{1}[1] =(p00+p01)[0]+(p10+p11)[1],\displaystyle=(p_{00}+p_{01})[0]+(p_{10}+p_{11})[1], (3.30)
r=r0[0]+r1[1]\displaystyle r=r_{0}[0]+r_{1}[1] =(p00+p10)[0]+(p01+p11)[1].\displaystyle=(p_{00}+p_{10})[0]+(p_{01}+p_{11})[1].

Note from Fig. 3.3 that qq and rr are simply the distributions of outcomes that we would obtain if we measured the first or the second bit, respectively. Let us now verify that this choice of qq and rr indeed produces the state pp:

qr\displaystyle q\otimes r =((p00+p01)[0]+(p10+p11)[1])((p00+p10)[0]+(p01+p11)[1])\displaystyle=\bigl{(}(p_{00}+p_{01})[0]+(p_{10}+p_{11})[1]\bigr{)}\otimes% \bigl{(}(p_{00}+p_{10})[0]+(p_{01}+p_{11})[1]\bigr{)}
=(p00+p01)(p00+p10)[00]+\displaystyle=(p_{00}+p_{01})(p_{00}+p_{10})[00]+\dotsb
=(p00p00+p00p10+p01p00+𝒑𝟎𝟏𝒑𝟏𝟎)[00]+\displaystyle=(p_{00}p_{00}+p_{00}p_{10}+p_{01}p_{00}+\boldsymbol{p_{01}p_{10}% })[00]+\dotsb
=(p00p00+p00p10+p01p00+𝒑𝟎𝟎𝒑𝟏𝟏)[00]+\displaystyle=(p_{00}p_{00}+p_{00}p_{10}+p_{01}p_{00}+\boldsymbol{p_{00}p_{11}% })[00]+\dotsb
=p00(p00+p10+p01+p11)[00]+\displaystyle=p_{00}(p_{00}+p_{10}+p_{01}+p_{11})[00]+\dotsb
=p00[00]+\displaystyle=p_{00}[00]+\dotsb
=p.\displaystyle=p.

Here we first used Eq. 3.26, then we multiplied out the product, next we used Δ(p)=0\Delta(p)=0 to replace 𝒑𝟎𝟏𝒑𝟏𝟎\boldsymbol{p_{01}p_{10}} by 𝒑𝟎𝟎𝒑𝟏𝟏\boldsymbol{p_{00}p_{11}} (see Eq. 3.29) , and finally we simplified p00+p01+p10+p11=1p_{00}+p_{01}+p_{10}+p_{11}=1, since pp is a probability distribution. The three terms that we abbreviated by “…” can be treated similarly. Can you fill in the details and verify one of them yourself?


We saw before in 3.5 that pp cannot be a product state if measuring the first bit “disturbs” the state of the second bit. In fact, the converse is also true, as you can show in the following homework.

Homework 3.4 (Independence implies product (optional)).

Assume that pp is an arbitrary two-bit probability distribution such that the state of the second bit does not depend on the outcome of measuring the first bit. Show that such pp is a product distribution. You can do this in two steps:

  1. 1.

    The measurement on the first bit can either produce outcome 0 or 11. Use Fig. 3.3 to compare the remaining state on the second bit in these two cases and show the following identities:

    p00p00+p01=p10p10+p11,p01p00+p01=p11p10+p11.\frac{p_{00}}{p_{00}+p_{01}}=\frac{p_{10}}{p_{10}+p_{11}},\qquad\frac{p_{01}}{% p_{00}+p_{01}}=\frac{p_{11}}{p_{10}+p_{11}}.
  2. 2.

    Use these equations to show that Δ(p)=0\Delta(p)=0 from Eq. 3.29.

Hack.

For simplicity, suppose first that measuring the first bit always leads to the same outcome aa. In this case, the state is necessarily of the form

p=pa0[a0]+pa1[a1]=[a](pa0[0]+pa1[1]),\displaystyle p=p_{a0}[a0]+p_{a1}[a1]=[a]\otimes(p_{a0}[0]+p_{a1}[1]),

so it is certainly a product state.

Next, suppose that both outcomes a=0a=0 and a=1a=1 appear with some nonzero probability. According to Fig. 3.3, this means that

p00[0]+p01[1]p00+p01=p10[0]+p11[1]p10+p11,\displaystyle\frac{p_{00}[0]+p_{01}[1]}{p_{00}+p_{01}}=\frac{p_{10}[0]+p_{11}[% 1]}{p_{10}+p_{11}},

since we assumed that the state of the second bit is independent of the measurement outcome. Let us abbreviate this state by rr and define

q=(p00+p01)[0]+(p10+p11)[1]q=(p_{00}+p_{01})[0]+(p_{10}+p_{11})[1]

the same way as in Eq. 3.30. Then,

qr\displaystyle q\otimes r =(p00+p01)[0]r+(p10+p11)[1]r\displaystyle=(p_{00}+p_{01})[0]\otimes r+(p_{10}+p_{11})[1]\otimes r
=(p00+p01)[0]p00[0]+p01[1]p00+p01+(p10+p11)[1]p10[0]+p11[1]p10+p11\displaystyle=(p_{00}+p_{01})[0]\otimes\frac{p_{00}[0]+p_{01}[1]}{p_{00}+p_{01% }}+(p_{10}+p_{11})[1]\otimes\frac{p_{10}[0]+p_{11}[1]}{p_{10}+p_{11}}
=[0](p00[0]+p01[1])+[1](p10[0]+p11[1])\displaystyle=[0]\otimes\bigl{(}p_{00}[0]+p_{01}[1]\bigr{)}+[1]\otimes\bigl{(}% p_{10}[0]+p_{11}[1]\bigr{)}
=p,\displaystyle=p,

implying that pp is a product state.