qml.interfaces.autograd.to_autograd

to_autograd(qnode)[source]

Function that accepts a QNode, and returns an Autograd-compatible QNode.

Parameters

qnode (QNode) – a PennyLane QNode

Returns

an Autograd-compatible QNode

Return type

AutogradQNode