Skip to main content

Open-source Python SDK for photonic quantum computation.

Project description

Tests Docs Pyversions DOI

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 versions 3.10-3.14 are supported.

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-2.3.3.tar.gz (139.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lightworks-2.3.3-py3-none-any.whl (168.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lightworks-2.3.3.tar.gz
  • Upload date:
  • Size: 139.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for lightworks-2.3.3.tar.gz
Algorithm Hash digest
SHA256 a3b5a69cc1e26042ef4cba618999960ba33a624dde461cdb07faccc5347547ab
MD5 56e69f8df0dc600a40d0b31d516c9dd8
BLAKE2b-256 35d72c1af262dced62d6a924922b69cc220cfa937d261fe04b64be175d700d2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightworks-2.3.3.tar.gz:

Publisher: python_publish.yml on Aegiq/lightworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: lightworks-2.3.3-py3-none-any.whl
  • Upload date:
  • Size: 168.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for lightworks-2.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d3f1251247190a5c1dc109965f3b05d502dc5de347e5b8b3b61b72cf8602c299
MD5 b192b7e6db94f989488cc01cd52b2f37
BLAKE2b-256 f2a8ba853b53f43fed7cefcc62dfef33cf415d2c510a05462c249ea1c8f2ee54

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightworks-2.3.3-py3-none-any.whl:

Publisher: python_publish.yml on Aegiq/lightworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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