Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 653 Bytes

readme.md

File metadata and controls

36 lines (30 loc) · 653 Bytes

TQEC circuit generator

This program is a generator for TQEC (Topologically Quantum Error-collected) circuit.

Requirements

  • g++ 6.3 or later
  • CMake 3.2 or later
  • Python 3.4 or later
  • sympy
  • numpy
  • docopt

How to build

$ cd build
$ cmake ..
$ make

How to use

# generate TQEC circuit modules from a icpm template circuit
# the default circuit is 'cv'
$ ./main.py [-t | --type <type>] [-e | --error <error>] [-s | --size <size>]

# convert a json file format
$ ./main.py convert <format> <file>

# show help
$ ./main.py -h | --help