{"id":28573402,"url":"https://github.com/pennylaneai/pennylane-rigetti","last_synced_at":"2025-06-10T21:17:57.229Z","repository":{"id":37855238,"uuid":"169467946","full_name":"PennyLaneAI/pennylane-rigetti","owner":"PennyLaneAI","description":"This PennyLane plugin allows the Rigetti Forest QPUs, QVM, and wavefunction simulator to optimize quantum circuits.","archived":false,"fork":false,"pushed_at":"2025-05-06T17:55:30.000Z","size":84356,"stargazers_count":43,"open_issues_count":9,"forks_count":28,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-06T18:48:52.401Z","etag":null,"topics":["automatic-differentiation","forest","machine-learning","optimization","quantum-computing"],"latest_commit_sha":null,"homepage":"https://docs.pennylane.ai/projects/rigetti","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PennyLaneAI.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-06T19:57:55.000Z","updated_at":"2025-02-07T13:00:16.000Z","dependencies_parsed_at":"2023-12-26T10:46:41.032Z","dependency_job_id":"bd792b27-8fe3-426b-bae5-415366582d4e","html_url":"https://github.com/PennyLaneAI/pennylane-rigetti","commit_stats":{"total_commits":126,"total_committers":22,"mean_commits":"5.7272727272727275","dds":0.753968253968254,"last_synced_commit":"898b742956c467572b7293aa74d9e03e3f19c232"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-rigetti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-rigetti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-rigetti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-rigetti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PennyLaneAI","download_url":"https://codeload.github.com/PennyLaneAI/pennylane-rigetti/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-rigetti/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259152773,"owners_count":22813223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic-differentiation","forest","machine-learning","optimization","quantum-computing"],"created_at":"2025-06-10T21:17:48.113Z","updated_at":"2025-06-10T21:17:57.204Z","avatar_url":"https://github.com/PennyLaneAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PennyLane Rigetti Plugin\n########################\n\n.. warning::\n    The PennyLane-Rigetti plugin is only compatible with PennyLane v0.40 or below. To use Rigetti hardware with newer versions of PennyLane please use the `PennyLane-Braket plugin \u003chttps://amazon-braket-pennylane-plugin-python.readthedocs.io/en/stable/index.html\u003e`__ instead.\n\n.. image:: https://img.shields.io/github/actions/workflow/status/PennyLaneAI/pennylane-rigetti/tests.yml?branch=master\u0026logo=github\u0026style=flat-square\n    :alt: GitHub Workflow Status (branch)\n    :target: https://github.com/PennyLaneAI/pennylane-rigetti/actions?query=workflow%3ATests\n\n.. image:: https://img.shields.io/codecov/c/github/PennyLaneAI/pennylane-rigetti/master.svg?logo=codecov\u0026style=flat-square\n    :alt: Codecov coverage\n    :target: https://codecov.io/gh/PennyLaneAI/pennylane-rigetti\n\n.. image:: https://img.shields.io/codefactor/grade/github/PennyLaneAI/pennylane-rigetti/master?logo=codefactor\u0026style=flat-square\n    :alt: CodeFactor Grade\n    :target: https://www.codefactor.io/repository/github/pennylaneai/pennylane-rigetti\n\n.. image:: https://readthedocs.com/projects/xanaduai-pennylane-rigetti/badge/?version=latest\u0026style=flat-square\n    :alt: Read the Docs\n    :target: https://docs.pennylane.ai/projects/rigetti\n\n.. image:: https://img.shields.io/pypi/v/pennylane-rigetti.svg?style=flat-square\n    :alt: PyPI\n    :target: https://pypi.org/project/pennylane-rigetti\n\n.. image:: https://img.shields.io/pypi/pyversions/pennylane-rigetti.svg?style=flat-square\n    :alt: PyPI - Python Version\n    :target: https://pypi.org/project/pennylane-rigetti\n\n.. header-start-inclusion-marker-do-not-remove\n\nThe PennyLane Rigetti plugin allows different Rigetti devices to work with\nPennyLane --- the wavefunction simulator, the Quantum Virtual Machine (QVM), and Quantum Processing Units (QPUs).\n\n`pyQuil \u003chttps://pyquil.readthedocs.io\u003e`__ is a Python library for quantum programming using the\nquantum instruction language (Quil) --- resulting quantum programs can be executed using the\n`Rigetti Forest SDK \u003chttps://pyquil-docs.rigetti.com/en/stable/\u003e`__ and `Rigetti Quantum Cloud Services (QCS)\n\u003chttps://qcs.rigetti.com/\u003e`__.\n\n`PennyLane \u003chttps://pennylane.readthedocs.io\u003e`__ is a cross-platform Python library for quantum machine\nlearning, automatic differentiation, and optimization of hybrid quantum-classical computations.\n\n\n.. header-end-inclusion-marker-do-not-remove\n\nThe plugin documentation can be found here: `\u003chttps://docs.pennylane.ai/projects/rigetti\u003e`__.\n\nFeatures\n========\n\n* Provides four devices to be used with PennyLane: ``rigetti.numpy_wavefunction``,\n  ``rigetti.wavefunction``, ``rigetti.qvm``, and ``rigetti.qpu``. These provide access to the pyQVM\n  Numpy wavefunction simulator, pyQuil wavefunction simulator, quantum\n  virtual machine (QVM), and quantum processing units (QPUs) respectively.\n\n\n* All provided devices support all core qubit PennyLane operations and observables.\n\n.. installation-start-inclusion-marker-do-not-remove\n\nInstallation\n============\n\nPennyLane-Rigetti, as well as all required Python packages mentioned above, can be installed via ``pip``:\n::\n\n   \t$ python -m pip install pennylane-rigetti\n\n\nMake sure you are using the Python 3 version of pip.\n\nAlternatively, you can install PennyLane-Rigetti from the source code by navigating to the top-level directory and running\n::\n\n\t$ python setup.py install\n\nDependencies\n~~~~~~~~~~~~\n\nPennyLane-Rigetti requires the following libraries be installed:\n\n* `Python \u003chttp://python.org/\u003e`__ \u003e=3.10\n\nas well as the following Python packages:\n\n* `PennyLane \u003chttp://pennylane.readthedocs.io/\u003e`__ \u003e=0.18.0\n* `pyQuil \u003chttps://pyquil-docs.rigetti.com/en/stable/\u003e`__ \u003e=3.0.0, \u003c4.0.0\n\nIf you currently do not have Python 3 installed, we recommend\n`Anaconda for Python 3 \u003chttps://www.anaconda.com/download/\u003e`__, a distributed version\nof Python packaged for scientific computation.\n\nAdditionally, if you would like to compile the quantum instruction language (Quil) and run it\nlocally using a quantum virtual machine (QVM) server, you will need to download and install the\nForest software development kit (SDK):\n\n* `Forest SDK \u003chttps://pyquil-docs.rigetti.com/en/stable/\u003e`__\n\nAlternatively, you may sign up for Rigetti's Quantum Cloud Services (QCS)  which will allow you to compile your \nquantum code and run on real QPUs. Note that this requires a valid QCS account and the QCS CLI:\n\n* `QCS \u003chttps://docs.rigetti.com/en/\u003e`__\n* `QCS CLI \u003chttps://docs.rigetti.com/qcs/guides/using-the-qcs-cli\u003e`__\n\nTests\n~~~~~\n\nTo test that the PennyLane-Rigetti plugin is working correctly you can run\n\n.. code-block:: bash\n\n    $ make test\n\nin the source folder.\n\nDocumentation\n~~~~~~~~~~~~~\n\nTo build the HTML documentation, go to the top-level directory and run:\n\n.. code-block:: bash\n\n  $ make docs\n\n\nThe documentation can then be found in the ``doc/_build/html/`` directory.\n\n.. installation-end-inclusion-marker-do-not-remove\n\nContributing\n============\n\nWe welcome contributions - simply fork the repository of this plugin, and then make a\n`pull request \u003chttps://help.github.com/articles/about-pull-requests/\u003e`__ containing your contribution.\nAll contributers to this plugin will be listed as authors on the releases.\n\nWe also encourage bug reports, suggestions for new features and enhancements, and even links to cool projects\nor applications built on PennyLane.\n\n\nAuthors\n=======\n\nPennyLane-Rigetti is the work of `many contributors \u003chttps://github.com/PennyLaneAI/pennylane-forest/graphs/contributors\u003e`__.\n\nIf you are doing research using PennyLane and PennyLane-Rigetti, please cite `our paper \u003chttps://arxiv.org/abs/1811.04968\u003e`__:\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áva, and Nathan Killoran.\n    *PennyLane: Automatic differentiation of hybrid quantum-classical computations.* 2018. arXiv:1811.04968\n\n.. support-start-inclusion-marker-do-not-remove\n\nSupport\n=======\n\n- **Source Code:** https://github.com/PennyLaneAI/pennylane-rigetti\n- **Issue Tracker:** https://github.com/PennyLaneAI/pennylane-rigetti/issues\n- **PennyLane Forum:** https://discuss.pennylane.ai\n\nIf you are having issues, please let us know by posting the issue on our Github issue tracker, or\nby asking a question in the forum.\n\n.. support-end-inclusion-marker-do-not-remove\n.. license-start-inclusion-marker-do-not-remove\n\n\nLicense\n=======\n\nPennyLane-Rigetti is **free** and **open source**, released under the BSD 3-Clause `license\n\u003chttps://github.com/PennyLaneAI/pennylane-rigetti/blob/master/LICENSE\u003e`__.\n\n.. license-end-inclusion-marker-do-not-remove\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpennylaneai%2Fpennylane-rigetti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpennylaneai%2Fpennylane-rigetti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpennylaneai%2Fpennylane-rigetti/lists"}