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.5.2.tar.gz
.
File metadata
- Download URL: lightworks-1.5.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2643f251ec5a9237dd1cea1d44c49d654726754fc7f81804c8339ede5f1215cc |
|
MD5 | 40b43061eeae63e2af66eaefbf7bd5fd |
|
BLAKE2b-256 | de8661aa04c0e67de764977a2a13f222c950df5cf5017563f245b96aa692772a |
File details
Details for the file lightworks-1.5.2-py3-none-any.whl
.
File metadata
- Download URL: lightworks-1.5.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d5ec54128be35a318150fe29e3ff71884543fc3db48eb8e4b28ca2d18967234 |
|
MD5 | 6242e4baa142ee83298bdd04a85762b7 |
|
BLAKE2b-256 | f97853a420d83c62e9eb41bc8023c6a05e59cefb96783b655cb20b00987bc6b2 |