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.3.tar.gz
(78.3 kB
view details)
Built Distribution
openpulse-0.2.3-py3-none-any.whl
(81.4 kB
view details)
File details
Details for the file openpulse-0.2.3.tar.gz
.
File metadata
- Download URL: openpulse-0.2.3.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 | a093b82fa27066cd59f6c1a4a11ae7965bcf2029fb94572fdef48e35eb10dc4c |
|
MD5 | df4a347df847dc5550f9a0ed03520d3f |
|
BLAKE2b-256 | 1bc86bf59abb1947cc549861f8ff4446f25545d3357dbd9901766259179d4b2a |
File details
Details for the file openpulse-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: openpulse-0.2.3-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 | 036ae163fb5e4c4c8f3e0d12bd0687d81da6c6c669eb3f1d63ef0f1289e04401 |
|
MD5 | 5b5b6a5db7e0ec39c20dd12409f0ed05 |
|
BLAKE2b-256 | bf6cea48d684843ef334ac62ed4cba6db7f45767e6f543dcb7d542bf42377891 |