Skip to content

Hurumy/stoq-qtos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!