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

Uploaded Source

Built Distribution

openpulse-0.2.5-py3-none-any.whl (82.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openpulse-0.2.5.tar.gz
  • Upload date:
  • Size: 78.9 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.5.tar.gz
Algorithm Hash digest
SHA256 df596519d261d2f01693391312c2b9612e1c8604ced2651452f27a4aeecafcc4
MD5 060a6553c2e6cbaec885b8da58d5eb4c
BLAKE2b-256 ff54c6fb8e9f9cd74fc25d9a6be545339f33dc035ab79fd9099a982d1dac6ea8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openpulse-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 82.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8b39cc03d57b821fce72e7675afd25afde220649a1529fbc8e6d6eb3ae643a66
MD5 e6e263f9b79a60091c83930b069a2bcb
BLAKE2b-256 d44f9683edef6efc01d39f3aac4e98088109b996505d8d5e57a4eeef693e4244

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