PennyLane-Orquestra Plugin



The PennyLane-Orquestra plugin integrates the Orquestra workflow management system for quantum computing with PennyLane’s quantum machine learning capabilities.

PennyLane is a cross-platform Python library for differentiable programming of quantum computers.

Orquestra is a workflow management system for quantum computing.

Once the PennyLane-Orquestra plugin is installed, multiple devices offered by Orquestra can be accessed straightaway in PennyLane, without the need to import new packages.


There are four different devices available:

For example, the 'orquestra.qiskit' device with two wires is called like this:

import pennylane as qml
dev = qml.device('orquestra.qiskit', wires=2)

Device options

The devices provided by the PennyLane-Orquestra plugin accept additional arguments beyond the PennyLane default device arguments. These are added to a base OrquestraDevice class.


The Orquestra backend device to use for the specific Orquestra backend, if applicable (e.g., 'statevector_simulator' for 'orquestra.qiskit')


The size of each circuit batch when using the batch_execute() method to send multiple workflows.


Whether or not the workflow files generated during the circuit execution should be kept or deleted.


An option for Orquestra, specifies the resources to be specified for each workflow step.


The time until a job should timeout after getting no response from Orquestra (in seconds).