Quantum Information - Part 1

Learning Notes for Quantum Computing - Part 1. Quantum Fundamentals

This is the beginning of my notes on self-study of quantum computing. Before diving into quantum computing, it's a must to master the concept of quantum mechanics.

Introduction

Components of Quantum Theory

Quantum Advantages

Simple Quantum Experiments

Key point : Quantum theory is the physical theory telling prediction about probabilities, but not the outcomes.

A simple quantum experiment

As shown in the above figure, $P_0$ is the probability that we have a detection event in the first detector, and $P_1$ is the probability that we have a detection event in the second detector. Once we have a measurement outcome here, we can compute the expectation values of this function $f$ with respect to probability $p$. This interpretation is called observables : $\langle f\rangle_p = \sum_{i} f_i p_i$.

A classical bit is enough to describe measurement and observable, a quantum bit is needed to describe information about state and dynamics.

Here's a description from the information point of view. A quantum communication task (refering to the above 4 components of quantum) includes the following 4 steps :

where we prepare some messages, then send over from channel, which is called transmission then we have a detection, and what people want to recover the message from the detective event is interpretation.

Process of a quantum computing

The process of a quantum computing has a lot of similarities between information processing. Instead of using just classical messages we map this message into quantum states and quantum state is transmitted and detective, then we can realize quantum communication.

Axioms of quantum theory

$\mathcal{H}$ : Hilbert space

The mathematical language to work with quantum is in Hilbert space, which is a vector space with inner product.

The Dirac notation is a slightly different way of writing the standard vector.

$\vec{v}$ --> $|v\rangle$ ; $\vec{v}^\dagger$--> $\langle v|$ ; $\langle v, w\rangle$ --> $\langle v | w\rangle$

State Transformations VS Probabilities (Qubit)

Two dimensional Hilbert space : $\mathcal{H}_2$ $|\phi\rangle \in \mathcal{H}_2 = span\{|0\rangle, |1\rangle\}$, so each state $|\phi\rangle$ could be denoted as $\alpha|0\rangle + \beta|1\rangle$, where $\alpha, \beta\in \mathbb{C}$, and $|\alpha|^2 + |\beta|^2 = 1$, and measuring $|\phi\rangle$ in this $\mathcal{H}_2$ space yields 0 with probability $\alpha^2$ and yields 1 with probability $\beta^2$. So $\alpha, \beta$ could be denoted as $\alpha = e^{ia}cos\frac{\theta}{2}$, $\beta = e^{ib}sin\frac{\theta}{2}$.

For all $\gamma$, denote $|\tilde{\phi}\rangle = e^{i\gamma} |\phi\rangle$, then for $\forall M$, $\tilde{p} = \langle \tilde{\phi}| M|\tilde{\phi}\rangle = \langle \phi| M|\phi\rangle = p$, then $|\tilde{\phi}\rangle \sim |\phi\rangle$ are called operational equivalence.

Then plugging in $\alpha = e^{ia}cos\frac{\theta}{2}$, $\beta = e^{ib}sin\frac{\theta}{2}$, $|\phi\rangle = e^{ia}(cos\frac{\theta}{2}+e^{i(b-a)} sin\frac{\theta}{2})$, so that two numbers can characterize a state, $|\Phi(\theta, \phi)\rangle = cos\frac{\theta}{2}|0\rangle + e^{i\phi}sin\frac{\theta}{2}|1\rangle$.

$\bf{Pauli \; matrices}$ :

Identity matrix $I$ : \(I = \begin{pmatrix}1 & 0\\\ 0 & 1\end{pmatrix}\)

Bit-flip (Not Gate) $X$ : \(X = \begin{pmatrix}0 & 1\\\ 1 & 0\end{pmatrix}\)

Not Gate with $i$ multiple : \(Y = \begin{pmatrix}0 & -i\\\ i & 0\end{pmatrix}\)

Phase-flip $Z$ : \(Z = \begin{pmatrix}1 & 0\\\ 0 & -1\end{pmatrix}\)

Hadamard matrix : \(H = \frac{1}{\sqrt{2}}\begin{pmatrix}1 & 1\\\ 1 & -1\end{pmatrix}\) and $H$ satisfies $H^\dagger H = HH^\dagger = I$.

Hadamard matrix, also called Hadamard gate, can be viewed as a reflection around $\pi/8$ in the real plane. In the complex plane it is actually a $\pi$-rotation about the $\pi/8$ axis.

Note that $X$ satisfies $X|0\rangle = |1\rangle$ and $X|1\rangle = |0\rangle$, so the operator $X$ is also called NOT operator.

$H|0\rangle = \frac{1}{\sqrt{2}}(|0\rangle + |1\rangle) = |+\rangle$ ; $H|1\rangle = \frac{1}{\sqrt{2}}(|0\rangle - |1\rangle) = |-\rangle$

$Z = |0\rangle \langle 0| - |1\rangle \langle 1|$

$X = |+\rangle \langle +| - |-\rangle \langle -| = H(|0\rangle \langle 0| - |1\rangle \langle 1|)H^\dagger = HZH^\dagger$

$HXH^\dagger = HHZH^\dagger H^\dagger = Z$

Unitary transformation for single qubit is called Phase operation

\(P(\alpha) = \begin{pmatrix}1 & 0\\\ 0 & e^{i\alpha}\end{pmatrix}\)

$\textbf{$Schr\ddot{o}dinger's $ Euqation}$

$i\frac{\partial}{\partial t}|\phi\rangle = H|\phi\rangle$

It indicates that $\bigsqcup_t \sim e^{i\int Hdt} = e^{iHt}$, where $\bigsqcup_t$ is the transformation from $|\phi_0\rangle$ to $|\phi_t\rangle$

A measurement on a k-state system yields one of at most k possible outcomes: i.e. an integer between 0 and k − 1. e.g., on a 2-state system :

$|\phi\rangle = \alpha|0\rangle + \beta|1\rangle = \begin{cases}M_0 = |0\rangle\langle 0| \;\;\; w.p. \; P_0 = |\alpha|^2 \\\\ M_1= |1\rangle\langle 1| \;\;\; w.p. \; P_1 = |\beta|^2 \end{cases}$

Mixed State

A mixed quantum state corresponds to a probabilistic mixture of pure states; however, different distributions of pure states can generate equivalent (i.e., physically indistinguishable) mixed states.

Suppose you play a game where there are two buttons, by pressing one of them, with probability $p_0$, it generates $|\phi_0\rangle$; And when pressing second button, with probability $p_1$, it generates $|\phi_1\rangle$. The generated particle $|\phi_i\rangle$ goes to the measurement $M_i$, then its' probability is $P_i = \langle \phi|M_i|\phi\rangle$. \(\tilde{P}_i = q_0\langle\phi_0|M_i|\phi_0\rangle + q_1\langle\phi_1|M_i|\phi_1\rangle\\ = q_0 \cdot tr[M_i |\phi_0\rangle\langle \phi_0|] + q_1 \cdot tr\left[M_i |\phi_1\rangle\langle \phi_1|\right]\\ = tr\left[M_i\left(q_0|\phi_0\rangle\langle \phi_0| + q_1|\phi_1\rangle\langle \phi_1|\right)\right]\)

where $M_i$ is measurement, and $\left(q_0|\phi_0\rangle\langle \phi_0| + q_1|\phi_1\rangle\langle \phi_1|\right)$ is a mixed state.

So we can write a quatum state as \(\rho = \sum_{i=0}^{n}q_i|\phi_i\rangle\langle \phi_i|\), where $|\phi_i\rangle\langle \phi_i|$ are pure state. $\rho$ is pure state if and only if $tr[\rho^2] = 1$.

Bloch Sphere

For a Qubit State $|\phi(\theta, \Phi)\rangle = cos\frac{\theta}{2}|0\rangle + e^{i\Phi}sin\frac{\theta}{2}|1\rangle$, \(\rho(\theta, \Phi) = |\phi(\theta, \Phi)\rangle \langle|\phi(\theta, \Phi)|= \begin{pmatrix} cos^2\frac{\theta}{2} & e^{i\phi}sin\frac{\theta}{2}cos\frac{\theta}{2}\\ e^{-i\phi}sin\frac{\theta}{2}cos\frac{\theta}{2} & sin^2\frac{\theta}{2} \end{pmatrix}=\frac{1}{2}(I+\hat{n}\cdot\vec{\sigma})\)

where \(\frac{1}{2}(I+\hat{n}\cdot\vec{\sigma}) = (n_x, n_y, n_z)\cdot (X, Y, Z) = n_x X + n_y Y + n_z Z\) and \(\hat{n} = \begin{pmatrix}n_x = sin\theta cos\phi\\ n_y = sin\theta sin\phi\\ n_z = cos\theta\end{pmatrix}\) is called the Bloch vector.

Here in the figure is the Bloch Sphere, where for $|0\rangle$, $\theta=0$, for $|1\rangle$, $\theta = \pi$, and for $|+\rangle$, $\theta = \frac{\pi}{2}$ and $\phi = 0$.

Bloch Sphere

All the pure states live on Bloch Sphere, and all mixed states live within the Bloch Sphere. i.e., $\rho$ is mixed state is equivalent to $tr(\rho^2) < 1$; $\rho$ is pure state is equivalent to $tr(\rho^2) = 1$.

All mixed states could be written as a convex combination of pure states, and all pure states cannot be written as a convex combination of some other quantum states.

Mixed state and pure state

As shown in the above figure, $\vec{n_0}$ and $\vec{n_1}$ are pure states, and $\vec{n}=q_0 \vec{n_0} + q_1 \vec{n_1}$.

Qubit Dynamics

In qubit dynamics, we want to describe the transformation of an initial state qubit to arbitrary qubit state by certain ulitary transformation $U$, then perform measurement. The property that this unitary transformation can transform initial state to arbitrary (pure) quantum state is called $\bf{universality}$. This is a key property in quantum computation because in quantum computation we want to manipulate the state in an arbitrary way.

The way to characterize a unit transformation is to view this as a rotation in Bloch Sphere. You can access any transformation in the sphere by two axis.

An intuitive explanation of Gate

The most general form of qubit transformation is rotation, and it could be denoted as : \(e^{ixA} = \sum_{n=0}^{\inf}\frac{1}{n!} (ixA)^2\\ = (1-\frac{1}{2!}x^2 + ...)I + i(x-\frac{1}{3!}x^3 + ...)A\\ = (cosx)I + i(sinx)A\)

Here're some qubit transformations : \(\begin{pmatrix}R_X(\theta) = exp[-i\frac{\theta}{2}X]\\ R_Y(\theta) = exp[-i\frac{\theta}{2}Y]\\ R_Z(\theta) = exp[-i\frac{\theta}{2}Z]\end{pmatrix}\) where $R_X(\theta)$ means rotate by angle $\theta$ w.r.t. $X$; $R_Y(\theta)$ means rotate by angle $\theta$ w.r.t. $Y$; $R_Z(\theta)$ means rotate by angle $\theta$ w.r.t. $Z$.

For example, we can simplify $R_z(\theta)$ as :
\(R_z(\theta) = (cos\frac{\theta}{2})I - i(sin\frac{\theta}{2})Z\\ = \begin{pmatrix}e^{-i\frac{\theta}{2}} & 0\\ 0 & e^{+i\frac{\theta}{2}}\end{pmatrix}\)

So here's an example of a applying dynamic $R_z(\theta)$ on a state $|\phi(\alpha, \beta)\rangle$: \(R_z(\theta)|\phi(\alpha, \beta)\rangle\\ = \begin{pmatrix}e^{-i\frac{\theta}{2}} & 0\\ 0 & e^{+i\frac{\theta}{2}}\end{pmatrix} \begin{pmatrix}sin\frac{\alpha}{2}\cdot|0\rangle\\ e^{i\beta}\cdot sin\frac{\alpha}{2}|1\rangle\end{pmatrix}\\ = e^{-i\frac{\theta}{2}}[cos\frac{\alpha}{2}|0\rangle + e^{i(\beta+\theta)}sin\frac{\alpha}{2}|1\rangle]\\ = e^{-i\frac{\theta}{2}}|\phi(\alpha, \beta+\theta)\rangle\)

An essential $\textbf{property}$ : Any unitary transformation for a single qubit can be written in the following way : $U = e^{i\alpha}R_Y(\beta)R_Z(\gamma)R_Y(\delta)...$, (note that only two axis needed, so it could be any two axis).

But note that only if we know the initial state and result state, we can identify the rotation/transformation that transfers the initial state to the result one, if we don't know the states, there's no such a transformation. This is very important in quantum theory annoucing states could not be manipulated.

Quantum State Discrimination

Discrimination is the first task of quantum information processing. Here's a figure illustrating the discrimination : An intuitive explanation of Gate

Imagine you are preparing the device and generate quantum state $|\phi_0\rangle$, $|\phi_1\rangle$ with probability $q_0$ and $q_1$. This is sent to discriminator, and the goal of the discriminator is to find which state has been prepared.

In this sense, if we cannot perform perfect discrimination between two states, the second best thing we can do is to minimize the error.

Minimum-Error Discrimination

Minimum-Error Discrimination

For the figure above, $M_0$ and $M_1$ are two detectors, if the detection events appears in the detector $M_0$, the discriminator conclude state $\phi_0$; If the detection events appears in the detector $M_1$, the discriminator conclude state $\phi_1$. The goal is to maximize $$P_{success}=\underset{M_0, M_1}{\max}\left(q_0\langle\phi_0|M_0|\phi_0\rangle + q_1\langle\phi_1|M_1|\phi_1\rangle\right)$$ where $M_0 + M_1 = I$.

And given this relationship between $M_0$ and $M_1$, $P_{success}$ could be written as: \(P_{success}=\underset{M_0, M_1}{\max}\left(q_0\langle\phi_0|M_0|\phi_0\rangle + q_1\langle\phi_1|M_1|\phi_1\rangle\right)\\ = \frac{1}{2}+\frac{1}{2}||q_0|\phi_0\rangle\langle\phi_0| - q_1|\phi_1\rangle\langle\phi_1| ||_1\\ = \frac{1}{2}+\frac{1}{2}tr\sqrt{\left(q_0|\phi_0\rangle\langle\phi_0| - q_1|\phi_1\rangle\langle\phi_1|\right)^{\dagger}\left(q_0|\phi_0\rangle\langle\phi_0| - q_1|\phi_1\rangle\langle\phi_1|\right)}\) As shown in the figure below, given two quantum states, the relation between them could be in terms of cosine $\theta$, where $\theta$ is the angle between those two states, and thus $cos(\theta) = \langle\phi_0|\phi_1\rangle$. So the two-dimensional space could be defined by a single parameter.

The optimal measurement could be simplified in the following way: multiply the probability $q_0$ and $q_1$ respectively, then the space is defined by these two vectors. Take these two points and draw a line connecting these two points, then another line which is parallel to this one will be found, and it's maximal in this circle. Then we can take the two end points to be $M_1$ and $M_0$ respectively, and the center point would be $I$ since $M_1+M_0 = I$.

Minimum-Error Discrimination Construction

But note that given state $\phi_0$, there is a positive probability we have a detection events in the detector $M_0$, but there's also a positive probability that we have a detection events in the detector $M_0$ if the state is $\phi_1$. So the answer is not guaranteed to be correct.

Unambiguous discrimination

The core of unambiguous discrimination is that we want to remove the ambiguity and ensure the correctness of the conclusion.

Unambiguous Discrimination

So how to construct the measurement? As show in the figure below, we put $M_0$ opposite to $\phi_0$, put $M_1$ opposite to $\phi_1$, and since the summation of measurements should be $I$, $M_?$ could be computed by $I-M_0-M_1$.

Unambiguous Discrimination Construction

Remark about unambiguous discrimination :

No-go Theorems

In '70s, there's a huge development and progress in optical communication, then people tried to look at the fundamental limit of optical communication, which is photon and quantum system. Then the advantage of using quantum systems for communication would be a worth-thinking question. So a very basic question would be how to discriminate between different quantum states. There's a famous paper by Wootters and Zurek in 1982 named $\textbf{A single quantum cannot be cloned}$. In general, there are two impossible quantum operations in the scenario of quantum information processing :

Note that :

Hence the two scenarios are equivalent.

Here is a proof of the first implication :

Given states $\phi_0, \phi_1$, pass them into the perfect cloner, then you can get n copies state $|\phi_0\rangle^\otimes n$, $|\phi_1\rangle^\otimes n$. Then the success probability could be written as $$P_{success} = \frac{1}{2}+\frac{1}{4}||\phi_0\rangle^{\otimes n} - |\phi_1\rangle^{\otimes n}|\\ = \frac{1}{2}+\frac{1}{2} - \frac{1}{2}|\langle\phi_0 |\phi_1\rangle|^{2n}\\ =1-\frac{1}{2}|\langle\phi_0 |\phi_1\rangle|^{2n}\\ \underset{n\rightarrow \infty}{\rightarrow} 1$$ Hence the states could be perfectly discriminated.

Here is a proof of the second implication :

Given a state in ${|\phi_0\rangle, |\phi_1\rangle}$, input it into a perfect discriminator, then we can get a correct $i$ indicating whether it's $|\phi_0\rangle$ or $|\phi_1\rangle$. Then you can prepare the same state $|\phi_i\rangle$ many times, i.e., get $|\phi_i\rangle^{\otimes n}$.

{0xc0006daea0 0xc0006e3340}