As we discussed, my grandma and I share a Bell state which we had to prepare ahead of time. So we need to entangle her qubit, here , with mine, there before we can do anything else. This is done in the code by applying the Hadamard gate and CNOT like this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.