Implementation of E91 QKD Protocol - Quantum #14223
Annotations
9 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (N806):
quantum/e91_qkd.py#L162
quantum/e91_qkd.py:162:5: N806 Variable `E` in function should be lowercase
|
|
Ruff (E501):
quantum/e91_qkd.py#L140
quantum/e91_qkd.py:140:89: E501 Line too long (98 > 88)
|
|
Ruff (RUF015):
quantum/e91_qkd.py#L120
quantum/e91_qkd.py:120:18: RUF015 Prefer `next(iter(job.result().get_counts().keys()))` over single element slice
|
|
Ruff (N806):
quantum/e91_qkd.py#L86
quantum/e91_qkd.py:86:5: N806 Variable `BOB_BASES` in function should be lowercase
|
|
Ruff (N806):
quantum/e91_qkd.py#L85
quantum/e91_qkd.py:85:5: N806 Variable `ALICE_BASES` in function should be lowercase
|
|
Ruff (F401):
quantum/e91_qkd.py#L33
quantum/e91_qkd.py:33:8: F401 `qiskit` imported but unused
|
|
Ruff (F401):
quantum/e91_qkd.py#L30
quantum/e91_qkd.py:30:8: F401 `math` imported but unused
|
|
Ruff (I001):
quantum/e91_qkd.py#L30
quantum/e91_qkd.py:30:1: I001 Import block is un-sorted or un-formatted
|