Lightworks

Latest version: v1.3.1

Safety actively analyzes 632478 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.3.1

Fixed a bug with get_all_params method in circuit and removed some old code from the package.

PR: 33

1.3

With the inclusion of qubit components in Lightworks 1.2, it quickly became clear that trying to identify and manage heralding modes/photons was very difficult when adding more than a single gate. This update therefore adds the integration of heralds into the circuit object, enabling heralds to be abstracted and internally managed in a visual and logical way.

Changelog:

- Integrated heralds within the circuit object, including support for creation of functional heralded sub-circuits which can then be added to a larger circuit.
- Updated display methods to support the inclusion of heralds.
- Included support for heralds within all simulation objects, meaning these modes don't need to be specified by users.
- Minor bug fixes with SimulationResult + library restructuring.

PR: 23

1.2

This release added a set of standard components for implementing photonic qubit gates and expanded on the documentation.

Changelog:
- Added single and two qubit gate circuits which can be used to quickly implement required qubit processing.
- Improved docs, including sections of backend usage, extra Simulator examples and some information on new qubit components. Also corrected some grammatical issues.
- Removed some redundant functions and fidelity calculation as this was not well defined.
- Added slots to States and AnnotatedStates to reduce memory usage, also removed pre-calculation of mode number.
- Added method in state to perform validation on the values, checking that they are all integers and are not negative.
- Adjusted the indexing method used in SimualtionResult, now values are accessed with [input, output] instead of [input:output].

PR: 15

1.1

This release of Lightworks reworks the backend to provide a framework for a future expansion of backend options. A basic SLOS implementation has also been added to the Sampler for initial testing of the backend functionality.

There was also a number of additional updates in this release:
- Improved performance of some components.
- Expanded on unit tests, including using parametrization in pytest to quickly check a range of values.
- Updated docs, detailing the Unitary object and adding a demo notebook for the heralded CNOT.

PR: 8

1.0

Initial release of Lightworks

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.