PennyLane
Install
Install
Back to Devices

projectq.simulator

This plugin is compatible with PennyLane versions up to and including v0.34.

  • Small-Moderate Workloads
  • CPU (simulator)
  • macOS
  • Linux
  • Windows

The projectq.simulator device in the PennyLane-ProjectQ plugin provides access to ProjectQ’s qubit state vector simulator written in both C++ and Python.

Recommended for:

  • Small-scale qubit state vector simulations.

Documentation

  • projectq.simulator documentation

See all PennyLane-ProjectQ devices:

  • projectq.classical
  • projectq.ibm
  • projectq.simulator

Installation

The projectq.simulator device can be installed with:

pip install pennylane_pq

For more details on installation and dependencies, visit the PennyLane-ProjectQ installation page.

Device Initialization

Initialize the device in PennyLane with:

import pennylane as qp
dev = qp.device('projectq.simulator', wires=2)

For more details on device settings and keyword arguments, see the device documentation.

Never miss a milestone

Get the latest quantum updates delivered to your inbox.

Join the list
PennyLane

PennyLane is an open-source quantum software platform for quantum computing, quantum machine learning, and quantum chemistry. Create meaningful quantum algorithms, from inspiration to implementation.

Created with ❤️ by Xanadu.

Research

  • Research

  • Performance

  • Hardware and simulators

  • Demos library

  • Compilation hub

  • Quantum datasets

Education

  • Teach

  • Learn

  • Codebook

  • Coding challenges

  • Videos

  • Glossary

Software

  • Install

  • Features

  • PennyLane documentation

  • Catalyst documentation

  • Development guide

  • How-to guides

  • API

  • GitHub


Xanadu

© Copyright 2026 | Xanadu | All rights reserved

TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc.

Privacy policyTerms of serviceCookies policyCode of conduct