qml.qnodes

Warning

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

See the quantum circuits page for more details on creating QNodes, as well as the qnode() decorator and QNode() constructor.

This package contains the new-style QNodes.

Functions

Classes

BaseQNode(func, device, *[, mutable, properties])

Base class for quantum nodes in the hybrid computational graph.

CVQNode(func, device[, mutable, properties])

Quantum node for CV parameter shift analytic differentiation

JacobianQNode(func, device[, mutable, …])

Quantum node that can be differentiated with respect to its positional parameters.

QubitQNode(func, device[, mutable, properties])

Quantum node for qubit parameter shift analytic differentiation

Class Inheritance Diagram

Inheritance diagram of pennylane.qnodes.base.BaseQNode, pennylane.qnodes.cv.CVQNode, pennylane.qnodes.jacobian.JacobianQNode, pennylane.qnodes.qubit.QubitQNode