├── .coveragerc ├── .flake8 ├── .gitignore ├── .pre-commit-config.yaml ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── assets ├── graph_qec_logo.png └── plots │ ├── rotated_surface_code_distance_5.png │ └── threshold_repetition_code.png ├── examples └── rot_vs_unrot_surface_code.py ├── graphqec ├── __init__.py ├── codes │ ├── __init__.py │ ├── base_code.py │ ├── bivariate_bicycle_code.py │ ├── css_code.py │ ├── repetition_code.py │ ├── rotated_surface_code.py │ └── unrotated_surface_code.py ├── lab │ ├── __init__.py │ ├── graph_builder │ │ ├── __init__.py │ │ ├── graph_lab.py │ │ └── utils.py │ └── threshold │ │ ├── __init__.py │ │ └── threshold_lab.py ├── math.py ├── measurement.py └── stab.py ├── notebooks ├── bivariate_bicycle_code.ipynb ├── logic_ops.ipynb ├── repetition_code.ipynb ├── rotated_surface_code.ipynb ├── steane.ipynb ├── toric_code.ipynb └── unrotated_surface_code.ipynb ├── pyproject.toml └── tests ├── codes ├── test_bivariate_bicycle_code.py ├── test_repetition_code.py └── test_rotated_surface_code.py ├── lab └── threshold │ └── test_threshold_lab.py ├── test_measurement.py └── test_stab.py /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/.coveragerc -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/.flake8 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/README.md -------------------------------------------------------------------------------- /assets/graph_qec_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/assets/graph_qec_logo.png -------------------------------------------------------------------------------- /assets/plots/rotated_surface_code_distance_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/assets/plots/rotated_surface_code_distance_5.png -------------------------------------------------------------------------------- /assets/plots/threshold_repetition_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/assets/plots/threshold_repetition_code.png -------------------------------------------------------------------------------- /examples/rot_vs_unrot_surface_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/examples/rot_vs_unrot_surface_code.py -------------------------------------------------------------------------------- /graphqec/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/__init__.py -------------------------------------------------------------------------------- /graphqec/codes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/codes/__init__.py -------------------------------------------------------------------------------- /graphqec/codes/base_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/codes/base_code.py -------------------------------------------------------------------------------- /graphqec/codes/bivariate_bicycle_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/codes/bivariate_bicycle_code.py -------------------------------------------------------------------------------- /graphqec/codes/css_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/codes/css_code.py -------------------------------------------------------------------------------- /graphqec/codes/repetition_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/codes/repetition_code.py -------------------------------------------------------------------------------- /graphqec/codes/rotated_surface_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/codes/rotated_surface_code.py -------------------------------------------------------------------------------- /graphqec/codes/unrotated_surface_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/codes/unrotated_surface_code.py -------------------------------------------------------------------------------- /graphqec/lab/__init__.py: -------------------------------------------------------------------------------- 1 | from .threshold import * # noqa 2 | -------------------------------------------------------------------------------- /graphqec/lab/graph_builder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/lab/graph_builder/__init__.py -------------------------------------------------------------------------------- /graphqec/lab/graph_builder/graph_lab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/lab/graph_builder/graph_lab.py -------------------------------------------------------------------------------- /graphqec/lab/graph_builder/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/lab/graph_builder/utils.py -------------------------------------------------------------------------------- /graphqec/lab/threshold/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/lab/threshold/__init__.py -------------------------------------------------------------------------------- /graphqec/lab/threshold/threshold_lab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/lab/threshold/threshold_lab.py -------------------------------------------------------------------------------- /graphqec/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/math.py -------------------------------------------------------------------------------- /graphqec/measurement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/measurement.py -------------------------------------------------------------------------------- /graphqec/stab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/graphqec/stab.py -------------------------------------------------------------------------------- /notebooks/bivariate_bicycle_code.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/notebooks/bivariate_bicycle_code.ipynb -------------------------------------------------------------------------------- /notebooks/logic_ops.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/notebooks/logic_ops.ipynb -------------------------------------------------------------------------------- /notebooks/repetition_code.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/notebooks/repetition_code.ipynb -------------------------------------------------------------------------------- /notebooks/rotated_surface_code.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/notebooks/rotated_surface_code.ipynb -------------------------------------------------------------------------------- /notebooks/steane.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/notebooks/steane.ipynb -------------------------------------------------------------------------------- /notebooks/toric_code.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/notebooks/toric_code.ipynb -------------------------------------------------------------------------------- /notebooks/unrotated_surface_code.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/notebooks/unrotated_surface_code.ipynb -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/codes/test_bivariate_bicycle_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/tests/codes/test_bivariate_bicycle_code.py -------------------------------------------------------------------------------- /tests/codes/test_repetition_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/tests/codes/test_repetition_code.py -------------------------------------------------------------------------------- /tests/codes/test_rotated_surface_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/tests/codes/test_rotated_surface_code.py -------------------------------------------------------------------------------- /tests/lab/threshold/test_threshold_lab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/tests/lab/threshold/test_threshold_lab.py -------------------------------------------------------------------------------- /tests/test_measurement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/tests/test_measurement.py -------------------------------------------------------------------------------- /tests/test_stab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adelshb/graphqec/HEAD/tests/test_stab.py --------------------------------------------------------------------------------