Skip to main content

A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.

Project description

Cirq logo

cirq-core

Cirq is a Python package for writing, manipulating, and running quantum circuits on quantum computers and simulators. Cirq provides useful abstractions for dealing with today’s noisy intermediate-scale quantum (NISQ) computers, where the details of quantum hardware are vital to achieving state-of-the-art results. For more information about Cirq, please visit the Cirq documentation site.

This Python module is cirq-core, which contains all the code you need to write quantum algorithms for NISQ devices and run them on the built-in Cirq simulators.

To run algorithms on a given quantum computing platform, you will also need to install an appropriate Cirq hardware interface module. Please visit the hardware section of the Cirq documentation site for information about the hardware interface modules currently available.

Installation

There are two installation options for the cirq-core module:

  • To install the stable version of cirq-core, use

    pip install cirq-core
    
  • To install the latest pre-release version of cirq-core, use

    pip install --upgrade cirq-core~=1.0.dev
    

    (The ~= has a special meaning to pip of selecting the latest version compatible with the 1.* and dev in the name. Despite appearances, this will not install an old version 1.0 release!)

If you would like to install Cirq with all the optional modules, not just cirq-core, then instead of the above commands, use pip install cirq for the stable release or pip install --upgrade cirq~=1.0.dev for the latest pre-release version.

Documentation

To get started with using Cirq, please refer to the Cirq documentation site.

For more information about getting help, reporting bugs, and other matters related to Cirq and the Cirq-Core integration module, please visit the Cirq repository on GitHub.

Disclaimer

Cirq is not an official Google product. Copyright 2019 The Cirq Developers.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

cirq_core-1.5.0.dev20250409155830-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file cirq_core-1.5.0.dev20250409155830-py3-none-any.whl.

File metadata

File hashes

Hashes for cirq_core-1.5.0.dev20250409155830-py3-none-any.whl
Algorithm Hash digest
SHA256 41744830e213fe32678b7e25e2abab60bb7a486543b00144bff1ec40f3404b2d
MD5 8a82adeb61822f4d6892ceb62bd9dd24
BLAKE2b-256 02b1365f2be6e0eb4d8f95514c36d88b9cfe522a8dd7d17bd64ba25b0a82c3a8

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