openqaoa-core


Nameopenqaoa-core JSON
Version 0.2.6 PyPI version JSON
download
home_pagehttps://github.com/entropicalabs/openqaoa
SummaryOpenQAOA 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
upload_time2024-07-10 03:55:15
maintainerNone
docs_urlNone
authorEntropica Labs
requires_python<3.11,>=3.8
licenseMIT
keywords quantum optimisation sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            <div align="center">

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://github.com/entropicalabs/openqaoa/blob/main/.github/images/openqaoa_logo_offW.png" width="650">
  <img alt="OpenQAOA" src="https://github.com/entropicalabs/openqaoa/blob/main/.github/images/openqaoa_logo.png" width="650">
</picture>

  [![build test](https://github.com/entropicalabs/openqaoa/actions/workflows/test_main_linux.yml/badge.svg)](https://github.com/entropicalabs/openqaoa/actions/workflows/test_main_linux.yml)<!-- Tests (GitHub actions) -->
  [![Documentation Status](https://readthedocs.org/projects/el-openqaoa/badge/?version=latest)](https://el-openqaoa.readthedocs.io/en/latest/?badge=latest) <!-- Readthedocs -->
  [![PyPI version](https://badge.fury.io/py/openqaoa.svg)](https://badge.fury.io/py/openqaoa) <!-- PyPI -->
  [![arXiv](https://img.shields.io/badge/arXiv-2210.08695-<COLOR>.svg)](https://arxiv.org/abs/2210.08695) <!-- arXiv -->
  [![License](https://img.shields.io/pypi/l/openqaoa)](LICENSE.md)<!-- License -->
  [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)<!-- Covenant Code of conduct -->
  [![Downloads](https://pepy.tech/badge/openqaoa)](https://pepy.tech/project/openqaoa)
  [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/entropicalabs/openqaoa.git/main?labpath=%2Fexamples)
  [![Discord](https://img.shields.io/discord/991258119525122058)](https://discord.gg/ana76wkKBd)
  [![Website](https://img.shields.io/badge/OpenQAOA-Website-blueviolet)](https://openqaoa.entropicalabs.com/) 
</div>

# 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/](https://openqaoa.entropicalabs.com/)

**OpenQAOA is currently in OpenBeta.**

Please, consider [joining our discord](https://discord.gg/ana76wkKBd) 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.

```bash
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](https://el-openqaoa.readthedocs.io/en/latest/).

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](https://el-openqaoa.readthedocs.io/en/latest/notebooks/06_fast_qaoa_simulator.html)
- [Discover OpenQAOA's custom parametrizations](https://el-openqaoa.readthedocs.io/en/latest/notebooks/05_advanced_parameterization.html)
- 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` and `Azure 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/entropicalabs/openqaoa",
    "name": "openqaoa-core",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.11,>=3.8",
    "maintainer_email": null,
    "keywords": "quantum optimisation SDK",
    "author": "Entropica Labs",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/a6/54/75952161077b6c72d3c18c230cda70604a7740c45536ce8900104e415b15/openqaoa_core-0.2.6.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/entropicalabs/openqaoa/blob/main/.github/images/openqaoa_logo_offW.png\" width=\"650\">\n  <img alt=\"OpenQAOA\" src=\"https://github.com/entropicalabs/openqaoa/blob/main/.github/images/openqaoa_logo.png\" width=\"650\">\n</picture>\n\n  [![build test](https://github.com/entropicalabs/openqaoa/actions/workflows/test_main_linux.yml/badge.svg)](https://github.com/entropicalabs/openqaoa/actions/workflows/test_main_linux.yml)<!-- Tests (GitHub actions) -->\n  [![Documentation Status](https://readthedocs.org/projects/el-openqaoa/badge/?version=latest)](https://el-openqaoa.readthedocs.io/en/latest/?badge=latest) <!-- Readthedocs -->\n  [![PyPI version](https://badge.fury.io/py/openqaoa.svg)](https://badge.fury.io/py/openqaoa) <!-- PyPI -->\n  [![arXiv](https://img.shields.io/badge/arXiv-2210.08695-<COLOR>.svg)](https://arxiv.org/abs/2210.08695) <!-- arXiv -->\n  [![License](https://img.shields.io/pypi/l/openqaoa)](LICENSE.md)<!-- License -->\n  [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)<!-- Covenant Code of conduct -->\n  [![Downloads](https://pepy.tech/badge/openqaoa)](https://pepy.tech/project/openqaoa)\n  [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/entropicalabs/openqaoa.git/main?labpath=%2Fexamples)\n  [![Discord](https://img.shields.io/discord/991258119525122058)](https://discord.gg/ana76wkKBd)\n  [![Website](https://img.shields.io/badge/OpenQAOA-Website-blueviolet)](https://openqaoa.entropicalabs.com/) \n</div>\n\n# OpenQAOA-Core\n\nOpenQAOA 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/](https://openqaoa.entropicalabs.com/)\n\n**OpenQAOA is currently in OpenBeta.**\n\nPlease, consider [joining our discord](https://discord.gg/ana76wkKBd) if you want to be part of our community and participate in the OpenQAOA's development. \n\n## Installation instructions\n\n### Install via PyPI\n\nYou 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.\n\n```bash\npip install openqaoa-core\n```\n\n### Installation instructions for Developers\nOpenQAOA-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]()\n\nShould you face any issue during the installation, please drop us an email at openqaoa@entropicalabs.com or open an issue!\n\n## Getting started\n\nThe documentation for OpenQAOA-Core can be found [here](https://el-openqaoa.readthedocs.io/en/latest/).\n\nWe also provide a set of tutorials to get you started. Among the many, perhaps you can get started with the following ones:\n- A notebook showing Analytical Simulator usage\n- [Introducing EL's fast QAOA simulator](https://el-openqaoa.readthedocs.io/en/latest/notebooks/06_fast_qaoa_simulator.html)\n- [Discover OpenQAOA's custom parametrizations](https://el-openqaoa.readthedocs.io/en/latest/notebooks/05_advanced_parameterization.html)\n- Notebook demonstrating different optimizers to choose from\n\n### Key Features\n\n- **Build advanced QAOAs**. Create complex QAOAs by specifying custom _parametrisation_, _mixer hamiltonians_, _classical optimisers_ and execute the algorithm on either simulators or QPUs.\n\n- **Recursive QAOA**. Run RQAOA with fully customisable schedules on simulators and QPUs alike. \n\n- **QPU access**. Built in access for `IBM Quantum`, `Rigetti QCS`, `Amazon Braket` and `Azure Quantum` (Please install the OpenQAOA plugin corresponding to the QPU platform for running QAOA on these devices). \n\n### Available devives \n\nDevices 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:\n\n| Device location | Device Name |\n| --------------- | ----------- |\n| `local` | `['vectorized', 'analytical_simulator']` |\n\n## Running the tests\n\nTODO\n\n## Contributing and feedback\n\nIf 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.\n\nWe 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.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "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",
    "version": "0.2.6",
    "project_urls": {
        "Homepage": "https://github.com/entropicalabs/openqaoa"
    },
    "split_keywords": [
        "quantum",
        "optimisation",
        "sdk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a15cb642700e3a4f03c1161d9851e8f5d16447e720a44511753415a4e5a7b102",
                "md5": "658532ffded8ecc87ee06f6ff1b3975d",
                "sha256": "0356bbb0c392a95bf3d2f9037b5de9fcc1e13885d4c9b114f2ed2627357c8a6e"
            },
            "downloads": -1,
            "filename": "openqaoa_core-0.2.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "658532ffded8ecc87ee06f6ff1b3975d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.11,>=3.8",
            "size": 291402,
            "upload_time": "2024-07-10T03:55:12",
            "upload_time_iso_8601": "2024-07-10T03:55:12.739408Z",
            "url": "https://files.pythonhosted.org/packages/a1/5c/b642700e3a4f03c1161d9851e8f5d16447e720a44511753415a4e5a7b102/openqaoa_core-0.2.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a65475952161077b6c72d3c18c230cda70604a7740c45536ce8900104e415b15",
                "md5": "87dd55192fbce27cd371e4456cb2b30c",
                "sha256": "1af1645cd3697300e3ac3e8381b1c02acffddb67d4c86de286f4a1472ae574f2"
            },
            "downloads": -1,
            "filename": "openqaoa_core-0.2.6.tar.gz",
            "has_sig": false,
            "md5_digest": "87dd55192fbce27cd371e4456cb2b30c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.11,>=3.8",
            "size": 312847,
            "upload_time": "2024-07-10T03:55:15",
            "upload_time_iso_8601": "2024-07-10T03:55:15.105407Z",
            "url": "https://files.pythonhosted.org/packages/a6/54/75952161077b6c72d3c18c230cda70604a7740c45536ce8900104e415b15/openqaoa_core-0.2.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-10 03:55:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "entropicalabs",
    "github_project": "openqaoa",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "openqaoa-core"
}
        
Elapsed time: 0.54763s