Metadata-Version: 2.1
Name: quantumlib
Version: 0.0.102
Summary: Quantum calculations
Home-page: https://github.com/alttch/quantumlib
Author: Altertech
Author-email: div@altertech.com
License: MIT
Description: # Quantum functions for Python
        
        Experimental library for quantum calculations.
        
        <img src="https://img.shields.io/pypi/v/quantumlib.svg" />
        <img src="https://img.shields.io/badge/license-MIT-green.svg" />
        <img src="https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7-blue.svg" />
        
        ## Examples
        
        ### Integer factorization
        
        ```python3
        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
        
        ```python3
        from hashlib import sha256
        from quantumlib import grover
        
        data = sha256('Piece of cake!'.encode())
        
        result = grover.find_collision(sha256, data)
        
        print(result.decode()) # outputs "Piece of cake!"
        ```
        
        ## Install
        
        ```
        pip3 install quantumlib
        ```
        
        ## Requirements
        
        * 8192-qubits QPU
        * sense of humor
        
        Enjoy! :)
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
