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_noise_model(noise_model[, verbose, ...])

Loads a PennyLane NoiseModel from a Qiskit noise model.

load_pauli_op(pauli_op[, params, wires])

Loads a PennyLane Operator from a Qiskit SparsePauliOp.

load_qasm(qasm_string[, measurements])

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.

BasicSimulatorDevice(wires[, shots, backend])

A PennyLane device for the native Python Qiskit simulator.

RemoteDevice(wires, backend[, shots])

A PennyLane device for any Qiskit backend.

Class Inheritance Diagram

Inheritance diagram of pennylane_qiskit.aer.AerDevice, pennylane_qiskit.basic_sim.BasicSimulatorDevice, pennylane_qiskit.remote.RemoteDevice