Skip to main content

A fast stabilizer simulator using a graph state representation.

Project description

GraphStateSim

This is a modified repository of Simon Anders' library GraphSim, using pybind11. GraphSim is able to simulate an important class of stabilizer circuits via a graph state representation with local clifford operators.

If you find this codebase useful, please cite the original paper here.

Installation

PyPI

Install with pip:

pip install graphstatesim

Then in python, import graphsim.

Building locally

To install, run

uv build

then navigate to the dist/ folder and pip install the wheel.

uv pip install dist/*.whl

Documentation

Documentation regarding the python bindings can be found at:

https://graphsim.readthedocs.io/en/latest/

License

This code is not actively supported or maintained, but pull requests for minor bug fixes will be accepted.

This is GraphSim, a library to simulate stabilizer quantum circuits.

  • Author: Simon Anders, sanders@fs.tum.de, University of Innsbruck
  • Version: v.10 (initial release)
  • Date: 1 Feb 2005 (last change), 18 Apr 2005 (release prep)
  • (c) 2005, released under GPL

For information about this package, please read

  • the paper describing the algorithm: S. Anders, H. J. Briegel: Fast Simulation of Stabilizer Circuits using a Graph State Formalism quant-ph/0504117
  • the documentation of the C++ library in doc/html/index.html
  • the documentation of the Python bindings in doc/graphsim_py.html
  • the file COPYING for the text of the GPL

If you use this paper for scientific work, please cite the paper referenced above in your publication.

In case of problems, please submit an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

graphstatesim-0.2.7-cp312-cp312-win_amd64.whl (133.3 kB view details)

Uploaded CPython 3.12Windows x86-64

graphstatesim-0.2.7-cp312-cp312-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

graphstatesim-0.2.7-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (152.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

graphstatesim-0.2.7-cp312-cp312-macosx_11_0_arm64.whl (117.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file graphstatesim-0.2.7-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2f09ab03a7d1d06b67f144df3897feb1de9a0ebe00dd0ab94f78c8b405c96543
MD5 14ec40c80418a3fe60cd5718a2f4ec20
BLAKE2b-256 72e5e339711654cfb93d8116c515d2d09afa2108cb3dc7a952353d80c45c1ed8

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.7-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.7-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 390e34e710b0da5cfdc25292a860381de1dc8f248b10842ea3c08c4e2c49776b
MD5 db2fd5ab26fa135f81d859ab5fea6617
BLAKE2b-256 c63cdb7cf3fe331811a5acfd30acf94687f46debf781b39ffeca61bf2989c6b9

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.7-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.7-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8bed0eb1593d55330aff33c244b48fd7bea8846facff312b17edf1c2b6e0388f
MD5 c52a8791247bfc13ba4dc9d653bee222
BLAKE2b-256 cd132bd743ec0537b2826d5721906b16e7d1ebb2103191571bbbcb50691146bb

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cabee05b22a974dd475135b55140b2ecfdfdd6db7017dc54f44d75f1bb282b8a
MD5 f5d6e64729e2c3704b8a7778de398a92
BLAKE2b-256 610111cbfdd80f4a575a237367e0705402ef968d7f00e3a16b8c4194003c9d95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page