Skip to main content

Qubit scheduling in Measurement-Based Quantum Computing (MBQC).

Project description

Python wrapper around mbqc_scheduling crate

This package provides an interface to the the mbqc_scheduling crate. It is usually used together with the Pauli tracker package.

Documentation

To the docs

Since this here is mainly a wrapper, we did not document everything extensively, but rather refer to the documentation of the underlying Rust crates, for now.

Examples

See examples/simple.py for a very basic example. examples/compile_flow.py is a specific example describing how the Pauli tracking and the scheduling can be used when combining/stitching graphs that, for example, represent parts of a larger circuit (it's a specific example for the project for which this library was initially developed).

Installation

You can install the package from PyPI, e.g., with

pip install mbqc-scheduling

The package contains pre-built wheels for manylinux_2_28_x86_64 (works on most Linux distribuitions), latest Windows and latest MacOS (latest with respect to when the package was built) for Python 3.8 to 3.12. Additionally, there is an manylinux_2_28_x86_64 abi3 wheel for Python >= 3.8. You can also build the package from source, e.g., force it during a pip install with pip install --no-binary mbqc-scheduling mbqc-scheduling, however, note that this requires Python >= 3.8 and a Rust toolchain >= 1.65.

At the moment, you may also find a more up-to-date wheel in the artifacts of the latest "pypackage" github actions workflow; this is unstable though.

Manually Building

The package has to be build with maturin. The make package commands builds it through a docker container such that it is compatible with manylinux_2_28_x86_64 for Python >= 3.8. With make update_docs the documentation can be build. The output of both make commands is in the dist directory.

Versioning

The Python package follows SemVer, however, the underlying Rust crate is unstable.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mbqc_scheduling-0.1.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distributions

mbqc_scheduling-0.1.0-cp312-none-win_amd64.whl (511.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

mbqc_scheduling-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

mbqc_scheduling-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl (659.7 kB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

mbqc_scheduling-0.1.0-cp311-none-win_amd64.whl (510.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

mbqc_scheduling-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

mbqc_scheduling-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl (662.2 kB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

mbqc_scheduling-0.1.0-cp310-none-win_amd64.whl (510.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

mbqc_scheduling-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

mbqc_scheduling-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl (662.1 kB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

mbqc_scheduling-0.1.0-cp39-none-win_amd64.whl (510.7 kB view details)

Uploaded CPython 3.9 Windows x86-64

mbqc_scheduling-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

mbqc_scheduling-0.1.0-cp39-cp39-macosx_10_12_x86_64.whl (662.9 kB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

mbqc_scheduling-0.1.0-cp38-none-win_amd64.whl (510.9 kB view details)

Uploaded CPython 3.8 Windows x86-64

mbqc_scheduling-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

mbqc_scheduling-0.1.0-cp38-cp38-macosx_10_12_x86_64.whl (662.7 kB view details)

Uploaded CPython 3.8 macOS 10.12+ x86-64

mbqc_scheduling-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.28+ x86-64

File details

Details for the file mbqc_scheduling-0.1.0.tar.gz.

File metadata

  • Download URL: mbqc_scheduling-0.1.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for mbqc_scheduling-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cab76802c96e0e6ed83816d8bb4e69b5e91af9ad9bffaec4e4d45253480cf793
MD5 89b4bb5fe1c026a767f238dfa358c18d
BLAKE2b-256 8a7ff7af527d75a4fa4ff81e567c78b63769551475a906e7f4322f311662592c

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 164515bd60c34233c821db01a2a7bdfeca5d57394535b35db15be5c218db17ed
MD5 80f4fae619cffc9b9804f4c5a37a4dd3
BLAKE2b-256 6bd41db8e585f54ad9b90396c065f878c62bb5e3a0c4a2f65d363975739a77ae

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9315fb7591c8f48f04d519bbd33832a6bc614134ba76aa3c5955c26258694e0d
MD5 12686bc48fb8ec26ccc236e80a3dd2c1
BLAKE2b-256 fa2d5f3d12a6b5c5b6def5430b2293c6aa5affc514b3c5e2b346a13a0e611637

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 da557bb20d667485da16b8359af23f8951b58248ca86d6b8c46aaf592a47c3ba
MD5 1f3a7fb0ebc6985a4a800ee482aba0bd
BLAKE2b-256 5d7c2a85603e47701eb8eb184f2ceda2d2d35c5b5dd42e562be02bd9d6f71cbe

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 f61a5e20c3ecffa7b69dd792ac814aae66d54a9611828b1fccba9d3a59b98435
MD5 151f50c31a714c77045c00952fdf08b8
BLAKE2b-256 ad9068baf19b3e9dcaa6a4ec495693d928eb9f42f64034ce1796ef04b5d69820

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e0a6b29bd47c101b3ba8cc62a5351731219092d42a0241ff33c89df5cf8c79b
MD5 28408eab5965244acbd19d9f7b1427ce
BLAKE2b-256 e0e221221014a205ceefc14115e951eee919d38d9491d535ee9acf9d4ce97280

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4e9b3c3c585b3cd770f5dda048589f8ce95d44614fcb2b542bf81f93f2704cf8
MD5 8ac4d93959754694d670c0aaca9bd0f7
BLAKE2b-256 c9ec8879636875e12093fb598c1ccc1bf9dc1872c3b2e974fbe1a0ac499254bd

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 1427772790b75dbb71f594032cb0dfde375c2e1832e022a068fab8de31060851
MD5 1031ecddd7fc03ab19d9f78d71e87223
BLAKE2b-256 a268dd6d1a814be44c2e47b8d573c303a415a454614a8d22ecc195f648dbbb42

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa5e2c0dd3ec1d8164b197f1822170d361982599cb88ca6cd8c210f922e771a1
MD5 e6d873d5e80dd2e99fddc56dabac200e
BLAKE2b-256 06bac58e268c45073746460bd65f0b76e6c9003ce2b81c758cb2996fd8bef520

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 598ed28bf770f77ed541e56b7860d080d8f8440794ee858272644da8687c12dc
MD5 5a5e8f8ac150a8a78b5fc5d7fdc11e91
BLAKE2b-256 3f3a647be2535370749e8c57324ba35aee8c01b6280506fae3ccb948a8c77d92

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 985d9d8696243815630d3e00d380bb3fcd1231d62ba44d5b9d11b7604c4abe58
MD5 6a2970753ec6b0d1b605844e92f22432
BLAKE2b-256 4d060ca81caced3da659822d8fa63538dc11467089bc50b877ab0a43a2e15f4b

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 613ec11fa5e00716d90dc03768effb98b2960a077d268c32a015c8f1f4d3200d
MD5 b4c99350739dd347ca25135667f0ec26
BLAKE2b-256 d19349b88c1277bd05de97555a35b099d6449c02521e4f86ee8c1d17f6906a7d

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e1ec3a8bca6b3da0bd8886053be19cb1deabc33b501f387420570d0c56f761b7
MD5 cd1c68c7427840c0c82fa55c761b3a79
BLAKE2b-256 69a50faacaf2359df61946d7a1c0b22c11cafd787afdf6410e1db6b8a793e750

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 980b8f83d2a7a3bbeff340a8fa492f4e65d36983dc7320756f8206f3953baf63
MD5 3d9c5e50f48fb1f0f1c56d2d39d198d5
BLAKE2b-256 45a92e948001d64e38f6c04ce53d3174af327d51426acfd97fc7b179ff7d64fe

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 11dd4feeb3595f8dd92e3ff79e4e605f074f8f65d111417bb54f3e80aa14d595
MD5 4bf9ee08046b7343561be8275239e585
BLAKE2b-256 c2e7a0955184e99d4c9f5a7085efc7ccde5575bebccc501b2afcf7603249b9df

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp38-cp38-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1a57482db4800739b89b7e3aeaa0420ec32d9f751a32e95fce3db45402ec6a67
MD5 39b2327294a987c43507b90551dcf461
BLAKE2b-256 6b93bd4fd7d76178aad1605183e4bff242124422d6dd18c83441514c1f715969

See more details on using hashes here.

File details

Details for the file mbqc_scheduling-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mbqc_scheduling-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 22c775b61ccc5cb37202d61123c87cd009d7bad1971e0fdceda7cdc455e21972
MD5 3300c261cd157ae1e74a98195363dc5b
BLAKE2b-256 67a39a84fbafa22246b07784b154be7bbf2e7be41ff812a2b59d243bd6f97702

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page