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

Uploaded Source

Built Distribution

cirq_iqm-15.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cirq_iqm-15.2.tar.gz
  • Upload date:
  • Size: 229.2 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.2.tar.gz
Algorithm Hash digest
SHA256 0fd3aa03e9ca692909551d45bdf49e4413d9fb16ff581874f7860a9c1c21acc3
MD5 7accf85465db9446f727043fb4def078
BLAKE2b-256 a97ef29dfef7ef150dec9b3e22a5b96d30c91de749dcbf1965e2eced67978e54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cirq_iqm-15.2-py3-none-any.whl
  • Upload date:
  • Size: 34.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a184ffbff148fd103298d8c08538d91cf246dc080aa9736256749b2c19fdc231
MD5 c40a237ff53a4cf1c6cb0e36541735dc
BLAKE2b-256 449e9db5055f8f8dd41b46c6dcce5d27f6c5ac636607cdfd635b341f55cf2c82

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