Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Depreciation Warning

CirqProjectQ is no longer actively maintained by HQS Quantum Simulations. Version 0.2.4 of the package is provided for legacy purposes.


HQS quantum simulations has developed a port between ProjectQ and Cirq, called CirqProjectQ. ProjectQ is an open source tool to compile source code for quantum computers. Cirq is an open source framework developed by Google for building and experimenting with noisy intermediate scale quantum (NISQ) algorithms on near-term quantum processors. HQS quantum simulations is an early stage partner of Google and has had early access to Cirq.

CirqProjectQ provides two main functionalities:

  1. A ProjectQ backend to convert a ProjectQ algorithm to a cirq.Circuit.

  2. ProjectQ decompositions from common gates to native Xmon gates that can be used to simulate a Google quantum computer with ProjectQ.

For more information see the detailed code documentation

Using Cirq to simulate condensed matter

The Anderson model is an important model in condensed matter physics describing, for example, transport in disordered materials. HQS quantum simulations has used Cirq to simulate the Anderson model on a simulated quantum computer, see our example code. More information about our simulation on Cirq can be found in this presentation