Quantum calculations
Project description
Quantum functions for Python
Experimental library for quantum calculations.
Examples
Integer factorization
from quantumlib import shor
shor.factorize(123) # returns prime factors of given integer
Find collisions for a custom function
Easily breaks AES256, RSA2048, SHA256 or whatever
from hashlib import sha256
from quantumlib import grover
data = sha256('Piece of cake!'.encode())
result = grover.find_collision(sha256, data)
print(result) # outputs "Piece of cake!"
Install
pip3 install quantumlib
Requirements
- 8192-qubits Quantum FPU
- sense of humor
Enjoy! :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quantumlib-0.0.100.tar.gz
(1.8 kB
view details)
File details
Details for the file quantumlib-0.0.100.tar.gz
.
File metadata
- Download URL: quantumlib-0.0.100.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a4fd87c8092fa19b9c060a53f4c66bbd41ebe591eb9984364baac14b1853fa |
|
MD5 | e43055506b01341e173ecfa942a194a3 |
|
BLAKE2b-256 | ee512a9a66b39c1889f62024830b16eb022f091b768872202daaa5ac2c1fddda |