Skip to main content

Reference OpenPulse AST in Python

Project description

OpenPulse Python Reference

LicenseRelease

OpenPulse is a concrete implementation of pulse grammar for cal and defcal body. It reuses the classical types and statements from openqasm3.

The package is structured similarly to openqasm3 with the modules:

  • openpulse.ast: The AST nodes. Identical nodes from openqasm3.ast are re-exported.

  • openpulse.parser: A parser similar to openqasm3.parser, but for OpenPulse.

  • tests: A set of unit tests.

  • No visitor module as openqasm3.visitor can be reused.

The OpenPulse grammar introduce the following:

  • Pulse types: port, frame and waveform.
  • Extension to OpenQASM 3 classical type to consume the pulse types.

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

openpulse-0.2.0.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

openpulse-0.2.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file openpulse-0.2.0.tar.gz.

File metadata

  • Download URL: openpulse-0.2.0.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for openpulse-0.2.0.tar.gz
Algorithm Hash digest
SHA256 57910eaffad11d86d9bf51ddf422c9ecafa569c2da4aae1551732c4a15a7eacd
MD5 2cbd82648ccc51023c060f489c82a6af
BLAKE2b-256 18fa430fa7b58b1a69901abd020c9ba570c058ae3a3e8fff7025c096e0142bc7

See more details on using hashes here.

File details

Details for the file openpulse-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: openpulse-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for openpulse-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e73f57e433493f46fef5aca3b09bbe1aa2d9237c4aa6b98f64f2d5b51bc3c532
MD5 272f19bd02f4383501f60c484bf8eb53
BLAKE2b-256 27abc00ea0750838b32ec5d5c195d018ccaa7e7be162c1b195476f2c3f9dfd6b

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