Skip to main content

A lightweught quantum computing simulator

Project description

Simple and lightweight Quantum Computing simulator built with python3 for educational purposes.


Deploy CI

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


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.2.tar.gz (14.8 kB view hashes)

Uploaded Source

Built Distribution

qclight-0.0.2-py3-none-any.whl (19.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page