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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graphstatesim-0.2.8-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: graphstatesim-0.2.8-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 136.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8119e46bf49b7ff0a6e520145585f7472c58f00c6126e929fa5a9e4e04cdd647
|
|
| MD5 |
ad1c1289900288d0fb197866685781a4
|
|
| BLAKE2b-256 |
624110d5b75710b91f31f9fb30cd5a94dc75a952b7a058d793cd49865246e645
|
File details
Details for the file graphstatesim-0.2.8-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graphstatesim-0.2.8-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2d0eb655da65b4f9e36cc2a8817fbbe8e7bf97493e866237dce9a04c092e253
|
|
| MD5 |
4595115947d54b01c7274d79daeb7ffd
|
|
| BLAKE2b-256 |
6a1039645552c20429be56577618171580993d8b5813a544402de201a58b30c3
|
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
- Download URL: graphstatesim-0.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 157.1 kB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db1901da51e9b6bfdd1362811230b0517e24d45431d8a8b403683634a287f2e3
|
|
| MD5 |
cde0723b15cbdf3ccb67fc05bcda4717
|
|
| BLAKE2b-256 |
b28c42508d72f8671a5749b4b8dbafc654b8ba45897b7bff1ebb5480a892796d
|
File details
Details for the file graphstatesim-0.2.8-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: graphstatesim-0.2.8-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 122.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbdf6dc6cb8b473b495ff7a6243d69bd2b97e8e74ac2b815b57fa08b60b6a755
|
|
| MD5 |
afb09bd6ce9d51d2b417b646d8c9dc53
|
|
| BLAKE2b-256 |
704d9c900fd2296afcce4b4c7b9d56e1e145051ffefc4f8f5e21c9742bb07129
|