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.2.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.2-py3-none-any.whl (168.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lightworks-2.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 97057f8c81aa70d3821e5d1b535b41577b7abf38f3924ba211df6524d7a4cf5e
MD5 8444b29adc0ccce76c72db62fec5e32e
BLAKE2b-256 3058989e6e67ecde35d56506f6f59a3055a10b823eb0c1e6d1e7ed5fa4067867

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightworks-2.3.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: lightworks-2.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9712c61054389c84a9e545c1ad1a1fab3c2b2d6bc066facc5af407f637729e55
MD5 71f1286fdf16ddc751236f857fe4792b
BLAKE2b-256 f0aca1f6cb1a95d1138b5bf84459c457977689374d2af9abebb98882e9943e89

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightworks-2.3.2-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