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.4b1-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.4b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (148.2 kB view details)

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

graphstatesim-0.2.4b1-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.4b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (148.1 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.4b1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: graphstatesim-0.2.4b1-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":"Debian GNU/Linux","version":"13","id":"trixie","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.4b1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bba73f04e2106fd75dc6cfb8a6992227f95e3e7858f85ba86066cdba351a26e6
MD5 6d5c9fbdcf24d2d3ea388ef8ec36e2cf
BLAKE2b-256 b4336697daff823ca6f02f3b6f515c8476deadc47219e5450cba53b558f171b3

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.4b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: graphstatesim-0.2.4b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 148.2 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":"Debian GNU/Linux","version":"13","id":"trixie","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.4b1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ccede977bbe84ee8d3dafd7eef0ec00142845f5dbba1e10ddfdca06d6df57088
MD5 fcdb34f048741e264fc69cdd76c3a9b6
BLAKE2b-256 4a18c3cbca4fac648227bc0f93de283cd35078b7aa47c53abf55fe1e7dd32d1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphstatesim-0.2.4b1-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":"Debian GNU/Linux","version":"13","id":"trixie","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.4b1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9d47e308fb069b3ddb11cffffb2e21eab60824177aeae092842cb5bc5ed92150
MD5 ade36510a96b4135b3e66c4dd6e0ab40
BLAKE2b-256 65b34e7e563b8b3055808ad7560911662946021c3f5cf7c09b1c6c2c18e096eb

See more details on using hashes here.

File details

Details for the file graphstatesim-0.2.4b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: graphstatesim-0.2.4b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 148.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: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","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.4b1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c177220a25f49936ad02d45dd329bc21e48814a3b238c4a5c2c1270c8837113a
MD5 5ae951664fee5f862e96396c307b88db
BLAKE2b-256 6a071046acdf721d78a90a40b28ca147754c8ede76bb4b733da38db1d6828eba

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