- And welcome everyone to what hopes
to be an exciting (indistinct) Qiskit Global Summer School.
So, throughout these labs,
what we hope is to have all of you introduced
to quantum computing,
and also make sure that you have a community around you
as you try to solve problems throughout the labs.
So, today I'd like to introduce you
to the format of the labs.
How you can quickly start solving problems on the labs,
and also how you can get your computer set up
to be able to do these labs.
So let's switch over to the screen,
where I'll be showing you exactly the kind of setup
that we'll have.
So, to be able to do the labs,
you'll need Qiskit installed on your computer.
And there are many ways for you
to see the right documentation to be able to do this.
What I've done here is put forward a series of tools
for you to be able to use in order to do this.
Right now I'm showing you
the installing Qiskit documentation page
on https://qiskit.org.
So you can find it
at https://qiskit.org/documentation/install.html.
Here we have a series of laid out steps
for you to get started installing Qiskit,
but the main gist of it
is that, you would first install Anaconda,
and then you'd start by installing Qiskit in an environment.
If you haven't done this before,
and you also want something very easy to get started,
we also have a video, that says, "How to install Qiskit,"
as part of our "Coding with Qiskit" video series.
So if you look for episode two of "Coding with Qiskit,"
you can also see instructions for how to get started.
Once you have kids get installed and ready to go,
what you'll find is every day we will drop one of these labs
into the Discord channel for you to solve.
So the labs will be delivered as zip files,
which you can then download to your computer,
and immediately you would extract these zip files.
So I'm going to extract the zip file for lab one here.
And you can see once you have the zip file extracted,
inside you have an exercise file,
which is a Jupyter Notebook.
Here we have only one exercise, and a series of folders.
You don't need to worry about the folders to solve the lab,
all you need is to open that Jupyter Notebook.
So there are several ways to open a Jupyter Notebook.
I'll get, you started very quickly
by showing you my favorite way to do it,
and that is by opening my terminal window.
In your case, if you have a windows machine,
you'd open your Anaconda prompt,
in a Linux machine, you'd open you terminal window,
on a Mac you'd do exactly what I'm doing here,
which is user terminal window, and type Jupyter Notebook,
and then simply drag and drop the Notebook
into your terminal window, which drops it's file name.
As soon as you do that, Jupyter should open,
and show you exactly the contents of the lab for that day.
So for the first lab,
there are a few things that I wanted to point out to you
that would be helpful as you solve the problem.
First, what we're trying to do is take you through a series
of exercises that show you how to manipulate
and visualize single-qubit states,
eventually getting into the topic
of manipulating multiple qubit-states, solving some problems
that are ungraded, and then talking about measurements,
and really compiling all of these lessons
into one final graded exercise,
which will be the main challenge for this lab.
In this graded exercise, you'll be talking about the topic
of quantum teleportation,
which was covered in your first lecture.
The goal here is to teleport this specific quantum state,
from one qubit to another,
and you'll be doing the quantum teleportation protocol
as discussed in your lecture.
So the way we've set up this problem for you is exactly
as you saw in your lecture,
by giving you a few places where you can type in code
to eventually build up the teleportation protocol
as discussed in your lecture,
and here we have the main body of the work.
So as you might remember,
quantum teleportation consists of a few steps.
We initialize the state that we want to teleport,
we create entanglement between two qubits.
we do a bell measurement, and then,
we apply some classically controlled quantum gates,
using the results from that bell measurement.
So the structure has been built for you,
and you simply have to fill out
what each of these functions is doing.
So we have created space for you here,
that says, "write your code between these lines,"
start to end, where you would insert your code,
and eventually build up the teleportation algorithm.
Once you're done filling in the code,
what you need to do then is submit your first name,
and your last name and this last cell, and your email,
and simply run this cell,
to get the right or wrong answer submission process check.
So once you find that you've, gotten all the way
through the exercise running the cell,
you can run it over and over again
until you get the right answer
and you're satisfied with your code.
I want to point out a couple of important things.
If you go to the very top of the Jupyter Notebook
for lab one, we've put together a link here,
that we think would be useful for you
if you've never used Jupyter Notebooks before.
The main thing to remember with Jupyter Notebooks is that
if you'd like to run a cell,
so these are the code cells that you see
that are in a slightly grayer color,
you immediately type Shift + Enter once you're on a cell.
So for example to run this first cell,
I would place my cursor in that cell,
and then hit Shift and Enter.
And as a cell is running,
you'd immediately see that, In line, change to a star,
and as soon as the cell is done,
you'd see it change to a number.
And you can do this throughout the notebook,
by going from top to bottom,
until you see that your work is getting built up,
and you eventually have
the quantum teleportation protocol finalized.
I will also point out that we have a first cell here
that does all the necessary installations for you.
So I'd like to point out that you run the cell first,
and run all the cells in order
as you're working through this.
In terms of the content of the lab as I mentioned,
the goal here is to get your from single-qubit states
to multiple-qubit states to quantum teleportation.
And there are a few cells that you'd run
that would show you different parts of Qiskit,
from the state vector quantum information module,
to, the visualization tools in Qiskit
that can help you in your work.