Skip to main content

Google Cirq adapter for IQM's quantum architectures

Project description

CI badge Release badge Black badge

Cirq on IQM

The cirq-iqm package is deprecated and the GitHub repository has been archived. New versions of Cirq on IQM will be published as part of the iqm-client package and can be installed from public PyPI with pip install iqm-client[cirq]. See the latest documentation at https://docs.meetiqm.com/iqm-client/user_guide_cirq.html for more information. The source code is available as part of the iqm-client package and a public mirror of the source code is available at https://github.com/iqm-finland/sdk. For support, you can contact support@meetiqm.com.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cirq_iqm-17.0-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cirq_iqm-17.0.tar.gz
  • Upload date:
  • Size: 235.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cirq_iqm-17.0.tar.gz
Algorithm Hash digest
SHA256 35fd5ab192cfdd73e21f89cef87e7d8348bd75acc3660e85815922f3a21f8d63
MD5 b7cf6393af8e4957050a3933bf7b9afd
BLAKE2b-256 433867a9641b4387fa46d09a42e3adcc21c1b2dc14cbcf673f3cbdf4c2c870d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cirq_iqm-17.0-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cirq_iqm-17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26dd670b9e06c5a5c62f70584e2d8451a1d9fbc51769a2092a74e0946eae7576
MD5 38285771669105ddc0efe2c642ad4a07
BLAKE2b-256 5e25f31ed4f2ed452cfe666cb69b8920d04342505e41d72a24ada1c2a06b79b7

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