1 00:00:01,000 --> 00:00:07,000 Okay. So now let's, let's, let's start with studying what are the allowable 2 00:00:07,000 --> 00:00:14,000 states of a 2 qubits system? So as before, what we are going to do is 3 00:00:14,000 --> 00:00:20,005 consider two atomic qubits which means that, let's say, we have two hydrogen 4 00:00:20,005 --> 00:00:27,001 atoms and we are, we are thinking of the, the states of the electron. In fact, two 5 00:00:27,001 --> 00:00:31,006 particular states, the ground state and the excited state which we used to encode 6 00:00:31,006 --> 00:00:38,003 for zero and one. And so now since we have two such atoms, the two electrons can be 7 00:00:38,003 --> 00:00:44,000 used to represent, classically, two bits of information. So the possible states are 8 00:00:44,000 --> 00:00:50,005 |00>, |01>, |10>, and |11>. What about quantumly? Well the superposition axiom 9 00:00:50,005 --> 00:00:55,007 tells us that, the state is in general, a superposition of all these four 10 00:00:55,007 --> 00:01:00,005 possibilities, that the system doesn't make up its mind which of these four 11 00:01:00,005 --> 00:01:08,000 states its in. And so, you have a complex amplitude for each of these four possible 12 00:01:08,000 --> 00:01:15,000 classical states. Say for example, α00 is the complex amplitude of |00>. And as 13 00:01:15,000 --> 00:01:20,000 before, we have this normalization condition. The sum of the squares of the 14 00:01:20,000 --> 00:01:27,000 magnitudes of these amplitudes adds up to 1. The normalization condition is 15 00:01:27,000 --> 00:01:33,000 important because it tells us what happens during a measurement. So if you actually 16 00:01:33,000 --> 00:01:39,000 look and see what the state of the system is, you will see each of these four 17 00:01:39,000 --> 00:01:45,000 possibilities with probability the square of the magnitude of that corresponding 18 00:01:45,000 --> 00:01:52,004 amplitude. Moreover, if you happen to observe |00>, then the new state of the 19 00:01:52,004 --> 00:02:01,007 system will exactly be |00>. So, let's do an example. So suppose for example that the, 20 00:02:01,007 --> 00:02:20,002 that the state of the system was 1/√2|00> + i/2|01> - 1/2|11>. So 21 00:02:20,002 --> 00:02:24,002 you can check that this is a valid state of the system because it satisfies this 22 00:02:24,002 --> 00:02:30,008 normalization condition. So now what happens when you measure this system? 23 00:02:30,008 --> 00:02:38,001 Well, what happens is, that you see |00> that both of the electrons are in the 24 00:02:38,001 --> 00:02:46,004 ground state with probability. So that the probability that you see |00> is 1/2, 25 00:02:46,004 --> 00:02:57,007 the square of this. And then the new state is |00>. The probability that you see 26 00:02:57,007 --> 00:03:09,001 |01> is a 1/4, and then the new state is |01>, etc. 27 00:03:09,001 --> 00:03:16,000 Okay. But now you could ask a different question. What happens if instead if you measure 28 00:03:16,000 --> 00:03:23,001 only the first qubit? What's the result of that measurement? Okay. So, let's try to 29 00:03:23,001 --> 00:03:31,006 understand that. So again we, we start with some quantum state of the two qubits, 30 00:03:31,006 --> 00:03:46,002 and let's say we have our same example that, that |Ψ> happens to be 1/√2|00> + 31 00:03:46,002 --> 00:03:53,008 i/2|01> - 1/2|11>. So what happens if you, if you measure just the, the first 32 00:03:53,008 --> 00:04:00,002 qubit? What's the probability you see zero? So, so the answer is, the 33 00:04:00,002 --> 00:04:07,000 probability that you see zero for the first qubit is exactly the same as the 34 00:04:07,000 --> 00:04:13,003 probability that you would see a zero if you measured both qubits. Okay. So if you 35 00:04:13,003 --> 00:04:16,000 measured both qubits, what's the probability you'd see a zero on the first 36 00:04:16,000 --> 00:04:23,000 qubit? Well, you would only see a zero if you had this outcome, or this outcome. 37 00:04:23,000 --> 00:04:29,000 Well this happens with probability |α00|², and this happens with 38 00:04:29,000 --> 00:04:35,000 probability |α01|². And so that's the, that's the chance you see a zero. So in 39 00:04:35,000 --> 00:04:46,002 this example, it would be 1/2 + 1/4 = 3/4. Now what's the 40 00:04:46,002 --> 00:04:56,003 new state if you happen to see a zero? Well, the answer is, is, is really quite 41 00:04:56,003 --> 00:05:03,008 elegant. What you do is, if you happen to see a zero then what, what you end up 42 00:05:03,008 --> 00:05:10,000 doing is discarding all the parts of the superposition which are incompatible with 43 00:05:10,000 --> 00:05:14,003 the answer. So you discard these parts of the superposition. And so what you are 44 00:05:14,003 --> 00:05:24,003 left with is this superposition but it's not normalized, so you just normalize it. 45 00:05:24,003 --> 00:05:38,006 So the new state will be α00|00> + α01|01> / √(|α00|² + |α01|²). So now 46 00:05:38,006 --> 00:05:45,001 what, what you should do is check that the amplitudes, well the amplitude for zero 47 00:05:45,001 --> 00:05:53,005 is, is what? Well the amplitude for zero is, is this fraction. What you should do 48 00:05:53,005 --> 00:05:59,005 is check that the square of the magnitude of this, plus the square of the magnitude 49 00:05:59,005 --> 00:06:08,005 of the amplitude for 01, they add up to one, okay? This is something that's easy 50 00:06:08,005 --> 00:06:14,001 to check. So going back to our example, what's the new state if you happen to see 51 00:06:14,001 --> 00:06:18,008 a zero for the first qubit, when you measure only the first qubit? Well, we 52 00:06:18,008 --> 00:06:30,009 cross off this and then we'd renormalize. So we'd get 1/√2|00> + i/2|01>, and then 53 00:06:30,009 --> 00:06:38,003 you'd have to divide this by the square root of this squared magnitude plus this 54 00:06:38,003 --> 00:06:43,002 squared magnitude. Right? What's the magnitude of this square plus this 55 00:06:43,002 --> 00:06:50,005 squared? It's 3/4, okay? So that's the answer. Which you can further 56 00:06:50,005 --> 00:06:59,000 simplify, but we are more concerned here with, the actual logic of the situation.