An open source library that contains the schemas for Amazon Braket
Actively maintained. Last release 11 days ago, commits in 8 of the last 26 weeks. A safe choice.
pip install amazon-braket-schemasAmazon Braket Python Schemas
Amazon Braket Python Schemas is an open source library that contains the schemas for Braket, including:
- intermediate representations (IR) for Amazon Braket quantum tasks and offers serialization and deserialization of those IR payloads. Think of the IR as the contract between the Amazon Braket SDK and Amazon Braket API for quantum programs.
- schemas for the S3 results of each quantum task
- schemas for the device capabilities of each device
Installation
Prerequisites
- Python 3.11+
Steps
The preferred way to get Amazon Braket Python Schemas is by installing the Amazon Braket Python SDK, which will pull in the schemas. Follow the instructions in the README for setup.
However, if you only want to use the schemas, it can be installed on its own as follows:
pip install amazon-braket-schemas
You can install from source by cloning this repository and running a pip install command in the root directory of the repository:
git clone https://github.com/amazon-braket/amazon-braket-schemas-python.git
cd amazon-braket-schemas-python
pip install .
You can check your currently installed version of with :