A lightweught quantum computing simulator
Project description
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
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
qclight-0.0.0.tar.gz
(14.8 kB
view hashes)
Built Distribution
qclight-0.0.0-py3-none-any.whl
(19.7 kB
view hashes)