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

Uploaded CPython 3.12Windows x86-64

graphstatesim-0.2.6-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.6-cp312-cp312-musllinux_1_2_i686.whl (1.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 95b5a306a8d8d46b8960f1e652974f3c8e24e85b702b2de5e759d9746f8b7b31
MD5 460ba8375040fa1afb449109f99040b8
BLAKE2b-256 0ce2f35694654cb750d9a6607ca5c163f23f4dadaf88ab99ef4114f5a5cf7e55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7fa4088d8ef0e6d928764f00f04e17b3f1f8a41ecbe2c018287c87fcf6270676
MD5 5746719999d0ae2df57fc374286d2148
BLAKE2b-256 15ec01a4bc593beba46ad9e3ef628763920e22abcc3ba6ecf5a4315f617a6902

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.6-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2999817f5a4ed1d947a97e850d568267d1ce5d22abfd919b31eed29651f6d112
MD5 1fc5a8f5d6732dba1f8ed1a294ab5362
BLAKE2b-256 bd9b707f26991032c3d5d8ba8a7c999a2fa6eb6d1016042f328c266a63bbdf56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4ad79feda7f24644970bc64ed8a99575f46619ed4990965cbd26f8af8b6a6c53
MD5 ce96acc5eac7c55af4dd3701714264a2
BLAKE2b-256 78a19c232e8ee518968538dc5ce16bb278cc40de71739ff8e031b5d7afb3e5e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dd244972e1b631da09e1665d55fd73645ac5e1f3ef9fd993980dc9177805a896
MD5 e406636a546c22ad31bf1cb671f779c7
BLAKE2b-256 7ede4f6d3d85811ebb74e2248b9c2aa63a888754793d4ea3bc1abc231c995d4a

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