openpulse-1.0.1


توضیحات

Reference OpenPulse AST in Python
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل openpulse-1.0.1
نام openpulse
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده OpenQASM Contributors
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/openqasm/openpulse/
آدرس اینترنتی https://pypi.org/project/openpulse/
مجوز Apache 2.0 Software License
# OpenPulse Python Reference [![License](https://img.shields.io/github/license/openqasm/openqasm.svg)](https://opensource.org/licenses/Apache-2.0)<!-- long-description-skip-begin -->[![Release](https://img.shields.io/pypi/v/openpulse)](https://pypi.org/project/openpulse)<!-- long-description-skip-end --> 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.


نیازمندی

مقدار نام
- antlr4-python3-runtime<4.14,>=4.7
- openqasm3[parser]<2.0,>=1.0.0
ython_versio importlib-metadata;
xtr pytest>=6.0;
xtr pyyaml;
xtr pytest>=6.0;
xtr pyyaml;


نحوه نصب


نصب پکیج whl openpulse-1.0.1:

    pip install openpulse-1.0.1.whl


نصب پکیج tar.gz openpulse-1.0.1:

    pip install openpulse-1.0.1.tar.gz