Simple and lightweight Quantum Computing simulator built with python3 for educational purposes.
Installation
pip install qclight
Example
"""Main"""
from qclight.circuit import QCLVisualCircuit
def main():
"""Simple main function"""
circuit = QCLVisualCircuit(4)
circuit.h(0)
circuit.cx(0, 3)
circuit.barrier()
circuit.x(2)
print(circuit)
if __name__ == "__main__":
main()
TODO
- Improve performance with a custom range function for fixed bits
- Measure qubit
- Add more examples
- Print ascii of circuit
- Print svg of circuit
- Circuit composition
- Circuit to gate
- SumCircuit
Metadata
Release files for qclight 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qclight-0.0.2.tar.gz | 14.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qclight-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.5 kB
Release files / qclight-0.0.2.tar.gz
| Download URL | qclight-0.0.2.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d37ee5d199ad301b3f3ecb7a54aef258578f0b63eb5a1397f5b045ba8e9dc44
|
|
BLAKE2b-256 checksum How to use checksums |
c1ed31a7f9a8400faaa799b7eda6a44a63486e457bc5490c0ec3624972839334
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / qclight-0.0.2-py3-none-any.whl
| Download URL | qclight-0.0.2-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70979ff2fcd233ac9a0b152354def2b9cc291c4f689d5e4907274dc42d37bfdb
|
|
BLAKE2b-256 checksum How to use checksums |
63c5eecfca3c00377017eea7e0cfe364ba807bca48bc1c759d4e30e78118dae2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for qclight 0.0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.