Skip to main content

Quantum Parser

This project provides modules for parsing quantum circuits.

Overview

  • qcis_parser: A parser for QCIS format, offering similar functionalities for a different quantum circuit representation.

  • qasm2_parser: A parser for OpenQASM 2.0 code, converting it into tokenized instructions and extracting circuit information.

Installation

Clone the repository and install the required dependencies using nix flake:

nix develop .

Usage

See APIs.

Features

QSIC Parser

  • Parses QSIC format circuits.
  • Provides a similar tokenization and analysis interface.

QASM2 Parser

  • Parses OpenQASM 2.0 code.
  • Extracts quantum operations into a token list.
  • Currently does not support classical operations or measurements.

Notes

  • Ensure that the input strings conform to the expected format for each parser.
  • The parsers are currently in development and may not support all features or operations.

Metadata

Release files for quantum-parser 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quantum-parser 1.1.1
File Size Uploaded Provenance Actions
quantum_parser-1.1.1.tar.gz 8.1 kB Without provenance Details for quantum_parser-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quantum-parser 1.1.1
File Interpreter ABI Platform Actions
quantum_parser-1.1.1-py3-none-any.whl Python 3 none any Details for quantum_parser-1.1.1-py3-none-any.whl

Total release size: 17.7 kB

Release files / quantum_parser-1.1.1.tar.gz

Download URL quantum_parser-1.1.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
98a6b1fe46431dae02ba82fcc9760effe791bf82abee7674505226cc06ea0124
BLAKE2b-256 checksum
How to use checksums
84a66ed02317a073e2d4cb30767fc5995d59332390bf61d9ef0760602a9f992a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / quantum_parser-1.1.1-py3-none-any.whl

Download URL quantum_parser-1.1.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ff44597ab793c97682efadfc52f91735950b8c3a6db83fa50bd41b5674126d7
BLAKE2b-256 checksum
How to use checksums
b92321301eefd5ee7d4a263dfaae81bfd6c7acb691523b2a0f03a83562244276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for quantum-parser 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page