Quantum Computing Refresher Tutorial Quantum Computing Refresher - - PowerPoint PPT Presentation

quantum computing refresher tutorial quantum computing
SMART_READER_LITE
LIVE PREVIEW

Quantum Computing Refresher Tutorial Quantum Computing Refresher - - PowerPoint PPT Presentation

Quantum Computing Refresher Tutorial Quantum Computing Refresher Tutorial Adam Lyon/Fermilab SCD September 13, 2018 Hi, I'm Adam... I'm a Fermilab Senior Scientist. I mostly work managing part of the Scientic Computing Division and am a


slide-1
SLIDE 1

Quantum Computing Refresher Tutorial Quantum Computing Refresher Tutorial

Adam Lyon/Fermilab SCD September 13, 2018

slide-2
SLIDE 2

Hi, I'm Adam... I'm a Fermilab Senior Scientist. I mostly work managing part of the Scientic Computing Division and am a scientist on the Muon g-2 Experiment. I'm involved in Quantum Computing because it is applicable to my SCD role and I'm interested in how HEP researchers would use such systems (infrastructure, interfaces). ...and it's WAY COOL and new for me. Nothing like giving a tutorial to force yourself to learn something new.

slide-3
SLIDE 3

We'll mostly follow the by Maththew Otten and Scott Aaronson's (errors in this talk are mine alone, of course). Don't worry about the toolkits used here. Concentrate on the content. Goal: Understand the basics of some quantum gates This will be really fast - not meant at all to be a comprehensive introduction to QC nor will we go over all of the rules of QC. There are lots of good resources out there. Google (the search engine) can help you nd them. Argonne Workshop Tutorial (https://github.com/zhenghh04/QCWorkshop/blob/master/IntroQM/QCWorkshopANL18.ip lecture notes (https://www.scottaaronson.com/qclec/combined.pdf)

slide-4
SLIDE 4

Let's go... Remember Probability... Say we have coin that is either heads or tails. A vector of classical probabilities can describe this system: where and

slide-5
SLIDE 5

We can turn the coin over... e.g. the transformation matrix is so the old probability for heads is now the probability for tails and vice-versa

slide-6
SLIDE 6

We can fairly ip the coin...

slide-7
SLIDE 7

We can do fancier things, like ip the coin, and if we get heads ip again but if we get tails we turn it to heads ... remember If ip and get heads, then . Flip again and nal outcome is random If ip and get tails, then . Turn over and always get heads. Sum of column is 1.

slide-8
SLIDE 8

Now two coins The combined probability is the tensor product

slide-9
SLIDE 9

Note that some products are impossible for independent coins, like

slide-10
SLIDE 10

Say we turn over the second coin only if the rst coin is tails (Controlled not, CNOT) Try starting with rst coin random, second coin heads You can't get this with independent coins! They now must be correlated.

slide-11
SLIDE 11

Amplitudes and Probabilities Amplitudes and Probabilities

A classical conguration is given by a probability for it occurring, A quantum conguration is given by a complex amplitude , probability of measuring the quantum system in that conguration is (Wikipedia) This is a key difference between classical and quantum systems!

slide-12
SLIDE 12

So now using amplitudes... (for a two-state system - measured in state "0" or "1") The probability that a measurement shows the system is in state 0 is and is in state 1 is and System state described by unit vector in Hilbert space

slide-13
SLIDE 13

We can simplify with and (these are basis vectors - the Computational basis) So,

slide-14
SLIDE 14

(ket - column vector) (bra - Hermitian conjugate - row vector) is the inner product (projection of state onto ) (basis vectors are orthogonal)

slide-15
SLIDE 15

Linear transformation changes quantum states is unitary if (preserves the norm) A unitary matrix maps to a unitary transformation

slide-16
SLIDE 16

Unitary transformations preserve the the norm So, for any , and thus and the rows of form and ortho-normal unit basis

slide-17
SLIDE 17

We can transform to other bases, such as, (Hadamard Basis)

slide-18
SLIDE 18

Rotating into other bases, for example, , so And , ,

slide-19
SLIDE 19

This two state system is a qubit Like a classical bit, upon measurement it is either "0" or "1" Unlike a classical bit, the qubit's amplitude makes for rich phenomena, like superposition

slide-20
SLIDE 20

Bloch Sphere Bloch Sphere

Represent state of the qubit as Plot this on a sphere. Note global phase. (Click on the sphere)

slide-21
SLIDE 21
slide-22
SLIDE 22
slide-23
SLIDE 23

Superposition

slide-24
SLIDE 24

and

slide-25
SLIDE 25

and

slide-26
SLIDE 26

Another superposition: ; And add a phase...

slide-27
SLIDE 27
slide-28
SLIDE 28

Transform states with gates. One-qubit gates include the Pauli gates: Pauli X: , Pauli Y: , Pauli Z: They just reect about axes. Can also do with rotations. is also the NOT gate and is

slide-29
SLIDE 29

An extremely important gate is the Hadamard gate... . It will put qubits into and out of the superposition state. , , ,

slide-30
SLIDE 30
slide-31
SLIDE 31

A circuit is a series of gates on one or more qubits. Time goes to the right. The measurements are assumed to take place in the , basis. Let's do a Hadamard gate and measure the outcome.

Out[10]:

slide-32
SLIDE 32

Let's try two...

Out[12]:

slide-33
SLIDE 33

One qubit circuits are kinda boring. Add more qubits! We'll use an efcient notation, e.g., ... in vector form Probability of, say, both qubits measure to be in 0 state, is Probability of measuring the rst qubit in the 0 state is Probability of measuring the rst qubit in the 1 state is If we measure the rst qubit to be in 0, what is the state of the system now?

slide-34
SLIDE 34
slide-35
SLIDE 35

Let's make a full superposition

Out[14]:

slide-36
SLIDE 36

A little more fancy (but kinda dumb)...

Out[16]:

slide-37
SLIDE 37

Qubits can "interact" via certain gates ... The Controlled Not (CNOT) gate (CX)... Flip the second bit (target) if the rst bit (control) is 1 CX We've seen this before with the coins. There's CY, CZ, CPhase too.

slide-38
SLIDE 38

Final state is a Bell Pair (or EPR Pair) and is fully entangled (not decomposable into a tensor product). If you know one qubit, you know the other.

Out[18]:

slide-39
SLIDE 39
slide-40
SLIDE 40

Let's try it

Out[19]:

slide-41
SLIDE 41

Remember - we've looked at ideal quantum computers (no noise) That's it from me. There are more gates (e.g. parameterized rotations, controlled pauli gates, 3 qubit gates) There are more rules and more stuff (sorry - wish I had time to write up an algorithm) ...but on to Cirq...