Multi-Qubit Systems

Operations on multi-qubit systems

The Number of States

In a classical system we have two possible pieces of information - true or false. That's still the case here - we still work in binary on quantum systems. So for multi-qubit systems, how do we decide the number of distinguishable states?

We take the number of possible pieces of information (so 2 - 0 or 1) and we take it to the power of the number of qubits in the system, nn. So for a single qubit system:

n=1,2n=21=2n=1, \hspace{8pt} 2^n = 2^1 = 2

A 2 Qubit System

Let's take the a 2 qubit system as an example. First let's determine the number of distinguishable states:

n=2,2n=22=4n=2, \hspace{8pt}2^n=2^2=4

Our basis vectors will have the same number of dimensions as we have distinguishable states. If NN is the number of dimensions, we can say that N=4N=4.

For a system in 4 dimensions, we need 4 basis vectors which each have 4 elements. If the basis vectors for a single qubit system look like this:

0=[10],1=[01]|0\rangle = \begin{bmatrix}1\\0\end{bmatrix}, |1\rangle=\begin{bmatrix}0\\1\end{bmatrix}

Then we can extend this idea for the basis vectors of our two qubit system (Nielsen, M. - p. 16):

00=[1000],01=[0100],10=[0010],11=[0001]|00\rangle=\begin{bmatrix}1\\0\\0\\0\end{bmatrix},|01\rangle=\begin{bmatrix}0\\1\\0\\0\end{bmatrix},|10\rangle=\begin{bmatrix}0\\0\\1\\0\end{bmatrix},|11\rangle=\begin{bmatrix}0\\0\\0\\1\end{bmatrix}

This makes sense - it's also true for a classical system. If we had two classical bits, we could arrange the following combinations:

  • 0000, Both are 0

  • 0101, The first is 0 and the second is 1

  • 1010, The first is 1 and the second is 0

  • 1111, Both are 1

Calculating the Probability of States

We already know that the probability of all possible states has to add up to 1. So, if we combine all our possible states like this:

ψ=a0000+a0101+a1010+a1111|\psi\rangle=a_{00}|00\rangle+a_{01}|01\rangle+a_{10}|10\rangle+a_{11}|11\rangle

Where a00a11a_{00} - a_{11} are complex numbers representing the probability of each of the states being observed respectively, the probability of any specific state xx being observed is:

ax2 |a_x|^2

Recall that complex numbers are based on imaginary numbers, which become real when they're squared.

After we measure it, the qubit in question will collapse to a specific state x|x\rangle (Nielsen, M. - p. 16).

Measuring Probabilities

Consider the following system:

ψ=12(00+01)|\psi\rangle=\frac{1}{\sqrt{2}}*(|00\rangle+|01\rangle)

Here we're considering the possible states for the first qubit in this system. Why just the first? Because we read multi-qubit systems from right to left, and the last qubit isn't changing:

ψ=12(00+01)|\psi\rangle=\frac{1}{\sqrt{2} }*(|\textcolor{red}{0}0\rangle+|\textcolor{red}{0}1\rangle)

We're only changing the possible states for the first qubit:

ψ=12(00+01)|\psi\rangle=\frac{1}{\sqrt{2}}*(|0\textcolor{red}{0}\rangle+|0\textcolor{red}{1}\rangle)

So let's calculate the probabilities in this situation:

ψ=1200+1201=a0000+a0101|\psi\rangle =\frac{1}{\sqrt{2}}|00\rangle + \frac{1}{\sqrt{2}}|01\rangle = a_{00}|00\rangle+a_{01}|01\rangle
P(x)=ax2P(|x\rangle)=|a_x|^2
Whenx=00,ax=a00=12&x=01,ax=a01=12\text{When}\hspace{6pt} |x\rangle=|00\rangle, \hspace{6pt} a_x=a_{00}=\frac{1}{\sqrt{2}} \hspace{6pt} \& \hspace{6pt} |x\rangle=|01\rangle, \hspace{6pt} a_x=a_{01}=\frac{1}{\sqrt{2}}
So...P(00)=a002=(12)2=12&P(01)=a012=(12)2=12\text{So...}\hspace{6pt} P(|00\rangle)=|a_{00}|^2= (\frac{1}{\sqrt{2}})^2=\frac{1}{2}\hspace{6pt} \& \hspace{6pt} P(|01\rangle)=|a_{01}|^2= (\frac{1}{\sqrt{2}})^2=\frac{1}{2}
P(00)=12,P(01)=12P(|00\rangle)=\frac{1}{2}, \hspace{6pt} P(|01\rangle)=\frac{1}{2}

For this system, the probabilities for the first qubit are equal - if we measure enough times we'll get 0 50% of the time and 1 50% of the time. The last qubit will always be 0.

Why do I say if we measure enough times? Because this is a probability distribution - nothing is guaranteed. If you measure this system an infinite number of times, you'll get a perfect 50/50 spread. Any less than that, and you'll get some noise - your measurement won't be perfect.

Notation for Systems with n Qubits

In a system with nn qubits, we label each state with the number represented by the decimal version of their binary identifier:

0,1,2,3,...,2n1|0\rangle, |1\rangle,|2\rangle,|3\rangle, ... , |2^n-1\rangle

Where in the 0|0\rangle state, all the qubits in the system are 0, and for the 2n1|2^n-1\rangle state, all the qubits in the system are 1.

Recall also from our previous discussions on dot product, and basis that the inner product of any two of these basis vectors (labelled here x|x\rangle and y|y\rangle) is 0, and that the inner product of any of these basis vectors with itself is 1:

xy=0,xx=1\langle x|y \rangle=0, \langle x | x \rangle=1

Uniform Superposition

A special state for the nn qubit system is the uniform superposition, where the system is equally likely to collapse to any of the possible distinguishable states.

Notation

We label the uniform superposition with the vector:

S|S\rangle

For a single qubit system

So for a single qubit system:

S=12(0+1)|S\rangle=\frac{1}{\sqrt{2}}*(|0\rangle+|1\rangle)

For a 2 qubit system

And when we have a 2 qubit system:

S=12(00+01+10+11)|S\rangle=\frac{1}{2}*(|00\rangle+|01\rangle+|10\rangle+|11\rangle)

We have double the state - double the probability to go around - so (12)(12)=12(\frac{1}{\sqrt{2}})*(\frac{1}{\sqrt{2}})=\frac{1}{2}

We can also write this using \sum as a shorthand for the "sum" or "series":

S=12x=03x|S\rangle=\frac{1}{2}\sum^3_{x=0}|x\rangle

In general

This sum notation is handy when we start to talk about a whole bunch of qubits. So, for a system with nnqubits:

S=Kx=02n1x|S\rangle=K\sum^{2^n-1}_{x=0}|x\rangle

Where KK is defined as the probability of finding a qubit in the system in a particular state when the distribution is perfectly even (so each is equally likely). We can describe KK more precisely like this:

SS=1=K2+K2+...continue for 2n iterations...+K2=K22n\langle S | S \rangle = 1 = K^2+K^2+... \text{continue for } 2^n \text{ iterations}... + K^2 = K^2 * 2^n
K=12nK=\frac{1}{\sqrt{2^n}}

Earlier we learned that to get the real probability for a specific state, we need to square the value for axa_x, so...

P(x)=12nP(|x\rangle) = \frac{1}{2^n}

And now with this new definition for KK, we can revise our formula from earlier:

S=12nx=02n1x|S\rangle=\frac{1}{\sqrt{2^n}}\sum^{2^n-1}_{x=0}|x\rangle

Last updated