Skip to main content

Google Cirq adapter for IQM's quantum architectures

Project description

CI badge Release badge Black badge

Cirq on IQM

Google Cirq adapter for IQM’s quantum architectures.

What is it good for?

Currently Cirq on IQM can

  • take an arbitrary quantum circuit created using Cirq or imported from an OpenQASM 2.0 file

  • map the circuit into an equivalent one compatible with the chosen IQM quantum architecture

  • optimize the circuit by commuting and merging gates

  • simulate the circuit using one of Cirq’s simulators

  • run the circuit on an IQM quantum computer

Installation

The recommended way is to install the distribution package cirq-iqm directly from the Python Package Index (PyPI):

$ pip install cirq-iqm

Documentation

The documentation of the latest Cirq on IQM release is available here.

Jump to our User guide for a quick introduction on how to use Cirq on IQM.

Take a look at the Jupyter notebook with examples: examples/usage.ipynb.

You can build documentation for any older version locally by cloning the Git repository, checking out the corresponding tag, and running the docs builder. For example, to build the documentation for version 12.2:

$ git clone git@github.com:iqm-finland/cirq-on-iqm.git
$ cd cirq-on-iqm
$ git checkout 12.2
$ tox run -e docs

tox run -e docs will build the documentation at ./build/sphinx/html. This command requires the tox,, sphinx and sphinx-book-theme Python packages (see the docs optional dependency in pyproject.toml); you can install the necessary packages with pip install -e ".[dev,docs]"

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

cirq_iqm-14.5.tar.gz (227.8 kB view details)

Uploaded Source

Built Distribution

cirq_iqm-14.5-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

Details for the file cirq_iqm-14.5.tar.gz.

File metadata

  • Download URL: cirq_iqm-14.5.tar.gz
  • Upload date:
  • Size: 227.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cirq_iqm-14.5.tar.gz
Algorithm Hash digest
SHA256 15b1d386ef03ef7393a3f87575a4e53c6fa251a51d6cf4b724e1e719b32ac638
MD5 3690fb93f650342506f3cb3a3873d76e
BLAKE2b-256 9ee5aa5f87efce751b4a3c9dcaecb0186a89e9c60d80451d9c21ad56f57f077a

See more details on using hashes here.

File details

Details for the file cirq_iqm-14.5-py3-none-any.whl.

File metadata

  • Download URL: cirq_iqm-14.5-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cirq_iqm-14.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cfb1b3615c6af874196dcc578c74e8f224322bf8c8f4fe0d8d0cc3559d0c4a03
MD5 35e2f546871ff73534a7f2fb7b95e355
BLAKE2b-256 6003c44ea2b3c1184238f993d50217ef98d11c6437ae1cd13ca8137d0a1bcba7

See more details on using hashes here.

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