Skip to main content

Amazon Braket Algorithm Library

Build Documentation Status

The Braket Algorithm Library provides Amazon Braket customers with pre-built implementations of prominent quantum algorithms and experimental workloads as ready-to-run example notebooks.


Braket algorithms

Currently, Braket algorithms are tested on Linux, Windows, and Mac.

Running notebooks locally requires additional dependencies located in notebooks/textbook/requirements.txt. See notebooks/textbook/README.md for more information.

Textbook algorithms Notebook References
Bell's Inequality Bells_Inequality.ipynb Bell1964, Greenberger1990
Bernstein–Vazirani Bernstein_Vazirani_Algorithm.ipynb Bernstein1997
CHSH Inequality CHSH_Inequality.ipynb Clauser1970
Deutsch-Jozsa Deutsch_Jozsa_Algorithm.ipynb Deutsch1992
Grover's Search Grovers_Search.ipynb Figgatt2017, Baker2019
QAOA Quantum_Approximate_Optimization_Algorithm.ipynb Farhi2014
Quantum Circuit Born Machine Quantum_Circuit_Born_Machine.ipynb Benedetti2019, Liu2018
QFT Quantum_Fourier_Transform.ipynb Coppersmith2002
QPE Quantum_Phase_Estimation_Algorithm.ipynb Kitaev1995
Quantum Counting Quantum_Counting_Algorithm.ipynb Brassard1998
Quantum Walk Quantum_Walk.ipynb Childs2002
Rabi Oscillations Rabi_Oscillations.ipynb Rabi1937
Shor's Shors_Algorithm.ipynb Shor1998
Simon's Simons_Algorithm.ipynb Simon1997
Advanced algorithms Notebook References
Quantum PCA Quantum_Principal_Component_Analysis.ipynb He2022
QMC Quantum_Computing_Quantum_Monte_Carlo.ipynb Motta2018, Peruzzo2014
Adaptive Shot Allocation 2_Adaptive_Shot_Allocation.ipynb Shlosberg2023
HHL Algorithm HHL_Algorithm.ipynb Harrow2009
Variational Quantum Eigensolver Variational_Quantum_Eigensolver.ipynb Peruzzo2014, McClean2016
Auxiliary functions Notebook
Random circuit generator Random_Circuit.ipynb

Community repos

⚠️ The following includes projects that are not provided by Amazon Braket. You are solely responsible for your use of those projects (including compliance with any applicable licenses and fitness of the project for your particular purpose).

Quantum algorithm implementations using Braket in other repos:

Algorithm Repo References Additional dependencies
Quantum Reinforcement Learning quantum-computing-exploration-for-drug-discovery-on-aws Learning Retrosynthetic Planning through Simulated Experience(2019) dependencies

Installing the Amazon Braket Algorithm Library

The Amazon Braket Algorithm Library can be installed 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-algorithm-library.git
cd amazon-braket-algorithm-library
pip install .

To run the notebook examples locally on your IDE, first, configure a profile to use your account to interact with AWS. To learn more, see Configure AWS CLI.

After you create a profile, use the following command to set the AWS_PROFILE so that all future commands can access your AWS account and resources.

export AWS_PROFILE=YOUR_PROFILE_NAME

Configure your AWS account with the resources necessary for Amazon Braket

If you are new to Amazon Braket, onboard to the service and create the resources necessary to use Amazon Braket using the AWS console.

Support

Issues and Bug Reports

If you encounter bugs or face issues while using the algorithm library, please let us know by posting the issue on our GitHub issue tracker.
For other issues or general questions, please ask on the Quantum Computing Stack Exchange and add the tag amazon-braket.

Feedback and Feature Requests

If you have feedback or features that you would like to see on Amazon Braket, we would love to hear from you!
GitHub issues is our preferred mechanism for collecting feedback and feature requests, allowing other users to engage in the conversation, and +1 issues to help drive priority.

License

This project is licensed under the Apache-2.0 License.

Metadata

Release files for amazon-braket-algorithm-library 1.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amazon-braket-algorithm-library 1.8.0
File Size Uploaded Provenance Actions
amazon_braket_algorithm_library-1.8.0.tar.gz 63.9 kB With provenance Details for amazon_braket_algorithm_library-1.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amazon-braket-algorithm-library 1.8.0
File Interpreter ABI Platform Actions
amazon_braket_algorithm_library-1.8.0-py3-none-any.whl Python 3 none any Details for amazon_braket_algorithm_library-1.8.0-py3-none-any.whl

Total release size: 160.1 kB

Release files / amazon_braket_algorithm_library-1.8.0.tar.gz

Download URL amazon_braket_algorithm_library-1.8.0.tar.gz
Size 63.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c14ca520d679da909e057297c48fdeabcccd9bf9c2f6f466e34989a50e60d86a
BLAKE2b-256 checksum
How to use checksums
9cdbe3f1871462e4f59672b2dcc6344d95cbfd213f2baf2cc15a782d477dd3f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / amazon_braket_algorithm_library-1.8.0-py3-none-any.whl

Download URL amazon_braket_algorithm_library-1.8.0-py3-none-any.whl
Size 96.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d768c8e6dee0a75b639e4e5f19f430c8b993722cdb295eb2309a80c0470a3d5
BLAKE2b-256 checksum
How to use checksums
c634b63cf03a8ea7afde7818ca23ea1fba2785b2fcc3f3b116fe0c31ace4dd31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for amazon-braket-algorithm-library 1.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for amazon_braket_algorithm_library-1.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page