1 00:00:00,000 --> 00:00:06,004 Okay. So we are, let's move on to the third video of this lecture, which is on 2 00:00:06,004 --> 00:00:12,061 Tensor products. Let me just say a word before we go on. Which is, first, for many 3 00:00:12,061 --> 00:00:21,001 of you, this might be too much all at once. So you know, take it in whatever 4 00:00:21,001 --> 00:00:29,022 doses you, you, you can digest it and let's see. So, some of this stuff, you 5 00:00:29,022 --> 00:00:34,063 know, some of the things that I'm speaking about, of course. It's just a 6 00:00:34,063 --> 00:00:40,069 formalization of stuff you've already seen in the, in the previous lectures. 7 00:00:40,069 --> 00:00:47,001 Especially these, tensor products. You know, we've been implicitly using them for 8 00:00:47,001 --> 00:00:52,066 the last couple of weeks. And, hopefully this only, you know, this only help, helps 9 00:00:52,066 --> 00:00:58,017 clarify to you what the, what the underlying math behind it, behind it all 10 00:00:58,017 --> 00:01:04,005 is. Okay, so. So, with that, with that small warning let's, let's just go on and 11 00:01:04,005 --> 00:01:09,034 let's talk about, tensor products. So, let's, let's go back and remember, what a 12 00:01:09,034 --> 00:01:15,007 qubit was. So, so you remember we, you know, our picture of it, was, was like 13 00:01:15,007 --> 00:01:20,084 this. We have a hydrogen atom. Its electron, we think of it as being either 14 00:01:20,084 --> 00:01:26,005 in the ground state, which we think of as a, as representing zero, and an excited 15 00:01:26,005 --> 00:01:32,045 state, which we think of as a, as representing one. And now, of course, the 16 00:01:32,045 --> 00:01:40,065 state of this, this qubit, is, is a unit vector in. So it's, it's some unit vector, 17 00:01:40,065 --> 00:01:47,067 phi in a two dimensional complex vector space, which we call a Hilbert space. 18 00:01:47,067 --> 00:01:55,023 Okay. We call it a Hilbert space mainly because it's a, it's a complex vector 19 00:01:55,023 --> 00:02:01,032 space with a defined inner product. And then. You know this is additional property 20 00:02:01,032 --> 00:02:06,022 that we want from Hilbert's spaces when, when they are, you know which is more 21 00:02:06,022 --> 00:02:10,096 complicated, when they are infinite, and infinite dimensional Hilbert spaces so 22 00:02:10,096 --> 00:02:15,016 when we talked about continuous quantum states. But, in this course, we are not 23 00:02:15,016 --> 00:02:20,019 going to deal with all those subtleties about their completeness, you know limits 24 00:02:20,019 --> 00:02:25,082 and so on. So formerly we'll only think about finite eventual Hilbert spaces. And 25 00:02:25,082 --> 00:02:30,093 then when we talk about continuous quantum states, we'll just do it intuitively. 26 00:02:30,093 --> 00:02:35,065 Okay, so, so , back here, okay, so we have, we have a cubit, it's a unit vector 27 00:02:35,065 --> 00:02:40,098 in this two dimensional complex vector space, which we're calling a Hilbert 28 00:02:40,098 --> 00:02:48,081 space, and. And now, let's say we have another such electron in another hydrogen 29 00:02:48,081 --> 00:02:58,052 atom. And so, of course, it's state also is a unit vector in a, in a two 30 00:02:58,052 --> 00:03:08,029 dimensional Hilbert space. Okay, but, but now, of course. In general, we know that 31 00:03:08,029 --> 00:03:13,072 we cannot really talk about if we are given the two hydrogen atoms together, we 32 00:03:13,072 --> 00:03:18,043 have, we are given these two qubits together, we cannot in general talk about 33 00:03:18,043 --> 00:03:23,070 the state of the first qubit and the state of the second qubit separately because of 34 00:03:23,070 --> 00:03:28,008 the phenomenon of entanglement. So, in general, we cannot talk about, any more 35 00:03:28,008 --> 00:03:32,065 about the state of the first qubit and the state of the second qubit, but we still 36 00:03:32,065 --> 00:03:37,078 have these two Hilbert spaces associated with the first qubit and the second qubit. 37 00:03:37,078 --> 00:03:43,054 So now, what happens when we bring these two qubits together? Okay, so what you 38 00:03:43,054 --> 00:03:52,035 already saw is that. When we think of this as a composite system, there is actually a 39 00:03:52,035 --> 00:04:00,058 four dimensional complex vector space associated with it. And the basis for this 40 00:04:00,058 --> 00:04:07,063 state is all the classical possibilities which is 0-0, 0-1, 1-0, and 1-1. But 41 00:04:07,063 --> 00:04:16,048 still, you can ask what was the operation by which we, we took two such complex 42 00:04:16,048 --> 00:04:24,005 vector spaces, two dimensional complex vector spaces. And we glued them together 43 00:04:24,005 --> 00:04:30,055 to get a four dimensional complex vector space. What is this operation? So if you 44 00:04:30,055 --> 00:04:36,092 call this Hilbert space H1, and we call this Hilbert space H2, then what's the 45 00:04:36,092 --> 00:04:43,018 operation that they perform on these two Hilbert spaces to get this new Hilbert 46 00:04:43,018 --> 00:04:49,057 space H, which is a four dimensional complex vector space. So, this operation 47 00:04:49,057 --> 00:04:56,004 is called a tensor product. And when we perform this tensor product, what we do 48 00:04:56,004 --> 00:05:01,081 is, we look, we take a basis vector from the first Hilbert space, like zero and a 49 00:05:01,081 --> 00:05:08,040 basis vector from the second vector space, like zero. And we take a tensor product 50 00:05:08,040 --> 00:05:14,060 between them. Okay. And, well it might be. You know, just to, just for clarity, it 51 00:05:14,060 --> 00:05:21,041 might be, it might be a little, easier for you t o understand if I write them a 52 00:05:21,041 --> 00:05:27,068 little closer together. So, I take. Okay. So, let's, let's, let's erase all this, 53 00:05:27,068 --> 00:05:34,001 and let's call this, let's call this, this one, H1. H2, and we've taken a tensor 54 00:05:34,001 --> 00:05:39,005 product between them. So, we are taking a basis vector from the first Hilbert space, 55 00:05:39,005 --> 00:05:46,008 one from the second Hilbert space, and we take the tensor product of them. And this 56 00:05:46,008 --> 00:05:52,040 tensor product we also write as so, when you write 0x0 we also you know this is 57 00:05:52,040 --> 00:05:58,047 what we have been calling 00. Right? And sometime we will also write just as cat 58 00:05:58,047 --> 00:06:06,036 zero, cat zero. So, this is what we mean by saying well the, the first electron was 59 00:06:06,036 --> 00:06:13,060 in the state zero and the second electron was in the state zero. Similarly, if you 60 00:06:13,060 --> 00:06:21,008 take the tensor product of these two, we, we can also abuse notation and write it 61 00:06:21,008 --> 00:06:29,042 like, like this or like that, and so on. For the, for the, for the, for each of the 62 00:06:29,042 --> 00:06:38,020 four cases. Okay and then, okay so this is how we glue these two Hilbert spaces 63 00:06:38,020 --> 00:06:45,025 together and got a new Hilbert space, new complex vector space, which is now four 64 00:06:45,025 --> 00:06:51,049 dimensional. Okay, we can also ask, you know, of course we can, we can glue 65 00:06:51,049 --> 00:06:59,017 together any vector here and any vector here so if you have, if you have a state 66 00:06:59,017 --> 00:07:09,053 phi one in the first Hilbert space, and phi two in the second Hilbert space, we 67 00:07:09,053 --> 00:07:16,077 could, we could glue them together by putting this, this symbol in between them. 68 00:07:16,077 --> 00:07:24,084 And this is what, you know, so for example, if we had if we had the state one 69 00:07:24,084 --> 00:07:32,005 over square root to zero plus one over square root to one, and the first overt 70 00:07:32,005 --> 00:07:36,077 space and one over square root to zero minus one over square root to one in the 71 00:07:36,077 --> 00:07:42,044 second overt space. And if it took a product of these, a tensor product, this 72 00:07:42,044 --> 00:07:48,006 is what we were, we were writing informally just by writing a product. And 73 00:07:48,006 --> 00:07:54,003 now, when we take tensor products it's distributive, as you know, exactly the 74 00:07:54,003 --> 00:08:01,079 rules that we followed. And we'd write down series. One half zero times tensor to 75 00:08:01,079 --> 00:08:01,079 zero minus one half zero tensor to one plus one half one tensor of zero minus one 76 00:08:01,079 --> 00:08:01,079 half, one tensor of one. Okay. That's what the that's what the tensor product of two 77 00:08:01,079 --> 00:00:00,000 states would look like. We could also a sk, well what happens if you, if you look 78 00:00:00,000 --> 00:00:00,000 at two set states? Phi one tensor and phi two and phi one tensor at phi two. What's 79 00:00:00,000 --> 00:00:00,000 the inner product between them? And the answer is, it's just the inner product 80 00:00:00,000 --> 00:00:00,000 between phi one and phi one. So, whatever the states are in the first, in the first 81 00:00:00,000 --> 00:00:00,000 Hilbert space times the inner product between phi two and phi two. Okay, finally 82 00:00:00,000 --> 00:00:00,000 lets look at the more general case. So, now suppose we have a, we have a K-state 83 00:00:00,000 --> 00:00:00,000 particle. A K-state, sorry a K-state quantum system. So, if the first Hilbert 84 00:00:00,000 --> 00:00:00,000 space is a K-dimensional Hilbert space. And let's say, let's, let's say the second 85 00:00:00,000 --> 00:00:00,000 Hilbert space is, is made up of an L-state quantum system. So H2 is an L-dimensional 86 00:00:00,000 --> 00:00:00,000 complex vector space. So this, has a basis zero through K - one, let's say. And let's 87 00:00:00,000 --> 00:00:00,000 call these basis vectors, say, zero through, L - one. Okay, so now what 88 00:00:00,000 --> 00:00:00,000 happens when we glue these two together, when we put them together and call this 89 00:00:00,000 --> 00:00:00,000 one big system? So, we get some Hilbert space H. And H is a tensor product of H1 90 00:00:00,000 --> 00:00:00,000 and H2. Okay, what's, what's another way of saying it? Well another, you know the 91 00:00:00,000 --> 00:00:00,000 intuitive way of saying it is look, you had a quantum system here, the first one, 92 00:00:00,000 --> 00:00:00,000 where you could be in one of these key distinguishable states, zero through K - 93 00:00:00,000 --> 00:00:00,000 one, or in any super-position of these. In each two you can be in one of L 94 00:00:00,000 --> 00:00:00,000 distinguished will states. Why need super positions of those? And so when you put 95 00:00:00,000 --> 00:00:00,000 them together, what are the distinguishable states? Well, you could be 96 00:00:00,000 --> 00:00:00,000 in 00, 01, 02 through 0L - one, or ten, eleven through 1L - one. So, they are 97 00:00:00,000 --> 00:00:00,000 exactly K times L different distinguishable states. So H, its a K 98 00:00:00,000 --> 00:00:00,000 times L dimensional space. And again. You know, the, the, the basis vectors in H are 99 00:00:00,000 --> 00:00:00,000 going to be tensor, tensor products of basis vectors in H1 and H2. So they're 100 00:00:00,000 --> 00:00:00,000 going to be of the form zero tensor zero. Zero tensor one. Zero tensor L-1. One 101 00:00:00,000 --> 00:00:00,000 tensor zero one tensor L-1, all the way to K-1 tensor zero. K-1 tensor L-1. Okay, so 102 00:00:00,000 --> 00:00:00,000 there are exactly K times L of these. And of course, your state can be any linear 103 00:00:00,000 --> 00:00:00,000 combination of these. Again, remember by abuse of notation, w e, we, we can, we are 104 00:00:00,000 --> 00:00:00,000 going to denote the state, also by. By this or also by. By that. Okay. So now, 105 00:00:00,000 --> 00:00:00,000 there's something to think about here. There's something very interesting going 106 00:00:00,000 --> 00:00:00,000 on here. Okay, what, what's this interesting thing? So, if you were to 107 00:00:00,000 --> 00:00:00,000 write a state of your first system, how many parameters would you need for that? 108 00:00:00,000 --> 00:00:00,000 Well since it's a K-dimensional system, you need. K. Complex numbers to describe 109 00:00:00,000 --> 00:00:00,000 your state in of, of the first system. How many, how many parameters would you need 110 00:00:00,000 --> 00:00:00,000 if you were just to put, describe a state in your second system? Well, you need 111 00:00:00,000 --> 00:00:00,000 exactly L-complex numbers to describe a state in your second system. But now, if 112 00:00:00,000 --> 00:00:00,000 you put them together, if you call your system the union of, of your first and 113 00:00:00,000 --> 00:00:00,000 second quant, quantum system. Then you need K L complex numbers. Okay, so it's 114 00:00:00,000 --> 00:00:00,000 worth thinking about this intuitively. What would have happened if this was a 115 00:00:00,000 --> 00:00:00,000 classical system? Let's say that, You know, you had some system where you needed 116 00:00:00,000 --> 00:00:00,000 a million parameters to describe, describe your system. So, for example, what's, 117 00:00:00,000 --> 00:00:00,000 what's, a, what's a system where you need a million parameters to describe it? Well, 118 00:00:00,000 --> 00:00:00,000 let's say it's the memory in your computer. So, let's say that you got a, 119 00:00:00,000 --> 00:00:00,000 got a mem, you know, you know, you, you, you bought a mega, megabit, megabyte of, 120 00:00:00,000 --> 00:00:00,000 memory. So, ten^6. You need ten^6 numbers to describe what the state of that memory 121 00:00:00,000 --> 00:00:00,000 is. And now you are running short of memory. So, you go out and purchase 122 00:00:00,000 --> 00:00:00,000 another, you know, some more rams, so its, lets say you purchase other ten^6 123 00:00:00,000 --> 00:00:00,000 megabytes. How much memory do you have? Well, you have ten^6 + ten^6 which is two 124 00:00:00,000 --> 00:00:00,000 ten^6. Alright? They add up, so the number of the parameters you need to describe the 125 00:00:00,000 --> 00:00:00,000 state of the existence once you have, once you have, one you add these new memories 126 00:00:00,000 --> 00:00:00,000 in, it's just the sum of the parameters you need for the first one and the 127 00:00:00,000 --> 00:00:00,000 parameters you need for the second one. What happens if this was a complex system, 128 00:00:00,000 --> 00:00:00,000 sorry, quantum system? So, you needed ten^6 parameter for your first system, 129 00:00:00,000 --> 00:00:00,000 your first quantum memory , ten^6 for the second one. Right? If you use them 130 00:00:00,000 --> 00:00:00,000 individually. But if you put them together, and call the whole thing one big 131 00:00:00,000 --> 00:00:00,000 system. Now you need ten^6 ten^6. So, instead of a megabyte, you now end up with 132 00:00:00,000 --> 00:00:00,000 a terabyte of memory. This sounds ridiculous. But this is, this is really, 133 00:00:00,000 --> 00:00:00,000 you know, this is the basic fact about quantum mechanics or quantum systems which 134 00:00:00,000 --> 00:00:00,000 make them so strange and therefore also so useful from a computational viewpoint. 135 00:00:00,000 --> 00:00:00,000 Okay, one last thing to help you think about this. So, how could it be that you 136 00:00:00,000 --> 00:00:00,000 needed only K-complex numbers to describe a state in H1. L to describe a state in 137 00:00:00,000 --> 00:00:00,000 H2. But now, if you put, put the two systems together you need K L complex 138 00:00:00,000 --> 00:00:00,000 numbers. How could this be? What, what's going on? Well the answer is, 139 00:00:00,000 --> 00:00:00,000 entanglement. Okay, so, so why is the answer entanglement. So. So you, you had 140 00:00:00,000 --> 00:00:00,000 H1 but you needed K-complex numbers, you had H2 but you needed L-complex numbers. 141 00:00:00,000 --> 00:00:00,000 So if you had a state, phi one, you need only K-parameters to describe phi one. A 142 00:00:00,000 --> 00:00:00,000 state of H, of, of the first quan, quantum system. If you have phi two, the state of 143 00:00:00,000 --> 00:00:00,000 the second quantum system, you only need L-parameters, L-complex numbers to 144 00:00:00,000 --> 00:00:00,000 describe it. If your have state of the two systems is of the form phi one tensor phi 145 00:00:00,000 --> 00:00:00,000 two, you only need K + L parameters to describe it. But remember, the state of a 146 00:00:00,000 --> 00:00:00,000 composite system does not need to be a product state. In general, it's going to 147 00:00:00,000 --> 00:00:00,000 be an entangled state. And these states cannot be described using K-parameters on 148 00:00:00,000 --> 00:00:00,000 the, on the first space and L-parameters on the second space. And that's the reason 149 00:00:00,000 --> 00:00:00,000 why, in general most of the states of this, of this composite system are going 150 00:00:00,000 --> 00:00:00,000 to be entangled. And this is why we need K L parameters to describe a general state 151 00:00:00,000 --> 00:00:00,000 of this composite, quantum system, which we describe by the Hilbert space H, which 152 00:00:00,000 --> 00:00:00,000 is H1 tensor H2. Okay? So, how much of this should you understand? Well, you 153 00:00:00,000 --> 00:00:00,000 know, it depends upon, it depends upon how deeply you want to get into the subject. 154 00:00:00,000 --> 00:00:00,000 But hopefully this gives you, some sense of the, you know, of sol id ground, in 155 00:00:00,000 --> 00:00:00,000 terms of, what are all these symbols that we've been using so far? What do all these 156 00:00:00,000 --> 00:00:00,000 operations we've been using so far mean? So use it, you know, use this, this 157 00:00:00,000 --> 00:00:00,000 lecture. I, I, I guess What I should say is try to digest as much of this as you 158 00:00:00,000 --> 00:00:00,000 find comfortable, and you know, I'll try to be as gentle as possible going forward, 159 00:00:00,000 --> 00:00:00,000 and use, use this notation as sparingly as possible. Okay.