Reference OpenPulse AST in Python
Project description
OpenPulse Python Reference
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 fromopenqasm3.astare re-exported. -
openpulse.parser: A parser similar toopenqasm3.parser, but for OpenPulse. -
tests: A set of unit tests. -
No visitor module as
openqasm3.visitorcan be reused.
The OpenPulse grammar introduce the following:
- Pulse types:
port,frameandwaveform. - Extension to OpenQASM 3 classical type to consume the pulse types.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c184e3012907ec35f04202ed72621037b1a06d70195769576bfc9e62c01bf94
|
|
| MD5 |
88ef0bce98350084170258241947ba87
|
|
| BLAKE2b-256 |
4b410cdb6190148de664b7b200b65496a20a54b952567eb4d040e3f4117b4473
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75fb2d4d7f74db3a86027719744541fcb725e1f5b79e14b78dc5b34ed8c66e87
|
|
| MD5 |
7accba5b44f832fb81967e320206f157
|
|
| BLAKE2b-256 |
7541429b613fe56124f5714f0d7ff5c1a2c74913e3db2fdde3fd13bf732a116f
|