1 00:00:00,000 --> 00:00:06,003 Hello, everyone. Today we have a very interesting lecture, it's straight out of 2 00:00:06,003 --> 00:00:12,003 science fiction so we'll talk about Quantum Teleportation. But before we get 3 00:00:12,003 --> 00:00:19,003 there, we have to say something about, quantum circuits. Okay so, lets see. 4 00:00:19,003 --> 00:00:27,034 Remember, last time we talked about one-qubit gates. So one-qubit gates, we 5 00:00:27,034 --> 00:00:36,006 think of as you know, we have a wire that carries a qubit of information. So let's 6 00:00:36,006 --> 00:00:45,065 say, α0(0) + α1(1). And now, we have a gate which, which acts on it and remember 7 00:00:45,065 --> 00:00:52,010 what a gate does is it takes this two dimensional complex vector space. The 8 00:00:52,010 --> 00:00:58,077 state is a unit vector in that space and then it takes the space and we rotate it. 9 00:00:58,077 --> 00:01:05,016 Okay, this rotation in the complex vector space is called the Unitary Transformation 10 00:01:05,016 --> 00:01:11,059 U, which in this case is a two by two unitary transformation. So U is two by two 11 00:01:11,059 --> 00:01:19,044 unit rate transformation. And, the fact that this unitary is given by the 12 00:01:19,044 --> 00:01:27,048 condition U times U [inaudible] is, is U [inaudible] times U is identity. So we saw 13 00:01:27,048 --> 00:01:35,008 several examples of, of, of such gates and you know, they included x, the nought 14 00:01:35,008 --> 00:01:43,002 gate, Z, the face flip, H, the Hadamard gate. Okay, so what, what these do is, 15 00:01:43,002 --> 00:01:52,000 they take the input qubit and convert it into, into some new qubit, alpha nought 16 00:01:52,000 --> 00:01:59,006 prime zero plus alpha one prime one. Now of course, you remember that you could, 17 00:01:59,006 --> 00:02:05,077 you could describe the you know, the, this, this rotation, the unitary rotation 18 00:02:05,077 --> 00:02:15,006 by either specifying the unitary matrix, or you could just say zero gets mapped to 19 00:02:15,006 --> 00:02:23,006 what and one gets mapped to what, right? So if you, if you specify these, these 20 00:02:23,006 --> 00:02:30,024 four numbers which are that zero gets, gets mapped to a(0) + b(1) and one gets 21 00:02:30,024 --> 00:02:38,057 back to c(0) + d(1) then you specify it, what the, what the mapping is because it's 22 00:02:38,057 --> 00:02:47,083 a linear map. So now if you have α(0) + β(1), what does it go to? Well, it goes 23 00:02:47,083 --> 00:02:53,056 to alpha times a(0) + b(1) + beta times c(0) + d(1). Also, the unitary matrix 24 00:02:53,056 --> 00:03:01,066 that, that, that describes how these you know, the mapping is, is just given by a, 25 00:03:01,066 --> 00:03:09,020 b, c, d. Okay, so that's, that's what we did last time. And now, this time we are 26 00:03:09,020 --> 00:03:15,087 going to talk about two-qubit ga tes. So, so here is our, here is our picture. So, 27 00:03:15,087 --> 00:03:21,054 we have two wires that are coming in, each carrying a qubit. And then, this 28 00:03:21,054 --> 00:03:27,074 encounters a gate U and, then you have two wires coming out, which, which, which are 29 00:03:27,074 --> 00:03:33,050 not carrying two qubits, which are in a different state. So, lets, what is the 30 00:03:33,050 --> 00:03:39,089 state of our initial qubits? Well remember that, the state of two-qubits is described 31 00:03:39,089 --> 00:03:45,051 by four complex numbers, the four complex amplitudes, alpha 00 through alpha eleven. 32 00:03:45,051 --> 00:03:51,003 And output qubits are described by four new complex numbers, alpha 00 prime 33 00:03:51,003 --> 00:04:02,032 through alpha eleven prime. So now, the way that this output state is related to 34 00:04:02,032 --> 00:04:09,005 the input state, is, of course, given by this unitary transformation U, which is a 35 00:04:09,005 --> 00:04:15,003 linear transformation. It's, have what, what's the dimension of this 36 00:04:15,003 --> 00:04:30,000 transformation. Well, clearly, U is four dimensional. Right? Meaning, if we write 37 00:04:30,000 --> 00:04:39,094 it out, it would, looked like, this kind of matrix. Okay. And of course, you 38 00:04:39,094 --> 00:04:48,045 satisfy this condition, uu dagger equal to u dagger u is the identity. And once 39 00:04:48,045 --> 00:04:58,070 again, you can specify the action of U by just saying, how does it map 00? How does 40 00:04:58,070 --> 00:05:07,082 it map 01? Etcetera. How does it map eleven? So, so if you say, how does it map 41 00:05:07,082 --> 00:05:16,039 each of these four states, then you, then you have specified U as well. Okay? So, 42 00:05:16,039 --> 00:05:25,037 let's, let's say that it maps (00) to a(00) + b(01) + c(10) + d(11). Then we 43 00:05:25,037 --> 00:05:38,034 know that the first column of this matrix is going to be a, b, c, d. Right? So check 44 00:05:38,034 --> 00:05:51,025 that you understand why this is, right? Because 00 is this vector. Okay? So if you 45 00:05:51,025 --> 00:05:59,094 want to know what, what this u map 00 to u, you multiply this matrix u by this 46 00:05:59,094 --> 00:06:06,001 vector. And what do you get? You get this column, a, b, c, d, which is exactly what 47 00:06:06,001 --> 00:06:13,002 this was. Okay, so make sure you understand all this. Okay. So, now, let's 48 00:06:13,002 --> 00:06:21,005 look at an example of, of a two qubit gate. This is the most basic of the 49 00:06:21,005 --> 00:06:28,016 two-qubit gates. So it takes as input two qubits, outputs two qubits and it's 50 00:06:28,016 --> 00:06:35,048 denoted by this funny symbol where there's a dot on the one side align which with 51 00:06:35,048 --> 00:06:42,074 this, with this with this circular round, which denotes, an XOR. Okay, so if this wa 52 00:06:42,074 --> 00:06:49,050 s a classical gate, so if the inputs a and b were classical, then outputs would look 53 00:06:49,050 --> 00:06:56,029 like this, the first input is let through unchanged and the second bit, so the first 54 00:06:56,029 --> 00:07:03,058 bit is let through unchanged and the second bit is flipped, if and only if the 55 00:07:03,058 --> 00:07:13,087 first is one. Okay, so the first bit, this is called, the control. And that bit is 56 00:07:13,087 --> 00:07:29,041 called the Target Bit. Okay, so the CNOT stands for Controlled NOT. Alright. Okay, 57 00:07:29,041 --> 00:07:42,092 so now remember what the rules were that if you want to describe what the CNOT gate 58 00:07:42,092 --> 00:07:50,080 is, it's sufficient to describe what it does on input 00, 01, ten, eleven. So 59 00:07:50,080 --> 00:07:59,009 let's see, what, how does the CNOT gate map 00? So now the control bit is zero so 60 00:07:59,009 --> 00:08:06,053 the target bit remains unchanged so it gets mapped to 00. How about 01? Well, the 61 00:08:06,053 --> 00:08:14,087 control bit is twenty so the target bit is unchanged so, 01. How about ten? Well, now 62 00:08:14,087 --> 00:08:22,094 the control bit is a one, so the target bit flips and so it gets mapped to one, 63 00:08:22,094 --> 00:08:32,033 one. How about one, one, one? Okay, so this time, okay again the controlled bit 64 00:08:32,033 --> 00:08:38,081 is one, so the target bit flips. So the output is one, zero. So now you know 65 00:08:38,081 --> 00:08:46,029 exactly how CNOT works because if you are given any super position of this four 66 00:08:46,029 --> 00:08:56,095 states. So if you are alpha (00). Okay, so if you had this superposition alpha 00(00) 67 00:08:56,095 --> 00:09:06,048 + alpha 01(01), + alpha ten(10) + alpha eleven(11). So what does it get mapped to 68 00:09:06,048 --> 00:09:17,019 under CNOT? Well answer is simple. What, what it does is zero, zero stays unchaged, 69 00:09:17,019 --> 00:09:25,076 so it goes to alpha 00(00). Zero, one unchanged so it's 01(01). Now, one, one 70 00:09:25,076 --> 00:09:36,005 gets mapped to one, zero so you would have alpha eleven(10) and one, zero gets mapped 71 00:09:36,005 --> 00:09:45,003 to one, one so you get alpha ten(11). Okay. We can also write out what the 72 00:09:45,003 --> 00:09:54,023 matrix is, corresponding to CNOT. And CNOT is given by this matrix. So, make sure you 73 00:09:54,023 --> 00:10:04,037 see why this matrix is giving you this transformation. Right? Because this one 74 00:10:04,037 --> 00:10:10,001 gives you the first column, which is one, zero, zero, zero. This gives you the 75 00:10:10,001 --> 00:10:15,005 second column, this gives you the third column, where you get a one, in the last 76 00:10:15,005 --> 00:10:21,001 entry, because every one, one. This gives you the fourth column, where you have one 77 00:10:21,001 --> 00:10:26,007 in the third entry. And of course, its unitary to check that you, just check that 78 00:10:26,007 --> 00:10:33,034 CNOT times CNOT conjugate transpose is the identity. In fact, again, what you have is 79 00:10:33,034 --> 00:10:40,083 that the conjugate transpose is itself and so CNOT is it's own inverse. If you apply 80 00:10:40,083 --> 00:10:47,009 it twice, you get back to where you started from.