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.8-cp312-cp312-win_amd64.whl (136.1 kB view details)

Uploaded CPython 3.12Windows x86-64

graphstatesim-0.2.8-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.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (157.1 kB view details)

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

graphstatesim-0.2.8-cp312-cp312-macosx_11_0_arm64.whl (122.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8119e46bf49b7ff0a6e520145585f7472c58f00c6126e929fa5a9e4e04cdd647
MD5 ad1c1289900288d0fb197866685781a4
BLAKE2b-256 624110d5b75710b91f31f9fb30cd5a94dc75a952b7a058d793cd49865246e645

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.8-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2d0eb655da65b4f9e36cc2a8817fbbe8e7bf97493e866237dce9a04c092e253
MD5 4595115947d54b01c7274d79daeb7ffd
BLAKE2b-256 6a1039645552c20429be56577618171580993d8b5813a544402de201a58b30c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db1901da51e9b6bfdd1362811230b0517e24d45431d8a8b403683634a287f2e3
MD5 cde0723b15cbdf3ccb67fc05bcda4717
BLAKE2b-256 b28c42508d72f8671a5749b4b8dbafc654b8ba45897b7bff1ebb5480a892796d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbdf6dc6cb8b473b495ff7a6243d69bd2b97e8e74ac2b815b57fa08b60b6a755
MD5 afb09bd6ce9d51d2b417b646d8c9dc53
BLAKE2b-256 704d9c900fd2296afcce4b4c7b9d56e1e145051ffefc4f8f5e21c9742bb07129

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