Open-source Python SDK for photonic quantum computation.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lightworks-1.7.0.tar.gz
.
File metadata
- Download URL: lightworks-1.7.0.tar.gz
- Upload date:
- Size: 122.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b599654584d06c50aef2fc8fbeb88ad562aa021eeb418405e3959fea0ba9785 |
|
MD5 | cc514de875d9257398e6c171d0d19e20 |
|
BLAKE2b-256 | 5ea7406a8e9bdf7a56e917b0bdd6e2860c7204c9d0864c05cfa299c8df4f506c |
File details
Details for the file lightworks-1.7.0-py3-none-any.whl
.
File metadata
- Download URL: lightworks-1.7.0-py3-none-any.whl
- Upload date:
- Size: 144.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95974607c22ad7d542ebeee4fd7afbb1ae5e147d7595ca1d9ca9bd3c14cb9e59 |
|
MD5 | edbc4e070a3319de0e1484a2997b8535 |
|
BLAKE2b-256 | cec86ea03ad4973c8c50be07cf8b852d7b03ccb475fde5be97811d537c4a0c18 |