We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9972481 commit a9467bcCopy full SHA for a9467bc
1 file changed
quantum/e91_qkd.py
@@ -127,7 +127,7 @@ def e91_protocol(n_bits: int = 2000) -> dict:
127
# Sift for generating the secret key.
128
# The key is formed when Alice and Bob choose compatible bases.
129
# Here, compatible means A2/B1 or A3/B2, where angles are identical.
130
- alice_key, bob_key = [], []
+ alice_key, bob_key = [], []
131
for i in range(n_bits):
132
is_a2b1 = alice_chosen_bases[i] == "A2" and bob_chosen_bases[i] == "B1"
133
is_a3b2 = alice_chosen_bases[i] == "A3" and bob_chosen_bases[i] == "B2"
0 commit comments