OpenQAOA is a python open-source multi-backend Software Development Kit to create, customise and execute the Quantum Approximate Optimisation Algorithm (QAOA) on Noisy Intermediate-Scale Quantum (NISQ) devices, and simulators
Project description
OpenQAOA-Core
OpenQAOA is a multi-backend python library for quantum optimization using QAOA on Quantum computers and Quantum computer simulators. This package is part of a set of OpenQAOA plug-ins and forms the core functionality of the package. It includes all backend agnostic elements of the QAOA process. Along with other OpenQAOA plug-in extensions enables users to seemlessly run QAOA computations across multiple Quantum Computers. Additionally, it also comes bundled with Entropica's fast QAOA simulator called vectorized
and a unit-depth QAOA analytical simulator (you can find more details in the Getting Started section). Check out OpenQAOA website https://openqaoa.entropicalabs.com/
OpenQAOA is currently in OpenBeta.
Please, consider joining our discord if you want to be part of our community and participate in the OpenQAOA's development.
Installation instructions
Install via PyPI
You can install the latest version of openqaoa-core directly from PyPi. We recommend creating a virtual environment with python>=3.8
first and then simply pip install openqaoa-core with the following command.
pip install openqaoa-core
Installation instructions for Developers
OpenQAOA-Core does not yet support developer install as a standalone package. If you wish to work in developer mode, please install the entire library. Instructions are available here
Should you face any issue during the installation, please drop us an email at openqaoa@entropicalabs.com or open an issue!
Getting started
The documentation for OpenQAOA-Core can be found here.
We also provide a set of tutorials to get you started. Among the many, perhaps you can get started with the following ones:
- A notebook showing Analytical Simulator usage
- Introducing EL's fast QAOA simulator
- Discover OpenQAOA's custom parametrizations
- Notebook demonstrating different optimizers to choose from
Key Features
-
Build advanced QAOAs. Create complex QAOAs by specifying custom parametrisation, mixer hamiltonians, classical optimisers and execute the algorithm on either simulators or QPUs.
-
Recursive QAOA. Run RQAOA with fully customisable schedules on simulators and QPUs alike.
-
QPU access. Built in access for
IBM Quantum
,Rigetti QCS
,Amazon Braket
andAzure Quantum
(Please install the OpenQAOA plugin corresponding to the QPU platform for running QAOA on these devices).
Available devives
Devices are serviced both locally and on the cloud. For the IBM Quantum experience, the available devices depend on the specified credentials. For QCS and Amazon Braket, the available devices are listed in the table below:
Device location | Device Name |
---|---|
local |
['vectorized', 'analytical_simulator'] |
Running the tests
TODO
Contributing and feedback
If you find any bugs or errors, have feature requests, or code you would like to contribute, feel free to open an issue or send us a pull request on GitHub.
We are always interested to hear about projects built with EntropicaQAOA. If you have an application you'd like to tell us about, drop us an email at openqaoa@entropicalabs.com.
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
Built Distribution
File details
Details for the file openqaoa-core-0.2.3.tar.gz
.
File metadata
- Download URL: openqaoa-core-0.2.3.tar.gz
- Upload date:
- Size: 299.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 457cb130c92ef59375fd5aeac34d9ed61c512f5eb4a6d96602a8b6a6417a8eb8 |
|
MD5 | d270f37dd36e09beb142cad87151989d |
|
BLAKE2b-256 | 303dcd08b2e65985ba3f574a9eb1d8cea4167b76b95de84ef072c5f380c6fc4d |
File details
Details for the file openqaoa_core-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: openqaoa_core-0.2.3-py3-none-any.whl
- Upload date:
- Size: 280.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc580d804d84b5f7fef4563334415a3d745f6ad7ee82ae093f4fc02dda6953da |
|
MD5 | d58005c9a412231447b69b4711a3c9fb |
|
BLAKE2b-256 | d9508eb67574e381e25a407540b0a3ebfd9f92516d155dbe6866d0bfc26153c2 |