Added classical implementation of Shor’s Algorithm #12431
Annotations
6 errors
Ruff (INP001):
algorithms/cryptography/shor_algorithm.py#L1
algorithms/cryptography/shor_algorithm.py:1:1: INP001 File `algorithms/cryptography/shor_algorithm.py` is part of an implicit namespace package. Add an `__init__.py`.
|
Ruff (F401):
algorithms/cryptography/shor_algorithm.py#L1
algorithms/cryptography/shor_algorithm.py:1:8: F401 `math` imported but unused
|
Ruff (N803):
algorithms/cryptography/shor_algorithm.py#L23
algorithms/cryptography/shor_algorithm.py:23:19: N803 Argument name `N` should be lowercase
|
Ruff (N803):
algorithms/cryptography/shor_algorithm.py#L33
algorithms/cryptography/shor_algorithm.py:33:20: N803 Argument name `N` should be lowercase
|
Ruff (RUF002):
algorithms/cryptography/shor_algorithm.py#L34
algorithms/cryptography/shor_algorithm.py:34:22: RUF002 Docstring contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
|
ruff
Process completed with exit code 1.
|