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

Uploaded Source

Built Distribution

openpulse-0.4.0-py3-none-any.whl (376.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for openpulse-0.4.0.tar.gz
Algorithm Hash digest
SHA256 62c413e41024617a86be6da3f15b95313ea65e72fbb40b388fa52a3a72bce7b4
MD5 94e253918847dbaa45f05ab68289962e
BLAKE2b-256 fbd635afec0d828008ae0e2331e7e1c402949ad2358e70285fd823971d2b31fd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for openpulse-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aedcdae1f03472cfc681082aade8149e35abde24e7b9c67fe25ed020b6398b56
MD5 72491e41d7896294f6db87f524fc5df1
BLAKE2b-256 dede4d002994cb3b62a10e099a357b31579677b24b3d5352679b82a786e88d97

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