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 versions 3.10-3.12 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-1.5.1.tar.gz (107.0 kB view details)

Uploaded Source

Built Distribution

lightworks-1.5.1-py3-none-any.whl (129.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lightworks-1.5.1.tar.gz
Algorithm Hash digest
SHA256 78c3352f53dae2894de16b7164e009dae3f7886a16dc0d346688f226420fb9bf
MD5 272a93fb88a79e23899f55d439ba9073
BLAKE2b-256 8fb31826a9612b10afc95b646c6bb8016dfd7eb35c4f0245dd4493ba42501401

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lightworks-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 129.1 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9acefec545e83f18691fafdd33bb868be9992fb552499eb6726fdd7aadd77fb8
MD5 6c9922c48838f63334b195191b525117
BLAKE2b-256 4870c33fc47e85f1912c0a90a0d277b6a24c1904b607b4c62803e3eb0af3af5f

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