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

Uploaded Source

Built Distribution

openpulse-1.0.0-py3-none-any.whl (536.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for openpulse-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f46021d953f5ee84a4ad62fb166a11bad73fa235531c4f10be486ed9f4eca33d
MD5 48a6a0eedd84b81709ac6f423c918927
BLAKE2b-256 abc156eddfe6d6a1f2de5e8786c791a6df16740754f9da876ad1e6493a203042

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for openpulse-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5abf56758cadd0ad39035511b280bb1ef916d2fc60ec914566559425eef832f8
MD5 32b9b7089dcfad4843bb0f0d3189ee7c
BLAKE2b-256 62c6fb74e6ed5005fc4d57bfadc1d0154788e5d16b7453cf90f1018636fdba25

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