Skip to content

Commit 94d07e9

Browse files
committed
finished article about teleportation
1 parent e5592ce commit 94d07e9

File tree

8 files changed

+88
-76
lines changed

8 files changed

+88
-76
lines changed

content/posts/physics/quantum_computing/teleportation/index.md

+29-31
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ hero: images/blog_teleportation.png
1212
tags: ["Science", "Statistics", "Quantum", "Physics"]
1313
categories: ["Physics"]
1414
---
15-
# Quantum Teleportation: Concept, Mathematics, and Implementation
15+
<!-- # Quantum Teleportation: Concept, Mathematics, and Implementation -->
1616

1717
## Introduction
1818

@@ -33,43 +33,43 @@ The goal is for Alice to transmit the state of her qubit to Bob using only class
3333
Let's walk through the mathematical formulation of quantum teleportation:
3434

3535
1. Initial state:
36-
Alice has a qubit in an unknown state |ψ⟩ = α|0⟩ + β|1⟩, where |α|² + |β|² = 1.
37-
Alice and Bob share an entangled pair in the Bell state |Φ⁺⟩ = (1/√2)(|00⟩ + |11⟩).
36+
Alice has a qubit in an unknown state $|ψ⟩ = α|0⟩ + β|1⟩$, where $|α|² + |β|² = 1$.
37+
Alice and Bob share an entangled pair in the Bell state $|Φ⁺⟩ = (1/√2)(|00⟩ + |11⟩)$.
3838

3939
2. The initial state of the entire system:
40-
|Ψ₀⟩ = |ψ⟩ ⊗ |Φ⁺⟩ = (1/√2)(α|0⟩ + β|1⟩) ⊗ (|00⟩ + |11⟩)
40+
$$|Ψ₀⟩ = |ψ⟩ ⊗ |Φ⁺⟩ = (1/√2)(α|0⟩ + β|1⟩) ⊗ (|00⟩ + |11⟩)$$
4141

4242
3. Expanding the state:
43-
|Ψ₀⟩ = (1/√2)[α|000⟩ + α|011⟩ + β|100⟩ + β|111⟩]
43+
$$|Ψ₀⟩ = (1/√2)[α|000⟩ + α|011⟩ + β|100⟩ + β|111⟩]$$
4444

4545
4. Alice applies a CNOT gate to her qubits:
46-
|Ψ₁⟩ = (1/√2)[α|000⟩ + α|011⟩ + β|110⟩ + β|101⟩]
46+
$$|Ψ₁⟩ = (1/√2)[α|000⟩ + α|011⟩ + β|110⟩ + β|101⟩]$$
4747

4848
5. Alice applies a Hadamard gate to her first qubit:
49-
|Ψ₂⟩ = (1/2)[α(|000⟩ + |100⟩) + α(|011⟩ + |111⟩) + β(|010⟩ - |110⟩) + β(|001⟩ - |101⟩)]
49+
$$|Ψ₂⟩ = (1/2)[α(|000⟩ + |100⟩) + α(|011⟩ + |111⟩) + β(|010⟩ - |110⟩) + β(|001⟩ - |101⟩)]$$
5050

5151
6. Rearranging terms:
52-
|Ψ₂⟩ = (1/2)[|00⟩(α|0⟩ + β|1⟩) + |01⟩(α|1⟩ + β|0⟩) + |10⟩(α|0⟩ - β|1⟩) + |11⟩(α|1⟩ - β|0⟩)]
52+
$$|Ψ₂⟩ = (1/2)[|00⟩(α|0⟩ + β|1⟩) + |01⟩(α|1⟩ + β|0⟩) + |10⟩(α|0⟩ - β|1⟩) + |11⟩(α|1⟩ - β|0⟩)]$$
5353

5454
7. Alice measures her qubits, collapsing the state. There are four possible outcomes:
55-
- 00: Bob's qubit is in state α|0⟩ + β|1⟩
56-
- 01: Bob's qubit is in state α|1⟩ + β|0⟩
57-
- 10: Bob's qubit is in state α|0⟩ - β|1⟩
58-
- 11: Bob's qubit is in state α|1⟩ - β|0⟩
55+
- 00: Bob's qubit is in state $α|0⟩ + β|1⟩$
56+
- 01: Bob's qubit is in state $α|1⟩ + β|0⟩$
57+
- 10: Bob's qubit is in state $α|0⟩ - β|1⟩$
58+
- 11: Bob's qubit is in state $α|1⟩ - β|0⟩$
5959

6060
8. Based on Alice's measurement, Bob applies the appropriate correction:
6161
- 00: I (identity, do nothing)
6262
- 01: X (bit flip)
6363
- 10: Z (phase flip)
6464
- 11: ZX (bit and phase flip)
6565

66-
After Bob's correction, his qubit is in the state α|0⟩ + β|1⟩, which is the original state of Alice's qubit.
66+
After Bob's correction, his qubit is in the state $α|0⟩ + β|1⟩$, which is the original state of Alice's qubit.
6767

6868
## The Protocol: Step-by-Step
6969

7070
1. Preparation:
71-
- Alice has a qubit in state |ψ⟩ = α|0⟩ + β|1⟩.
72-
- Alice and Bob share an entangled pair in the Bell state |Φ⁺⟩ = (1/√2)(|00⟩ + |11⟩).
71+
- Alice has a qubit in state $|ψ⟩ = α|0⟩ + β|1⟩$.
72+
- Alice and Bob share an entangled pair in the Bell state $|Φ⁺⟩ = (1/√2)(|00⟩ + |11⟩)$.
7373

7474
2. Alice's operations:
7575
- Alice applies a CNOT gate with her qubit as control and her half of the entangled pair as target.
@@ -85,7 +85,7 @@ After Bob's correction, his qubit is in the state α|0⟩ + β|1⟩, which is th
8585
- Based on the classical bits received, Bob applies the appropriate quantum gate(s) to his qubit.
8686

8787
6. Result:
88-
- Bob's qubit is now in the state α|0⟩ + β|1⟩, the original state of Alice's qubit.
88+
- Bob's qubit is now in the state $α|0⟩ + β|1⟩$, the original state of Alice's qubit.
8989

9090
## Implementation in Qiskit
9191

@@ -144,8 +144,7 @@ display(protocol.draw('mpl', scale=2))
144144

145145
![png](images/example_1_0.png)
146146

147-
148-
147+
<!--
149148
150149
```python
151150
# verification_circuit = QuantumCircuit(qubit, ClassicalRegister(1, 'c'))
@@ -156,7 +155,7 @@ display(protocol.draw('mpl', scale=2))
156155
# result = simulator.run(verification_circuit, shots=1000).result()
157156
# counts = result.get_counts()
158157
# print(counts)
159-
```
158+
``` -->
160159

161160

162161
This code creates a quantum circuit that implements the quantum teleportation protocol. Let's break down the steps:
@@ -205,14 +204,13 @@ display(random_gate.to_matrix(), xgate.to_matrix())
205204
```
206205

207206

208-
array([[-0.61747588+0.j , 0.28776308+0.7320628j ],
209-
[-0.78573506-0.03665989j, -0.19886638-0.58457559j]])
210-
211-
212-
213-
array([[0.+0.j, 1.+0.j],
214-
[1.+0.j, 0.+0.j]])
215-
207+
> array([[-0.61747588+0.j , 0.28776308+0.7320628j ],
208+
>
209+
> [-0.78573506-0.03665989j, -0.19886638-0.58457559j]])
210+
>
211+
> array([[0.+0.j, 1.+0.j],
212+
> [1.+0.j, 0.+0.j]])
213+
>
216214
217215

218216
```python
@@ -288,22 +286,22 @@ display(plot_histogram(filtered_statistics))
288286
Let's analyze what happens in each case:
289287

290288
1. *|0⟩ state*:
291-
- Initial state: |ψ⟩ = |0⟩ = 1|0⟩ + 0|1⟩
289+
- Initial state: $|ψ⟩ = \ket{0} = 1|0⟩ + 0|1⟩$
292290
- Expected final state: |0⟩
293291
- Expected measurement: 100% |0⟩
294292

295293
2. *|1⟩ state*:
296-
- Initial state: |ψ⟩ = |1⟩ = 0|0⟩ + 1|1⟩
294+
- Initial state: $|ψ⟩ = |1⟩ = 0|0⟩ + 1|1⟩$
297295
- Expected final state: |1⟩
298296
- Expected measurement: 100% |1⟩
299297

300298
3. *|+⟩ state*:
301-
- Initial state: |ψ⟩ = |+⟩ = (1/√2)(|0⟩ + |1⟩)
299+
- Initial state: $|ψ⟩ = |+⟩ = (1/√2)(|0⟩ + |1⟩)$
302300
- Expected final state: |+⟩
303301
- Expected measurement: 50% |0⟩, 50% |1⟩
304302

305303
4. *|−⟩ state*:
306-
- Initial state: |ψ⟩ = |−⟩ = (1/√2)(|0⟩ - |1⟩)
304+
- Initial state: $|ψ⟩ = |−⟩ = (1/√2)(|0⟩ - |1⟩)$
307305
- Expected final state: |−⟩
308306
- Expected measurement: 50% |0⟩, 50% |1⟩
309307

public/index.json

+1-1
Large diffs are not rendered by default.

public/index.xml

+12-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@
66
<description>Recent content on Stefano Giannini</description>
77
<generator>Hugo -- gohugo.io</generator>
88
<language>en</language>
9-
<lastBuildDate>Sun, 30 Jun 2024 08:00:00 +0100</lastBuildDate><atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" /><item>
9+
<lastBuildDate>Wed, 03 Jul 2024 08:00:00 +0100</lastBuildDate><atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" /><item>
10+
<title>Quantum Computing - Fundementals - Teleportation</title>
11+
<link>http://localhost:1313/posts/physics/quantum_computing/teleportation/</link>
12+
<pubDate>Wed, 03 Jul 2024 08:00:00 +0100</pubDate>
13+
14+
<guid>http://localhost:1313/posts/physics/quantum_computing/teleportation/</guid>
15+
<description>Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&amp;rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
16+
The Concept In quantum teleportation, we have three main parties:
17+
Alice: The sender who wants to transmit a quantum state. Bob: The receiver who will receive the quantum state.</description>
18+
</item>
19+
20+
<item>
1021
<title>Quantum Computing - Fundementals (Part 1)</title>
1122
<link>http://localhost:1313/posts/physics/quantum_computing/introduction/</link>
1223
<pubDate>Sun, 30 Jun 2024 08:00:00 +0100</pubDate>

public/posts/physics/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@
473473
<div class="card-body">
474474
<a href="/posts/physics/quantum_computing/teleportation/" class="post-card-link">
475475
<h5 class="card-title">Quantum Computing - Fundementals - Teleportation</h5>
476-
<p class="card-text post-summary">Quantum Teleportation: Concept, Mathematics, and Implementation Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
476+
<p class="card-text post-summary">Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
477477
The Concept In quantum teleportation, we have three main parties:
478478
Alice: The sender who wants to transmit a quantum state. Bob: The receiver who will receive the quantum state.</p>
479479
</a>
@@ -501,7 +501,7 @@ <h5 class="card-title">Quantum Computing - Fundementals - Teleportation</h5>
501501
<div class="card-footer">
502502
<span class="float-start">
503503
Wednesday, July 3, 2024
504-
| 8 minutes </span>
504+
| 7 minutes </span>
505505
<a
506506
href="/posts/physics/quantum_computing/teleportation/"
507507
class="float-end btn btn-outline-info btn-sm">Read</a>

public/posts/physics/index.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<pubDate>Wed, 03 Jul 2024 08:00:00 +0100</pubDate>
1313

1414
<guid>http://localhost:1313/posts/physics/quantum_computing/teleportation/</guid>
15-
<description>Quantum Teleportation: Concept, Mathematics, and Implementation Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&amp;rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
15+
<description>Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&amp;rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
1616
The Concept In quantum teleportation, we have three main parties:
1717
Alice: The sender who wants to transmit a quantum state. Bob: The receiver who will receive the quantum state.</description>
1818
</item>

public/posts/physics/quantum_computing/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@
476476
<div class="card-body">
477477
<a href="/posts/physics/quantum_computing/teleportation/" class="post-card-link">
478478
<h5 class="card-title">Quantum Computing - Fundementals - Teleportation</h5>
479-
<p class="card-text post-summary">Quantum Teleportation: Concept, Mathematics, and Implementation Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
479+
<p class="card-text post-summary">Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
480480
The Concept In quantum teleportation, we have three main parties:
481481
Alice: The sender who wants to transmit a quantum state. Bob: The receiver who will receive the quantum state.</p>
482482
</a>
@@ -504,7 +504,7 @@ <h5 class="card-title">Quantum Computing - Fundementals - Teleportation</h5>
504504
<div class="card-footer">
505505
<span class="float-start">
506506
Wednesday, July 3, 2024
507-
| 8 minutes </span>
507+
| 7 minutes </span>
508508
<a
509509
href="/posts/physics/quantum_computing/teleportation/"
510510
class="float-end btn btn-outline-info btn-sm">Read</a>

public/posts/physics/quantum_computing/index.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<pubDate>Wed, 03 Jul 2024 08:00:00 +0100</pubDate>
1313

1414
<guid>http://localhost:1313/posts/physics/quantum_computing/teleportation/</guid>
15-
<description>Quantum Teleportation: Concept, Mathematics, and Implementation Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&amp;rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
15+
<description>Introduction Quantum teleportation is a fundamental protocol in quantum information science that enables the transfer of quantum information from one location to another. Despite its name, it doesn&amp;rsquo;t involve the transportation of matter, but rather the transmission of the quantum state of a particle.
1616
The Concept In quantum teleportation, we have three main parties:
1717
Alice: The sender who wants to transmit a quantum state. Bob: The receiver who will receive the quantum state.</description>
1818
</item>

0 commit comments

Comments
 (0)