Skip to main content

A fast stabilizer simulator using a graph state representation.

Project description

GraphSim

This is a modified repository of Simon Anders' library to simulate an important class of quantum circuits which supports pybind11.

Installation

PyPI

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

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: https://github.com/marcusps/GraphSim/issues

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

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

graphstatesim-0.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (168.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

graphstatesim-0.2.5-cp312-cp312-macosx_11_0_arm64.whl (115.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d35d13b82c7e48ac25d6435f61a851cef88c4c58155877e9211ee7f7bb63e558
MD5 659ef724528fe221d6f13ecaf9a2a40b
BLAKE2b-256 65508fc70ac4ab32b7b8edc84abbf1f9d408b92d4931765ec6926feadd47bec9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 192a61a83e65a5301f8ba092b935ba19b3d2cc1b524a93e73c7878ee59f22577
MD5 b67f95d415aef0910a2889507dd49026
BLAKE2b-256 08bc784fae551e4996b03d81e00988af6fb7bd27219720f33b01977dd45ff5db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.5-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 795180f485ae8114fc153839991863551693e99762594e6b5bec88df8b08ea6f
MD5 80f52eab3e5e87bbceeec354f0574246
BLAKE2b-256 116de4b8b02d87a61f454212053edebf957eed1e808d70deff895f5ea7a49440

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 29c448b4d214a65929618e4824f4be34aeb341e7005f899662afc2bad79089fa
MD5 d48b29042c1ef7e2ceb61de1b06941a2
BLAKE2b-256 50d254702752edd92adfc2471c26af9b00c6df2202f2d36b3ea9e4dc5f538de6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for graphstatesim-0.2.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b6b7976a16c567b409d0db21f3b9ff63625581a7ffee6a989293d83c1569e39a
MD5 1619bc782c3c41d597e1875031a09145
BLAKE2b-256 0bf79ce00ca1d4c370e84b6ad367813f0b04abddce076f746a5275b43ecdbe7b

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