Demo implementing the bb84 protocol for symmetric encryption
Alice --------------> Bob
16 qubit Circuit w/o Eve:
0: ────X───H───M───────
1: ────H───M───────────
2: ────H───M───────────
3: ────X───H───M───────
4: ────H───H───M───────
5: ────H───M───────────
6: ────M───────────────
7: ────X───H───M───────
8: ────H───H───M───────
9: ────M───────────────
10: ───H───H───M───────
11: ───M───────────────
12: ───H───H───M───────
13: ───X───H───H───M───
14: ───H───M───────────
15: ───M───────────────
Alice ------ \Eve\ -------> Bob
16 qubit Circuit w/ Eve:
0: ────X───M───────────────X───M───────────
1: ────X───H───M───────────H───M───────────
2: ────X───H───H───M───────X───H───M───────
3: ────H───M───────────────X───H───M───────
4: ────X───H───H───M───────X───H───H───M───
5: ────M───────────────────M───────────────
6: ────H───H───M───────────H───H───M───────
7: ────H───H───M───────────H───M───────────
8: ────X───H───M───────────H───M───────────
9: ────H───H───M───────────H───M───────────
10: ───H───M──────────────X───M───────────
11: ───X───M──────────────X───H───M───────
12: ───X───M──────────────X───M───────────
13: ───H───M──────────────X───H───M───────
14: ───H───M──────────────X───H───H───M───
15: ───X───H───M──────────X───M───────────