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.6b1-cp312-cp312-win_amd64.whl (131.8 kB view details)

Uploaded CPython 3.12Windows x86-64

graphstatesim-0.2.6b1-cp312-cp312-musllinux_1_2_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

graphstatesim-0.2.6b1-cp312-cp312-musllinux_1_2_i686.whl (1.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

graphstatesim-0.2.6b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (171.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

graphstatesim-0.2.6b1-cp312-cp312-macosx_11_0_arm64.whl (117.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file graphstatesim-0.2.6b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.6b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 708afe7a42cb505b4182a6f7388e5c87d297462fbbbecda9d956d6a76c4c6ec1
MD5 dabaa7328c1ab151de9d11bb68c9eb48
BLAKE2b-256 81cb80650956c8b5a9a37f9667a7cdbeaf209e26970fa1e0d1e596ca94260481

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.6b1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.6b1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f63934c7f0b483eaee8007ac4f816282468310b892f027a2dfdc991a146603d1
MD5 f1d99dcc4949157fb1aa2de27bb7813b
BLAKE2b-256 9d81698d1773c185dd339d8be11279c77e2a7f8196a1dd5c6f189bc001c64f17

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.6b1-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.6b1-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 56677322a3667c881903ff75da63bd1c680358e585dc8dae6e8d5a6c226d071a
MD5 7f2fc602cdeed3b2b5553124565d5e3b
BLAKE2b-256 e2ae25f6f1fa835178cead1851f869467b5bc18d1dd4cd1627ca5d25c713ea44

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.6b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.6b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c896ee9f05bb2108e92221a1bfcf2b756a50c943c4b7529305f6e03a2834ba99
MD5 880436427dc0c58907f8425b8bca5b94
BLAKE2b-256 a018c6d77a5a36bd19232863a6c6a089be4ce7c8bd4a59d41973380dc86c89eb

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.6b1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for graphstatesim-0.2.6b1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 059fb40b02e8afef17d5c09a6fd32aafc70e1a7dca03dc9202849789a5c9c741
MD5 f38cb757c1f7839337b8d5ea11fbfd67
BLAKE2b-256 2867c792574a14bbd31a9d3f452880109087e160dcc770baaca85dbe8114f7c0

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