Thanks to visit codestin.com
Credit goes to github.com

Skip to content

KuantumBS/stac

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stac

Stac allows you to generate and simulate quantum stabilizer codes. If you give it a generator matrix, it will generate a code. You can then,

  • check if the code is valid
  • convert to the standard form of the generator matrix
  • generate an encoding circuit
  • generate a decoding circuit
  • generate syndrome measurment circuit

All circuits are built using the provided Circuit class. Circuits have a number of useful functions. You can

  • draw the circuits.
  • annotate the circuit with errors. This is useful for reasoning about how errors effect the circuits of quantum codes.
  • simulate circuits using either Qiskit or Stim.
  • The above can be harnessed to study the effects of errors on circuits.
  • circuits can be exported to qasm, stim or quirk style circuits.

Stac is currently under active development and subject to rapid change.

Getting started

Please refer to my recent blog posts which illustrate its usage.

About

A python library to play with stabilizer codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%