Git Product home page Git Product logo

qkdp's Introduction

qcrypto: The Quantum Cryptography Simulation Library

Auto Testing pre-commit.ci status

All Contributors

qcrypto is a basic, yet flexible quantum cryptography simulation library. It is built upon NumPy, making use of its powerful vectorized operations to allow for the simulation of entangled systems of qubits. Thus, it is built in such a way that it can be easily expanded by the end-user. It offers the following main classes:

  • QstateEnt: Used for the simulation of a general set of qubits which may or may not be entangled.
  • QstateUnEnt: Similar to QstateEnt, but limited to only simulating unentangled systems of qubits. However, what it lacks in flexibility it makes up in performance: while QstateEnt handles $2^N$ coefficients, this class only needs to handle $2\times N$.
  • Agent: Used to simulate the agents (Alice, Bob, Eve, etc.) in quantum cryptography protocols, allowing for a more intuitive implementation of the desired simulation.

For more information how these features work, you can take a look at this notebook for a showcase of QstateEnt and QstateUnEnt, and this notebook for an example simulation of BB84 using this library.

Installation

To install qcrypto to your Python environment, run the following commands.

  git clone [email protected]:GuillermoFidalgo/QKDP.git
  cd QKDP
  pip install .

If you plan on using qcrypto in a Jupyter Notebook, for the last command, run this instead:

  pip install ".[nb]"

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Guillermo A. Fidalgo-Rodríguez
Guillermo A. Fidalgo-Rodríguez

🖋 💻 🚧
Roy F. Cruz Candelaria
Roy F. Cruz Candelaria

🔬 💻 🖋
tetianmaz
tetianmaz

🖋 💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

qkdp's People

Contributors

guillermofidalgo avatar allcontributors[bot] avatar roy-cruz avatar pre-commit-ci[bot] avatar manuelferran avatar tetianmaz avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

qkdp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.