COMS 4281 - Introduction to Quantum Computing¶

Week 3: Quantum Measurements and Teleportation¶

$\newcommand{\ket}[1]{\left|{#1}\right\rangle} \newcommand{\bra}[1]{\left\langle{#1}\right|}$

Recap: Quantum Measurements¶

Recall that "systems" in quantum computing are mathematically represented by Hilbert Spaces: A vector space over the complex numbers with an inner product (among other properties). I will use $\mathcal{H}$ to mean a Hilbert space.

Recap: Quantum Measurements¶

When measuring a composite system over $\mathcal{H}_{A} \otimes \mathcal{H}_{B}$, $\ket{\psi} = \sum_{i, j} \alpha_{ij} \ket{i, j}$, the measurement yields

$$ \ket{i, j} \text{ with probability } |\alpha_{ij}|^2 $$

and the state of the system is now $\ket{i, j}$

Partial Measurements¶

What happens if we only measure the second half of the system ($\mathcal{H}_{B}$)?

  1. What should the probability of seeing an outcome X be?
  2. What should the state of the system be if we saw X?

Partial Measurements¶

What should we expect (intuitively)?

Partial Measurements¶

  1. The probability of seeing X should be the "total weight" of basis states consistent with X.
  2. The state after seeing X should consist of basis vectors that agree with X, proportional to how they appeared in $\ket{\psi}$.

Partial Measurements: Some math¶

Let's re-arrange the terms in $\ket{\psi}$: $$ \ket{\psi} = \sum_{i, j} \alpha_{ij} \ket{i, j} = \sum_{j} \left(\sum_{i} \alpha_{ij} \ket{i}\right)\otimes \ket{j} $$

Partial Measurements: Some math¶

Let $\beta_j = \sum_{i} \alpha_{ij}^2$, then we can re-write the sum as $$ \ket{\psi} = \sum_{j} \beta_j \left(\sum_{i} \frac{\alpha_{ij}}{\beta_{j}}\ket{i}\right) \otimes \ket{j} $$

Partial Measurements: Some math¶

Now, if we measure system $\mathcal{H}_{B}$, we'll see outcome $\ket{j}$ with probability $$ \beta_j = \sum_{i} |\alpha_{ij}|^2 $$

And the state after seeing $\ket{j}$ is $$ \frac{1}{\beta_{j}}\sum_{i} \alpha_{ij}\ket{i} $$

Partial Measurements: Examples¶

  1. $\ket{\psi} = \frac{1}{2}\left(\ket{0} + \ket{1}\right) \otimes \left(\ket{0} - \ket{1}\right)$
  2. $\sqrt{3/5} \ket{00} + \sqrt{1/5} \ket{01} - \sqrt{1/5} \ket{11}$

Quantum Teleportation¶

Imagine Alice and Bob are friends, and Alice has a state $\ket{\psi} = \alpha\ket{0} + \beta\ket{1}$ that she wants to share with Bob. However Bob is really far away, so Alice can't just give Bob her system, and she wants to make sure that Bob gets $\ket{\psi}$ exactly (no rounding). How can she do this?

She could try to send a classical description of $\ket{\psi}$, but that could require an infinite number of bits if $\ket{\psi}$ has amplitudes that use transcendental numbers.

Quantum Teleportation¶

Why is this something special? Quantum states are fragile, Alice couldn't even get a classical description of $\ket{\psi}$ to infinite precision.

Quantum Teleportation¶

Say that Alice and Bob happened to prepare a pair of systems in an EPR pair before Alice wanted to share $\ket{\psi}$ with Bob $$ \ket{\text{EPR}} = \frac{1}{\sqrt{2}}\left(\ket{00} + \ket{11}\right) $$ There's a protocol that Alice and Bob can perform that will give Bob $\ket{\psi}$ and only uses 2 bits of classical communication. It's described by the following circuit: diagram-20220915-2.png

Quantum Circuit Primer¶

In the circuit here, we see a number of special gates

  1. CNOT: CNOT$\ket{a, b}$ = $\ket{a, a\oplus b}$. The black dot is the control (first) qubit.
  2. Hadamard: H$\ket{0}$ = $\ket{+} = \frac{1}{\sqrt{2}}\left(\ket{0} + \ket{1}\right)$, H$\ket{1}$ = $\ket{-} = \frac{1}{\sqrt{2}}\left(\ket{0} - \ket{1}\right)$
  3. Pauli X: $X\ket{0} = \ket{1}$, $X\ket{1} = \ket{0}$
  4. Pauli Z: $Z\ket{0} = \ket{0}$, $Z\ket{1} = -\ket{1}$

Quantum Teleportation Analysis¶

In order to analyze the circuit, let's compute the state of the system after every gate.

On Whiteboard

Quantum Teleportation Analysis¶

At the beginning, the state is $$ \ket{\psi} \otimes \frac{1}{\sqrt{2}}\left(\ket{00} + \ket{11}\right) = \frac{1}{\sqrt{2}} \left(\alpha\ket{000} + \alpha\ket{011} + \beta\ket{100} + \beta\ket{111}\right) $$

Quantum Teleportation Analysis¶

After applying the CNOT gate to the first 2 qubits, we have the state $$ \frac{1}{\sqrt{2}} \left(\alpha\ket{000} + \alpha\ket{011} + \beta\ket{110} + \beta \ket{101}\right) $$

Quantum Teleportation Analysis¶

After applying H to the first qubit, we have the state $$ \frac{1}{2} \left(\alpha\left(\ket{0} + \ket{1}\right)\otimes\ket{00} + \alpha\left(\ket{0} + \ket{1}\right)\otimes\ket{11} + \beta\left(\ket{0} - \ket{1}\right)\otimes \ket{10} + \beta\left(\ket{0} - \ket{1}\right) \otimes \ket{01}\right) $$

Quantum Teleportation Analysis¶

Regrouping the terms based on the state of the first 2 qubits, we get the following state $$ \frac{1}{2}\left(\ket{00}\otimes \left(\alpha\ket{0} + \beta\ket{1}\right) + \ket{10} \otimes \left(\alpha\ket{0} - \beta\ket{1}\right) + \ket{01} \otimes \left(\alpha\ket{1} + \beta\ket{0}\right) + \ket{11} \otimes \left(\alpha\ket{1} - \beta\ket{0}\right)\right) $$

Quantum Teleportation Analysis¶

So, consider the possible outcomes Alice could see when measuring the state in the computational basis.

  1. If Alice sees $\ket{00}$, then Bob has $\alpha\ket{0} + \beta\ket{1} = \ket{\psi}$.
  2. If Alice sees $\ket{10}$, then Bob has $\alpha\ket{0} - \beta\ket{1} = Z\ket{\psi}$.
  3. If Alice sees $\ket{01}$, then Bob has $\alpha\ket{1} + \beta\ket{0} = X\ket{\psi}$.
  4. If Alice sees $\ket{11}$, then Bob has $\alpha\ket{1} - \beta\ket{0} = XZ\ket{\psi}$.

Thus, Bob is able to correctly recover $\ket{\psi}$ when he recieves the bits that Alice measures and applies the corresponding Pauli operators.

Parting Notes¶

While it may seem like we've cloned $\ket{\psi}$ (because Bob has a copy of it now), it's important to remember that Alice only has the measurement outcomes (she's measured the state), so this doesn't violate the no cloning principal.

Parting Notes¶

The classical communication is necessary to this protocol. If Bob didn't recieve the bits, then his qubit will still "look like" an even mix between $\ket{0}$ and $\ket{1}$ (although we won't formalize what this means this until later in the class).

So, teleportation still only happens at the speed of light (or classical information). There's still no way

Bell States¶

The Bell states are special states for a 2 qubit system that represent maximally entanglement. The 4 Bell states are $$ \ket{\Phi^{+}} = \frac{1}{\sqrt{2}}\left(\ket{00} + \ket{11}\right) $$

$$ \ket{\Phi^{-}} = \frac{1}{\sqrt{2}}\left(\ket{00} - \ket{11}\right) $$$$ \ket{\Psi^{+}} = \frac{1}{\sqrt{2}}\left(\ket{01} + \ket{10}\right) $$$$ \ket{\Psi^{-}} = \frac{1}{\sqrt{2}}\left(\ket{01} - \ket{10}\right) $$

The measurement that Alice performs on her qubits (CNOT followed by Hadamard and then measuring both qubits) implements a Bell basis measurement (i.e. they are a Projection valued measurement with the 4 bell states as the projectors).

In [ ]: