Qubit¶
The Qubit module offers tools for programming the gate-based paradigm of quantum computing within linear optic circuits, including a set of gates and a converter for moving between quantum programming languages.
Usage¶
Some components of the Qubit module require additional dependencies, such as qiskit, and will raise exceptions if these are not installed. Missing dependencies can be added by selecting the required options when installing Lightworks. For example, to install qiskit for use with the qiskit_converter, the following command can be used:
(.venv) $ pip install lightworks[qiskit]