Skip to content

alexandrupaler/opensurgery

Repository files navigation

OpenSurgery - lattice surgery compiler arXiv

A presentation about OpenSurgery

To use OpenSurgery and to see something like click here

screenshot

  • Make a virtualenv in the root: virtualenv .venv
  • source venv/bin/activate
  • pip install cirq openfermion openfermioncirq
  • (maybe even) export PYTHONPATH=.
  • mkdir -p pickles/su2 and call python manage/generate_su2.py to generate necessary files for SKC in the folder pickles
  • python main.py

For the moment, OpenSurgery uses a Python3 version of the SK compiler from https://github.com/cryptogoth/skc-python .

To cite, please use

@article{paler2019opensurgery,
  title={OpenSurgery for Topological Assemblies},
  author={Paler, Alexandru and Fowler, Austin G},
  journal={arXiv preprint arXiv:1906.07994},
  year={2019}
}