pennylane-rigetti

This section contains the API documentation for the PennyLane-Rigetti plugin.

Warning

Unless you are a PennyLane plugin developer, you likely do not need to use these classes and functions directly.

See the overview page for more details using the available Rigetti devices with PennyLane.

Plugin overview

Functions

load_program(program)

Load a pyquil.Program instance as a PennyLane template.

load_quil(quil_str)

Load a quil string as a PennyLane template.

load_quil_from_file(file_path)

Load a quil file as a PennyLane template.

Classes

CPHASE(*params[, wires, id])

CHPASE(phi, q, wires) Controlled-phase gate.

NumpyWavefunctionDevice(wires, *[, shots])

NumpyWavefunction simulator device for PennyLane.

QPUDevice(device, *[, shots, wires, ...])

Rigetti QPU device for PennyLane.

QVMDevice(device, *[, shots, wires, noisy])

Rigetti QVM device for PennyLane.

WavefunctionDevice(wires, *[, shots])

Wavefunction simulator device for PennyLane.

Class Inheritance Diagram

Inheritance diagram of pennylane_rigetti.ops.CPHASE, pennylane_rigetti.numpy_wavefunction.NumpyWavefunctionDevice, pennylane_rigetti.qpu.QPUDevice, pennylane_rigetti.qvm.QVMDevice, pennylane_rigetti.wavefunction.WavefunctionDevice