pennylane-quantuminspire

This section contains the API documentation for the PennyLane-QuantumInspire 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 Quantum Inspire device with PennyLane.

Top level PennyLane-QuantumInspire module

Functions

load_cqasm(cqasm_string)

Loads a PennyLane template from a cQASM string.

load_cqasm_from_file(cqasm_file)

Loads a PennyLane template from a cQASM file.

Classes

QuantumInspireDevice(wires[, backend, shots])

A PennyLane device for the QuantumInspire API (remote) backend.

Class Inheritance Diagram

digraph inheritanceff2f0e0a46 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ABC" [color=lightskyblue1,fillcolor=lightskyblue1,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,tooltip="Helper class that provides a standard way to create an ABC using"]; "Device" [color=lightskyblue1,fillcolor=lightskyblue1,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,tooltip="Abstract base class for PennyLane devices."]; "ABC" -> "Device" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QiskitDevice" [color=lightskyblue1,fillcolor=lightskyblue1,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,tooltip="Abstract Qiskit device for PennyLane."]; "QubitDevice" -> "QiskitDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ABC" -> "QiskitDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QuantumInspireDevice" [URL="code/api/pennylane_quantuminspire.QuantumInspireDevice.html#pennylane_quantuminspire.QuantumInspireDevice",color=lightskyblue1,fillcolor=lightskyblue1,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,target="_top",tooltip="A PennyLane device for the QuantumInspire API (remote) backend."]; "QiskitDevice" -> "QuantumInspireDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ABC" -> "QuantumInspireDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QubitDevice" [color=lightskyblue1,fillcolor=lightskyblue1,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,tooltip="Abstract base class for PennyLane qubit devices."]; "Device" -> "QubitDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; }