Skip to main content

Quantum gate simulator

Project description

# A quantum gate simulator.

## Install `bash git clone https://github.com/mdrft/blueqat cd blueqat pip3 install -e . `

## Example: 2-qubit Grover

`python from blueqat import Circuit c = Circuit().h[:2].cz[0,1].h[:].x[:].cz[0,1].x[:].h[:].m[:] c.run() print(c.last_result()) # => (1, 1) `

## Example: Maxcut QAOA

`bash python examples/examples_maxcut_qaoa.py `

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

blueqat-0.1.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

blueqat-0.1-py3-none-any.whl (8.0 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