Skip to main content

Open-source Python SDK for photonic quantum computation.

Project description

Tests Docs Pyversions

Lightworks

Lightworks is an open-source Python SDK, designed for the encoding of linear optic circuits for application in photonic quantum computing. These circuits can be packaged with the other SDK components to create quantum jobs for execution on photonic hardware. Lightworks focuses on discrete-variable quantum computing, and can be utilized for both qubit and boson sampling paradigms.

Included within Lightworks is also an emulator, allowing users to evaluate the operation and performance of a particular configuration before hardware execution. There is a number of simulation objects, each offering a differing functionality, ranging from direct quantum state evolution to replicating the typical sampling process from a photonic system. The emulator also supports complex photonic specific noise modelling, providing a valuable insight into the effect of imperfections in photon generation, QPU programming, and detectors, on a target algorithm.

Usage

Python 3.10+ is required.

Lightworks can be installed through pip using the command:

pip install lightworks

Documentation

Documentation of this package is hosted at: https://aegiq.github.io/lightworks/

Contributing

Contributions to Lightworks can be made via a pull request. If you have an idea for a feature that you'd like to implement it may be best to first raise this in the issues sections, as it may be the case that this is already in development internally or is potentially incompatible with the existing Lightworks framework.

Before contributing, please see Contributing in the documentation for more guidance on code testing & formatting requirements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lightworks-1.4.1.tar.gz (98.3 kB view details)

Uploaded Source

Built Distribution

lightworks-1.4.1-py3-none-any.whl (119.5 kB view details)

Uploaded Python 3

File details

Details for the file lightworks-1.4.1.tar.gz.

File metadata

  • Download URL: lightworks-1.4.1.tar.gz
  • Upload date:
  • Size: 98.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for lightworks-1.4.1.tar.gz
Algorithm Hash digest
SHA256 53ca27e5bd7be0ae6787eba91a0c90e7944ac25d047f58b03f6e8c1193ed24a5
MD5 88bcce23545c0940ef24f622d202f86f
BLAKE2b-256 87b4c3b7f54f8ec3e2760f73841f64a143d5c9f85d2103a498f31ba530541c6f

See more details on using hashes here.

File details

Details for the file lightworks-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: lightworks-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 119.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for lightworks-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e22e6a9b9b5a1120be4dd994a4bb0636e070517ef2c7e40e3cfa68acf1b072
MD5 c80d7b6b4a6d370e761a5444e32a75f4
BLAKE2b-256 b07ac0d3716138c824c5871ffb16bb9693f04019ab0522eacb62fd438756718f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page