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.
Release files for lightworks 2.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lightworks-2.3.4.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lightworks-2.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.0 MB
Release files / lightworks-2.3.4.tar.gz
| Download URL | lightworks-2.3.4.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da67951c568285e68eec0c1c4d6bd6ce1aa15548b42f7e0bb629f53a5267aa1e
|
|
BLAKE2b-256 checksum How to use checksums |
40cb0ac92b6d36561cbaef077d896fb6c3201de6f74491b548a34f4a0cd123ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.
Transparency logRelease files / lightworks-2.3.4-py3-none-any.whl
| Download URL | lightworks-2.3.4-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c61b6716d679f54b1376fd4095f48931de466f6ab9e016f70576a824a1e70abd
|
|
BLAKE2b-256 checksum How to use checksums |
2dcf2461704375fa41d1d22a0d89bdb0c22d5c9533c5d154accb3415b51071db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.
Transparency log