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-15.1.tar.gz (230.8 kB view details)

Uploaded Source

Built Distribution

cirq_iqm-15.1-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cirq_iqm-15.1.tar.gz
  • Upload date:
  • Size: 230.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-15.1.tar.gz
Algorithm Hash digest
SHA256 8e89c58b67f536d35002af340aed3e71f60f7a5d72a775afcd95d87ec4714546
MD5 e2bbeaa717e0a39676ffe7ada207b2e0
BLAKE2b-256 f799abe13a2daaa51bb80771e5ee12745442ee47ecdc6c68df47a51c32b19a2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cirq_iqm-15.1-py3-none-any.whl
  • Upload date:
  • Size: 36.5 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-15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c00bdd68982cef280da933a3edea1a88a2a134a6efba3ea21a68420c5fce8e8
MD5 4ba49079cf5b5d25092b5b42555c2918
BLAKE2b-256 364d13bc58e79c659381cc6f186e0efca62dc76fa05383ec0140f09349c0e90a

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