Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mbqc-scheduling

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mbqc-scheduling

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

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc