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.4.tar.gz (78.4 kB view details)

Uploaded Source

Built Distribution

openpulse-0.2.4-py3-none-any.whl (81.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openpulse-0.2.4.tar.gz
  • Upload date:
  • Size: 78.4 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.4.tar.gz
Algorithm Hash digest
SHA256 bf864b02e293d798d7882f0fb15e3ffb99045a05019867d577d46021cadac40b
MD5 080c14f1e61be6e42b12546625f36ca6
BLAKE2b-256 b8139019637fbb0a3a3357204a1cb7236e568eab630fc67793d6f15b225db9de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openpulse-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 81.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b776c748ca171c033a6bbf4dd8a3d07241b4a3747f9f06776fbba94a31c7fd2e
MD5 7541cfee1281cc8364b4e69ab5bf6d81
BLAKE2b-256 9020322f3ff366484689ff9d6afa543ad7a15e192618b981d4f3e86471deda9b

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