Skip to content

Latest commit

 

History

History
45 lines (21 loc) · 859 Bytes

README.md

File metadata and controls

45 lines (21 loc) · 859 Bytes

stoq-qtos

Library to easily implement of quantum communication/BB84: stoq&qtos

Screenshot of stoq & qtos

Setup

make

How to encode

./stoq $(STRING) $(GATES)

example: ./stoq "Hello world" "HXYZ"

How to decode

./qtos $(GATES)

example: ./qtos "HXYZ"

This command takes packet from stdin. you can do like this: ./stoq "Hello world" "H" | ./qtos "H"

Gates you can use

  • Hadamard gate
  • Pauli-X gate
  • Pauli-Y gate
  • Pauli-Z gate

Packet structure

QBIT a:(0.0,0.0) b:(0.0,0.0) END

Screenshot 2025-01-23 at 17 34 20

You have better idea? make an issue now!