Skip to content

Commit a9467bc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9972481 commit a9467bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

quantum/e91_qkd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def e91_protocol(n_bits: int = 2000) -> dict:
127127
# Sift for generating the secret key.
128128
# The key is formed when Alice and Bob choose compatible bases.
129129
# Here, compatible means A2/B1 or A3/B2, where angles are identical.
130-
alice_key, bob_key = [], []
130+
alice_key, bob_key = [], []
131131
for i in range(n_bits):
132132
is_a2b1 = alice_chosen_bases[i] == "A2" and bob_chosen_bases[i] == "B1"
133133
is_a3b2 = alice_chosen_bases[i] == "A3" and bob_chosen_bases[i] == "B2"

0 commit comments

Comments
 (0)