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

Uploaded Source

Built Distribution

openpulse-1.0.1-py3-none-any.whl (537.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openpulse-1.0.1.tar.gz
  • Upload date:
  • Size: 519.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for openpulse-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4c184e3012907ec35f04202ed72621037b1a06d70195769576bfc9e62c01bf94
MD5 88ef0bce98350084170258241947ba87
BLAKE2b-256 4b410cdb6190148de664b7b200b65496a20a54b952567eb4d040e3f4117b4473

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openpulse-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 537.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for openpulse-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75fb2d4d7f74db3a86027719744541fcb725e1f5b79e14b78dc5b34ed8c66e87
MD5 7accba5b44f832fb81967e320206f157
BLAKE2b-256 7541429b613fe56124f5714f0d7ff5c1a2c74913e3db2fdde3fd13bf732a116f

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