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 . `

or

`bash pip3 install blueqat `

## 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/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.2.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file blueqat-0.1.2.tar.gz.

File metadata

  • Download URL: blueqat-0.1.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.5

File hashes

Hashes for blueqat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9170ab84d1998231f2dde5667dbfefd68b841a81d11feb3a6417154e39033ca8
MD5 6d70adfe1ab8333c1daea055113e6585
BLAKE2b-256 6985fa9f750862ec56a140666f26c58a53dc6c4784c028fdfe6f8ee10d9955c8

See more details on using hashes here.

Supported by

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