


Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!



A general qubit: |ψ〉 = a | 0 〉 + b | 1 〉
Where a and b are the amplitudes for the states | 0 〉 and | 1 〉 we have:
〈ψ | ψ〉 = ‖ψ‖^2 = |a|^2 + |b|^2 = 1
The qubit is in a superposition of the states | 0 〉 and | 1 〉. These states form a basis for the space of single qubits. The basis is orthonormal so: 〈 0 | 0 〉 = 〈 1 | 1 〉 = 1
〈 1 | 0 〉 = 〈 0 | 1 〉 = 0
We can also have another basis, given by the states:
|+〉 = √^1 2
Can also be represented as a vector, i.e.:
|ψ〉 ↔
a b
And it’s adjoint is: 〈ψ| ↔
¯a ¯b
Where ¯a and ¯b are the complex conjugates of a and b. Adjoint ↔ transpose + complex conjugate. Then 〈ψ | ψ〉 which is the inner product, can be viewed as multiplying a column vector with a line vector:
( ¯a ¯b
) ( a b
= |a|^2 + |b|^2 = 1
2-qubit states look like this: |χ〉 = a | 00 〉 + b | 01 〉 + c | 10 〉 + d | 11 〉 |a|^2 + |b|^2 + |c|^2 + |d|^2 = 1
If we have two qubits: |ψ 1 〉 = a 1 | 0 〉 + b 1 | 1 〉 |ψ 2 〉 = a 2 | 0 〉 + b 2 | 1 〉
If we put them together, we have a 2-qubit state. This state is described by:
|ψ 1 〉 ⊗ |ψ 2 〉 = (a 1 | 0 〉 + b 1 | 1 〉) ⊗ (a 2 | 0 〉 + b 2 | 1 〉) == a 1 a 2 | 00 〉 + a 1 b 2 | 01 〉 + b 1 a 2 | 10 〉 + b 1 b 2 | 11 〉
In general, an N -qubit state is a superposition of 2N^ basis states. It is true for any 2 states |ψ 1 〉 and |ψ 2 〉 that:
〈ψ 1 | ψ 2 〉 = 〈ψ 2 | ψ 1 〉
So: 〈ψ 1 | ψ 2 〉 〈ψ 2 | ψ 1 〉 = | 〈ψ 2 | ψ 1 〉 |^2 = | 〈ψ 1 | ψ 2 〉 |^2
Unitary means U U †^ = U †U = I. Where U †, the adjoint of U , can be thought of as the transpose conjugate of U. Just like 〈ψ| is the adjoint of |ψ〉. The main unitaries we encounter are:
0 −i i 0
and
All of these operators are their own inverses. I.e.
XX = Y Y = ZZ = HH = I
CN OT CN OT = I
And we measure the first qubit in the (|+〉 , |−〉) basis, we have the projectors |+〉 〈+| ⊗ I and |−〉 〈−| ⊗ I. So the probability of getting the first outcome (i.e., the qubit being in |+〉 post-measurement) is:
p(+) = 〈ψ | (|+〉 〈+| ⊗ I) | ψ〉 = 〈ψ| (a(|+〉 〈+|⊗I) | 00 〉+b(|+〉 〈+|⊗I) | 01 〉+c(|+〉 〈+|⊗I) | 10 〉+d(|+〉 〈+|⊗I) | 11 〉)
And now we act with the projector on the first qubit, and leave the second qubit unchanged. Note that:
〈+ | 0 〉 = 〈+ | 1 〉 = √^1 2
So: p(+) = √^1 2
〈ψ| (a |+〉 | 0 〉 + b |+〉 | 1 〉 + c |+〉 | 0 〉 + d |+〉 | 1 〉)
Expressing |+〉 = √^12 (| 0 〉 + | 1 〉) we get:
p(+) =^12 〈ψ| (a | 00 〉 + a | 10 〉 + b | 01 〉 + b | 11 〉 + c | 00 〉 + c | 10 〉 + d | 01 〉 + d | 11 〉)
=^12 〈ψ| ((a + c) | 00 〉 + (b + d) | 01 〉 + (a + c) | 10 〉 + (b + d) | 11 〉)
So: p(+) =^12 〈ψ| ((a + c) | 00 〉 + (b + d) | 01 〉 + (a + c) | 10 〉 + (b + d) | 11 〉)
Note that: 〈ψ | 00 〉 = ¯a 〈ψ | 01 〉 = ¯b 〈ψ | 10 〉 = ¯c 〈ψ | 11 〉 = d¯
So: p(+) =^12 (¯a(a + c) + ¯b(b + d) + ¯c(a + c) + d¯(b + d))
p(+) =^12 (|a|^2 + |b|^2 + |c|^2 + |d|^2 + ¯ac + ¯bd + ¯ca + db¯) =^12 (1 + ¯ac + ¯bd + ¯ca + db¯)
The state after measurement is:
(|+〉 〈 √+| ⊗ I) |ψ〉 p(+)
p(+)
((a + c) | 00 〉 + (b + d) | 01 〉 + (a + c) | 10 〉 + (b + d) | 11 〉)
By grouping terms after the second qubit, we get:
√^1 p(+)
(((a + c) | 0 〉 + (a + c) | 1 〉) ⊗ | 0 〉 + ((b + d) | 0 〉 + (b + d) | 1 〉) ⊗ | 1 〉)
But | 0 〉 + | 1 〉 =
2 |+〉, which makes sense since we projected the first qubit to |+〉, so we have: √ √^2 p(+)
((a + c) |+〉 | 0 〉 + (b + d) |+〉 | 1 〉) =
p(+)
|+〉 ⊗ ((a + c) | 0 〉 + (b + d) | 1 〉)
We can see that the first qubit is |+〉, as expected, while the second is in a superposition state.