Added classical implementation of Shor’s Algorithm #12430
Annotations
7 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 (I001):
algorithms/cryptography/shor_algorithm.py#L1
algorithms/cryptography/shor_algorithm.py:1:1: I001 Import block is un-sorted or un-formatted
|
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#L20
algorithms/cryptography/shor_algorithm.py:20:19: N803 Argument name `N` should be lowercase
|
Ruff (N803):
algorithms/cryptography/shor_algorithm.py#L29
algorithms/cryptography/shor_algorithm.py:29:20: N803 Argument name `N` should be lowercase
|
Ruff (RUF002):
algorithms/cryptography/shor_algorithm.py#L30
algorithms/cryptography/shor_algorithm.py:30:22: RUF002 Docstring contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
|
ruff
Process completed with exit code 1.
|