mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-08 23:05:54 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a616dc90ab
commit
656c6b512e
@ -10,6 +10,8 @@ In this implementation, I have used a very simple construct without
|
|||||||
the use of qiskit or cirq to help understand how Shor algorithm's
|
the use of qiskit or cirq to help understand how Shor algorithm's
|
||||||
idea actually works.
|
idea actually works.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class Shor:
|
class Shor:
|
||||||
def period_find(self, num: int, number: int) -> int:
|
def period_find(self, num: int, number: int) -> int:
|
||||||
"""
|
"""
|
||||||
@ -58,7 +60,3 @@ class Shor:
|
|||||||
|
|
||||||
shor = Shor()
|
shor = Shor()
|
||||||
print(shor.shor_algorithm(15))
|
print(shor.shor_algorithm(15))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user