Merge branch 'joel_quantum' of https://github.com/joelkurien/Python into joel_quantum

This commit is contained in:
Joelkurien 2024-10-29 22:43:17 +11:00
commit 5305f5a3b4

View File

@ -32,7 +32,7 @@ class Shor:
start += 1
return start
def shor_algorithm(self, number:int) -> tuple[int, int]:
def shor_algorithm(self, number: int) -> tuple[int, int]:
"""
Run Shor's algorithm to factor a number.
>>> shor = Shor()