Lecture 8 - Single-qubit Gates
Monday, 4/22/24 (week 4, lesson 1):
- Submit Activity 1 as a ipynb file in Assignment – Activity 1 by 3 pm tomorrow (Tuesday)!
- Look through suggested topics for group presentation and think about your personal top 3, or specific topics. Then chat with the other students in your activity to look for a match :o)
- For Activity: Read/do: 5.1.1 (Circuit Composer is now Quantum Composer). Just create your IBMid and open it – we will play around during the activity!
- Read 5.4.4-5 (no subsections)
Last time we talked about the bloch sphere:
![[Physics CPE 345 Quantum Computing Lecture slides Week 3 The Qubit 240417 1.pdf#page=13]]
Notice here:
We even could have many possible states:
where the special
Single-Qubit Gates
Classical computers carry computations via gates. There's is only one gate, the NOT gate, that makes a unique possible gate (ikik there's the Identity Gate, but no one cares nerd).
A | NOT |
---|---|
0 | 1 |
1 | 0 |
Where A refers to the input, and NOT refers to the output to the gate. |
In contrast, here we move a point on the Bloch sphere, to another point (and do that for every point on the sphere). The qubits can have a continuous infinite number of states, rather than just the two of a classical bit. As a consequence, there are a continuous number of possible gates. Each gate is some generic operator
we won't usually expand it out like this, but it allows us to treak the
Visually, single-qubit gates are rotations around the bloch sphere:
![[Physics CPE 345 Quantum Computing Lecture slides Week 3 The Qubit 240417 1.pdf#page=20]]
Some examples are:
![[Physics CPE 345 Quantum Computing Lecture slides Week 3 The Qubit 240417 1.pdf#page=21]]
![[Physics CPE 345 Quantum Computing Lecture slides Week 3 The Qubit 240417 1.pdf#page=22]]
![[Physics CPE 345 Quantum Computing Lecture slides Week 3 The Qubit 240417 1.pdf#page=23]]
Looking at these Matrices
Let's look specifically at the
So:
So
So
which does a phase shift by
For these:
switches the with and with , kinda like the classical NOT gate. This is the quantum NOT gate. This inverts the sphere over the -plane. does what does, but with the extra 's the phase of our 's are now shifted outward by . This inverts the sphere over the -plane. inverts the sphere over the -plane. rotates around the axis, and similar for . does something similar to . - ...