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.ast
are re-exported. -
openpulse.parser
: A parser similar toopenqasm3.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
andwaveform
. - 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
openpulse-0.2.2.tar.gz
(78.3 kB
view details)
Built Distribution
openpulse-0.2.2-py3-none-any.whl
(81.4 kB
view details)
File details
Details for the file openpulse-0.2.2.tar.gz
.
File metadata
- Download URL: openpulse-0.2.2.tar.gz
- Upload date:
- Size: 78.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b718bf1fa60e9dbaae78831de94eb9cc4cf92945d3e09870e265832afce52f6e |
|
MD5 | 07754502da2969d63ce45b464b42a11c |
|
BLAKE2b-256 | 4ff32f1c3651e0781aa82f61a0699c3e19e9b573a6650120613fdac576661308 |
File details
Details for the file openpulse-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: openpulse-0.2.2-py3-none-any.whl
- Upload date:
- Size: 81.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6983434b1ddd4c206dcc4a920ab21d2ea322d58a7178545480868556a6f53e0 |
|
MD5 | 9eb14e04437b25aa2bcde11c358178d9 |
|
BLAKE2b-256 | 3723d78b39ce6573b2c1949b8fddeee354b178a8ef41db758a7950a048f0fa68 |