Skip to main content

ShorAlgoForAllNumbers

contains solution of uncrackable shor's algorithm using data structures and parallel processing

import shor_package
from shor_package import runShorAlgo
NEWLINE_CHAR = "\n"
for string in ["4","6","10","19","9992","999999992","1234","1234567898"]:
    # print(string)
    out = runShorAlgo.parallel_for_loop_factor(int(string))
    print(f"Factors of {string} using for loop: {out}")
    print(NEWLINE_CHAR)

for string in ["2"*10,"2"*20,"2"*50,"2"*100,"2"*200]:
    print(len(string))
    fast_out = runShorAlgo.parallel_for_loop_factor(int(string))
    print(f"Factors of {string} using parallel for loop: {fast_out}")
    print(NEWLINE_CHAR)
length = 100
string = ""
for i in range(1, length+1):
    string += str(random.randint(1,9))
n=len(string)
if int(string[n-1])%2==1:
    string = string[:-1] + "2"
print(string)
print(len(string))
fast_out = runShorAlgo.parallel_for_loop_factor(int(string))
print(f"Factors of {string} using parallel for loop: {fast_out}")

for length in [10, 11, 12, 13, 14, 15, 16]:
    string = ""
    for i in range(1, length+1):
        string += str(9)
    n=len(string)
    if int(string[n-1])%2==1:
        string = string[:-1] + "2"
    print(string)
    print(len(string))
    fast_out = runShorAlgo.parallel_for_loop_factor(int(string))
    print(f"Factors of {string} using parallel for loop: {fast_out}")

    print("\n\n")

for length in [20]:
    string = ""
    for i in range(1, length+1):
        string += str(9)
    n=len(string)
    if int(string[n-1])%2==1:
        string = string[:-1] + "2"
    print(string)
    print(len(string))
    fast_out = runShorAlgo.parallel_for_loop_factor(int(string))
    print(f"Factors of {string} using parallel for loop: {fast_out}")

    print("\n\n")

string = "11"
print(string)
out = runShorAlgo.parallel_for_loop_factor(int(string))
print(f"Factors of {string} using for loop: {out}")

length = 100
string = ""
for i in range(1, length+1):
    string += str(random.randint(1,9))
n=len(string)
if int(string[n-1])%2==1:
    string = string[:-1] + "1"
print(string)
print(len(string))
fast_out = runShorAlgo.parallel_for_loop_factor(int(string))
print(f"Factors of {string} using parallel for loop: {fast_out}")

Metadata

Release files for my-shor-package 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for my-shor-package 4.0.0
File Size Uploaded Provenance Actions
my_shor_package-4.0.0.tar.gz 3.6 kB Without provenance Details for my_shor_package-4.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for my-shor-package 4.0.0
File Interpreter ABI Platform Actions
my_shor_package-4.0.0-py3-none-any.whl Python 3 none any Details for my_shor_package-4.0.0-py3-none-any.whl

Total release size: 9.0 kB

Release files / my_shor_package-4.0.0.tar.gz

Download URL my_shor_package-4.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1fef3141b5088023c7ac161c0e18b2d2a047742083d0b05f955d8331c4423df2
BLAKE2b-256 checksum
How to use checksums
93bc1f3be7587b877b1ee57ca05aebd13a002b72222024175ec786d45788291d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Release files / my_shor_package-4.0.0-py3-none-any.whl

Download URL my_shor_package-4.0.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c009845b89d7f2a3c9c64214e5f807011c9dc9a9a35c20d7a8faf31acdd3093
BLAKE2b-256 checksum
How to use checksums
57ce13c259b8d848a4a658f692686ee66cb47b8a967393b44fbedfa91fb4567b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Security for my-shor-package 4.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page