pennylane-qiskit

This section contains the API documentation for the PennyLane-Qiskit 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 Qiskit devices with PennyLane.

Top level PennyLane-qiskit module

Functions

load(quantum_circuit[, measurements])

Loads a PennyLane template from a Qiskit QuantumCircuit.

load_pauli_op(pauli_op[, params, wires])

Loads a PennyLane Operator from a Qiskit SparsePauliOp.

load_qasm(qasm_string)

Loads a PennyLane template from a QASM string.

load_qasm_from_file(file)

Loads a PennyLane template from a QASM file.

Classes

AerDevice(wires[, shots, backend, method])

A PennyLane device for the C++ Qiskit Aer simulator.

BasicAerDevice(wires[, shots, backend])

A PennyLane device for the native Python Qiskit simulator.

IBMQCircuitRunnerDevice(wires[, provider, ...])

Class for a Qiskit runtime circuit-runner program device in PennyLane.

IBMQDevice(wires[, provider, backend, ...])

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

IBMQSamplerDevice(wires[, provider, ...])

Class for a Qiskit runtime sampler program device in PennyLane.

RemoteDevice(wires, backend[, provider, shots])

A PennyLane device for any Qiskit backend.

Class Inheritance Diagram

Inheritance diagram of pennylane_qiskit.aer.AerDevice, pennylane_qiskit.basic_aer.BasicAerDevice, pennylane_qiskit.runtime_devices.IBMQCircuitRunnerDevice, pennylane_qiskit.ibmq.IBMQDevice, pennylane_qiskit.runtime_devices.IBMQSamplerDevice, pennylane_qiskit.remote.RemoteDevice