1 00:00:00,000 --> 00:00:07,004 Okay, so now in this video we are going to finally complete the Quantum Teleportation 2 00:00:07,004 --> 00:00:15,000 Protocol. So in the last video, we saw how to, how Alice could teleport a arbitrary 3 00:00:15,000 --> 00:00:22,007 qubit α0 + β1 to Bob. If she could do this unrealistic thing of performing a 4 00:00:22,007 --> 00:00:29,056 CNOT with her qubit as a control bit and Bob's qubit as a target bit. So, if she 5 00:00:29,056 --> 00:00:36,071 does that then she can entangle the two qubits into this rectangle state, α0(0) + 6 00:00:36,071 --> 00:00:44,041 β1(1). And then, Alice measures her qubit in the sign basis, and if she gets out 7 00:00:44,041 --> 00:00:50,086 from plus then Bob's qubit is in the, in the desired state alpha zero + beta one. 8 00:00:50,087 --> 00:00:59,094 But if she gets out to minus, then Bob's qubit is in a slightly related cube state 9 00:00:59,094 --> 00:01:08,021 alpha zero - beta one. So, well, Alice calls up Bob and tells him which outcome 10 00:01:08,021 --> 00:01:16,034 she got and if the outcome was plus Bob, Bob just uses his qubit as is, as is. If 11 00:01:16,034 --> 00:01:24,024 he got a minus, then he performs a phase-flip on his, on his qubit using the 12 00:01:24,024 --> 00:01:30,094 Z gate, the phase-flip gate. Okay. So, now, what, what this does is, it reduces 13 00:01:30,094 --> 00:01:37,040 our task of teleportation to somehow creating this entangled state alpha zero, 14 00:01:37,040 --> 00:01:44,028 zero plus beta one but without the benefit of a CNOT gate. And that's what we are 15 00:01:44,028 --> 00:01:51,044 going to do and once we do that, we'll have our teleportation protocol completed. 16 00:01:51,044 --> 00:01:59,015 Okay. So, so what's our setup now? Our setup is, that Alice has a qubit, alpha 17 00:01:59,015 --> 00:02:04,071 zero plus beta one, which we, let's, let's think of you know, since we are going to 18 00:02:04,071 --> 00:02:09,097 be drawing a circuit, let's think of why that can, that holds this qubit. But now, 19 00:02:09,097 --> 00:02:15,079 we are also going to assume that Alice and Bob cannot, you know, they are too far 20 00:02:15,079 --> 00:02:21,088 apart to perform a, to perform a gate or anything else. But we are going to assume 21 00:02:21,088 --> 00:02:28,009 that sometime in the past, they managed to talk to each other enough to create a bell 22 00:02:28,009 --> 00:02:32,049 state, so they share a bell state. So Alice has this qubit, and Bob has that 23 00:02:32,049 --> 00:02:38,006 qubit and these two qubits are entangled with each other and they are in the states 24 00:02:38,006 --> 00:02:43,032 zero, zero plus one, one. So we think of time as going from left to right so there 25 00:02:43,032 --> 00:02:48,025 are these three wires now that are carrying these three qubits. Two of them 26 00:02:48,025 --> 00:02:53,094 entangled with eac h other and the third one which is the one that Alice is started 27 00:02:53,094 --> 00:02:59,020 with, is the qubit that she wants to eventually teleport to Bob. Okay. So what 28 00:02:59,020 --> 00:03:05,068 we want to do is, we want to use this bell state to effectively apply a CNOT gate 29 00:03:05,068 --> 00:03:12,037 remotely. So how do we do this? Well, let's start by well, Alice performs a CNOT 30 00:03:12,037 --> 00:03:19,031 from her qubit out you know, the unknown qubit, the one she wants to teleport to 31 00:03:19,031 --> 00:03:26,094 her half of the bell state. Okay. So now, let's try to understand what the state of, 32 00:03:26,094 --> 00:03:34,087 of the three qubits is after she does this CNOT. Now so first, what was the state 33 00:03:34,087 --> 00:03:48,020 before she, she did this? Well, before she did this, it was clearly, α0 + β1 34 00:03:48,020 --> 00:04:03,030 1/√2(00) + 1/√2(11). α/√2(000) + α/√2(011) + β/√2(100) + 35 00:04:03,030 --> 00:04:25,067 β/√2(111). So that's the state of her qubits, of the, of the three qubits, 36 00:04:25,067 --> 00:04:33,045 initially before the CNOT gate. Now what happens after the CNOT gate is applied? So 37 00:04:33,045 --> 00:04:42,020 after we apply the CNOT, the CNOT is from the first qubit to the second. So, in 38 00:04:42,020 --> 00:04:48,031 these first two cases, whether, whether first qubit is zero, everything remains 39 00:04:48,031 --> 00:04:57,023 the same so you get α/√2(000) + α/√2(011). And then in these two cases 40 00:04:57,023 --> 00:05:09,018 where the control bit is a one, the target bit flips, so you get β/√2(110) + 41 00:05:09,018 --> 00:05:22,005 β/√2(101). Okay. So that's the state that her, of, of the three qubits after 42 00:05:22,005 --> 00:05:32,012 the CNOT. Okay, so now let's, let's try to understand what happens if we measure this 43 00:05:32,012 --> 00:05:38,048 middle qubit, what happens to the first two, first and the third qubits? Do we 44 00:05:38,048 --> 00:05:44,008 magically end up in the desired state, alpha zero, zero plus beta one, one, the 45 00:05:44,008 --> 00:05:51,003 entangled state that we want to get to. Okay, so lets, lets try to see what 46 00:05:51,003 --> 00:05:57,006 happens. So, this was, this was the state of our, of our three qubits, I have just 47 00:05:57,006 --> 00:06:04,006 rearranged the state a little bit. And, now, what, what we, what we wish to do is, 48 00:06:04,006 --> 00:06:12,000 we wish to measure the middle qubit. So, when we measure the middle qubit, the 49 00:06:12,000 --> 00:06:18,007 outcome is either, is either zero or one. Now if it happens to be zero, which is, 50 00:06:18,007 --> 00:06:24,008 which is these red possibilities here, then the remaining state of the other two 51 00:06:24,008 --> 00:06:28,053 qubits would be, zero, zero plus one, one with amplitud e alpha and beta. So, you 52 00:06:28,053 --> 00:06:33,084 would get alpha zero, zero plus beta one, one. On the other hand, if the middle 53 00:06:33,084 --> 00:06:39,016 qubit turns out to be one, if it's measured to be one, then the, then the 54 00:06:39,016 --> 00:06:45,012 state of the remaining qubits, would be one zero, be, let's see. Alpha times zero, 55 00:06:45,012 --> 00:06:51,020 one + beta times one, zero. Okay. So, at this point, Alice picks up her phone, 56 00:06:51,020 --> 00:07:00,056 calls Bob and says, you know, I did the measurement. The result was either zero or 57 00:07:00,056 --> 00:07:08,024 one. If the result is zero, then Bob can, Bob needs to do nothing because, because, 58 00:07:08,024 --> 00:07:13,079 the, the two now share this, this entangled state that we wanted, Alpha 59 00:07:13,079 --> 00:07:22,020 zero, zero plus beta one, one. On the other hand, if the result is one, then, 60 00:07:22,020 --> 00:07:29,082 what Bob can do is, but he, he, you know, they share the state alpha zero one plus 61 00:07:29,082 --> 00:07:35,066 beta one, zero. All he has to do is perform a bit flip on his bit, and this 62 00:07:35,066 --> 00:07:42,051 will get transformed to alpha zero, zero plus beta one, one. So, meaning, Alice 63 00:07:42,051 --> 00:07:50,039 makes a measurement on the second bit. She calls up Bob. If the, if the bit is zero, 64 00:07:50,039 --> 00:07:56,013 Bob does nothing. If it's a one, then he performs a bit flip or an x gate on his 65 00:07:56,013 --> 00:08:02,033 qubit. So now we have, we have reduced to the case that we knew how to solve. So we, 66 00:08:02,033 --> 00:08:09,000 we are ready to see what the full quantum teleportation protocol is. So here's the 67 00:08:09,000 --> 00:08:14,090 protocol. Alice starts with this qubit in the unknown state, Psi. Alice and Bob 68 00:08:14,090 --> 00:08:21,024 share this bell state. So this is Alice's qubit, that's Bob's qubit and they're 69 00:08:21,024 --> 00:08:27,090 entangled with each other. Now what Alice does is, she performs a CNOT from her 70 00:08:27,090 --> 00:08:34,015 qubit to, to sorry, her unknown qubit to her part of the bell state. She measures, 71 00:08:34,015 --> 00:08:41,019 she, she calls up, sends the results to Bob. If it's a one, he performs a bit 72 00:08:41,019 --> 00:08:49,074 flip. Okay. So now, to deal with the first and third qubits, Alice wants to measure 73 00:08:49,074 --> 00:08:55,072 her qubit in the, in the sign basis of the Hadamard basis so what she does is, she 74 00:08:55,072 --> 00:09:01,079 first does a Hadamard transform, and then she measures. So she is measuring in the 75 00:09:01,079 --> 00:09:07,075 plus-minus basis, she calls up Bob, tells him what the result of that is, if it's, 76 00:09:07,075 --> 00:09:13,099 if the result is zero, Bob does nothing. If it's one, then he performs a phas 77 00:09:13,099 --> 00:09:20,001 e-flip. And low and behold, his qubit is now transformed into Alice's original 78 00:09:20,001 --> 00:09:26,039 qubit. In the meantime, Alice measured both her cubits. And so this quantum state 79 00:09:26,039 --> 00:09:31,074 on these two qubits is completely destroyed. And so, Alice's qubit got 80 00:09:31,074 --> 00:09:38,089 destroyed and later, after the phone call, the, the and, and, and these two, the x, 81 00:09:38,089 --> 00:09:48,008 the potential x and Z gates, the, the, the quantum state magically materializes at