PennyLane-Cirq Plugin

Release

0.39.0

The PennyLane-Cirq plugin integrates the Cirq quantum computing framework with PennyLane’s quantum machine learning capabilities.

PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.

Cirq is a software library for quantum computing.

Once Pennylane-Cirq is installed, the provided Cirq devices can be accessed straight away in PennyLane, without the need to import any additional packages.

Devices

Currently, PennyLane-Cirq provides four Cirq devices for PennyLane:


Tutorials

Check out these demos to see the PennyLane-Cirq plugin in action:


You can also try it out using any of the qubit based demos from the PennyLane documentation, for example the tutorial on qubit rotation. Simply replace 'default.qubit' with the 'cirq.simulator' device

dev = qml.device('cirq.simulator', wires=XXX)