Code lists

A list of code implementations available for protocols in the Quantum Protocol Zoo. These is user-submitted code, that links to code repositories such as GitHub and GitLab, or other online code sources. To add your own code, edit the page of the relevant protocol and add a link and description to the Related codes section.

PROTOCOL CODE DESCRIPTION
GHZ-based Quantum Anonymous Transmission Implementation of GHZ-based Quantum Anonymous Transmission using Netsquid. External link
Prepare-and-Measure Weak String Erasure Implementation of the Weak String Erasure protocol External link
Quantum Bit Commitment Code for Quantum Bit Commitment Protocol with 6 players. External link
Quantum Leader Election SimulaQron code for quantum leader election External link
Python code for quantum leader election External link
Quantum Strong Coin Flipping Based on "Unconditionally Secure Quantum Coin Tossing". External link
A SimulaQron implementation of the quantum coin flipping protocol. External link
Quantum Teleportation (State Teleportation) In this example, aimed the sending a message with using quantum state teleportation. Code has 5 function and almost all function includes all of basics command in cqc like: generating fresh qubit, applying quantum gates, measuring. In the code you can find detailed knowledge. The code is not divided as 2 parts for Alice and Bob. External link
EPR_Teleportation: In this example, we aimed to use EPR pair with teleportation instead of using fresh qubit While we are using fresh qubit(we are sending or receiving), we could not that which qubit comes from who Because of this reason we wanted to use EPR pairs and teleportation. It can be difficult to create an EPR pairs and teleporting for all codes in every time. So we designed a fuction for this. And when you need to use, EPR pairs, you can use the function directly External link
Uncloneable Encryption An implementation of the basic steps required in the uncloneable encryption protocol. It performs the classical part of the algorithm. External link