Name | PennyLane-AQT JSON |
Version |
0.40.0
JSON |
| download |
home_page | http://xanadu.ai |
Summary | PennyLane plugin to access the Alpine Quantum Technologies cloud service. |
upload_time | 2025-01-14 22:09:01 |
maintainer | Xanadu Inc. |
docs_url | None |
author | None |
requires_python | None |
license | Apache License 2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
PennyLane-AQT Plugin
####################
.. image:: https://img.shields.io/github/actions/workflow/status/PennyLaneAI/pennylane-aqt/tests.yml?branch=master&logo=github&style=flat-square
:alt: GitHub Workflow Status (branch)
:target: https://github.com/PennyLaneAI/pennylane-aqt/actions?query=workflow%3ATests
.. image:: https://img.shields.io/codecov/c/github/PennyLaneAI/pennylane-aqt/master.svg?logo=codecov&style=flat-square
:alt: Codecov coverage
:target: https://codecov.io/gh/PennyLaneAI/pennylane-aqt
.. image:: https://img.shields.io/codefactor/grade/github/PennyLaneAI/pennylane-aqt/master?logo=codefactor&style=flat-square
:alt: CodeFactor Grade
:target: https://www.codefactor.io/repository/github/pennylaneai/pennylane-aqt
.. image:: https://readthedocs.com/projects/xanaduai-pennylane-aqt/badge/?version=latest&style=flat-square
:alt: Read the Docs
:target: https://docs.pennylane.ai/projects/aqt
.. image:: https://img.shields.io/pypi/v/PennyLane-aqt.svg?style=flat-square
:alt: PyPI
:target: https://pypi.org/project/PennyLane-aqt
.. image:: https://img.shields.io/pypi/pyversions/PennyLane-aqt.svg?style=flat-square
:alt: PyPI - Python Version
:target: https://pypi.org/project/PennyLane-aqt
.. header-start-inclusion-marker-do-not-remove
The PennyLane-AQT plugin provides the ability to use Alpine Quantum Technologies' ion-trap
quantum computing backends with PennyLane.
`PennyLane <https://pennylane.ai>`_ provides open-source tools for
quantum machine learning, quantum computing, quantum chemistry, and hybrid quantum-classical computing.
`Alpine Quantum Technologies <https://www.aqt.eu>`_ is an ion-trap quantum computing
company offering access to quantum computing devices over the cloud.
.. header-end-inclusion-marker-do-not-remove
The plugin documentation can be found here: `PennyLane-AQT <https://docs.pennylane.ai/projects/aqt>`__.
Features
========
* Provides two devices which can be used with AQT's online API: ``"aqt.sim"`` and ``"aqt.noisy_sim"``.
These provide access to an ideal ion-trap simulator and a noisy ion-trap simulator, respectively.
* The plugin provides additional support for the AQT's custom rotation and Mølmer-Sørenson-type gates.
* Supports core PennyLane operations such as qubit rotations, Hadamard, basis state preparations, etc.
.. installation-start-inclusion-marker-do-not-remove
Installation
============
PennyLane-AQT requires Python >= 3.10. If you currently do not have Python 3 installed,
we recommend `Anaconda for Python 3 <https://www.anaconda.com/download/>`_, a distributed
version of Python packaged for scientific computation. If you are using Python 3.12,
ensure `setuptools` is up to date prior to installation:
::
$ python3 -m pip install --upgrade setuptools
PennyLane-AQT only requires PennyLane for use, no additional external frameworks are needed.
The plugin can be installed via ``pip``:
::
$ python3 -m pip install pennylane-aqt
Alternatively, you can install PennyLane-AQT from the source code by navigating to the top directory and running
::
$ python3 setup.py install
Software tests
~~~~~~~~~~~~~~
To ensure that PennyLane-AQT is working correctly after installation, the test suite can be
run by navigating to the source code folder and running
::
$ make test
Documentation
~~~~~~~~~~~~~
To build the HTML documentation, go to the top-level directory and run
::
$ make docs
The documentation can then be found in the ``doc/_build/html/`` directory.
.. installation-end-inclusion-marker-do-not-remove
Getting started
===============
Once PennyLane is installed, the provided AQT devices can be accessed straight
away in PennyLane. However, the user will need access credentials for the AQT platform in order to
use these remote devices. These credentials should be provided to PennyLane via a
`configuration file or environment variable <https://pennylane.readthedocs.io/en/stable/introduction/configuration.html>`_.
Specifically, the variable ``AQT_TOKEN`` must contain a valid access key for AQT's online platform.
You can instantiate the AQT devices for PennyLane as follows:
.. code-block:: python
import pennylane as qml
dev1 = qml.device('aqt.sim', wires=2)
dev2 = qml.device('aqt.noisy_sim', wires=2)
These devices can then be used just like other devices for the definition and evaluation of
quantum circuits within PennyLane. For more details and ideas, see the
`PennyLane website <https://pennylane.ai>`_ and refer
to the `PennyLane documentation <https://pennylane.readthedocs.io>`_.
Contributing
============
We welcome contributions—simply fork the PennyLane-AQT repository, and then make a
`pull request <https://help.github.com/articles/about-pull-requests/>`_ containing your contribution.
All contributers to PennyLane-AQT will be listed as contributors on the releases.
We also encourage bug reports, suggestions for new features and enhancements, and even links to cool
projects or applications built on PennyLane and AQT.
Contributors
============
PennyLane-AQT is the work of many `contributors <https://github.com/PennyLaneAI/pennylane-aqt/graphs/contributors>`_.
If you are doing research using PennyLane, please cite our papers:
Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, M. Sohaib Alam, Shahnawaz Ahmed,
Juan Miguel Arrazola, Carsten Blank, Alain Delgado, Soran Jahangiri, Keri McKiernan, Johannes Jakob Meyer,
Zeyue Niu, Antal Száva, Nathan Killoran.
*PennyLane: Automatic differentiation of hybrid quantum-classical computations.* 2018.
`arXiv:1811.04968 <https://arxiv.org/abs/1811.04968>`_
Maria Schuld, Ville Bergholm, Christian Gogolin, Josh Izaac, and Nathan Killoran.
*Evaluating analytic gradients on quantum hardware.* 2018.
`Phys. Rev. A 99, 032331 <https://journals.aps.org/pra/abstract/10.1103/PhysRevA.99.032331>`_
.. support-start-inclusion-marker-do-not-remove
Support
=======
- **Source Code:** https://github.com/PennyLaneAI/pennylane-aqt
- **Issue Tracker:** https://github.com/PennyLaneAI/pennylane-aqt/issues
If you are having issues, please let us know by posting the issue on our GitHub issue tracker.
.. support-end-inclusion-marker-do-not-remove
.. license-start-inclusion-marker-do-not-remove
License
=======
PennyLane-AQT is **free** and **open source**, released under the Apache License, Version 2.0.
.. license-end-inclusion-marker-do-not-remove
Raw data
{
"_id": null,
"home_page": "http://xanadu.ai",
"name": "PennyLane-AQT",
"maintainer": "Xanadu Inc.",
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": null,
"platform": null,
"description": "PennyLane-AQT Plugin\n####################\n\n.. image:: https://img.shields.io/github/actions/workflow/status/PennyLaneAI/pennylane-aqt/tests.yml?branch=master&logo=github&style=flat-square\n :alt: GitHub Workflow Status (branch)\n :target: https://github.com/PennyLaneAI/pennylane-aqt/actions?query=workflow%3ATests\n\n.. image:: https://img.shields.io/codecov/c/github/PennyLaneAI/pennylane-aqt/master.svg?logo=codecov&style=flat-square\n :alt: Codecov coverage\n :target: https://codecov.io/gh/PennyLaneAI/pennylane-aqt\n\n.. image:: https://img.shields.io/codefactor/grade/github/PennyLaneAI/pennylane-aqt/master?logo=codefactor&style=flat-square\n :alt: CodeFactor Grade\n :target: https://www.codefactor.io/repository/github/pennylaneai/pennylane-aqt\n\n.. image:: https://readthedocs.com/projects/xanaduai-pennylane-aqt/badge/?version=latest&style=flat-square\n :alt: Read the Docs\n :target: https://docs.pennylane.ai/projects/aqt\n\n.. image:: https://img.shields.io/pypi/v/PennyLane-aqt.svg?style=flat-square\n :alt: PyPI\n :target: https://pypi.org/project/PennyLane-aqt\n\n.. image:: https://img.shields.io/pypi/pyversions/PennyLane-aqt.svg?style=flat-square\n :alt: PyPI - Python Version\n :target: https://pypi.org/project/PennyLane-aqt\n\n.. header-start-inclusion-marker-do-not-remove\n\nThe PennyLane-AQT plugin provides the ability to use Alpine Quantum Technologies' ion-trap\nquantum computing backends with PennyLane.\n\n`PennyLane <https://pennylane.ai>`_ provides open-source tools for\nquantum machine learning, quantum computing, quantum chemistry, and hybrid quantum-classical computing.\n\n`Alpine Quantum Technologies <https://www.aqt.eu>`_ is an ion-trap quantum computing\ncompany offering access to quantum computing devices over the cloud.\n\n.. header-end-inclusion-marker-do-not-remove\n\nThe plugin documentation can be found here: `PennyLane-AQT <https://docs.pennylane.ai/projects/aqt>`__.\n\nFeatures\n========\n\n* Provides two devices which can be used with AQT's online API: ``\"aqt.sim\"`` and ``\"aqt.noisy_sim\"``.\n These provide access to an ideal ion-trap simulator and a noisy ion-trap simulator, respectively.\n\n* The plugin provides additional support for the AQT's custom rotation and M\u00f8lmer-S\u00f8renson-type gates.\n\n* Supports core PennyLane operations such as qubit rotations, Hadamard, basis state preparations, etc.\n\n.. installation-start-inclusion-marker-do-not-remove\n\nInstallation\n============\n\nPennyLane-AQT requires Python >= 3.10. If you currently do not have Python 3 installed,\nwe recommend `Anaconda for Python 3 <https://www.anaconda.com/download/>`_, a distributed\nversion of Python packaged for scientific computation. If you are using Python 3.12, \nensure `setuptools` is up to date prior to installation:\n::\n\n $ python3 -m pip install --upgrade setuptools\n\nPennyLane-AQT only requires PennyLane for use, no additional external frameworks are needed.\nThe plugin can be installed via ``pip``:\n::\n\n $ python3 -m pip install pennylane-aqt\n\nAlternatively, you can install PennyLane-AQT from the source code by navigating to the top directory and running\n::\n\n $ python3 setup.py install\n\nSoftware tests\n~~~~~~~~~~~~~~\n\nTo ensure that PennyLane-AQT is working correctly after installation, the test suite can be\nrun by navigating to the source code folder and running\n::\n\n $ make test\n\n\nDocumentation\n~~~~~~~~~~~~~\n\nTo build the HTML documentation, go to the top-level directory and run\n::\n\n $ make docs\n\nThe documentation can then be found in the ``doc/_build/html/`` directory.\n\n.. installation-end-inclusion-marker-do-not-remove\n\nGetting started\n===============\n\nOnce PennyLane is installed, the provided AQT devices can be accessed straight\naway in PennyLane. However, the user will need access credentials for the AQT platform in order to\nuse these remote devices. These credentials should be provided to PennyLane via a\n`configuration file or environment variable <https://pennylane.readthedocs.io/en/stable/introduction/configuration.html>`_.\nSpecifically, the variable ``AQT_TOKEN`` must contain a valid access key for AQT's online platform.\n\nYou can instantiate the AQT devices for PennyLane as follows:\n\n.. code-block:: python\n\n import pennylane as qml\n dev1 = qml.device('aqt.sim', wires=2)\n dev2 = qml.device('aqt.noisy_sim', wires=2)\n\nThese devices can then be used just like other devices for the definition and evaluation of\nquantum circuits within PennyLane. For more details and ideas, see the\n`PennyLane website <https://pennylane.ai>`_ and refer\nto the `PennyLane documentation <https://pennylane.readthedocs.io>`_.\n\n\nContributing\n============\n\nWe welcome contributions\u2014simply fork the PennyLane-AQT repository, and then make a\n`pull request <https://help.github.com/articles/about-pull-requests/>`_ containing your contribution.\nAll contributers to PennyLane-AQT will be listed as contributors on the releases.\n\nWe also encourage bug reports, suggestions for new features and enhancements, and even links to cool\nprojects or applications built on PennyLane and AQT.\n\n\nContributors\n============\n\nPennyLane-AQT is the work of many `contributors <https://github.com/PennyLaneAI/pennylane-aqt/graphs/contributors>`_.\n\nIf you are doing research using PennyLane, please cite our papers:\n\n Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, M. Sohaib Alam, Shahnawaz Ahmed,\n Juan Miguel Arrazola, Carsten Blank, Alain Delgado, Soran Jahangiri, Keri McKiernan, Johannes Jakob Meyer,\n Zeyue Niu, Antal Sz\u00e1va, Nathan Killoran.\n *PennyLane: Automatic differentiation of hybrid quantum-classical computations.* 2018.\n `arXiv:1811.04968 <https://arxiv.org/abs/1811.04968>`_\n\n Maria Schuld, Ville Bergholm, Christian Gogolin, Josh Izaac, and Nathan Killoran.\n *Evaluating analytic gradients on quantum hardware.* 2018.\n `Phys. Rev. A 99, 032331 <https://journals.aps.org/pra/abstract/10.1103/PhysRevA.99.032331>`_\n\n.. support-start-inclusion-marker-do-not-remove\n\nSupport\n=======\n\n- **Source Code:** https://github.com/PennyLaneAI/pennylane-aqt\n- **Issue Tracker:** https://github.com/PennyLaneAI/pennylane-aqt/issues\n\nIf you are having issues, please let us know by posting the issue on our GitHub issue tracker.\n\n.. support-end-inclusion-marker-do-not-remove\n.. license-start-inclusion-marker-do-not-remove\n\nLicense\n=======\n\nPennyLane-AQT is **free** and **open source**, released under the Apache License, Version 2.0.\n\n.. license-end-inclusion-marker-do-not-remove\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "PennyLane plugin to access the Alpine Quantum Technologies cloud service.",
"version": "0.40.0",
"project_urls": {
"Homepage": "http://xanadu.ai"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8f6a1ba06847f5d59aea69d71bc11d4e7f7e4d082b29283ac79fb81bae458e95",
"md5": "e122f4eb7edcd81e8c0a0cfb6c33fa14",
"sha256": "917a9ee1378af3b985b3488fd5747371c9ad0cb7a79ae67d64005fc5b8aafe67"
},
"downloads": -1,
"filename": "PennyLane_AQT-0.40.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e122f4eb7edcd81e8c0a0cfb6c33fa14",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16361,
"upload_time": "2025-01-14T22:09:01",
"upload_time_iso_8601": "2025-01-14T22:09:01.947114Z",
"url": "https://files.pythonhosted.org/packages/8f/6a/1ba06847f5d59aea69d71bc11d4e7f7e4d082b29283ac79fb81bae458e95/PennyLane_AQT-0.40.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-14 22:09:01",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pennylane-aqt"
}