Lecture 6 - Qubits

Reading for this week:

Wednesday, 4/17/24 (week 3, lesson 2):

  1. Read 3.8 (all subsections)
  2. Read lecture slides on the Qubit, pp. 15-23
  3. HW 1 due F! Upload pdf to Canvas.
  4. WA 1: Addition of binary numbers, F, beginning of class. Upload pdf to Canvas when work is complete. Closed book.

Monday, 4/15/24 (week 3, lesson 1):

  1. Read 1.6, 2.8 (all subsections), 3.5, 3.7 (but not 3.7.1)
  2. Read lecture slides on Quantum superposition, pp. 28-32
  3. Read lecture slides on the Qubit, pp. 1-14

Review

Last time we talked about the wave function for a hydrogen atom in the ground state:

Ψelectron=12|100+12|200

note that there are other states, but for our example we just say the others are negligible. The states |100 and |200 are the basis states of the electron, and the state of the electron is Ψelectron.

The Qubit

The Single-Qubit State

Classical computers store information in bits. Each bit can be either in state 0 or state 1. Quantum computers store information in "quantum bits" (for short qubits). The general single-qubit state:

Ψ1qubit=a|0+b|1

where a,bC and |a|2+|b|2=1 (because the probability has to be a total of 1). We can call |0 and |1 really anything, maybe | or something similar. We can always relabel things via Linear Algebra.

Here, notice that anything can theoretically be a qubit, as long as it has just two distinct states (on observation).

Like any wave function, the probability to be in any of the possible states needs to be 1, so then we get the |a|2+|b|2=1 as shown below:

Ψ1qubit|Ψ1qubit=1=(0|a+1|b)(a|0+b|1)=aa0|0+ab1|0+ab0|1+bb1|1=|a|2(1)+0(ab)+0(ab)+|b|2=|a|2+|b|21=|a|2+|b|2

Notice the distributive manner of the braket notation here. Also really X|Y=χ(X=Y), because it's essentially doing an inner product of orthogonal basis vectors. See Chapter 6 - Inner Product Spaces#6.B Orthonormal Bases for more information on this.

Notice if we have n states then:

1=i=1n|ai|2

a qubit with n states is a qutrit. These come into play when extra states just happen to come up (which definitely can happen). An electron can have 2 states, but bigger particles like electrons in Silicon could have way more.

Information is stored in the coefficients of each bit/quantum bit, namely a,b. Notice for classical bits, we'd have:

a0+b1

so using |a|2+|b|2=1 then if we know one, we know the other as a result. So we have:

But in the quantum version:

a|0+b|1=|a|eiϕa|0+|b|eiϕb|1

So then:

Writing Vectors in Cn

We have other ways of writing a single-qubit state. As a vector in H or our "Hilbert Space" (the space of wavefunctions), the basis axes in Hilbert space (similar to i^ and j^ from R2) the complex numbers a,b are the components of each basis state:

Ψ1qubit=a|0+b|1=[ab]

We can, since a,b are complex numbers, use the angular versions of them:

Ψ1qubit=|a|eiϕAa|0+|b|eiϕB|1

But notice the geometric considerations! If |a|2+|b|2=1 then this represents a circle of radius 1 in C2. Since |a|,|b|0 then:

|a|=cos(ϕ)=cos(θ/2),|b|=sin(ϕ)=sin(θ/2)

We just rename the respective angle ϕ to θ/2. We'll see why later on.

Visualization of a Single-Qubit State

Every measurable quantity in quantum mechanics has the form:

O^=Ψ|O^|Ψ

We can prove that a difference in the phase of Ψ will not change the outcome:
Pasted image 20240417160025.png
So, WLOG, we can rewrite our single-qubit state as:
Pasted image 20240417160105.png

We'll get to the bloc sphere next time!