{"id":28573381,"url":"https://github.com/pennylaneai/pennylane-sf","last_synced_at":"2025-06-10T21:17:46.415Z","repository":{"id":38179693,"uuid":"152600039","full_name":"PennyLaneAI/pennylane-sf","owner":"PennyLaneAI","description":"The PennyLane-SF plugin integrates Xanadu's Strawberry Fields photonic quantum simulators and hardware with PennyLane's quantum machine learning capabilities. ","archived":false,"fork":false,"pushed_at":"2025-05-06T18:06:37.000Z","size":3820,"stargazers_count":39,"open_issues_count":13,"forks_count":20,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-10T16:56:27.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.pennylane.ai/projects/strawberryfields","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PennyLaneAI.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2018-10-11T13:54:17.000Z","updated_at":"2025-05-22T16:28:39.000Z","dependencies_parsed_at":"2023-07-14T20:17:39.864Z","dependency_job_id":"b5712735-442e-4243-aca0-ef3a2153257a","html_url":"https://github.com/PennyLaneAI/pennylane-sf","commit_stats":{"total_commits":164,"total_committers":17,"mean_commits":9.647058823529411,"dds":0.5426829268292683,"last_synced_commit":"19285bcf39dc549de4b92c415d9bbcfbc4c57e02"},"previous_names":["xanaduai/pennylane-sf"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-sf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-sf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-sf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-sf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PennyLaneAI","download_url":"https://codeload.github.com/PennyLaneAI/pennylane-sf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PennyLaneAI%2Fpennylane-sf/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":[],"created_at":"2025-06-10T21:17:41.026Z","updated_at":"2025-06-10T21:17:46.402Z","avatar_url":"https://github.com/PennyLaneAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PennyLane Strawberry Fields Plugin\n##################################\n\n.. image:: https://img.shields.io/github/workflow/status/PennyLaneAI/pennylane-sf/Tests/master?logo=github\u0026style=flat-square\n    :alt: GitHub Workflow Status (branch)\n    :target: https://github.com/PennyLaneAI/pennylane-sf/actions?query=workflow%3ATests\n\n.. image:: https://img.shields.io/codecov/c/github/PennyLaneAI/pennylane-sf/master.svg?logo=codecov\u0026style=flat-square\n    :alt: Codecov coverage\n    :target: https://codecov.io/gh/PennyLaneAI/pennylane-sf\n\n.. image:: https://img.shields.io/codefactor/grade/github/PennyLaneAI/pennylane-sf/master?logo=codefactor\u0026style=flat-square\n    :alt: CodeFactor Grade\n    :target: https://www.codefactor.io/repository/github/pennylaneai/pennylane-sf\n\n.. image:: https://readthedocs.com/projects/xanaduai-pennylane-sf/badge/?version=latest\u0026style=flat-square\n    :alt: Read the Docs\n    :target: https://docs.pennylane.ai/projects/strawberryfields\n\n.. image:: https://img.shields.io/pypi/v/PennyLane-sf.svg?style=flat-square\n    :alt: PyPI\n    :target: https://pypi.org/project/PennyLane-sf\n\n.. image:: https://img.shields.io/pypi/pyversions/PennyLane-sf.svg?style=flat-square\n    :alt: PyPI - Python Version\n    :target: https://pypi.org/project/PennyLane-sf\n\n\\\n\n    **❗ This plugin will not be supported in newer versions of PennyLane. It is compatible with versions\n    of PennyLane up to and including 0.29❗** Please use \n    `Strawberry Fields \u003chttps://strawberryfields.readthedocs.io\u003e`__ instead.\n\n.. header-start-inclusion-marker-do-not-remove\n\nThe PennyLane-SF plugin integrates the StrawberryFields photonic quantum computing framework with PennyLane's\nquantum machine learning capabilities.\n\n`PennyLane \u003chttps://pennylane.readthedocs.io\u003e`__ is a machine learning library for optimization and\nautomatic differentiation of hybrid quantum-classical computations.\n\n`Strawberry Fields \u003chttps://strawberryfields.readthedocs.io\u003e`__ is a full-stack Python library\nfor designing, simulating, and optimizing photonic quantum circuits.\n\n\n.. header-end-inclusion-marker-do-not-remove\n\nThe plugin documentation can be found here: `PennyLane-Strawberry Fields \u003chttps://pennylane-sf.readthedocs.io/en/latest/\u003e`__.\n\n\nFeatures\n========\n\n* Provides two devices to be used with PennyLane: ``strawberryfields.fock`` and ``strawberryfields.gaussian``. These provide access to the Strawberry Fields Fock and Gaussian backends respectively.\n\n* Supports all core PennyLane operations and observables across the two devices.\n\n* Combine Strawberry Fields optimized simulator suite with PennyLane's automatic differentiation and optimization.\n\n.. installation-start-inclusion-marker-do-not-remove\n\nInstallation\n============\n\nInstallation of PennyLane-SF, as well as all required Python packages, can be installed via ``pip``:\n::\n\n   \t$ python -m pip install pennylane-sf\n\n\nMake sure you are using the Python 3 version of pip.\n\nAlternatively, you can install PennyLane-SF from the source code by navigating to the top directory and running\n::\n\n\t$ python setup.py install\n\nDependencies\n~~~~~~~~~~~~\n\nPennyLane-SF requires the following libraries be installed:\n\n* `Python \u003chttp://python.org/\u003e`__ \u003e=3.8\n\nas well as the following Python packages:\n\n* `PennyLane \u003chttp://pennylane.readthedocs.io/\u003e`__ \u003e=0.19, \u003c0.30\n* `StrawberryFields \u003chttps://strawberryfields.readthedocs.io/\u003e`__ \u003e=0.22\n\n\nIf you currently do not have Python 3 installed,\nwe recommend `Anaconda for Python 3 \u003chttps://www.anaconda.com/download/\u003e`__, a distributed\nversion of Python packaged for scientific computation.\n\nSoftware tests\n~~~~~~~~~~~~~~\n\nTo ensure that PennyLane-SF is working correctly after installation, the test suite can be\nrun by navigating to the source code folder and running\n::\n\n\t$ 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\nContributing\n============\n\nWe welcome contributions - simply fork the PennyLane-SF repository, and then make a\n`pull request \u003chttps://help.github.com/articles/about-pull-requests/\u003e`__ containing your contribution.\nAll contributers to PennyLane-SF will be listed as authors on the releases.\n\nWe also encourage bug reports, suggestions for new features and enhancements, and even links\nto cool projects or applications built on PennyLane and Strawberry Fields.\n\n\nAuthors\n=======\n\nJosh Izaac, Ville Bergholm, Maria Schuld, Nathan Killoran and Christian Gogolin\n\nIf you are doing research using PennyLane and StrawberryFields, please cite our papers:\n\n    Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, and Nathan Killoran.\n    *PennyLane: Automatic differentiation of hybrid quantum-classical computations.* 2018.\n    `arXiv:1811.04968 \u003chttps://arxiv.org/abs/1811.04968\u003e`__\n\n    Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and Christian Weedbrook.\n    *Strawberry Fields: A Software Platform for Photonic Quantum Computing.* 2018.\n    `arXiv:1804.03159 \u003chttps://arxiv.org/abs/1804.03159\u003e`__\n\n.. support-start-inclusion-marker-do-not-remove\n\nSupport\n=======\n\n- **Source Code:** https://github.com/PennyLaneAI/pennylane-sf\n- **Issue Tracker:** https://github.com/PennyLaneAI/pennylane-sf/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\nWe also have a `Strawberry Fields Slack channel \u003chttps://u.strawberryfields.ai/slack\u003e`__ -\ncome join the discussion and chat with our Strawberry Fields team.\n\n.. support-end-inclusion-marker-do-not-remove\n.. license-start-inclusion-marker-do-not-remove\n\nLicense\n=======\n\nPennyLane-SF is **free** and **open source**, released under the Apache License, Version 2.0.\n\n.. license-end-inclusion-marker-do-not-remove\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpennylaneai%2Fpennylane-sf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpennylaneai%2Fpennylane-sf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpennylaneai%2Fpennylane-sf/lists"}