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 do 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.2-cp313-cp313-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

graphstatesim-0.2.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (145.1 kB view details)

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

graphstatesim-0.2.2-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.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (145.0 kB view details)

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

File details

Details for the file graphstatesim-0.2.2-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: graphstatesim-0.2.2-cp313-cp313-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for graphstatesim-0.2.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e9c2f50c90c471c402c5aaca28a35a7b508a78521102420924639304bc0529f4
MD5 fb415d96f340310cb44fe32487bec473
BLAKE2b-256 17e1ddf6ccaf122485eced74373375a2183f7b86df2e8190944135946ecc9fe8

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: graphstatesim-0.2.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 145.1 kB
  • Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for graphstatesim-0.2.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2fe8968b357a18e6edfcb5988b4ef5daa2a2c66605142190f6aca3a67371e25a
MD5 bf430f7d33db95768c9d79abd744bc82
BLAKE2b-256 8d3b6a1227a4b0e16cfa5c31979a173bf6d24ee6cfbacc2689b0c47b6104f892

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphstatesim-0.2.2-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: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for graphstatesim-0.2.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 77a4f0abfe8bdc9304a12442057343ccc643380d5766059fb61ced986c96cfc7
MD5 f6e92b670dfb74fc8201b35af5f7e16a
BLAKE2b-256 1fdea0c699e857a8b84ae2b2af35c7ee6a76f74082d6707ea2bc8dbe3d24ac61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphstatesim-0.2.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 145.0 kB
  • Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for graphstatesim-0.2.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 80b06b78a63c7f03d0b99ebb655656a1534399441ceb2ef95e67b22758a6de38
MD5 5dac40abcf3cc4f6668c8c5040357431
BLAKE2b-256 d990b8ff0d61a52811db219439d01413a3c66af7745040034822f4e7e405baca

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